1 2004-10-24 José Matos <jamatos@lyx.org>
3 * output_docbook.C: remove using statement for stack.
5 2004-10-23 José Matos <jamatos@lyx.org>
7 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
8 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
9 docbook. The new scheme is recursive and makes use of iterators, the
10 same as latex export works.
11 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
12 directly with the paragraph contents. This code was moved up to
13 output_docbook.C (docbookParagraphs).
14 * sgml.C (openTag, closeTag): removed unneeded newlines.
15 (closeEnvTags) removed.
17 2003-10-23 André Pönitz <poenitz@gmx.net>
19 * undo.C (textUndoOrRedo):
20 * dociterator.C (asDocIterator): work around crash
22 * cursor.C (getStatus): replace ASSERT by more verbose error message
23 and manual correction of the problem. Should increase stability
24 while providing more sensible information.
26 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
30 * bufferlist.C (previous, next): new methods
33 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
35 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
37 * buffer.C (makeDocBookFile): add dsssl stylesheet control
40 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
42 * messages.C (Pimpl): strip off translation context information
44 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
46 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
47 the cursor is correct (bug 1694)
49 2004-10-13 José Matos <jamatos@lyx.org>
51 * output_docbook.C (docbookParagraphs): fix closing tags in the
54 2004-10-09 José Matos <jamatos@lyx.org>
56 * buffer.C: format up to 237.
57 * bufferparams.C (write): use tostr to convert booleans to strings.
59 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
61 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
63 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
65 * LaTeX.C: implement use of babel language in xindy.
67 2004-10-05 José Matos <jamatos@lyx.org>
69 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
70 Add new translators to help reading and writing the lyx file.
72 2004-10-05 José Matos <jamatos@lyx.org>
74 * ParagraphParameters.C (read):
75 * text.C (readParToken): replace nexToken by more appropriate lex
78 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
80 * LaTeX.C (runMakeIndex):
81 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
82 (usually 'makeindex') configurable.
84 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
85 with a variable rather than with a number.
87 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
89 * output_latex.C (TeXOnePar): make sure font setting is the first
90 thing that gets output (and the last at the end). Should fix bug
93 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
95 * pch.h: use proper signal include
97 * LaTeX.h: Use preferred calling of Boost.Signal
100 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
102 * pch.h: dont include <boost/function/function0.hpp>
104 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
106 * paragraph_pimpl.h: remove usage of ShareContainer
108 * paragraph_pimpl.C: remove initialization of ShareContainer.
110 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
114 * BufferView.C (putSelectionAt): change the semantics when
115 backwards == true: now, this just swaps cursor and anchor wrt the
118 * BufferView.h (putSelectionAt): add some documentation
120 * lyxfind.C (findBackwards): rewrite using while(). In particular,
121 make sure backwardChar is done at least once (to avoid getting
123 (findNextChange): use putSelectionAt in the forward direction
124 (operator()): use Paragraph::isWord
126 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
128 * Spacing.C (set): c_str fix
130 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
132 * lyx_cb.C (Reconfigure): quote the name of configure script in
133 case it contains spaces
135 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
139 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
140 (BOOST_LIBS): use top_buildir when looking for the file
142 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
144 * pch.h: do not use include boost/format.hpp, multiple symbols
145 will result (gcc bug)
148 2004-08-23 José Matos <jamatos@lyx.org>
150 * bufferparams.C (readToken): fix reading of the author field.
152 2004-08-20 José Matos <jamatos@lyx.org>
154 * lyxrc.C: remove support/translator.h inclusion since it is not used.
156 2004-08-20 José Matos <jamatos@lyx.org>
158 * lyxlex.[Ch] (findToken): remove function.
160 * ParagraphParameters.C (findToken):
161 * bufferparams.C (findToken): replace call for previous function
162 with local copy. This local function has one more argument, the
163 read string argument.
165 2004-08-16 José Matos <jamatos@lyx.org>
167 * ParagraphParameters.C (write):
168 * Spacing.C (writeFile):
169 * bufferparams.C (writeLaTeX):
170 * lyx_cb.C (Reconfigure):
171 * paragraph.C (write):
172 * tabular.C (write): remove unnecessary space at end of line.
175 2004-08-16 José Matos <jamatos@lyx.org>
177 * text.C (readParagraph): remove debug message.
179 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
181 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
184 * output_plaintext.C (asciiParagraph): set depth correctly
186 * outputparams.h: add member depth
188 * paragraph_funcs.C (ownerPar): remove.
190 * text2.C (setCounter): remove first_pit; comment out some
191 non-working code that uses ownerPar
193 * BufferView.C (getParentLanguage): remove. Not used anymore, and
196 2004-08-16 José Matos <jamatos@lyx.org>
198 * text.C (readParToken, readParagraph, read): report all unknown tokens.
199 For the same level of importance use the same chanel to report problems.
200 (read): add code to deal with \begin_body and \end_body.
203 2004-08-15 José Matos <jamatos@lyx.org>
205 * lyxlex.C (getString): fix comment, buffer::readBody is now
208 * tex-strings.C (string_papersize): Default -> default,
209 Custom -> custom, for consistency with other options.
211 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
215 * Makefile.am: support pch
217 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
219 * text.C (readParToken): remove the static LyXFont variable and
220 pass it as a parameter instead. This fixes a nasty bug where an
221 inset will be inserted with a bad font in some situations
222 (readParagraph): adapt
224 * text2.C (setCounter): reduce number of calls to pars_[pit]
226 * text.C (singleWidth): add an assert, fix a test
228 * rowpainter.C (paintText): reduce number of calls to singleWidth
230 * paragraph.C (isHfill):
233 2004-08-14 André Pönitz <poenitz@gmx.net>
238 * lyxtext.h (several functions): use a Paragraph & argument
241 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 * metricsinfo.h: add a new field ltr_pos to PainterInfo
245 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
247 * text.C (singleWidth): remove useless test
249 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
251 * tabular.h: remove bogus comments
253 * tabular.C (getDescentOfRow):
254 (isPartOfMultiColumn): add assertions
256 * lyxlength.C (inPixels): remove #warning
258 2004-08-14 André Pönitz <poenitz@gmx.net>
260 * paragraph.h: inline getChar()
262 * BufferView.h: remove unused declarations
264 2004-08-14 José Matos <jamatos@lyx.org>
266 * Buffer.[Ch] (readDocument): new name for old readBody.
267 * Buffer.C: new file format, new keywords: \begin_document,
268 \begin_header, \begin_body, \end_body.
270 * bufferparams.C (readToken): replace all calls to lex.nextToken
271 by lex.next(). Do the same to eatLine except where really needed.
273 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
274 line when writing to the lyx file.
276 * output_plaintext.C (asciiParagraph): fix Bibliography style
279 * text.C (read): fix end of file handling.
281 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
283 * MenuBackend.C (Menu::operator[]): new method to access
284 individual menu items
285 (Menu::hasFunc): new method. search for an item that corresponds
287 (MenuBackend::specialMenu): new method
288 (MenuBackend::expand): if a special menu has been set, skip
289 entries whose func() appears in this menu
291 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
293 * text3.C: use Debug::DEBUG a bit more
295 * text.C (leftMargin): try to simplify a tiny bit change var x to
296 l_margin. Dont output the wide margins always.
297 (rightMargin): no margin in inner texts
299 * rowpainter.h (nestMargin): new func
300 (changebarMargin): new func
301 (rightMargin): new func
303 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
307 * factory.C (createInset): modify setDrawFrame
309 * cursor.C: use Debug::DEBUG a bit more
311 2004-08-14 André Pönitz <poenitz@gmx.net>
314 * Makefile.am: new files to accomodate an 'external' (x,y)-position
315 cache for all insets in (at least partially) visible (top-level)
318 * BufferView_pimpl.C: reset external coord cache before every update.
319 This means the coord cache only contains valid entries.
321 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
324 * BufferView_pimpl.C (getInsetByCode): move function out of class
325 and change in to a template in anon namespace. Also fix to do what
328 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
331 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
333 (breakParagraph): rename par to par_offset and use a local
334 reference. Add code to keep the language over a rebreak.
335 (breakParagraphConservative): rename par to par_offset, use a
337 (mergeParagraph): ditto
339 (isFirstInSequence): ditto
340 (outerFont): rename pit to par_offset
342 * paragraph.C: ws change
347 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
352 * paragraph.C (simpleTeXOnePar): when we have a \item with
353 optional argument, enclose the argument with curly brackets (in
354 case it contains a closing square bracket)
358 * text3.C (checkInsetHit): constify
360 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
362 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
365 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
367 Fix toggling of collapsable insets with the mouse (bug 1558)
369 * lyxfunc.C (dispatch): adapt to LCursor changes
371 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
372 make sure that dispatch is not invoked twice
374 * cursor.C (needsUpdate): new method
375 (dispatch): return void
376 (result): new method, to access the DispatchResult of the cursor.
378 2004-08-13 José Matos <jamatos@lyx.org>
380 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
382 2004-08-13 André Pönitz <poenitz@gmx.net>
384 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
386 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
389 2004-08-12 André Pönitz <poenitz@gmx.net>
391 * text3.C: take out the 'cursor right' form insertInset and only
392 do it in those places when it is really needed. Fixes crash on
395 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
397 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
399 * BufferView_pimpl.C (setBuffer): initialize the current font of
400 the underlying LyXText
402 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
404 * kbsequence.C (print): use UI native formatting for menu
407 * text.C (insertChar): call Paragraph::insertChar with a font
410 * paragraph.C (insertInset, insertChar): the version that takes a
411 LyXFont argument is now a wrapper around the other one (the
412 opposite used to be true).
414 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
415 argument. Font setting is done in Paragraph now.
417 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
419 * outputparams.h: add new members intitle and lang.
421 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
422 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
424 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
426 * text3.C (dispatch): remove special handling of button 4 and 5,
427 it is now taken care of in the frontend code.
429 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
431 * Spacing.h: add <string> (STLPort compile fix)
433 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
435 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
437 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
439 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
442 * converter.C (showMessage): inherit from unary_function, make
445 * buffer.C (writeFile): initialize retval
447 * InsetList.h: rename private variable list to list_
448 * InsetList.[Ch]: adjust accordingly.
450 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
452 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
453 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
454 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
455 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
456 * ParagraphParameters.C, LaTeXFeatures.C: replace
457 "support/std_sstream.h" with <sstream>
459 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
461 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
462 * lyxsocket.C (LyXServerSocket): ditto
463 (serverCallback): ditto
465 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
467 * LaTeXFeatures.C: check release date when loading jurabib.
469 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
471 * lyxserver.C (startPipe): call register_socket_callback
472 (endPipe): call unregister_socket_callback
474 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
476 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
477 (LyXServerSocket): register the callback
478 (LyXServerSocket): unregister the callback
479 (fd): delete function
480 (serverCallback): improve error checking and setup the callbacks.
481 (dataCallback): change arg to fd.
482 (writeln): new func (copied fro the client socket) used for server
484 (LyXDataSocket): simplify
485 (~LyXDataSocket): close ann unregiser callback
486 (server): delete function
487 (fd): delete function
488 (readln): small changes, improve some std::string usage
489 (writeln): constify a bit
491 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
493 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
496 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * BufferView_pimpl.C (setBuffer): set the layout combox value only
499 after it has been populated
501 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
503 * text2.C (insertInset): move cursor when inserting inset.
505 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
507 * kbmap.C (findbindings): a couple of new methods. returns a
508 container of kb_sequence objects. The real work is done by the
509 private recursive version
510 (printbindings): uses findbindings to print out a bracketed list
511 of bindings (renamed from findbinding).
513 * MenuBackend.C (binding): use kb_keymap::findbindings
515 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
517 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
519 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
521 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
523 * paragraph.C (isWord): return true on insets that report
526 * text.C (getWord): use Paragraph::isWord to decide what is in a
527 word and what is not; fix bug 1609.
529 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
531 * tex-strings.C: add "none" to string_paperpackages[], fixes
532 off-by-one-error in the paperpackage selection.
535 * tex-strings.[Ch]: char const * string[n]
536 -> char const * const string[]
538 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
540 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
541 command, return early.
543 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
545 * debug.h: add DEBUG to enum and fix size of ANY.
547 * debug.C: add support for Debug::DEBUG
548 (showTags): cast errorTags.level to unsigned int
550 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
551 (redoCurrentBuffer): ditto
552 (updateScrollbar): ditto
553 * cursor.C (dispatch): ditto
554 * text2.C (setLayout): ditto
556 (updateCounters): ditto
558 (deleteEmptyParagraphMechanism): ditto
560 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
562 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
563 annotations to cleanup the Makefile slightly.
565 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
567 * lyxrc.C: do not set user_email to a default value but use empty
568 instead. The entry used to be translated, which does not work
569 since at the point where lyxrc is constructed there is no
570 translation service available
572 * messages.C (getLocaleDir): remove and use directly
573 lyx_localedir() instead
575 2004-06-02 Angus Leeming <leeming@lyx.org>
577 Fix crash caused by dereferencing null pointer 'exportdata' in
578 OutputParams by creating a new ExportData variable on the heap,
579 storing it in a boost::shared_ptr.
580 The crash was triggered when generating an Instant Preview
581 of an external inset.
583 * Makefile.am: add outputparams.C
585 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
586 (c-tor): allocate memory to it.
588 * exporter.C (c-tor): associated changes.
590 2004-06-01 Angus Leeming <leeming@lyx.org>
592 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
593 contains data before calling isInset(0). (Bug 1513.)
595 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
597 * exporter.C (checkOverwrite): new method
598 * exporter.C (copyFile): new method
599 * exporter.C (Export): copy referenced files to the document dir
600 * exporter.[Ch]: new class ExportedFile
601 * exporter.[Ch]: new class ExportData. Contains currently the
602 names of referenced external files
603 * outputparams.h: add exportdata member.
605 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
607 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
610 2004-05-19 Angus Leeming <leeming@lyx.org>
615 * lyxfunc.C: small changes due to the introduction of namespace
616 lyx::frontend and the moving of namespace biblio to lyx::biblio.
618 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
620 * text3.C (dispatch): supress update when only moving the cursor
621 * cursor.C (selHandle): remove commented code
623 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
625 * paragraph.C (startTeXParParams): correct column count
626 * CutAndPaste.C (pasteSelection): remove const_cast
627 * output_docbook.C (docbookParagraphs): remove const_cast
628 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
629 const_cast and return ParagraphList::const_iterator
630 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
631 * output_plaintext.C (writeFileAscii): remove const_cast
632 * paragraph.[Ch] (simpleTeXOnePar): make const
633 * paragraph_funcs.C (outerPar): use const iterators
634 * paragraph_pimpl.C (validate): use const iterators
635 * text.C (setHeightOfRow): use const iterators
637 2004-05-17 Angus Leeming <leeming@lyx.org>
640 * LyXAction.C (init): new LFUN_INSET_REFRESH.
642 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
643 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
644 if the citation engine has changed.
646 2004-05-14 José Matos <jamatos@lyx.org>
648 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
649 if the textclass does not provide it. Have it different for sgml and
651 support the language of document.
652 * output_docbook.C (docbookParagraphs):
653 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
654 first anchor as the id of the paragraph, remove special case code.
655 * sgml.C (escapeChar): escape only < & >.
657 2004-05-14 Angus Leeming <leeming@lyx.org>
659 * bufferparams.h: move biblio::CiteEngine enum here to minimize
660 dependencies on src/frontends/controllers/biblio.h. Define a
661 CiteEngine_enum wrapper class to enable the enum to be forward
664 2004-05-12 Angus Leeming <leeming@lyx.org>
666 * buffer.C: up LYX_FORMAT to 234.
667 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
668 use_numerical_citations with a single biblio::CiteEngine cite_engine
670 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
672 2004-05-13 José Matos <jamatos@lyx.org>
675 * converter.C (Converter, readFlags): add xml member.
676 * outputparams.h: add XML flavor.
677 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
679 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * lyxfunc.C (dispatch):
682 (getStatus): fix handling of LFUN_SEQUENCE
684 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
686 * debug.C (showLevel): do not forget the end-of-line marker
688 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
690 * kbmap.C (read): do not stop parsing a bind file when an error
693 2004-04-29 Angus Leeming <leeming@lyx.org>
698 * text2.C: wrap a bunch of #warning statements
699 inside #ifdef WITH_WARNINGS blocks.
701 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
703 * buffer.C: increment format to 233.
705 2004-04-28 Angus Leeming <leeming@lyx.org>
707 * BufferView_pimpl.C:
710 s/updateToolbar()/updateToolbars()/
711 s/Toolbar.h/Toolbars.h/
713 2004-04-28 Angus Leeming <leeming@lyx.org>
715 * BufferView.[Ch] (c-tor):
716 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
717 No longer passes these data to the WorkArea generator.
719 2004-04-28 Angus Leeming <leeming@lyx.org>
721 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
723 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
725 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
727 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
729 * output_latex.C (TeXEnvironment): make sure that there is a line
730 break before \end{foo} for the last paragraph of a document
731 (TeXOnePar): if the paragraph is at the end of the document (or
732 inset) and the language has to be reset, then make sure that the
733 line break is _before_ the language command, not after (fixes bug
734 1225); also make sure that the language reset command is the first
735 thing after the paragraph (to ensure proper nesting of
736 environments and thus fix bug 1404)
738 2004-04-21 John Levon <levon@movementarian.org>
741 * ToolbarBackend.C: make "name" be a programmatic name
742 and a gui_name field.
744 * lyxfunc.C: display the minibuffer on M-x
746 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
748 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
751 2004-04-19 Angus Leeming <leeming@lyx.org>
753 * BufferView_pimpl.C (setBuffer): changed preview interface.
755 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
758 2004-04-19 John Levon <levon@movementarian.org>
760 * BufferView_pimpl.C:
761 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
763 2004-04-05 Angus Leeming <leeming@lyx.org>
765 * text.C (redoParagraphs): add call to updateCounters(), thereby
766 fixing the missing "Figure #:" label from the caption of a
769 2004-04-13 Angus Leeming <leeming@lyx.org>
771 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
772 cursor is clicked out of an inset.
774 2004-04-13 Angus Leeming <leeming@lyx.org>
776 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
777 than an InsetOld one.
779 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
781 * format.[Ch]: add editor to Format
782 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
783 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
785 2004-04-08 André Pönitz <poenitz@gmx.net>
787 * metricsinfo.h: remove PainterInfo::width member
789 2004-04-08 Angus Leeming <leeming@lyx.org>
791 * lyx_sty.C (boldsymbol_def): modify so that it outputs
792 "\providecommand" rather than "\newcommand", thereby preventing
793 clashes with packages that define "\boldsymbol" themselves.
796 2004-04-08 Angus Leeming <leeming@lyx.org>
798 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
799 thereby squashing an unnecessary warning.
801 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
803 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
806 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
808 * BufferView.C (setCursor): call redoParagraph (some insets could
810 (putSelectionAt): remove the 'double update' trick
812 * BufferView_pimpl.C (fitCursor): call refreshPar
813 (workAreaDispatch): remove an uneeded update call
814 (dispatch): remove some manual update calls
816 * cursor.[Ch]: remove cached_y_, updatePos
817 (selHandle): set noUpdate when appropriate
819 * lyxfunc.C (dispatch): track if we need an update
821 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
823 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
824 (paintSelection): cheap optimization, do not call cursorX when not
826 (paintPars): change signature
829 (paintTextInset): adjust
833 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
835 * lengthcommon.C: compilation fix: remove explicit array size from
836 unit_name[] and friends
838 2004-04-05 Angus Leeming <leeming@lyx.org>
840 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
842 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
843 present only for the preferences dialog.
844 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
846 2004-04-05 Angus Leeming <leeming@lyx.org>
848 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
849 to enable the frontends to export changes to lyxrc correctly.
851 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
853 2004-04-07 André Pönitz <poenitz@gmx.net>
855 * cursor.[Ch] (selClear, adjust): remove math
857 * cursor_slice.C: more agressive assert
860 * BufferView_pimpl.C: rework mouse event dispatch
867 2004-04-05 André Pönitz <poenitz@gmx.net>
869 * cursor.[Ch] (valign, halign...): remove unneeded functions
871 2004-04-05 Angus Leeming <leeming@lyx.org>
873 * lyxlength.[Ch] (unit_name et al.): const-correct.
875 2004-04-05 Angus Leeming <leeming@lyx.org>
877 * BufferView_pimpl.C:
886 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
888 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
890 * text3.C (getStatus): add LFUN_BEGINNINGBUF
892 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
894 * lyxfind.C: add a couple of inTexted() tests + other small fixes
895 * BufferView_pimpl.[Ch] (getStatus)
896 * BufferView.[Ch] (getStatus): add
897 * lyxfunc.C (getStatus): move lfuns handled in
898 BufferView::dispatch to te function above
899 * Cursor.C (setSelection): set selection() = true
901 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
903 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
905 2004-03-31 Angus Leeming <leeming@lyx.org>
907 * lyxfunc.C (dispatch): Fall through to the generic
908 Dialogs::show("preamble").
910 2004-03-31 Angus Leeming <leeming@lyx.org>
912 * lyxfunc.C (dispatch): Fall through to the generic
913 Dialogs::show("spellchecker").
915 2004-03-31 Angus Leeming <leeming@lyx.org>
917 * lyxfunc.C (getStatus, dispatch): changed invocation of the
920 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
925 * insetiterator.[Ch]:
930 * undo.[Ch]: s/DocumentIterator/DocIterator/g
932 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
934 * BufferView.C (setCursor, putSelectionAt): call edit to open the
935 insets where we are putting the cursor.
937 2004-03-31 Angus Leeming <leeming@lyx.org>
940 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
942 * lyxrc.[Ch] (read, write): overloaded member functions taking
943 a std::[io]stream arguments.
945 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
947 2004-03-31 Angus Leeming <leeming@lyx.org>
949 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
950 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
952 * lyxtextclass.C (load): if the text class couldn't be loaded, then
953 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
955 2004-03-31 Angus Leeming <leeming@lyx.org>
957 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
958 the LFUN_ALL_INSETS_TOGGLE code.
960 2004-03-30 Angus Leeming <leeming@lyx.org>
962 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
963 has died. Fall through to the generic Dialogs::show("document").
965 2004-03-30 Angus Leeming <leeming@lyx.org>
968 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
969 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
971 * lyxfunc.C (getStatus, dispatch): define the actions for these
972 lfuns. Little more than a cut and pste job from ControlDocument.C
974 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
976 2004-03-30 Angus Leeming <leeming@lyx.org>
979 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
980 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
982 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
983 open/closed state of ollapsable insets. Usage:
985 all-inset-toggle <state> <name>, where
986 <state> == "open" || "closed" || "toggle" and
987 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
989 * lyxtext.h, text2.C (toggleInset): removed.
991 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
992 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
993 now passes LFUN_INSET_TOGGLE to the found inset.
995 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
996 is now invoked as "all-insets-toggle toggle branch".
998 2004-03-30 Angus Leeming <leeming@lyx.org>
1002 * pariterator.[Ch]: added/corrected header blurb.
1004 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1006 * dociterator.[Ch]: add an inset_ member
1007 (backwardPos): implemented
1008 (backwardPos, forwardPos): use inset_ when the stack is empty.
1009 (doc_iterator_begin, doc_iterator_end): implemented
1010 * pariterator.[Ch]: adjust, add begin, end
1011 * insetiterator.[Ch]: adjust, add begin, end
1015 * BufferView_pimpl.C:
1016 * CutAndPaste.C: adjust
1018 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1020 * buffer.C: increment file format to 232.
1021 * LaTeXFeatures.C: add bibtopic package.
1022 * bufferparams.[Ch]: param \use_bibtopic.
1024 * lyxrc.[Ch]: add lyxrc bibtex_command
1025 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1027 * buffer.C: increment file format to 231.
1029 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1031 * dociterator.C: implement forwardPar
1032 * iterators.[Ch]: remove, replaced by
1033 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1035 * BufferView_pimpl.C:
1038 * bufferview_funcs.C:
1044 * Makefile.am: adjust
1046 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1048 * CutAndPaste.C (pasteSelection): fix 2 crashes
1049 (eraseSelection): fix a crash
1050 * paragraph_funcs.C: remove a warning
1052 2004-03-28 Angus Leeming <leeming@lyx.org>
1055 * LyXAction.C (init): new LFUN_PRINT.
1057 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1059 2004-03-27 Angus Leeming <leeming@lyx.org>
1062 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1064 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1066 2004-03-27 Angus Leeming <leeming@lyx.org>
1068 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1069 insetlist always contains non-null pointers to insets.
1071 2004-03-26 Angus Leeming <leeming@lyx.org>
1073 * src/BufferView_pimpl.C:
1074 * src/CutAndPaste.C:
1077 * src/output_plaintext.C:
1078 * src/outputparams.h:
1079 * src/paragraph_funcs.C:
1083 * src/frontends/controllers/ControlErrorList.C:
1084 * src/frontends/gtk/FileDialogPrivate.C:
1085 * src/frontends/gtk/GPainter.C:
1086 * src/frontends/gtk/GToolbar.C:
1087 * src/frontends/qt2/QRef.C:
1088 * src/mathed/math_scriptinset.C: squash compiler warnings.
1090 2004-03-26 Angus Leeming <leeming@lyx.org>
1092 * ispell.C (LaunchIspell::start):
1093 * lyx_cb.C (AutoSaveBuffer::start):
1094 invoke run(DontWait) rather than runNonBlocking().
1096 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1098 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1100 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1102 * kbsequence.C (print): adjust
1104 * kbmap.C (printKeySym): rename and change signature
1105 (printKey): use LyXKeySym::print()
1107 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1109 * undo.C: add using std::advance to compile for stlport
1111 2004-03-24 Angus Leeming <leeming@lyx.org>
1113 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1114 it leads to a crash when no buffer is present.
1116 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1117 Martin Vermeer <martin.vermeer@hut.fi>
1119 * lyxfunc.C (dispatch):
1120 * bufferparams.C (readToken): use the new LColor::setColor
1122 * LColor.[Ch] (setColor): new version that takes two strings as
1123 argument and creates a new color entry if necessary
1125 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1127 * buffer.C (makeLaTeXFile): if the main latex file that is
1128 processed is usually a subdocument of some master, then pretend
1129 for a while that it is actually the master
1131 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1133 * buffer.C (getLabelList):
1134 (getBibkeyList): use getMasterBuffer()
1135 (getMasterBuffer): new method. Returns the main document in the
1136 case where one is using included documents.
1138 2004-03-25 André Pönitz <poenitz@gmx.net>
1142 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1144 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1146 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1147 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1149 * ParameterStruct.h: merge with ParagraphParameters
1151 * lyxtext.h: remove LyXText::parOffset() and getPar()
1153 * text3.C: Remove all 'manual' update calls. We do now one per user
1154 interaction which is completely sufficient.
1158 * BufferView_pimpl.C:
1159 * FontIterator.[Ch]:
1161 * ParagraphParameters.[Ch]:
1166 * cursor_slice.[Ch]:
1173 * output_docbook.[Ch]:
1174 * output_latex.[Ch]:
1175 * output_linuxdoc.[Ch]:
1176 * output_plaintext.[Ch]:
1178 * paragraph_funcs.[Ch]:
1179 * paragraph_pimpl.[Ch]:
1187 * frontends/controllers/ControlDocument.C:
1188 * frontends/controllers/ControlErrorList.C:
1189 * frontends/controllers/ControlSpellchecker.C:
1192 * insets/insetbase.h:
1193 * insets/insetbibitem.C:
1194 * insets/insetbox.C:
1195 * insets/insetbranch.C:
1196 * insets/insetcaption.C:
1197 * insets/insetcharstyle.C:
1198 * insets/insetcharstyle.h:
1199 * insets/insetcollapsable.C:
1200 * insets/insetcollapsable.h:
1201 * insets/insetert.C:
1202 * insets/insetfloat.C:
1203 * insets/insetfoot.C:
1204 * insets/insetmarginal.C:
1205 * insets/insetnote.C:
1206 * insets/insetoptarg.C:
1207 * insets/insettabular.C:
1208 * insets/insettext.C:
1209 * insets/insettext.h:
1210 * insets/insetwrap.C:
1211 * mathed/math_mboxinset.C:
1212 * mathed/math_nestinset.C:
1213 * mathed/math_scriptinset.C:
1214 * mathed/math_scriptinset.h:
1217 2004-03-24 Angus Leeming <leeming@lyx.org>
1219 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1220 deal with any child processes that have finished but are waiting to
1221 communicate this fact to the rest of LyX.
1223 2004-03-24 Angus Leeming <leeming@lyx.org>
1225 64-bit compile fixes.
1227 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1228 (c-tor): pass lyx::pos_types rather than ints.
1230 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1233 * text.C (Delete): compile fix.
1234 (getPar): ensure that function declaration is the same as that in
1237 2004-03-23 Angus Leeming <leeming@lyx.org>
1239 * ispell.C (LaunchIspell):
1240 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1241 a boost::shred_ptr rather than a std::auto_ptr.
1243 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1245 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1246 handle LFUN_FILE_INSERT_*
1248 * lyxrc.C (setDefaults, getDescription, output, read):
1249 * lyxrc.h: remove ps_command
1251 2004-03-22 Angus Leeming <leeming@lyx.org>
1253 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1254 Ensure that error_handler is processed once only and that all data
1255 is saved before attempting to output any warning messages.
1257 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1259 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1261 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1263 2004-03-19 André Pönitz <poenitz@gmx.net>
1265 * cursor.[Ch] (reset): take main text inset as argument
1267 * BufferView: adjust
1268 * BufferView_pimpl.C: adjust
1270 * paragraph.[Ch]: fix completely broken operator=()
1272 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1274 * LColor.C (getFromLyXName): make sure that the color name is used
1277 2004-03-17 Angus Leeming <leeming@lyx.org>
1280 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1282 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1283 dialog and to kill a forked process.
1285 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1287 * text2.C (setCursorFromCoordinates): fix font problem
1289 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1291 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1292 bogus "rebuild cursor" code
1294 2004-03-11 André Pönitz <poenitz@gmx.net>
1296 * buffer.[Ch]: use InsetText instead of LyXText as container for
1299 * dociterator.[Ch]: drop the BufferView * member which is not needed
1300 anymore after the change to buffer.C
1302 * paragraph_funcs.C:
1306 * BufferView_pimpl.[Ch]:
1308 * cursor_slice.[Ch]: adjust
1310 * text3.C: fix bug in mathDispatch
1312 2004-03-08 André Pönitz <poenitz@gmx.net>
1314 * undo.[Ch]: use 'StableDocumentIterator' as base for
1317 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1320 * bufferparams.[Ch]: add jurabib support and param.
1322 * LaTeX.C: add FIXME/comment.
1324 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1326 * buffer.C: increment file format to 230.
1328 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1330 * cursor.C (dispatch): avoid infinite loops
1332 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1334 * rowpainter.C (paintSelection): fix x coordinates
1336 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1338 * text.C (rowBreakPoint): fix breaking before displayed insets
1340 2004-03-01 André Pönitz <poenitz@gmx.net>
1342 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1344 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1348 * BufferView_pimpl.C:
1356 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1362 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1363 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1365 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1367 * Bidi.[Ch] (computeTables): const correctness
1368 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1369 fill_hfill, fill_label_hfill and x from Row
1370 * lyxtext.h: prepareToPrint returns a RowMetrics
1371 * rowPainter.C: adjust
1372 * text.C (prepareToPrint): use width, not textWidth. adjust
1373 (redoParagraphInternal, cursorX): adjust
1374 * text2.C (getColumnNearX): adjust
1375 (init): put a default value to the top LyXText::width
1377 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1379 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1381 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1383 * lyxtext.h: add FontIterator class
1385 * text.C (FontIterator, operator*, operator->, operator++): add
1386 (rowBreakPoint, setRowWidth): adjust (fixing a
1389 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1391 * BufferView_pimpl.C (workAreaDispatch): allow also
1392 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1394 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1396 * text.C (rowBreakPoint): fix a bug showing with very large insets
1398 2004-02-25 André Pönitz <poenitz@gmx.net>
1401 * cursor.[Ch]: move some mathed specific code to mathed
1403 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1405 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1406 use_tempdir in preferences
1407 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1409 * lyx_main.C: ensure that tempdir is valid
1410 * lyxlex.h: correct typo
1411 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1412 * paragraph.[Ch] (isMultiLingual): make const
1413 * cursor.[Ch] (openable): make const
1415 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1417 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1419 2004-02-20 André Pönitz <poenitz@gmx.net>
1421 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1423 * cursor.[Ch]: prepare for localized getStatus()
1429 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1431 2004-02-20 André Pönitz <poenitz@gmx.net>
1433 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1435 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1437 * text2.C (setCursorFromCoordinates): switch to absolute coords
1439 (cursorDown): adjust
1440 * text3.C (dispatch): adjust
1442 2004-02-16 André Pönitz <poenitz@gmx.net>
1444 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1447 * cursor_slice.[Ch]: remove unneeded acessor function
1449 * lyxtext.h: rename rtl() to isRTL()
1457 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1459 * rowpainter.C (paintSelection): coord fix
1461 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1463 * Spacing.C: compile fix
1465 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1467 * cursor.C (dispatch): restore current_ before returning
1469 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1471 * text2.C (cursorUp, cursorDown): fix coords
1474 2004-02-12 André Pönitz <poenitz@gmx.net>
1479 * text3.C: add LCursor & parameter to most cursor movement functions
1480 remove usage of LyXText::cursorRow() and cursorPar()
1482 * cursor.[Ch]: add textRow() needed members
1485 * BufferView_pimpl.C:
1488 * BufferView_pimpl.C: adjust
1490 2004-02-11 André Pönitz <poenitz@gmx.net>
1494 * BufferView_pimpl.C: shift undo/redo handling
1496 * cursor.[Ch]: fix mathed crash
1499 * lyxtext.h: move selectionAsText to LCursor
1507 * rowpainter.C: fix excessive drawing
1509 2004-02-06 André Pönitz <poenitz@gmx.net>
1512 * BufferView_pimpl.[Ch]:
1513 * text3.C: move some text specific LFUN handling
1515 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1517 * text3.C (checkInsetHit): adjust coords
1518 * text2.C (getColumnNearX): adjust coords
1519 (edit): adjust coords
1520 * text.C (getRowNearY): add two asserts
1522 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1525 * format.C: add using std::distance to compile on gcc 2.95/stlport
1527 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1529 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1531 2004-02-04 André Pönitz <poenitz@gmx.net>
1533 * BufferView.[Ch] (insertInset):
1534 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1539 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1541 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1542 on the default clause of the switch
1543 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1544 wasn't catched by LCursor::dispatch
1546 2004-02-03 André Pönitz <poenitz@gmx.net>
1549 * cursor.[Ch]: some additional asserts
1551 * undo.[Ch]: remove LyXText dependency in interface
1555 * lyxtext.h (firstPar, lastPar): remove dead functions
1560 * paragraph.[Ch]: adjust
1562 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1564 * lyxfind.C (find): fix argument order in call to ::find
1566 2004-02-02 André Pönitz <poenitz@gmx.net>
1568 * cursor.[Ch]: remove direct access to anchor
1570 * text.C: remove findText() hack
1572 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1574 * iterators.[Ch] (lockPath): remove in favour of...
1575 * BufferView.[Ch] (setCursor): this addition
1576 * BufferView.C (putSelectionAt): adjust
1577 * undo.C (performUndoOrRedo): adjust
1578 * lyxfunc.C (dispatch): adjust
1580 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1582 * iterators.C (lockPath): add a missing slice
1583 * undo.C (performUndoOrRedo): remove redundant positioning code
1585 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1587 * vc-backend.C (scanMaster): ";" -> ';'
1589 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1591 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1592 std::binary_function
1594 * lyxtextclass.C (compare_name): rename to...
1595 (LayoutNamesEqual): ...this
1597 * lyxlex_pimpl.C (compare_tags): inherit from
1598 std::binary_function, put back into anon namespace
1600 * lyxfind.C (MatchString): inherig from std::binary_function
1601 (findChange): use empty() istead of !size()
1603 * format.C (FormatNamesEqual): new functor
1610 * converter.C (compare_Converter): rename to...
1611 (ConverterEqual): ...this, and fixup a bit.
1612 (getConverter): use it, and make function const
1613 (getNumber): use it, and make function const
1617 * bufferlist.C: add using boost::bind
1619 * MenuBackend.C (MenuNamesEqual): new functor
1620 (hasMenu): use it, and make function const
1621 (hasSubmenu): use nested bind to get rid of compare_memfun.
1623 2004-01-30 André Pönitz <poenitz@gmx.net>
1625 * BufferView_pimpl.C:
1628 * cursor_slice.[Ch]:
1631 * paragraph_funcs.C:
1632 * paragraph_funcs.h:
1636 * text3.C: move some of the edit(x,y) handling to the insets
1637 some coordinate changes.
1639 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1641 * text.C: add using statements for std::advance and std::distance
1643 * paragraph.C: add using statement for std::distance
1645 * lyxfind.C: add using statement for std::advance
1647 * cursor.C (region): remove std:: from swap
1648 (openable): use nucleus in stead of operator->
1650 * BufferView.C: add using statements for std::distance and std::swap
1652 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1654 * iterators.C: Remove the pimple, move the needed structures to
1655 the header file. Create accessor for the positions stack.
1656 (asPosIterator): remove function
1658 * PosIterator.C (PosIterator): move constructors to top of file
1659 (PosIterator): reimplement the constructor taking a ParIterator in
1661 (setFrom): new function
1662 (operator!=): inline it
1664 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1666 * lyxfind.C (replaceAll): use std::advance
1668 * iterators.h: inherit from std::iterator.
1670 * PosIterator.C (advance, distance): remove
1671 * PosIterator.h: interit from std::iterator.
1673 2004-01-26 André Pönitz <poenitz@gmx.net>
1676 * BufferView_pimpl.[Ch]:
1680 * bufferview_funcs.C:
1690 * output_linuxdoc.C:
1691 * output_plaintext.C:
1693 * paragraph_funcs.[Ch]:
1694 * paragraph_pimpl.[Ch]:
1700 * text3.C: more IU: dumps most of the rest of the mathcursor
1701 implementation into cursor.[Ch]; "globalize" a bit of it.
1703 2004-01-25 Angus Leeming <leeming@lyx.org>
1705 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1707 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1709 * LaTeXFeatures.h: add nice_ and nice() const
1710 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1712 2004-01-20 André Pönitz <poenitz@gmx.net>
1715 * BufferView_pimpl.C:
1717 * bufferview_funcs.C:
1719 * cursor_slice.[Ch]:
1730 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1731 LCursor and mathcursor parts to LCursor and InsetBase.
1733 2004-01-15 André Pönitz <poenitz@gmx.net>
1735 * cursor_slice.[Ch]: add a few covienience functions
1737 * funcrequest.[Ch]: remove BufferView * member
1739 * BufferView_pimpl.C:
1746 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1748 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1750 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1751 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1753 2004-01-13 André Pönitz <poenitz@gmx.net>
1756 * lyxtext.h: hide cursor and selection anchor behind accessor function
1759 * BufferView_pimpl.[Ch]:
1761 * bufferview_funcs.C:
1771 * cursor_slice.[Ch]: some integer type changes for inset unification
1773 * lyxcursor.[hC]: remove, it's CursorSlice now.
1776 * BufferView_pimpl.[Ch]:
1777 * bufferview_funcs.C:
1783 * textcursor.[Ch]: adjust
1785 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1787 * text2.C (undoSpan): add and use
1788 * text.C (breakParagraph): use undoSpan (fix bug 578)
1791 2004-01-08 Angus Leeming <leeming@lyx.org>
1793 * BufferView_pimpl.C (MenuInsertLyXFile):
1794 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1795 * lyxfunc.C (menuNew, open, doImport):
1796 FileFilterList change to the FileDialog open and save functions.
1798 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1800 * ShareContainer.h: make isEqual and isUnique adaptable
1802 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1804 2004-01-07 Angus Leeming <leeming@lyx.org>
1807 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1809 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1811 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1812 functions replacing find, replace and replaceAll.
1814 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1815 LFUN_WORDFIND(FORWARD|BACKWARD).
1817 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1819 * text.C (breakParagraph): remove an outdated #warning
1821 2004-01-07 André Pönitz <poenitz@gmx.net>
1823 * lyxfind.C: somewhat clearer logic
1825 * text.C: prevent crash in cursorX on unitialized row cache
1827 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1829 * lyxcursor.[Ch] (operator>): add
1830 * textcursor.C (selStart, selEnd): use std::min and std::max
1832 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1834 * Chktex.C: include boost/format.hpp
1836 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1838 * InsetList.C: replace functor MathcIt with adaptable functor
1840 (insetIterator): modify accordingly
1842 * BranchList.h: move the BranchNamesEqual functor here from...
1843 * BranchList.C: ... to here
1845 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1847 (add): replace a finding loop with std::find_if.
1849 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1851 * output_docbook.C: moving LatexParam functionality into
1854 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1856 * buffer.C: increment format to 229.
1858 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1861 * lyx_sty.[Ch]: remove minipageindent_def
1867 * text3.C: remove LFUN_INSET_MINIPAGE
1869 2003-12-28 Angus Leeming <leeming@lyx.org>
1871 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1873 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1875 * text2.C (setParagraph): fix off-by-one crash
1877 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1879 * output_docbook.C: header stuff for AGU
1881 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1883 * text2.C (redoCursor): remove
1886 * BufferView_pimpl.C: remove calls to redoCursor and
1887 setCursor(cursor.par(), cursor.pos()) all around
1889 2003-12-15 Angus Leeming <leeming@lyx.org>
1891 * buffer.C: up the format to 228.
1893 2003-12-15 André Pönitz <poenitz@gmx.net>
1895 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1900 * BufferView_pimpl.C:
1909 2003-12-15 Angus Leeming <leeming@lyx.org>
1911 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1912 than getFromGUIName to manipulate the color.
1914 2003-12-14 Angus Leeming <leeming@lyx.org>
1916 * BranchList.[Ch]: minimize the API.
1917 (Branch::getBranch, getColor): now return a 'const &'.
1918 (Branch::setSelected) now returns a bool set to true if the
1919 selection status changes.
1920 (BranchList::clear, size, getColor, setColor, setSelected,
1921 allBranches, allSelected, separator): removed.
1922 (BranchList::find): new functions, returning the Branch with
1924 (BranchList::add, remove): return a bool indicating that
1925 the operation was successful.
1927 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1928 new InsetBranch::isBranchSlected member function.
1930 * LColor.[Ch]: mimimize the API.
1931 (fill): renamed as addColor and made private.
1932 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1933 versions of these functions taking a string arg have been removed.
1935 * bufferparams.C (readToken):
1936 * lyxfunc.C (dispatch):
1937 * lyxrc.C (read): changes due to the altered BranchList and
1940 * factory.C (createInset, readInset): changes due to altered
1943 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1946 * lyxfunc.C: remove insetminipage. "minipage-insert"
1947 now produces a frameless minipage box inset.
1949 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1951 * textcursor.[Ch] (selStart,selEnd): add new methods
1952 remove selection::start, end, use LyXCursor::operator<
1953 * lyxcursor.[Ch] (operator<): add
1954 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1955 * BufferView.[Ch] (unsetXSel): add
1956 * text2.C (clearSelection): use unsetXSel,adjust
1959 * rowpainter.C: adjust
1960 * bufferview_funcs.C (put_selection_at): adjust
1962 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1964 * BufferView_pimpl.C: small coord. correction
1966 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1968 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1969 dragging over the splash screen.
1971 2003-12-11 Angus Leeming <leeming@lyx.org>
1973 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1974 as it is now handled in LyXText::dispatch.
1976 * text3.C (doInsertInset): remove a level of nesting.
1978 2003-12-11 Angus Leeming <leeming@lyx.org>
1980 * factory.C (createInset): changes due to the changed interface to
1981 InsetCommandMailer::string2params.
1983 2003-12-10 Angus Leeming <leeming@lyx.org>
1985 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1986 'dialog-show-new-inset <inset name>'
1988 2003-12-10 Angus Leeming <leeming@lyx.org>
1990 * buffer.C: up the format to 227.
1992 * factory.C: the box inset is now identified simply by 'Box'.
1994 2003-12-10 Angus Leeming <leeming@lyx.org>
1996 * buffer.C: up the format to 226.
1998 * factory.C: the note inset is now identified simply by 'Note'.
2000 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2002 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2003 when a pit is enough. Standarize a couple of loops.
2005 2003-12-05 Angus Leeming <leeming@lyx.org>
2007 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2008 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2009 data to the re-worked "log" dialog.
2011 2003-12-03 André Pönitz <poenitz@gmx.net>
2017 * paragraph_funcs.C:
2019 * text2.C: use Inset::getText instead of Inset::getParagraph
2021 2003-12-03 André Pönitz <poenitz@gmx.net>
2025 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2026 InsetText::read() as LyXText::read()
2028 2003-12-02 Angus Leeming <leeming@lyx.org>
2030 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2031 type. Add a comment in the implementation that the function uses
2032 the stream's bad() function rather than fail() as the std::streams
2035 2003-12-02 André Pönitz <poenitz@gmx.net>
2037 * lyxlex.[Ch]: make interface more similar to std::stream
2039 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2041 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2043 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2045 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2047 * vspace.[Ch]: remove VSpace::NONE
2049 2003-12-01 André Pönitz <poenitz@gmx.net>
2052 * lyxtext.h: move ParagraphList member to LyXText
2053 rename LyXText::ownerParagraphs to LyXText::paragraph
2056 * bufferview_funcs.C:
2066 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2068 * undo.C: fix cursor positioning
2070 2003-12-01 John Levon <levon@movementarian.org>
2072 * BufferView_pimpl.C: fix a crash on exit with
2075 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2077 * BranchList.C: fix setSelected() method.
2079 2003-11-28 André Pönitz <poenitz@gmx.net>
2081 * ParagraphParameters.[Ch]:
2082 * ParameterStruct.h: remove space above/below from Paragraph to
2085 * BufferView_pimpl.C:
2091 * paragraph_funcs.C:
2097 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2099 * factory.C: Syntax change for CharStyles
2101 2003-11-28 André Pönitz <poenitz@gmx.net>
2106 * buffer.[Ch]: move LyXText member
2108 2003-11-28 André Pönitz <poenitz@gmx.net>
2110 * BufferView.[Ch]: make LyXText * text a private member
2112 * BufferView_pimpl.C:
2123 * output_plaintext.C: cleanup
2125 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2128 * lyxtextclass.[Ch]: parametrize SGML document header
2130 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2133 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2136 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2138 * text2.C (setFont): rework using PosIterator (no more recursive)
2139 (setCharFont): no more needed
2140 (setLayout): no more selection cursors fiddling (done by redoCursor)
2141 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2142 destroy remaining ones)
2144 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2146 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2148 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2151 * text3.C: adjust + re-allow multi par depth changes
2152 * textcursor.C: simplify a bit
2154 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2160 * src/output_docbook.C:
2161 * src/output_latex.C:
2166 * src/text2.C: Introducing a number of tags parametrizing various
2167 XML formats that we may want to support
2169 2003-11-25 André Pönitz <poenitz@gmx.net>
2171 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2173 * lyxtext.h (leftMargin/rightMargin): simplify interface
2180 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2182 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2183 master file to any child files. Fixes bug 546.
2185 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2187 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2189 2003-11-24 André Pönitz <poenitz@gmx.net>
2191 * rowpainter.C: simplification
2193 * text2.C (updateCounters): remove call to redoParagraph on
2194 changed labels as this is far too expensive.
2196 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2198 * converter.C (convert): fix a crash: this function gets
2199 called with buffer == 0 from importer code.
2201 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2203 * text3.C (cursorPrevious): make sure that we do not compare
2204 iterators form different containers.
2207 * rowpainter.C (paintSelection): make sure that we do not compare
2208 iterators from different containers.
2210 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2211 iterators from different ParagraphList containers.
2214 * text2.C (LyXText): change order of initialization slightly
2215 (operator=): new function. copy all variables except cache_par_
2216 (moveUp): make sure that we do not compare iterators from
2217 different ParagraphList constainers.
2220 * text.C (firstPar): new function
2221 (lastPar): new function
2222 (endPar): new function
2224 * lyxtext.h: move things around and group public functions, public
2225 variables, private functions, private variables
2227 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2229 * factory.C: change call to InsetERT constructor to avoid
2230 additional invocation of method status
2231 * text2.C (toggleInset): remove redundant update() call
2232 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2233 instead of a Bufferview pointer
2235 2003-11-21 André Pönitz <poenitz@gmx.net>
2237 * rowpainter.C: simplification
2239 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2241 * text3.C (dispatch): make possible to extend a word/row selection
2244 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2246 * lyxtext.h: x0_,y0_ -> xo_,yo_
2247 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2248 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2249 * rowpainter.C (paintRows): paint full paragraphs
2251 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2253 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2256 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2258 * lyxtext.h: add x0_, y0_
2259 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2260 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2262 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2264 * text2.C (setCursorIntern): move the x_target update here *
2265 * text3.C: change some bv() to true/false in calls to
2266 cursorUp/Down/Right/Left
2267 * cursor.C: use helper function.
2269 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2271 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2272 * paragraph_funcs.[Ch]: correct comment
2273 * rowpainter.C: do not paint selections away from bv->cursor()
2274 Fix a long standing selection painting bug.
2275 * text3.C: generalize mouse-selection code to LyXTexts other that
2277 * textcursor.C: do not use y coords if we can use par offsets
2279 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2281 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2282 cursor position after e.g. inset insert)
2284 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2286 * lyxfind.C (replace): adjust to locking removal + some
2289 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2291 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2294 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2297 * output_docbook.C: XML sanitation: new layout
2298 parameters InnerTag and CommandDepth
2300 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2302 * BufferView_pimpl.C:
2304 * text3.C: Fix the insertion and modification of button-style
2307 2003-11-13 André Pönitz <poenitz@gmx.net>
2309 * InsetList.[Ch]: remove deleteLyXText
2311 * paragraph.[Ch]: cache beginOfBody position
2316 * text3.C: remove superfluous update() calls
2320 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2322 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2323 * BufferView.C (fitLockedInsetCursor): remove
2324 * cursor.[Ch] (getDim): add
2325 * text.C (getRowNearY): add faster version
2326 * text3.C: remove some update calls
2328 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2340 * text3.C: The Character Style /XML short element patch.
2342 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2345 * factory.C: Small step to solving 'unable to insert some insets'
2348 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2350 * cursor.[Ch] (updatePos): new function for updating the y
2351 position of the tip inset
2352 * bufferview_funcs.C (put_selection_at):
2353 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2355 2003-11-11 André Pönitz <poenitz@gmx.net>
2357 * text.C: remove big comment on invalid Paragraph pointers as it is
2360 2003-11-11 André Pönitz <poenitz@gmx.net>
2362 * text_funcs.[Ch]: merge with ...
2370 * Makefile.am: remove text_funcs.[Ch]
2372 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2374 * cursor.C (getPos): return absolute cached y coord
2376 * BufferView_pimpl.C (fitCursor): new simplistic code
2377 (workAreaDispatch): add a fitCursor call
2379 2003-11-10 André Pönitz <poenitz@gmx.net>
2382 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2384 2003-11-10 André Pönitz <poenitz@gmx.net>
2386 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2387 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2388 indicate that the cursor needs to leave an inset
2390 * lyxtext.h: remove inset locking
2392 * cursor.[Ch]: re-implement functionality provided by inset locking
2395 * BufferView_pimpl.[Ch]:
2397 * bufferview_funcs.[Ch]:
2409 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2411 * PosIterator.[Ch]: replace the stack with a vector, add inset
2413 * iterators.[C]: adjust
2415 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2417 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2419 * paragraph_funcs.C (readParToken): put the correct id in the
2420 error item, not the id of the top paragraph
2422 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2424 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2425 * bufferview_funcs.C (put_selection_at): use the above
2427 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2429 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2431 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2433 * output_linuxdoc.h:
2434 * output_plaintext.h:
2436 * output_docbook.h: add #include statements
2438 2003-11-05 José Matos <jamatos@lyx.org>
2440 * output_docbook.[Ch]:
2441 * output_latex.[Ch]:
2442 * output_linuxdoc.[Ch]:
2443 * output_plaintext.[Ch]: New files for output formats.
2444 * output.[Ch]: New file for helper functions.
2447 * paragraph_funcs.[Ch]: output functions moved to new files.
2449 * outputparams.h: rename of latexrunparams.h
2457 * paragraph_funcs.[Ch]:
2458 * paragraph_pimpl.[Ch]:
2459 * tabular.[Ch]: rename ascii to plaintext
2460 and LatexRunParams to OutputParams.
2462 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2464 * iterators.[Ch] (text): require bv argument
2465 * undo.C (recordUndo):
2466 * lyxfunc.C (dispatch):
2467 * bufferview_funcs.C (put_selection_at): adjust
2469 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2471 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2473 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2475 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2478 2003-11-04 André Pönitz <poenitz@gmx.net>
2480 * cursor.[Ch]: restructure
2483 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2485 * iterators.[Ch] (asCursor): remove
2487 * lfuns.h: remove LFUN_INSET_EDIT
2493 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2495 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2497 * lyxfind.[Ch]: complete overhaul
2498 * BufferView_pimpl.C:
2500 * paragraph.[Ch] (insert): add
2502 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2506 * text.C: remove dead spellcheck code
2508 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2510 * dispatchresult.h: add a val setter
2512 * cursor.C (dispatch): use a tempvar for data_[i]
2514 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2516 * PosIterator.[Ch]: compile fix
2518 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2520 * text.C (cursorPar): deactivate the cursor cache
2522 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2524 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2526 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2528 * text3.C (dispatch): adjust for new DisptchResult semantics.
2530 * lyxfunc.C (dispatch): handle update when return from
2531 Cursor::dispatch, adjust for new DispatchResult semantics.
2533 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2534 DispatchResult(true) mean to not update. Add class functions for
2535 setting dispatched and update, as well as reading.
2537 * cursor.C (dispatch): don't handle update here
2539 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2541 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2542 * trans_mgr.C: adjust
2544 * paragraph_funcs.C (readParToken): exception safety
2546 * lyxvc.h: store the vcs pointer in a scoped_ptr
2549 * lyxsocket.C (serverCallback): exception safety
2551 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2553 * ispell.C (clone): make it return a auto_ptr
2555 * factory.C (createInset): exception safety
2556 (readInset): exception safety
2558 * bufferlist.C (newBuffer): exception safety
2560 * Thesaurus.C (Thesaurus): use initialization for aik_
2562 * MenuBackend.C (expandToc): exception safety.
2564 2003-11-03 André Pönitz <poenitz@gmx.net>
2568 * bufferview_funcs.C: remove getInsetFromId()
2571 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2577 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2579 * PosIterator.C (distance, advance): new
2580 * bufferview_funcs.[Ch] (put_selection_at): new
2581 * iterators.[Ch] (lockPath): new
2583 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2585 * iterators.[Ch] (asPosIterator): added
2586 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2587 * PosIterator.[Ch]: added
2589 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2593 * cursor.C (dispatch):
2594 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2596 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2597 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2598 contructor, add a class function dispatched. Remove operator>=
2600 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2602 * debug.C: only use the default constructor for debugstream
2605 * main.C (main): include debug.h and setup the lyxerr streambuf
2608 2003-10-31 José Matos <jamatos@lyx.org>
2610 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2612 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2613 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2614 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2615 * paragraph_pimpl.C (simpleTeXSpecialC):
2616 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2617 add LatexRunParams argument.
2619 * exporter.C (Export): change call accordingly.
2621 * latexrunparams.h: add new member to take care of the other backends.
2622 2003-10-30 José Matos <jamatos@lyx.org>
2624 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2625 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2626 factorise code for paragraph output.
2628 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2631 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2633 * text3.C (dispatch):
2634 * lyxfunc.C (dispatch):
2635 * cursor.C (dispatch):
2636 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2638 * dispatchresult.h: make the dispatch_result_t ctor explicit
2640 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2643 * buffer.C: small refactoring of docbook stuff
2645 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2647 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2650 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2652 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2653 operator dispatch_result_t, and operators for == != and >=
2655 * cursor.C (dispatch): adjust for operator dispatch_result_t
2656 removal. comment out call to update
2658 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2660 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2668 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2671 * dispatchresult.h: new file, DispatchResult broken out of
2674 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2676 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2678 * text.C (rowBreakPoint): put a hack inside #if 0
2680 2003-10-28 André Pönitz <poenitz@gmx.net>
2684 * paragraph_funcs.C:
2687 * text2.C: general cleanup (lots of small stuff)
2689 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2691 * text2.C (cursorEnd): simple fix to the "end key goes to one
2692 before the end on last row" bug
2694 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2696 * text.C (backspace): fix the "zombie characters"
2698 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2700 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2702 2003-10-27 André Pönitz <poenitz@gmx.net>
2704 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2706 * factory.C: handle new InsetPagebreak, InsetLine
2708 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2709 and move handling into new InsetPagebreak, InsetLine
2711 * BufferView_pimpl.C:
2713 * ParagraphParameters.C:
2714 * ParameterStruct.h:
2719 * paragraph_funcs.C:
2720 * paragraph_pimpl.C:
2726 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2729 * lyxrow_funcs.[Ch]:
2735 * text3.C: remove lastPos uses in favour of Row::endpos
2737 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2739 * undo.C (performUndoOrRedo): fix two crashes by setting a
2740 cursor by hand and reordering some calls. Use bv->lockInset instead
2741 of inset->edit because the latter loses cursor information
2743 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2745 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2747 (rowBreakPoint): fix width. change point to point + 1.
2748 Add a missing check.
2750 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2753 * lyxfunc.C: fix (at least partly) the problems
2754 with the Nav menu and headers inside branch insets
2757 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2759 * paragraph.C (getChar): add strong asserts
2761 * lyxrow_funcs.C (lastPos): remove hideous hack
2763 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2764 (fill): adjust to that (avoid an infinite loop)
2766 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2768 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2770 2003-10-23 André Pönitz <poenitz@gmx.net>
2772 * RowList_fwd.h: change list<> to vector<> to gain speed
2773 after suggestion from Alfredo
2775 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2777 * lyxtext.h: move the bidi stuff from here...
2780 * Bidi.[Ch]: ... to here
2782 2003-10-23 André Pönitz <poenitz@gmx.net>
2785 * text.C (isLastRow, isFirstRow): new functions
2787 * paragraph.h: new width cache member
2789 * rowpainter.C: replace RowList::iterator with Row & where possible
2791 * lyxfunc.C: replace several view()->text with a single call
2793 * toc.C: fix 'unused' warning
2795 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2797 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2798 when woring with stream::pos_type
2799 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2801 2003-10-22 André Pönitz <poenitz@gmx.net>
2804 * text.C: use Row & instead of RowList::iterator
2806 * lyxrow.h: rename end() to endpos()
2812 2003-10-22 Angus Leeming <leeming@lyx.org>
2814 * buffer.[Ch] (fully_loaded): new member function, returning true
2815 only when the file has been loaded fully.
2816 Used to prevent the premature generation of previews and by the
2817 citation inset to prevent computation of the natbib-style label.
2819 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2820 templates are all set up.
2822 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2824 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2826 * text.C: fixed an "oops" in the "is a bit silly"
2829 2003-10-21 André Pönitz <poenitz@gmx.net>
2831 * FuncStatus.[Ch]: small stuff, whitespace
2833 * lyxfont.[Ch]: operator<<() for debug reasons
2837 * lyxtext.h: whitespace, spelling
2839 * paragraph.C: naming of variables
2842 * text2.C: small stuff
2845 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2847 * text.C: (1) finish off the inset display() work;
2848 (2) fix the "is a bit silly" bug (accessing char
2851 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2853 * text.C: re-introduce display() for insets, fixing the
2854 various bugs (stretch of line above, math inset
2857 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2859 * text.C (rightMargin): remove spurious semicolon
2861 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2864 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2866 * text3.C: fix one crash due to wrong cursor def
2868 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2870 * vc-backend.C (scanMaster): make the regex static
2872 * LaTeX.C (scanAuxFile): make the regexs static
2874 * text3.C (doInsertInset, dispatch, dispatch):
2875 * text2.C (cursorUp, cursorDown):
2876 * text.C (selectNextWordToSpellcheck):
2877 * BufferView_pimpl.C (dispatch):
2878 * lyxfunc.C (dispatch): localDispatch -> dispatch
2880 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2882 * lyxsocket.C: include <cerrno>
2884 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2886 * lyxfunc.C (dispatch): remove textcache stuff
2888 * bufferlist.C (release): remove textcache stuff
2891 * TextCache.C: delete file
2892 * TextCache.h: delete file
2894 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2896 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2897 delete of the bv_->text.
2898 (resizeCurrentBuffer): remove texcache stuff
2899 (workAreaResize): ditto
2901 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2903 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2906 2003-10-16 André Pönitz <poenitz@gmx.net>
2913 * text3.C: speed up by storing y positions per paragraph plus per-row
2914 offset instead of having a 'full' y position in the row.
2916 2003-10-15 André Pönitz <poenitz@gmx.net>
2920 * undo.[Ch]: make undo aware of inner insets
2922 2003-10-14 Angus Leeming <leeming@lyx.org>
2924 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2925 static member functions LyX::ref() and LyX::cref.
2926 (lastfiles): new accessor functions for the new lastfiles_ member var.
2927 (addLyXView, views_): add a new LyXView to the list of views_.
2928 (updateInset): loop over all LyXViews to call their own updateInset
2929 member function, returning a pointer to the Buffer owning the inset.
2931 * BufferView_pimpl.C (loadLyXFile):
2932 * MenuBackend.C (expandLastfiles):
2933 * bufferlist.C (MenuWrite, QuitLyX):
2934 lastfiles is no longer a global variable.
2935 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2937 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2938 static function. Access through LyX::cref().emergencyCleanup().
2940 2003-10-14 André Pönitz <poenitz@gmx.net>
2942 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2944 * undo.[Ch]: restoring part of 'undo in insets'
2947 * undo_funcs.[Ch]: merge with undo.[Ch]
2949 * tabular.C: small cleansing stuff
2951 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2953 * paragraph_funcs.C (readParToken): report unknown insets as error
2954 boxes. Use the outer paragraph as location (also for unknown
2957 * factory.C (readInset): do not abort on reading an unknown inset.
2958 Eat it and return 0.
2960 2003-10-13 Angus Leeming <leeming@lyx.org>
2962 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2964 * lyxrc.C: displayTranslator is now a function,
2965 declared in GraphicsTypes.h.
2967 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2969 * format.C: new placeholder $$a to pass the socket address.
2971 * bufferlist.[Ch]: new function getBufferFromTmp.
2973 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2974 files in the temporary dir.
2976 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2978 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2980 * Makefile.am: add lyxsocket.[Ch].
2982 * lyx_main.C (error_handler): handle SIGPIPE.
2984 2003-10-13 André Pönitz <poenitz@gmx.net>
2986 * BufferView_pimpl.C:
2991 * undo_funcs.[Ch]: use paroffset_type instead of
2992 ParagraphList::iterators to prevent multiple conversion
2993 (and get a more robust interface)
2995 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2997 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2999 * text3.C (dispatch): ditto
3001 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3003 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3004 move the onlyfile, use onlyfile instead of foundfile in a couple
3007 * DepTable.C (update): flush the error stream a bit more
3009 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3011 * lyxserver.C (callback): adjust
3013 * lyxfunc.C (getStatus): add a missing brace in commented code
3014 (ensureBufferClean): reindent
3015 (dispatch): delete version taking a string
3017 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3019 * LaTeX.C (deplog): move found file handlig from here...
3020 (handleFoundFile): .. to new function here.
3021 (deplog): make sure to discover several files mentioned on the
3024 2003-10-10 André Pönitz <poenitz@gmx.net>
3031 * text3.C: fix some of the tabular crashes
3033 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3035 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3037 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3039 2003-10-09 André Pönitz <poenitz@gmx.net>
3041 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3044 * BufferView_pimpl.C:
3045 * bufferview_funcs.C:
3056 * undo_funcs.C: adjust
3058 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3060 * text2.C (incrementItemDepth): new function, use a backtracking
3061 algorithm to discover the correct item depth.
3062 (resetEnumCounterIfNeeded): new function, use a backtracking
3063 algorithm to discover if counter reset is needed.
3064 (setCounter): use them. Simplify a bit. Add different labels for
3065 different item depths for itemize.
3067 * paragraph.C (Paragraph): remove initialization of enumdepth
3070 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3071 enumerate and itemize. Change the type of itemdepth to signed char.
3073 2003-10-08 André Pönitz <poenitz@gmx.net>
3075 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3080 * tabular.[Ch]: fix crash after 'row-insert'
3082 2003-10-08 Angus Leeming <leeming@lyx.org>
3084 Fix doxygen warnings.
3086 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3087 Remove CutAndPaste:: prefix from header file declaration.
3089 * LColor.h (fill): remove LColor:: prefix from declaration.
3091 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3092 use lyx::depth_type rather than Paragraph::depth_type so that
3093 header file and .C file match.
3095 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3097 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3098 * aspell.C: \file aspell_local.C -> \file aspell.C
3099 * gettext.C: \file gettext.C -> \file src/gettext.C
3100 * gettext.h: \file gettext.h -> \file src/gettext.h
3101 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3102 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3103 * text.C: \file text.C -> \file src/text.C
3105 * toc.C: move comment so that doxygen is not confused.
3107 2003-10-07 Angus Leeming <leeming@lyx.org>
3109 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3111 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3114 * aspell_local.h: add forgotten std::string's.
3116 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3123 * text3.C: The Box patch. Fancybox support, minipage, parbox
3125 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3131 * ParagraphParameters.h:
3141 * lyxtextclasslist.h:
3144 * paragraph_pimpl.C:
3145 * textcursor.h: add <string> and other small fixes to make Lars'
3146 std::string patch compile with STLport.
3148 2003-10-06 Angus Leeming <leeming@lyx.org>
3150 * LColor.h: Add missing #include <string>.
3152 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * All most all file in all subdirs: Make <string> be the prefered
3155 way of getting to std::string, add using declarations.
3157 2003-10-06 André Pönitz <poenitz@gmx.net>
3159 * metricsinfo.C: initialize LyXFont before changing attribute.
3160 (fixes the 'math in \emph is upright' bug)
3162 2003-10-06 André Pönitz <poenitz@gmx.net>
3164 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3166 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3169 * paragraph_pimpl.C: Small fixes to build using STLport
3171 2003-10-02 André Pönitz <poenitz@gmx.net>
3174 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3176 2003-10-01 André Pönitz <poenitz@gmx.net>
3178 * factory.C: assert early
3180 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * lyx_main.C: remove the global debug object
3184 * debug.h: adjust for new debugstream
3186 * debug.C: adjust for new debugstream and keep the global debug
3189 2003-09-22 Angus Leeming <leeming@lyx.org>
3191 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3192 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3193 an incomplete class LyXFont.
3195 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3197 * factory.C: bug fix in branches
3199 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3201 * lyxfunc.C (processKeySym): adjust
3203 (dispatch): change arg name from ev to func, adjust
3204 (sendDispatchMessage): ditto
3206 * lyx_main.C (defaultKeyBindings): adjust keybindings
3207 (deadKeyBindings): ditto
3209 * kbsequence.C (addkey): return a FuncRequest
3211 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3213 * kbmap.C (bind): take a FuncRequest as arg, adjust
3216 (defkey): change to take a FuncRequest as arg, adjust
3217 (findbinding): take a FuncRequest as arg, adjust.
3219 * funcrequest.h (operator=): added
3221 * funcrequest.C (FuncRequest): default kb_action changed from
3222 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3224 * buffer.C (dispatch): simplify
3225 (dispatch): adjust to take a FuncRequest as arg, adjust
3227 * boost.C (assertion_failed): change assertion message slightly
3229 * ToolbarBackend.C (read): simplify
3231 * MenuBackend.C (binding): adjust call to findbinding, add a
3232 message if no binding is found.
3234 (expandToc): correct by adding a empty FuncRequest
3236 * LyXAction.C: include <boost/assert.hpp>
3237 (isPseudoAction): delete function
3238 (LookupFunc): change name to...
3239 (lookupFunc): this. change return type to FuncRequest.
3240 (getActionName): take kb_action as arg, simplify
3241 (funcHasFlag): add an assert, simplify.
3243 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * toc.C (action): return a FuncRequest, simplify
3247 * lyxfunc.C (processKeySym): adjust
3248 (getStatus): delete version that takes an int.
3250 (dispatch): delete version that takes action as int
3252 (sendDispatchMessage): simplify and adjust
3254 * funcrequest.C (getArg): take unsigned int as arg
3256 * ToolbarBackend.C (read): adjust
3257 (add): delete version that takes func as a string.
3258 (getIton): take a FuncRequest as arg
3260 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3263 * MenuBackend.C (MenuItem): add a new construct that only takes a
3264 Kind, simplify the constructor use for submenus.
3266 (expandLastfiles): adjust
3267 (expandDocuments): adjust
3268 (expandFormats): adjust
3269 (expandFloatListInsert): adjust
3270 (expandFloatInsert): adjust
3271 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3273 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3274 Remove class variables lyx_pseudo_map and lyx_arg_map
3276 * LyXAction.C (searchActionArg): delete function
3277 (getPseudoAction): delete function
3278 (retrieveActionArg): delete function
3279 (LookupFunc): make it return kb_action, simplify.
3280 (getActionName): simplify
3282 * factory.C (createInset): fix new bug
3284 2003-09-19 Angus Leeming <leeming@lyx.org>
3286 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3287 masterFilename_ parameter in the include inset.
3289 * factory.C (createInset): changes due to the changes to InsetInclude.
3291 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3293 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3295 2003-09-18 Angus Leeming <leeming@lyx.org>
3298 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3299 Inset::fillWithBibKeys.
3300 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3302 2003-09-18 Angus Leeming <leeming@lyx.org>
3304 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3306 (ctor): pass and store a 'Buffer const &'
3307 (buffer): new member function.
3309 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3310 '*this' to the LaTeXFeatures ctor.
3312 2003-09-18 Angus Leeming <leeming@lyx.org>
3318 * text.C: rename EnumLColor as LColor_color.
3320 2003-09-18 Angus Leeming <leeming@lyx.org>
3322 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3323 remove #include "insets/insetbase.h" from cursor.h.
3325 2003-09-18 Angus Leeming <leeming@lyx.org>
3327 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3328 InsetOld_code to remove #include "inset.h".
3330 * iterators.C: add #include "insets/inset.h"
3332 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3334 * BufferView.C: remove more locking stuff that apparently doesn't
3335 do anything sensible.
3337 2003-09-16 André Pönitz <poenitz@gmx.net>
3340 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3343 2003-09-16 Angus Leeming <leeming@lyx.org>
3345 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3347 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3350 * paragraph.h: remove #include "lyxfont.h". Forward declare
3353 2003-09-16 Angus Leeming <leeming@lyx.org>
3355 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3356 of support/textutils.h.
3357 (isWord): move the contents of support/textutils.h's IsWordChar here.
3363 * text2.C: add #include "paragraph.h".
3366 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3368 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3374 * LaTeX.C: use namespace alias for lyx::support::os
3376 2003-09-16 Angus Leeming <leeming@lyx.org>
3379 * bufferview_funcs.C:
3382 * paragraph_pimpl.C:
3384 * text.C: add #include "LColor.h".
3386 2003-09-16 Angus Leeming <leeming@lyx.org>
3388 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3389 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3391 Store the FontBits::color variable as an int rather than as an
3392 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3395 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3396 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3397 string calls together.
3399 * lyxrc.C: add #include "LColor.h".
3401 2003-09-15 Angus Leeming <leeming@lyx.org>
3403 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3406 2003-09-15 Angus Leeming <leeming@lyx.org>
3408 * LColor.h: add an EnumLColor wrapper for LColor::color.
3410 * lyxfont.[Ch] (color, setColor, realColor):
3411 * lyxtext.h, text.C (backgroundColor):
3412 pass EnumLColor args to/from the functions, rather than LColor::color
3416 * lyxtext.h: forward declare EnumLColor.
3418 * lyx_main.C: add #include "LColor.h".
3420 2003-09-15 Angus Leeming <leeming@lyx.org>
3422 * .cvsignore: add lyx-gtk.
3424 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3429 * ParagraphParameters.C
3433 * bufferview_funcs.C
3443 * vc-backend.C: remove usage of STRCONV
3445 2003-09-15 Angus Leeming <leeming@lyx.org>
3447 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3448 explicitly define the color passed to the painter.
3450 2003-09-15 Angus Leeming <leeming@lyx.org>
3452 * bufferparams.C (BufferParams): reorder member initializers to avoid
3455 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3457 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3458 * text.C (updateRowPositions): remove an unusual nop
3460 2003-09-12 André Pönitz <poenitz@gmx.net>
3462 * BufferView_pimpl.C:
3471 * Counters.[Ch]: finish the 'automatic counters' job
3473 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3475 * aspell.C: include <boost/assert.cpp> (compile fix)
3477 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3479 * boost.C (assertion_failed): use lyx::support::abort instead of
3482 2003-09-10 Angus Leeming <leeming@lyx.org>
3484 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3485 with their _fwd progeny.
3487 2003-09-09 Angus Leeming <leeming@lyx.org>
3489 134 files throughtout the source tree: replace 'using namespace abc;'
3490 directives with the appropriate 'using abc::xyz;' declarations.
3492 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3494 * boost.C (emergencyCleanup): moved here from LAssert.c
3495 (assertion_failed): new function, called by BOOST_ASSERT
3497 * several files: change Assert to BOOST_ASSERT
3499 2003-09-09 Angus Leeming <leeming@lyx.org>
3501 * buffer.[Ch]: Add an Impl class and move Buffer's member
3502 variables into it. As a result move several header files out of
3505 Add header files to lots of .C files all over the tree as a result.
3507 2003-09-09 Angus Leeming <leeming@lyx.org>
3509 * buffer.[Ch]: make Buffer's member variables private. Add
3512 Lots of changes all over the tree as a result.
3514 2003-09-08 Angus Leeming <leeming@lyx.org>
3516 * graph.C: #include <config.h>.
3518 2003-09-08 Angus Leeming <leeming@lyx.org>
3522 * BufferView_pimpl.C:
3551 * toc.C: remove redundant using directives.
3553 2003-09-07 Angus Leeming <leeming@lyx.org>
3555 * LaTeXFeatures.h: remove #include "support/types.h".
3556 * ToolbarBackend.h: remove #include <algorithm>.
3557 * changes.h: remove #include <ctime>.
3558 * debug.h: remove #include <iosfwd>.
3559 * graph.h: remove #include "support/std_string.h".
3560 * lyx_main.h: remove #include <csignal>.
3561 * lyxlex_pimpl.h: remove #include <fstream>.
3562 * sgml.h: remove #include <algorithm>, <utility>.
3563 * toc.h: remove #include "support/std_ostream.h".
3564 Add #include <iosfwd>.
3566 2003-09-07 Angus Leeming <leeming@lyx.org>
3568 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3570 * converter.h: forward declare LatexRunParams.
3571 * encoding.h: remove #include "lyxrc.h".
3572 * lyxtext.h: remove #include "LColor.h".
3573 * lyxtextclass.h: remove #include "support/types.h".
3574 * trans.h: remove #include "tex-accent.h".
3575 * trans_mgr.h: remove #include "tex-accent.h".
3576 * insets/inset.h: remove #include "support/types.h", <vector>.
3577 * insets/insetcollapsable.h: remove #include "LColor.h".
3578 * insets/insetinclude.h: remove #include "dimension.h".
3579 * insets/insetlatexaccent.h: remove #include "dimension.h".
3580 * insets/insetoptarg.h:: remove #include "insettext.h".
3581 * insets/insettext.h: remove #include "dimension.h",
3582 <boost/shared_ptr.hpp>
3584 * insets/renderers.h: add #include "dimension.h".
3585 * insets/updatableinset.h: add #include "support/types.h".
3587 * many .C files: Associated changes.
3589 2003-09-06 Angus Leeming <leeming@lyx.org>
3591 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3592 one, inside testInvariant.
3594 * PrinterParams.C: new file.
3595 * PrinterParams.[Ch]: move the function bodies out of line.
3597 2003-09-06 Angus Leeming <leeming@lyx.org>
3599 * ParagraphParameters.h: forward declare ParameterStruct rather than
3600 including its header file.
3601 (depth): moved out-of-line.
3603 2003-09-06 Angus Leeming <leeming@lyx.org>
3605 * BufferView_pimpl.h:
3608 * lyxfunc.h: forward declare LyXKeySym rather than
3609 #include "frontends/LyXKeySym.h".
3611 * BufferView_pimpl.C:
3614 * lyxfunc.C: associated changes.
3616 2003-09-06 Angus Leeming <leeming@lyx.org>
3618 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3619 As a result, can remove the #include "insets/inset.h" from BufferView.h
3621 2003-09-06 Angus Leeming <leeming@lyx.org>
3623 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3624 As a result, can remove the #include "insets/inset.h" from BufferView.h
3626 2003-09-06 Angus Leeming <leeming@lyx.org>
3632 * bufferview_funcs.C:
3633 * BufferView_pimpl.C:
3638 * ParagraphParameters.C:
3643 * frontends/controllers/ControlDocument.C:
3644 * insets/insetcaption.C: rearrange the #includes into some sort of
3647 * buffer.h: remove #includes ErrorList.h, undo.h
3649 2003-09-06 Angus Leeming <leeming@lyx.org>
3651 * support/types.h: add a 'depth_type' typedef, used to store the
3652 nesting depth of a paragraph.
3655 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3656 defining explicitly.
3659 * paragraph_funcs.h:
3660 * ParagraphParameters.h:
3661 * sgml.h: use lyx::depth_type rather than Paragraph or
3662 ParameterStruct's depth_type.
3665 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3668 * BufferView_pimpl.C:
3670 * ParagraphParameters.C:
3673 * bufferview_funcs.C:
3680 * frontends/LyXView.C:
3681 * frontends/controllers/ControlDocument.C:
3682 * frontends/controllers/ControlErrorList.C:
3683 * insets/insetbibitem.C:
3684 * insets/insetbranch.C:
3685 * insets/insetcaption.C:
3686 * insets/insetcollapsable.C:
3687 * insets/insetenv.C:
3688 * insets/insetert.C:
3689 * insets/insetfloat.C:
3690 * insets/insetfoot.C:
3691 * insets/insetfootlike.C:
3692 * insets/insetnewline.C:
3693 * insets/insetquotes.C:
3694 * insets/insettabular.C:
3695 * insets/insettext.C:
3696 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3698 * frontends/controllers/ControlChanges.C: #include "changes.h".
3700 2003-09-06 Angus Leeming <leeming@lyx.org>
3702 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3703 than #including paragraph.h.
3706 * RowList.h: deleted. Superfluous.
3716 * insets/insettext.h: use ParagraphList_fwd.h rather than
3719 * paragraph.h: don't forward declare ParagraphList.
3722 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3723 rather than ParagraphList.h. paragraph.h is still needed for the
3724 Paragraph::depth_type parameters.
3726 * textcursor.h: enable it to compile stand-alone in light of the
3729 * bufferview_funcs.C:
3741 * frontends/controllers/ControlParagraph.C:
3742 * frontends/controllers/ControlTabular.C:
3743 * insets/insetmarginal.C:
3744 * insets/insetminipage.C:
3745 * insets/insetnote.C:
3746 * insets/insetoptarg.C: add header files needed to compile again.
3748 2003-09-06 Angus Leeming <leeming@lyx.org>
3750 * RowList_fwd.h: new file, forward-declaring Row rather than
3751 #including lyxrow.h.
3756 * insets/insettext.h: use it instead of RowList.h
3758 * bufferview_funcs.C:
3765 * text3.C: #include "RowList.h".
3767 2003-09-05 Angus Leeming <leeming@lyx.org>
3769 * factory.C (createInset):
3770 * vspace.C (c-tor): replace sscanf call with an istringstream.
3771 * ispell.C: re-add missing HP/UX headers.
3772 * lyxserver.C: re-add missing os2 headers.
3774 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3783 * text3.C: re-add missing system headers, needed for 2.95.2.
3785 2003-09-05 Angus Leeming <leeming@lyx.org>
3787 Changes most place everywhere due to the removal of using directives
3788 from support/std_sstream.h.
3790 2003-09-05 Angus Leeming <leeming@lyx.org>
3792 Replace LString.h with support/std_string.h,
3793 Lsstream.h with support/std_sstream.h,
3794 support/LIstream.h with support/std_istream.h,
3795 support/LOstream.h with support/std_ostream.h.
3797 Changes resulting throughout the tree.
3799 2003-09-05 Angus Leeming <leeming@lyx.org>
3801 * sgml.h: ensure that the header file can be compiled stand-alone.
3802 * *.C: strip out redundant #includes. (320 in total.)
3804 2003-09-04 Angus Leeming <leeming@lyx.org>
3806 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3807 here (from getPackages).
3809 * debug.[Ch]: add a new EXTERNAL tag.
3811 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3813 * text2.C (cursorEnd): simplify
3815 (getColumnNearX): adjust
3817 * text.C (computeBidiTables): adjust
3820 * rowpainter.C (paintChars): adjust
3821 (paintSelection): adjust
3822 (paintChangeBar): adjust
3825 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3827 (numberOfSeparators): adjust
3829 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3835 * text3.C: Restricts the mouse click functionality
3836 of insets like bibtex, include, toc and floatlist to the visible
3837 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3838 up the dialogs. Cursor has to be in front of the inset (i.e.
3839 start of row) for this to function.
3841 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3843 * bufferview_funcs.C (currentState): output row information
3845 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3847 * bufferview_funcs.C (currentState): output paragraph position
3849 2003-09-04 Angus Leeming <leeming@lyx.org>
3851 * FloatList.h: move out #include "Floating.h".
3852 * LaTeX.h: move out #include "DepTable.h".
3853 * LyXAction.h: move out #include "funcrequest.h".
3854 * buffer.h: move out #include "author.h", "iterators.h".
3855 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3856 * lyx_main.h: move out #include "errorlist.h".
3857 * lyxfunc.h: move out #include "FuncStatus.h".
3858 * lyxtext: move out #include "lyxcursor.h".
3859 * paragraph_pimpl.h: move out #include "counters.h".
3861 2003-09-03 Angus Leeming <leeming@lyx.org>
3863 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3864 preamble_snippets list, enabling us to add snippets to the preamble
3865 only if the snippet was not there already.
3867 2003-09-04 Angus Leeming <leeming@lyx.org>
3869 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3871 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3873 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3876 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3878 * BranchList.C: point fix, earlier forgotten
3880 2003-09-02 Angus Leeming <leeming@lyx.org>
3882 * box.C (contains): renamed from 'contained' after a fantastic
3885 2003-09-02 John Levon <levon@movementarian.org>
3891 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3893 2003-09-02 John Levon <levon@movementarian.org>
3895 * text2.C: simplification of cursorEnd(), including partial
3898 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3900 * buffer.C (readFile): add a space
3902 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3904 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3906 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3908 * buffer.C (readFile): new function, take a filename and a
3909 ParagraphList::iterator
3911 (readFile): adjust, make it private. don't use setStream, make
3912 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3913 always contain the filename.
3915 * BufferView.C (insertLyXFile): simplify and make it work for
3918 2003-08-30 John Levon <levon@movementarian.org>
3920 * Makefile.am: fix dist (from Kayvan)
3922 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3924 * most files: change to use const Buffer refs
3926 2003-08-27 André Pönitz <poenitz@gmx.net>
3928 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3929 on top of ownerPar().
3931 2003-08-27 John Levon <levon@movementarian.org>
3933 * funcrequest.C: properly initialise POD members
3935 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3937 * lyxtext.h (top_y): move top_y from here
3942 * BufferView_pimpl.[Ch]: to here
3943 * frontends/screen.C:
3944 * insets/insettabular.C:
3945 * insets/insettext.C: adjust
3946 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3948 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3951 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3953 2003-08-26 André Pönitz <poenitz@gmx.net>
3955 * paragraph_func.[Ch] (outerPar): new function
3958 * paragraph_funcs.C:
3959 * paragraph_funcs.h:
3960 * paragraph_pimpl.C:
3961 * text2.C: remove Inset::par_owner
3963 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3968 * text2.C: eliminates the needFullRow/display() stuff
3969 altogether, putting the logic in metrics/draw in the insets.
3971 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3973 * text2.C (redoParagraphInternal, redoParagraphs):
3974 * text.C (redoParagraph): add a call to updateRowPositions at the
3975 end of each 'metrics-like' call. Remove all others.
3976 (getRow): remove the 'y-computing' version.
3977 (getRowNearY): do not compute nor return the real y. Solve the
3978 'y < 0' problem and simplify.
3980 2003-08-22 Angus Leeming <leeming@lyx.org>
3982 * *.[Ch]: clean-up of licence and author blurbs.
3983 Also move config.h out of a few .h files and into a few .C files.
3985 2003-08-22 André Pönitz <poenitz@gmx.net>
3987 * lyxrow.[Ch]: add x_ and *fill_ members
3992 * text2.C: adjust/remove prepareToPrint() calls
3994 2003-08-22 André Pönitz <poenitz@gmx.net>
3996 * lyxrow.[Ch]: add end_ member
3998 * lyxrow_funcs.C: use LyXRow::end_
4000 * lyxtext.h (singleWidth): add LyXFont parameter
4003 * text2.C: adjust LyXText::singleWidth() calls
4005 * text.C (redoParagraph): simplify row breaking logic
4008 2003-08-19 André Pönitz <poenitz@gmx.net>
4010 * funcrequest.C: initialize button_ member
4013 * rowpainter.[Ch]: interface consolidation
4015 2003-08-18 André Pönitz <poenitz@gmx.net>
4018 * BufferView_pimpl.C:
4020 * paragraph_funcs.C:
4022 * text3.C: remove LyXScreen::draw() and fitCursor calls
4024 * BranchList.h: remove spurious semicolons
4026 * MenuBackend.C: fix branchlist related crash
4028 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4036 * bufferparams.[Ch]:
4040 * text3.C: implements the 'branch inset'
4041 idea. This allows the output of various versions of a document
4042 from a single source version, selectively outputing or suppressing
4043 output of parts of the text.
4044 This implementation contains a 'branch list editor' in a separate
4045 tab of the document settings dialog. Branches are user definable
4046 and have a "display colour" to distinguish them on-screen.
4048 ColorHandler was somewhat cleaned up.
4049 (1) make possible a dynamically growing LColor list by allowing
4050 the graphic context cache to grow along (vector);
4051 (2) eliminate an IMHO unnecessary step in colour allocation.
4053 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4055 * BufferView_pimpl.C: compile fix
4057 2003-08-15 André Pönitz <poenitz@gmx.net>
4059 * rowpainter.C: remove extra metrics calls
4061 * lyxtext.h: merge the two constructors into a single one,
4062 pass reference to owner's par list
4064 * BufferView_pimpl.C:
4068 2003-08-15 André Pönitz <poenitz@gmx.net>
4070 * lyxrow_funcs.[Ch]:
4073 * paragraph_funcs.C:
4078 * text_funcs.C: split LyXText::rowlist_ into individual
4079 Paragraph::rows_ chunks
4082 * BufferView_pimpl.[Ch]:
4085 * text3.C: remove toggleSelection()
4087 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4089 * bufferlist.C: beautify two alerts (shorter text of buttons)
4090 * buffer.C: Remove redundant ' ' from message
4092 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4093 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4094 rename VALIGN_CENTER to VALIGN_MIDDLE
4096 2003-08-11 André Pönitz <poenitz@gmx.net>
4098 * lyxtext.h (getPar):
4099 * text.C: new function
4101 2003-08-11 André Pönitz <poenitz@gmx.net>
4104 * tracer.[Ch]: remove unneeded files
4106 * InsetList.[Ch]: remove resizeInsetsLyXText()
4111 * text3.C: merge insertParagraphs() and appendParagraph()
4112 remove breakAgain(), update()
4114 * BufferView_pimpl.[Ch]:
4115 * bufferview_funcs.[Ch]:
4119 * tabular.C: adjust after text & InsetList changes.
4121 2003-08-08 André Pönitz <poenitz@gmx.net>
4123 * text.C (insertChar, backspace): replace rowlist fiddling
4124 with rebreak of full par
4127 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4128 checkParagraph, updateInset): removed
4130 2003-08-07 André Pönitz <poenitz@gmx.net>
4133 * text3.C: merge some LFUN handlers, remove dead code
4135 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4137 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4139 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4141 * text2.C (DEPM): fix part of bug 1255 and 1256
4143 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4145 * BufferView_pimpl.C (workAreaDispatch): change to use
4146 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4147 that are no mouse related.
4149 2003-08-05 André Pönitz <poenitz@gmx.net>
4152 * BufferView_pimpl.[Ch]:
4153 * bufferview_funcs.C:
4155 * text3.C: rip out "deep update"
4157 * textcursor.[Ch] (last_sel_cursor): remove unused member
4159 2003-08-04 André Pönitz <poenitz@gmx.net>
4162 * BufferView_pimpl.[Ch]:
4163 * ParagraphParameters.C:
4164 * bufferview_funcs.C:
4170 * text3.C: replace "complicated" BufferView::update(...) calls with
4173 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4175 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4177 * Makefile.am (lyx_SOURCES): add paper.h
4179 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4181 * Makefile.am: move things around so that both lyx-qt and
4182 lyx-xforms can be built (according to --with-frontend). Then lyx
4183 is a symbolic link to lyx-[firstfrontend]
4185 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4187 * Always use std::endl with lyxerr
4189 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4191 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4193 2003-08-01 André Pönitz <poenitz@gmx.net>
4196 * BufferView_pimpl.[Ch]:
4198 * text3.C: merge BufferView::repaint() and BufferView::update()
4200 2003-08-01 José Matos <jamatos@lyx.org>
4202 * buffer.[Ch]: file_format is no longer a buffer data element.
4204 2003-08-01 André Pönitz <poenitz@gmx.net>
4209 * text2.C: make redoParagraph more independent of current cursor
4211 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4213 * text2.C: remove unneeded members
4215 2003-07-30 André Pönitz <poenitz@gmx.net>
4217 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4219 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4220 create a single function...
4222 * paragraph_funcs.C (moveItem): ... here.
4225 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4227 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4229 * LColor.[Ch]: Add comment and greyedout logical colors.
4231 2003-07-30 André Pönitz <poenitz@gmx.net>
4233 * tabular.C: don't use Assert too heavily. This crashes where it
4236 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4238 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4239 is disabled (bug 1232)
4241 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4243 * factory.C: limited 'arg' scope
4245 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4247 * factory.C: fixed Note submenu issues
4249 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4251 * factory.C: submenu for Note/Comment/Greyedout
4253 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4256 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4258 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4261 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4262 greyedout. Patch provided by Jürgen Spitzmüller.
4264 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4266 * kbmap.C (read): fix error message when reading bind files
4268 2003-07-29 Angus Leeming <leeming@lyx.org>
4270 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4271 certainly does not do what it purports to do. I am doing it, and
4272 us, a favour by killing it.
4274 2003-07-28 José Matos <jamatos@lyx.org>
4276 * buffer.C (readBody, do_writeFile):
4277 * paragraph.C(readParagraph): \end_document replaces \the_end.
4279 2003-07-29 André Pönitz <poenitz@gmx.net>
4282 * BufferView_pimpl.[Ch]:
4286 * textcursor.[Ch]: remove toggleToggle & Co
4288 2003-07-28 José Matos <jamatos@fep.up.pt>
4290 * buffer.C (readParagraph):
4291 * params_func (readParToken, readParagraph):
4292 * paragraph.C (write): \layout -> \begin_layout.
4294 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4296 * lyxlex_pimpl.C (setFile): clean up slightly.
4298 * bufferparams.h: add compressed var
4300 * buffer_funcs.C (readFile): adjust for LyXLex change
4301 (newFile): ditto + simplify
4303 * buffer.C (writeFile): handle writing of compressed files
4305 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4306 Check if the file is compressed and set a bufferparm if so.
4308 * Makefile.am (lyx_LDADD): remove explicit -lz
4310 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4312 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4313 makeDocBookFile): put the real LyX version in the first line of
4317 * version.C.in: remove lyx_docversion
4319 * tabular.C (write_attribute): add a template-based version to
4320 write enums properly
4322 2003-07-28 André Pönitz <poenitz@gmx.net>
4327 * text3.C: use doubles again for x-coordinates. They are needed.
4329 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4331 * messages.C (getLocaleDir): use lyx_localedir()
4333 * lyxlex_pimpl.C (setFile): compress stuff
4335 * buffer.C (writeFile): add some compression stuff
4336 (do_writeFile): new func, dont call expliti close... will this
4339 * Makefile.am (lyx_LDADD): add -lz
4341 2003-07-28 José Matos <jamatos@fep.up.pt>
4343 * buffer.C: increment file format.
4344 * paragraph_funcs (readParagraph, readParToken):
4345 * paragraph.C (readParagraph): add \end_layout.
4347 2003-07-27 Angus Leeming <leeming@lyx.org>
4349 * Makefile.am: remove special casing for configure-time setting of
4350 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4352 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4353 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4355 2003-07-26 André Pönitz <poenitz@gmx.net>
4357 * paragraph_func.[Ch]:
4358 * paragraph.C (realizeFont): inline it whereever it is used
4363 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4366 2003-07-26 André Pönitz <poenitz@gmx.net>
4370 * text2.C: get rid of LyXText::need_break_row
4372 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4374 * toc.[Ch]: put namespace toc inside namespace lyx
4376 * MenuBackend.C (expandToc2): adjust for lyx::toc
4379 * lyxfunc.C (dispatch): adjust for lyx::find
4381 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4382 lyx::find instead. Reorganize a bit.
4383 (LyXReplace): rename to replace
4384 (LyXFind): rename to find
4386 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4389 2003-07-26 André Pönitz <poenitz@gmx.net>
4391 * text.C (setHeightOfRow): restrict scope of temporary variable
4393 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4394 code (never has been used?)
4396 2003-07-27 Asger Alstrup <alstrup@local>
4398 * text.C (fill): Optimise algorithm to exploit that we can reuse
4399 the LyXFont for many characters.
4400 (setHeightOfRow): Same thing.
4401 (rowBreakPoint): Same thing.
4403 2003-07-26 Asger Alstrup <alstrup@local>
4405 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4407 * text.C (singleWidth): Spurious font copying in hot-spot
4408 singleWidth avoided. Reorder tests for arabic for efficiency.
4410 * text.C (fill): handle empty paragraphs better.
4412 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4415 * encoding.h: add includes
4417 * lyxrc.C: remove reading of bind files
4419 * lyx_main.C (init): setup bindings and menus only if we have a
4422 * kbmap.C (read): new method. Do the actual reading of bind
4425 * converter.C (dvipdfm_options):
4428 (output): adapt PAPER_* enums.
4430 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4432 * bufferparams.h: remove paper-related enums from there
4434 * paper.h: New file. A trivial header file to hold paper-related
4435 enums. It should later expand to contain many paper-related
4438 * lyxrc.C: declare extern displayTranslator
4440 2003-07-27 José Matos <jamatos@fep.up.pt>
4442 * tabular.[Ch] (linuxdoc): add support for tables and figures
4445 2003-07-27 José Matos <jamatos@fep.up.pt>
4447 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4448 consistency in both functions.
4449 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4451 2003-07-26 Asger Alstrup <alstrup@local>
4453 * rowpainter.C (paintRows): Change algorithm to work directly on
4454 the insets rather than asking every character in the document
4455 whether its an inset.
4457 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4459 * buffer.C (openFileWrite): factorize some code
4461 2003-07-26 Angus Leeming <leeming@lyx.org>
4464 * lyx_main.[Ch]: replace occurances of system_tempdir with
4467 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4469 * rename Inset to InsetOld
4471 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4473 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4474 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4475 which I think is a bit clearer. EDIT is gone, since it was
4476 premature optimisation, and broken for mathed anyway.
4477 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4478 with cursor positioning in insets as well (math insets still do not
4479 work, but that's a different story anyway.) It mysteriously
4480 crashes sometimes with undo in the first paragraph, but I'm fairly
4481 confident that this is a compiler bug.
4483 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4485 * paragraph.C (Paragraph): adjust for new clone return type
4487 (copyIntoMinibuffer): ditto
4489 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4491 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4492 by not having a special case, and always doing a full rebreak of
4493 the document after undo.
4495 2003-07-23 Angus Leeming <leeming@lyx.org>
4497 * factory.C (createInset): InsetExternal::setParams now takes a
4500 2003-07-23 Angus Leeming <leeming@lyx.org>
4502 * factory.C (createInset): changed interface to the external and
4503 graphics mailers' string2params functions.
4505 2003-07-23 Angus Leeming <leeming@lyx.org>
4507 * factory.C (createInset): pass a
4508 Buffer const * parameter to InsetExternalMailer's string2params.
4510 2003-07-22 John Levon <levon@movementarian.org>
4512 * Thesaurus.h: include the right aiksaurus header
4514 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4516 * MenuBackend.C (expand): check menu shortcuts unconditionally
4518 2003-07-21 Angus Leeming <leeming@lyx.org>
4520 * factory.C (createInset): pass a
4521 buffer_path parameter to InsetGraphicsMailer's string2params.
4523 2003-07-21 Angus Leeming <leeming@lyx.org>
4525 * BufferView_pimpl.C (buffer):
4528 * lyxfunc.C (dispatch):
4529 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4530 rather than the grfx shortcut.
4532 2003-07-21 André Pönitz <poenitz@gmx.net>
4534 * rowpainter.C: remove unused variables
4537 * tabular_funcs.h: move to tabular.C
4538 * Makefile.am: adjust
4540 * tabular.[Ch]: basic optical cleaning
4542 * author.h: pass references, not values
4544 2003-07-18 André Pönitz <poenitz@gmx.net>
4552 * text3.C: two-phase drawing for InsetText and InsetTabular
4553 some float -> int changes.
4555 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4557 * lyx_main.C: fix the fix
4559 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4561 * lyx_main.C: fix a crash in batch mode if no files specified
4564 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4566 * format.[Ch] (papersize): moved to BufferParams
4567 * converter.[Ch] (dvips_options): moved to BufferParams
4568 (dvipdfm_options): moved to anon namespace
4569 * bufferparams.[Ch]: added above functions.
4571 2003-07-17 André Pönitz <poenitz@gmx.net>
4575 * text2.C: don't call inset->update() anymore
4577 * metricsinfo.[Ch]: add convenience constructor
4579 2003-07-16 André Pönitz <poenitz@gmx.net>
4584 * text2.C: replace the LyXCursor::irow_ member with
4585 on-demand computation of the value
4587 2003-07-16 John Levon <levon@movementarian.org>
4589 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4591 2003-07-15 André Pönitz <poenitz@gmx.net>
4594 * text2.C: remove no more needed refresh_row
4596 2003-07-15 André Pönitz <poenitz@gmx.net>
4601 * text3.C: refresh_status tristate -> need_update bool
4603 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4605 * lyxtext.h (init): remove reinit argument (act as if always true)
4606 * text2.C: adjust to that
4608 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4610 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4611 * text3.C: use it to delete selections in some cases
4612 (bugs 441, 673, 702, 954).
4614 2003-07-14 André Pönitz <poenitz@gmx.net>
4616 * rowpainter.[Ch]: reduce interface
4618 2003-07-14 André Pönitz <poenitz@gmx.net>
4620 * BufferView_pimpl.C:
4621 * text2.C: adjust after removing unused BufferView * argument
4623 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4625 * text2.C (init): fix a crash fired on resize
4627 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4629 * buffer.[Ch]: added new closing signal
4630 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4631 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4632 BufferView::Pimpl via the closing the signal
4634 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4636 * buffer.[Ch]: take out all bv-related from buffer
4638 * BufferView_pimpl.[Ch]: connect to new signals
4639 * CutAndPaste.C: removed useless asserts
4640 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4643 * lyxfunc.C: moved view-related funciontality from vc here
4644 * paragraph.C: removed outdated comments
4647 2003-07-10 André Pönitz <poenitz@gmx.net>
4649 * BufferView_pimpl.C:
4653 * text2.C: remove InsetText::InnerCache, clean up consequences
4655 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4657 * ispell.C: fix two typos in error messages
4659 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4661 * Extend Note inset to other forms of annotation like Comment
4662 and Greyedout. Right button click gives dialog.
4664 Files modified or added (+):
4668 * ControlNote.[Ch] +
4670 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4671 frontends/controllers
4675 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4677 * aspell.C: add missing namespace lyx::support
4679 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4681 * BufferView.[Ch] (newFile): Add
4682 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4683 * LaTeX.[Ch] (message): added this signal and use it
4684 * buffer.[Ch] (busy, message): added these signals and use them
4685 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4689 * importer.C: use buffer signals instead of direct bv calling
4690 * lyx_cb.[Ch] (ShowMessage): removed
4693 * paragraph_funcs.C:
4694 * text2.C: use buffer signals
4696 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4698 * introduce namespace lyx::graphics
4700 2003-07-02 André Pönitz <poenitz@gmx.net>
4702 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4704 2003-07-01 André Pönitz <poenitz@gmx.net>
4711 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4712 text*.C to text_func.C
4714 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4716 * introduce namespace lyx::support
4718 2003-06-30 André Pönitz <poenitz@gmx.net>
4723 * text.C: re-enable --with-included-string
4725 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4727 * textcursor.C: add <config.h>
4729 * text.C (getWord): remove const from word_location arg
4731 * lyxvc.C (getLogFile): fix const type order
4733 * lyxtext.h: remove const from word_location arg, add arg name
4735 * lyxlayout.h: currect type on labeltype.
4737 * importer.C: correct \file
4739 * converter.C (intToFormat): use std:: on ret val, ws changes
4741 * bufferlist.h: correct \file
4743 * buffer.C (makeLinuxDocFile): fix const type order
4744 (makeDocBookFile): ditto
4745 (fillWithBibKeys): use std:: on stdlib args.
4747 * CutAndPaste.C: fix authors.
4748 (availableSelections): use std:: on return vector
4750 2003-06-27 André Pönitz <poenitz@gmx.net>
4752 * BufferView_pimpl.C:
4753 * bufferview_funcs.C:
4761 * text3.C: remove LyXCursor::row_ member
4764 * text.C: rename fullRebreak() to partialRebreak() and implement
4765 a fullRebreak() that really bereks fully
4767 * textcursor.h: new struct for cursor-related data
4769 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4771 * lyx_main.C (LyX): get full path of document loaded on the
4774 2003-06-26 André Pönitz <poenitz@gmx.net>
4776 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4777 remove unused/broken operator>,<,>=.
4779 * text.C: remove only use of broken operator<= in an Assert().
4781 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4783 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4784 moved errorlist_.clear to showErrorList
4786 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4788 * converter.C (scanLog, runLaTeX):
4789 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4790 move the bv->showErrorList call to the callers
4791 * lyxfunc.C: i.e. here...
4793 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4794 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4795 namespace, the second to...
4796 * buffer_funcs (BufferFormat, parseErrors): added
4797 * errorlist.C (ErrorList(TeXErrors const &)): removed
4799 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4801 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4803 2003-06-24 "Garst R. Reese" <reese@isn.net>
4807 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4809 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4811 * version.C.in: change docversion to 1.4
4813 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4815 * buffer.C: fix a bug just introduced
4817 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4819 * buffer.[Ch]: added the parseError signal and use it, removed
4821 * BufferView.[Ch] (addError): moved to ...
4822 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4823 to the Buffer::parseError signal to catch (guess what) parse errors
4824 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4826 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4828 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4829 ability to create a buffer and to return an existing one from
4830 the list. Moved these functions to...
4831 * buffer_funcs.[Ch]: added
4832 * BufferView.[Ch] (loadLyXFile): added
4833 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4834 job removed from bufferlist::loadLyXFile.
4835 * buffer.C (setReadOnly): make it work without view
4836 (i.e added an if (users))
4838 2003-06-19 Angus Leeming <leeming@lyx.org>
4841 * LyXAction.C (init):
4842 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4843 with LFUN_DIALOG_SHOW <name> <data>.
4845 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4847 * CutAndPaste.C (availableSelections): small compilation fix for
4848 ancient (gcc 2.9x) compilers
4850 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4852 * text3.C (cursorNext): add tmp var
4854 * text2.C (updateCounters): for function calling out of for clause
4855 (replaceSelectionWithString): ditto
4856 (insertStringAsParagraphs): ditto
4857 (getColumnNearX): add tmp var
4858 (setCursorFromCoordinates): add tmp var
4859 (cursorDownParagraph): add tmp var
4860 (deleteEmptyParagraphMechanism): add tmp var
4862 * text.C (insertChar): add tmp var
4864 * rowpainter.C (paintDepthBar): add tmp var
4866 * CutAndPaste.C (availableSelections): potentially check all
4867 paragraphs in a cut to fill the shown strings.
4869 2003-06-18 André Pönitz <poenitz@gmx.net>
4871 * kbmap.[Ch]: use vector<> instead of list<>
4873 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4875 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4876 pasteSelection with index
4878 * text2.C (pasteSelection): modify, call pasteSelection with index
4880 * paragraph.C (asString): reimplement version with no interval to
4881 call the one with interval.
4883 * lyxtext.h: add index arg to pasteSelection
4885 * MenuBackend.C (MenuItem): handle PasteRecent
4886 (Menu::read::Menutags): add md_pasterecent
4888 (expandPasteRecent): new function
4891 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4893 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4895 (availableSelections): new function
4897 2003-06-17 Angus Leeming <leeming@lyx.org>
4899 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4901 2003-06-17 Angus Leeming <leeming@lyx.org>
4904 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4906 * lyxfunc.C (dispatch): invoke it.
4908 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4910 * iterators.C (operator++, ParPosition): reintroduce some
4911 const_cast for the benefit of older compilers.
4913 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4915 * text3.C (dispatch): do not modify clipboard when doing
4916 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4917 LFUN_DELETE_SKIP on a selection selection
4919 2003-06-16 André Pönitz <poenitz@gmx.net>
4925 * tabular.[Ch]: IU of clone() and getLabelList();
4927 2003-06-13 André Pönitz <poenitz@gmx.net>
4929 * tabular.h: compactification
4931 2003-06-12 André Pönitz <poenitz@gmx.net>
4935 * tabular_funcs.h: some renaming plus whitespace
4937 2003-06-12 André Pönitz <poenitz@gmx.net>
4940 * BufferView_pimpl.C:
4946 * toc.C: Return a Paragraph & for ParIterator::operator*()
4948 2003-06-11 John Levon <levon@movementarian.org>
4952 * ToolbarBackend.C: add "Toolbars" section and
4955 2003-06-10 Angus Leeming <leeming@lyx.org>
4958 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4960 * lyxfunc.C (dispatch): invoke it.
4962 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4964 * main.C: protect <ios> with HAVE_IOS
4965 (main): protect sync_with_stdio with HAVE_IOS
4967 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4969 * text2.C (cutSelection): adjust
4970 (pasteSelection): adjust
4972 * messages.C: handle get of empty string
4974 * main.C (main): use sync_with_stdio(false)
4976 * lyxfunc.C (dispatch): adjust
4978 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4979 (WriteAs): remove unneeded BufferView arg.
4981 * bufferparams.h: use correct types on papersize, papersize2 and
4984 * bufferparams.C (readToken): adjust for type
4985 (writeLaTeX): add missing cases to switch.
4987 * bufferlist.C (quitWriteBuffer): adjust
4990 * buffer.C (asciiParagraph): remove some commented code.
4992 * CutAndPaste.C: remove current_view extern variable.
4993 (cutSelection): add BufferParams arg.
4994 (eraseSelection): add BufferParams arg.
4995 (pasteSelection): add Buffer const & arg
4997 2003-06-07 John Levon <levon@movementarian.org>
5000 * paragraph_funcs.C:
5001 * paragraph_pimpl.C:
5005 * paragraph.C: allow InsetERT to freely space lines,
5006 and some consolidation of code
5008 2003-06-06 José Matos <jamatos@fep.up.pt>
5010 * buffer.C (makeDocBookFile): fix bug #821
5012 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5014 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5016 2003-06-04 Angus Leeming <leeming@lyx.org>
5018 * buffer.C: bump format to 224.
5020 2003-06-05 André Pönitz <poenitz@gmx.net>
5022 * text2.C (redoParagraphs): remove two const_cast<>
5024 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5026 * ParagraphList.h: remove last remnants of NO_STD_LIST
5028 2003-06-03 Angus Leeming <leeming@lyx.org>
5030 * factory.C (createInset): small change to the way InsetExternal's params
5033 2003-06-04 André Pönitz <poenitz@gmx.net>
5035 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5037 * paragraph_pimpl.h:
5038 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5040 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5042 * undo_funcs.C: make some simple cases of undo work again
5044 2003-06-03 John Levon <levon@movementarian.org>
5046 * ispell.C: HPUX doesn't have sys/select.h
5049 2003-06-03 John Levon <levon@movementarian.org>
5051 * CutAndPaste.C: update tabular and include inset
5056 * paragraph.C: remove owningBuffer(), don't pass Buffer
5059 * factory.C: insetGraphicsParams changed
5061 2003-06-02 John Levon <levon@movementarian.org>
5067 * text3.C: remove insetparent
5069 2003-06-02 John Levon <levon@movementarian.org>
5072 * buffer.C: fix inset_iterator.end(), move out of line
5075 2003-06-01 John Levon <levon@movementarian.org>
5077 * text3.C: use a proper cut/paste when doing inset
5078 insert (from Jürgen Spitzmüller)
5080 2003-06-01 John Levon <levon@movementarian.org>
5082 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5084 2003-05-30 André Pönitz <poenitz@gmx.net>
5086 * rowpainter.C: unify second drawing phase
5088 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5090 * trans_mgr.C: remove one case of current_view
5092 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5094 * paragraph_funcs.h: remove paragraph.h include
5096 * paragraph.h: delete NO_STD_LIST stuff
5098 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5100 * buffer.h: remove paragraph.h include
5102 * ParagraphList.C: delete file
5104 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5106 * toc.C (getTocList): adjust
5108 * paragraph_pimpl.C (validate): adjust
5110 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5112 * paragraph.C (Paragraph): adjust
5113 (getPositionOfInset): use const_iterator, adjust
5114 (bibitem): use const_iterator, adjust
5115 (setInsetOwner): adjust
5117 * iterators.C (operator++): adjust
5119 * InsetList.[Ch]: Replace selfmade iterator with standard
5120 vector::iterator also introduce const_iterator. Remove getPos,
5121 getInset and setInset from InsetTable. Adjust accordingly.
5123 * BufferView.C (lockInset): adjust
5124 (ChangeInsets): adjust
5126 * tabular.[Ch]: delete commented same_id functions
5128 2003-05-28 John Levon <levon@movementarian.org>
5130 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5132 2003-05-28 André Pönitz <poenitz@gmx.net>
5134 * metricsinfo.[Ch]: remove 'fullredraw' member
5136 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5138 * lyxtextclass.C (operator): remove caching.
5140 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5144 * text2.C (cursorBottom): adjust
5145 (setCounter): use ParagraphList::find, adjust
5147 * text.C (workWidth): use ParagraphList::find, adjust
5149 * lyxcursor.C (LyXCursor): adjust
5151 * buffer.C (inset_iterator): adjust
5153 * ParagraphList.h: make iterator(value_type) private, make
5154 ParagraphList a friend of iterator.
5156 * ParagraphList.C (find): new function
5158 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5160 2003-05-27 André Pönitz <poenitz@gmx.net>
5162 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5164 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5166 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5168 2003-05-26 John Levon <levon@movementarian.org>
5170 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5172 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * remove same_id from function signatures, adjust.
5176 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5178 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5180 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5182 * paragraph.C (Paragraph): get rid of same_ids parameter
5184 * ParagraphList.C (insert): adjust
5187 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * paragraph_funcs.C (breakParagraph): adjust
5190 (breakParagraphConservative): adjust
5192 * buffer.C (readParagraph): adjust
5194 * ParagraphList.C (insert): take a reference instead of a pointer
5197 * paragraph.[Ch] (id): new function
5199 * bufferlist.C (newFile): adjust
5201 * ParagraphList.C (ParagraphList): adjust
5203 (push_back): take a reference instead of a pointer.
5205 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5207 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5210 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5211 set else use old code.
5213 * ParagraphList.C: remove all NO_NEXT code and only compile this
5214 code of NO_STD_LIST is set.
5216 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5218 * BufferView_pimpl.C:
5228 * graphics/GraphicsConverter.C:
5229 * graphics/PreviewLoader.C: header adjustment
5231 2003-05-23 Angus Leeming <leeming@lyx.org>
5233 * LaTeXFeatures.[Ch] (useBabel): new method.
5234 * bufferparams.C (writeLaTeX): use it.
5236 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5238 * ParagraphList.h (set): remove unused function.
5240 2003-05-23 André Pönitz <poenitz@gmx.net>
5243 * BufferView_pimpl.C:
5247 * undo_funcs.C: setUndo reworked
5249 * iterators.[Ch]: add access to topmost ParagraphList
5251 * lyxtext.[Ch] (workWidth): add a const
5253 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5255 * texrow.[Ch] (increasePos): remove function
5256 * exporter.C (export): removed unused var and outdated comment
5258 2003-05-23 Angus Leeming <leeming@lyx.org>
5260 * latexrunparams.h: rename fragile as moving_arg.
5261 * paragraph.C (simpleTeXOnePar): ditto.
5262 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5264 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5266 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5268 (textUndoOrRedo): comment out a currently unused var.
5270 * paragraph.h (NO_NEXT): enable NO_NEXT
5272 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5274 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5276 * exporter.C (Export): adjust for removeAutoInsets removal.
5278 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5280 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5282 * BufferView.[Ch] (removeAutoInsets): delete function
5284 2003-05-22 Angus Leeming <leeming@lyx.org>
5286 * latexrunparams.h: add a free_spacing variable.
5288 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5289 to pass moving_arg, as the data is stored in runparams.fragile.
5291 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5292 to Inset::latexOptional or to simpleTeXOnePar.
5294 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5295 free_spacing arg to Inset::latexOptional.
5297 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5300 2003-05-22 Angus Leeming <leeming@lyx.org>
5302 * latexrunparams.h: add fragile and use_babel variables.
5304 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5305 * buffer.C (makeLaTeXFile): store this returned value in
5306 runparams.use_babel, thus passing it to the inset::latex methods.
5308 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5309 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5311 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5312 longer has a fragile arg, as it is stored in runparams.fragile.
5314 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5315 moving_arg parameter as the data is stored in runparams.fragile.
5317 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5318 a fragile parameter as the data is stored in runparams.fragile.
5320 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5324 2003-05-22 Angus Leeming <leeming@lyx.org>
5326 * latexrunparams.h: add a 'bool nice' which defaults to false.
5328 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5329 now encapsulated within runparams.
5331 * bufferlist.C (updateIncludedTeXfiles):
5332 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5334 2003-05-22 Angus Leeming <leeming@lyx.org>
5336 * latexrunparams.h: new file containing struct LatexRunParams.
5337 * Makefile.am: add new file.
5339 * LaTeX.[Ch] (c-tor, run):
5340 * buffer.[Ch] (makeLaTeXFile):
5341 * bufferlist.[Ch] (updateIncludedTeXfiles):
5342 * converter.C (convert, scanLog):
5343 * converter.[Ch] (runLaTeX):
5344 * exporter.C (Export):
5345 * paragraph.[Ch] (simpleTeXOnePar):
5346 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5347 * paragraph_funcs.[Ch] (latexParagraphs):
5348 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5349 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5350 pass around a LatexRunParams parameter.
5352 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5354 * paragraph.[Ch]: remove unused constructor
5356 * ParagraphList.C (erase): new function, taking two iterators
5358 2003-05-22 André Pönitz <poenitz@gmx.net>
5360 * undo_funcs.C: remove duplicated code
5362 * iterator.[Ch]: operator=
5364 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5366 * tabular.C (SetMultiColumn): ws changes
5368 * rowpainter.C (paintFirst): get rid of a ->previous
5370 * lyx_cb.C (getPossibleLabel): parlist simplification
5372 * BufferView.C (ChangeInsets): simplify slightly.
5374 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5376 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5377 * lfuns.h: new LFUN_SPACE
5378 * lyxfunc.C: protected space has a new lfun
5379 * paragraph_funcs.C: read new space insets
5381 * factory.C: handle new space insets
5383 2003-05-22 André Pönitz <poenitz@gmx.net>
5386 * BufferView_pimpl.C:
5389 * undo_funcs.C: return a ParIterator from getParFromID.
5391 * iterators.[Ch]: add two const's
5393 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5395 * toc.C (getTocList): adjust
5397 * iterators.[Ch]: rework for parlist
5399 * buffer.C (par_iterator_begin): adjust
5400 (par_iterator_end): adjust
5402 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5404 * BufferView.C (removeAutoInsets): adjust
5405 (ChangeInsets): adjust
5407 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5409 * text.C (top_y): fix bug 1110
5411 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5413 * errorlist.[Ch]: added
5416 * BufferView_pimpl.C:
5417 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5420 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5422 * Makefile.am: ensure that lyx is relinked upon changes to the
5423 various "convenience" libs.
5425 2003-05-20 Angus Leeming <leeming@lyx.org>
5427 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5428 files are compiled in alphabetical order again.
5430 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5432 2003-05-19 Angus Leeming <leeming@lyx.org>
5434 * gettext.[Ch]: remove "char const * _(char const *)".
5436 2003-05-19 André Pönitz <poenitz@gmx.net>
5438 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5447 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5449 2003-05-19 André Pönitz <poenitz@gmx.net>
5453 * lyxtextclass.[Ch]:
5455 * paragraph_funcs.[Ch]:
5457 * text3.C: more insetenv work
5459 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5461 * ParagraphParameters.C (params2string): small bug fixed
5463 2003-05-16 André Pönitz <poenitz@gmx.net>
5466 * bufferview_funcs.C: patch from Kornel Benko to prevent
5467 crash when _(...) is called twice in a statement
5469 2003-05-16 André Pönitz <poenitz@gmx.net>
5476 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5478 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5480 * lyx_main.C (init): remove spurious static_cast
5482 2003-05-14 André Pönitz <poenitz@gmx.net>
5484 * BufferView.C: fix format string
5486 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5488 * BufferView.[Ch] (insertErrors): removed
5489 * BufferView.[Ch] (showErrorList): added
5490 * buffer.C (runChkTeX):
5491 * converter.C (scanLog): call showErrorList instead of inserterrors
5493 2003-05-13 André Pönitz <poenitz@gmx.net>
5495 * BufferView_pimpl.C:
5497 * bufferview_func.C:
5504 * tabular_funcs.h: tostr() from its own header
5506 * ParagraphParameters.C:
5511 * text3.C: STRCONV()
5513 2003-05-12 André Pönitz <poenitz@gmx.net>
5516 * BufferView_pimpl.C:
5520 * ParagraphParameters.C:
5524 * bufferview_funcs.C:
5537 * paragraph_funcs.C:
5541 * text3.C: boost::format -> bformat all over the place
5544 2003-05-09 André Pönitz <poenitz@gmx.net>
5546 * LColor.[Ch]: Pimpl the #include <map> away
5548 2003-05-09 John Levon <levon@movementarian.org>
5550 * bufferlist.C: never remove emergency saves
5552 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5554 * Makefile.am: better lib building
5556 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5558 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5560 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5561 (simpleTeXSpecialChars): adjust
5562 (simpleTeXSpecialChars): adjust
5563 * paragraph.C (simpleTeXOnePar): adjust
5564 * buffer.C (makeLaTeXFile): adjust
5566 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5568 * text2.C (changeDepth): parlist cleanup
5569 (getColumnNearX): ditto
5571 * rowpainter.C (getLabelFont): parlist cleanup
5573 * bufferlist.C (newFile): parlist cleanup
5575 * CutAndPaste.C (eraseSelection): parlist cleanup
5577 * BufferView_pimpl.C (trackChanges): parlist cleanup
5580 * BufferView.C (lockInset): parlist cleanup.
5581 (ChangeInsets): ditto
5583 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5585 * CutAndPaste.h: Update file header.
5587 * CutAndPaste.C: Update file header.
5588 Store the parts cut out of the Document in a limited_stack.
5589 (copySelection): adjust
5590 (pasteSelection): new function, takes the index in the limited stack.
5591 (nrOfParagraphs): adjust
5592 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5593 simplify error inset insertion.
5594 (checkPastePossible): adjust
5596 2003-05-06 John Levon <levon@movementarian.org>
5598 * text2.C: don't cast wrap inset to float
5600 2003-05-05 André Pönitz <poenitz@gmx.net>
5603 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5605 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5606 few naked Paragraph *.
5608 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5610 * bufferparams.C: Output warning if a document with missing
5611 TeX document class is loaded
5612 * exporter.C: Disable TeX exports if the document class is missing
5615 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5616 isTeXClassAvailable()
5618 2003-05-03 John Levon <levon@movementarian.org>
5621 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5622 explicit cursor show/hide
5624 * BufferView_pimpl.h:
5625 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5626 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5628 * lyxfunc.C: hide cursor before dispatching.
5633 * text3.C: remove explicit cursor hides
5635 2003-05-02 André Pönitz <poenitz@gmx.net>
5637 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5640 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5643 * text2.C: tiny whitespace
5645 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5647 * undo_funcs.C: almost only ws changes.
5649 * ParagraphList.C (splice): just return if pl is empty.
5651 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5653 * ParagraphList.C (splice): new function.
5655 * CutAndPaste.C (pasteSelection): use it
5657 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5659 * CutAndPaste.C (pasteSelection): remove the last next and
5660 previous from this file.
5662 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5664 * CutAndPaste.C (pasteSelection): more clean up, user proper
5665 ParagraphList functions for pasteing.
5667 * ParagraphList.C (insert): new function, three arg insert
5669 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5671 * ParagraphList.C (insert): new function, three arg insert
5673 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5676 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5678 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5680 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5684 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5686 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5687 (copySelection): clean up a bit.
5688 (pasteSelection): use make_pair
5690 * ParagraphList.C (ParagraphList): implement copy constructor
5691 (operator=): implement, base on copy constructor.
5694 * paragraph.C (erase): return a bool
5696 * paragraph_pimpl.C (erasePos): remove function, move contents...
5697 (erase): ... here. Return a bool.
5698 (erase): call erase instead of erasePos.
5700 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5702 * ParagraphList.h: define PitPosPair
5703 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5704 ParagraphList, fix a bug on pasting multiple pars
5705 * text2.C: change interface to C&P
5707 2003-04-30 André Pönitz <poenitz@gmx.net>
5709 * undo_func.C: revert part of yesterday's patch 2
5711 2003-04-30 John Levon <levon@movementarian.org>
5713 * LColor.C: s/tabular/table/
5715 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5717 * text3.C (dispatch): do not convert iterator -> pointer
5718 * undo_funcs.C (setCursorParUndo): ditto
5719 * text_funcs.C (transposeChars): ditto
5721 * text2.C (setLayout): ws changes only
5723 * text.C (breakParagraph): do not convert iterator -> pointer
5725 (acceptChange): ditto
5726 (rejectChange): ditto
5731 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5734 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5736 * text3.C (gotoInset): YABG (yet another bad getChar)
5738 2003-04-29 André Pönitz <poenitz@gmx.net>
5740 * paragraph.h: make operator= private unimplemented as long as
5743 * ParagraphList.C: whitespace
5746 * paragraph_pimpl.[Ch]:
5747 * paragraph_funcs.C:
5749 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5752 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5754 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5756 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5757 * paragraph.[Ch] (erase):
5758 * paragraph_pimpl.[Ch] (erase): change return type and value
5759 * text2.C (cutSelection): some rework
5761 2003-04-28 John Levon <levon@movementarian.org>
5763 * bufferlist.C: changes for unsaved changes dialog
5765 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5767 * bufferlist.C (newFile): set language (messages_) for new
5770 * buffer.C (readFile): ws changes only.
5772 2003-04-28 André Pönitz <poenitz@gmx.net>
5777 * BufferView_pimpl.C:
5778 * BufferView.C: getParFromID related ParagraphList::iterator changes
5780 2003-04-28 André Pönitz <poenitz@gmx.net>
5782 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5785 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5787 * messages.C: remove one more localedir class variable.
5789 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * messages.C (getLocaleDir): singleton generation function
5793 (Messages): add a default constructor.
5795 * main.C (main): do not setup localedir here, do not call
5798 * gettext.C (_): use it.
5799 (gettext_init): delete funciton
5801 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5803 * gettext.C (getLyXMessages): new singleton generating function.
5805 * buffer.C (updateDocLang): adjust
5807 * Makefile.am (messages.o): add target
5808 (main.o): remove target
5810 2003-04-27 John Levon <levon@movementarian.org>
5815 * lyxvc.C: specify cancel button in Alert::prompt
5817 2003-04-26 John Levon <levon@movementarian.org>
5822 * LyXAction.C: add LFUN_INSET_SETTINGS
5824 * lyxfunc.C: don't enable tabular-feature when there's
5825 just any locking inset
5827 2003-04-26 John Levon <levon@movementarian.org>
5829 * bufferlist.C: re-add Cancel to buffer close question
5831 * lyxfunc.C: fix import UI a bit
5833 2003-04-25 John Levon <levon@movementarian.org>
5835 * gettext.C: remove the broken asserts for now
5837 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5839 * messages.C: make case where setlocale cannot comply work better.
5841 * buffer.C (updateDocLang): new function
5842 (changeLanguage): use it
5845 * text2.C (setCounter): use B_ a bit.
5847 * lyxlayout.C (Read): be sure to trim the label strings.
5849 * messages.C (Messages): fix typo in comment
5851 * buffer.C (readFile): set message_ after file is loaded.
5852 (makeDocBookFile): remove double return
5853 (changeLanguage): reset message_ upon language change.
5854 (B_): new func, use this to get translated buffer strings.
5856 * main.C: add myself and Jean Marc as authors.
5858 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5860 * messages.[hC]: pimplify Messages, and three different pimpls to be
5861 used in different circumstances.
5863 * gettext.[Ch]: change for use with new message code.
5865 2003-04-24 André Pönitz <poenitz@gmx.net>
5867 * factory.C: support for eqref
5869 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5871 * messages.[Ch]: add missing char
5873 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5875 * messages.[Ch]: New files
5877 2003-04-18 John Levon <levon@movementarian.org>
5881 * BufferView_pimpl.C:
5885 * text2.C: remove layout-copy/paste (bug 778)
5887 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5889 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5891 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5893 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5894 if they succeed. Act accordingly.
5896 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5898 * text2.C (setCharFont): adjust
5899 (setCounter): adjust
5900 (insertStringAsLines): adjust
5902 * text.C (leftMargin): adjust
5903 (setHeightOfRow): adjust
5905 * rowpainter.C (paintFirst): adjust
5908 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5910 (isFirstInSequence): ditto
5911 (getEndLabel): ditto
5914 * paragraph.C (getParLanguage): comment out some hard stuff.
5916 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5918 (simpleDocBookOnePar): ditto
5919 (makeDocBookFile): use ParagraphList::iterator
5921 * CutAndPaste.C (pasteSelection): adjust
5923 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5925 * text2.C (getFont): adjust
5926 (getLayoutFont): adjust
5927 (getLabelFont): adjust
5929 * paragraph_funcs.C (TeXOnePar): adjust
5931 * buffer.C (simpleLinuxDocOnePar): adjust
5932 (simpleDocBookOnePar): adjust
5934 * CutAndPaste.C (pasteSelection): adjust
5936 * BufferView.C (getEncoding): adjust
5938 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5940 2003-04-16 John Levon <levon@movementarian.org>
5942 * lyxfind.C: use parlist stuff for search/changes
5944 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5946 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5948 * text2.C (deleteEmptyParagraphMechanism): adjust
5950 * text2.[Ch] (ownerParagraph): delete func (both of them
5952 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5954 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5956 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5958 * ParagraphList.C: prepare for NO_NEXT
5960 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5962 * text2.C (getFont): adjust
5963 (getLayoutFont): adjust
5964 (getLabelFont): adjust
5966 * paragraph.C (getFont): adjust
5967 (getLabelFont): adjust
5968 (getLayoutFont): adjust
5970 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5972 2003-04-15 John Levon <levon@movementarian.org>
5976 * lyx_main.C: handle Include in .ui files
5978 2003-04-15 John Levon <levon@movementarian.org>
5980 * MenuBackend.C: make the doc files length shorter
5983 * ToolbarBackend.C: handle toolbar placement flags,
5986 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5988 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5991 * paragraph_funcs.C (TeXOnePar): adjust
5993 * paragraph.C (getLabelFont): add outerfont arg, adjust
5994 (getLayoutFont): ditto
5995 (simpleTeXOnePar): adjust
5997 * paragraph_pimpl.C (realizeFont): delete func
5999 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6001 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6002 row argument, constify cur argument.
6004 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6006 * text2.C (getFont): adjust
6007 (getLayoutFont): adjust
6008 (getLabelFont): adjust
6010 * paragraph_funcs.C (TeXOnePar): adjust
6011 (outerFont): new func...
6012 (realizeFont): ...moved out from here, changed this to facilitate
6015 * paragraph.C (getFont): take outerfont as arg, adjust
6016 (simpleTeXOnePar): add outerfont arg, adjust
6018 * buffer.C (simpleLinuxDocOnePar): adjust
6019 (simpleDocBookOnePar): adjust
6021 * CutAndPaste.C (pasteSelection): adjust
6023 * BufferView.C (getEncoding): adjust
6025 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6027 * text2.C (setCharFont): adjust
6028 (setCounter): adjust
6030 * text.C (leftMargin): adjust
6031 (setHeightOfRow): adjust
6033 * rowpainter.C (paintFirst): adjust
6036 * paragraph_pimpl.C (realizeFont): adjust
6038 * paragraph.C (isFirstInSequence): move from here...
6039 * paragraph_funcs.C (isFirstInSequence): ...to here
6041 * paragraph.C (outerHook): move from here...
6042 * paragraph_funcs.C (outerHook): ...to here
6044 * paragraph.C (depthHook): move from here...
6045 * paragraph_funcs.C (depthHook): ...to here
6047 * paragraph.C (getEndLabel): move from here...
6048 * paragraph_funcs.C (getEndLabel): ...to here
6050 * text2.C (realizeFont): move from here...
6051 * paragraph_funcs.C (realizeFont): ...to here
6053 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6055 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6057 2003-04-14 Angus Leeming <leeming@lyx.org>
6059 * LColor.[Ch]: scrap LColor mathcursor.
6061 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6063 * lyxlex.[Ch] (text): delete function
6064 * trans.C (Load): adjust
6065 * paragraph_funcs.C (readParToken): adjust
6067 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6069 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6070 vector<char> instead of a char[].
6072 * lyxlex_pimpl.C (getString): adjust
6074 (lex): use getString
6078 * lyxlex.C (text): use pimpl_->getString()
6082 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6084 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6085 (makeFontEntriesLayoutSpecific): temp var for par.size()
6086 (setLayout): temp var for ownerParagraphs().end()
6087 (fullRebreak): temp var for rows().end()
6088 (selectionAsString): temp var for boost::next(startpit), realize
6089 that the while really is a regular for loop.
6090 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6091 setCursor in one place.
6092 (setParagraph): temp vr for ownerParagraphs().end()
6093 (updateCounters): make the while loop a for loop
6094 (cutSelection): temp var for ownerParagraphs().end()
6095 (updateInset): make the do {} while() a regular for loop
6096 (getCursorX): use temp vars
6097 (setCurrentFont): use temp vars
6098 (getColumnNearX): use temp vars
6100 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6102 * text.C (transformChar): use temp var for getChar
6103 (computeBidiTables): use temp var for row->par()
6104 (fill): move temp vars for row->par() and pit->layout() earlier in
6106 (labelFill): use temp var for row->par()
6107 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6108 asc and desc, realize that pit never changes and that firstpit is
6109 just a duplicate and not needed. Exchange rit->par() with pit in a
6111 (breakAgain): use a temp var for boost::next(rit)
6112 (breakAgainOneRow): ditto
6113 (breakParagraph): use a temp var for rows().begin()
6114 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6115 (cursorRightOneWord): use temp var for cursor.par() and
6116 cursor.pos(), remove usage of tmpcursor.
6117 (cursorLeftOneWord): use temp var for cursor.par() and
6118 cursor.pos() only set cur at end of function.
6120 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * text.C, text2.C: exchange all usage of Paragraph::next with
6123 boost::next(ParagraphList::iterator)
6125 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6127 * text2.C (cursorTop): simplify implementation
6128 (cursorBottom): ditto
6129 (setParagraph): use ParagraphList::iterator
6130 (setCurrentFont): adjust
6131 (getColumnNearX): adjust
6132 (cursorRight): adjust
6133 (cursorLeft): remove usage of Paragraph::previous
6134 (cursorUpParagraph): ditto
6135 (deleteEmptyParagraphMechanism): slight cleanup
6137 * text.C (isBoundary): take a Paragraph const & instead of a
6139 (addressBreakPoint): ditto
6140 (leftMargin): remove usage of Paragraph::previous.
6141 (setHeightOfRow): ditto
6142 (cursorLeftOneWord): ditto
6143 (selectNextWordToSpellcheck): ditto
6146 (breakParagraph): remove one usage of Paragraph::next
6147 (redoParagraph): ditto
6148 (acceptChange): ditto
6149 (insertChar): adjust
6150 (rowBreakPoint): adjust
6152 * bufferview_funcs.C (toggleAndShow): adjust
6154 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6156 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6157 methods to access it.
6159 * text.C: Added updateRowPositions to compute all row positions.
6160 Make top_y and getRowNearY() to use the cached y position
6162 2003-04-11 John Levon <levon@movementarian.org>
6164 * text.C (rowBreakPoint): reintroduce the labelEnd
6165 checks, code copied from the row fill stuff. Deep voodoo.
6167 * text.C (fill): add a comment and debugging for the
6170 2003-04-11 John Levon <levon@movementarian.org>
6172 * text.C: make sure fullrow insets get wrapped to the next line,
6173 even when they're in a manual label
6175 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6177 * text2.C (insertParagraph): make it take ParagraphList::iterator
6179 (setLayout): make it return ParagraphList::iterator
6180 (redoParagraphs): ditto
6182 (checkParagraph): ditto
6184 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6186 * text2.C: adjust several funcs.
6187 (realizeFont): take a ParagraphList::iterator as arg.
6188 (getLayoutFont): ditto
6189 (getLabelFont): ditto
6190 (setCharFont): ditto
6192 * text.C: adjust several funcs.
6194 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6196 * text.C (selectNextWordToSpellcheck): don't accidentally
6199 2003-04-10 John Levon <levon@movementarian.org>
6201 * ToolbarBackend.C (getIcon): special handling for
6204 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6206 * text2.C (cursorRight): a getChar assert fixed
6208 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6210 * text2.C (getFont): change to take a ParagraphList::iterator
6211 instead of Paragraph*
6212 Adjust several functions.
6214 * text.C (transformChar): change to take a ParagraphList::iterator
6215 instead of Paragraph*
6216 (singleWidth): ditto
6217 Adjust several functions.
6219 * rowpainter.C: adjust several functions
6220 * rowpainter.h:store a ParagraphList::iterator and not a
6224 2003-04-09 John Levon <levon@movementarian.org>
6229 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6230 and the "help" bits as well
6232 2003-04-09 John Levon <levon@movementarian.org>
6235 * ToolbarBackend.C: allow multiple toolbars
6237 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6239 * undo_funcs.C (setCursorParUndo): adjust
6241 * text_funcs.C (transposeChars): adjust
6243 * text3.C (gotoNextInset): adjust
6246 * text2.C (setLayout): adjust
6247 (changeDepth): adjust
6249 (redoParagraphs): adjust
6250 (selectionAsString): adjust
6251 (setParagraph): adjust
6252 (insertInset): adjust
6253 (cutSelection): adjust
6254 (copySelection): adjust
6255 (pasteSelection): adjust
6256 (insertStringAsLines): adjust
6257 (updateInset): adjust
6258 (setCursor): change to take a ParagraphList::iterator parameter
6259 (setCursorIntern): change to take a ParagraphList::iterator parameter
6260 (setCurrentFont): adjust
6261 (cursorLeft): adjust
6262 (cursorRight): adjust
6263 (deleteEmptyParagraphMechanism): adjust
6265 * text.C (breakParagraph): adjust
6266 (insertChar): adjust
6267 (acceptChange): adjust
6268 (rejectChange): adjust
6269 (selectNextWordToSpellcheck): adjust
6270 (changeCase): adjust
6274 * lyxfind.C (SearchForward): adjust
6275 (SearchBackward): adjust
6276 (nextChange): adjust
6278 * lyxcursor.C (par): adjust
6280 * lyxcursor.h: store a ParagraphList::iterator instead of a
6283 * lyx_cb.C (getPossibleLabel): adjust
6285 * bufferview_funcs.C (toggleAndShow): adjust
6287 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6290 * BufferView.C (removeAutoInsets): adjust
6291 (lockedInsetStoreUndo): adjust
6293 2003-04-09 John Levon <levon@movementarian.org>
6295 * ToolbarBackend.C: try icon without argument
6296 if with argument fails
6298 2003-04-08 John Levon <levon@movementarian.org>
6301 * ToolbarBackend.C: add getIcon(), handle tooltip,
6302 and change from "Icon" to "Item".
6304 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6306 * BufferView.C (lockInset): another bad getchar crunched
6308 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6310 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6313 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6315 * lyxfind.C (searchForward, searchBackwards): bug 782
6317 2003-04-07 John Levon <levon@movementarian.org>
6319 * paragraph.C: remove dead comment
6321 * text.C: remove troublesome depth-fiddling code
6322 in leftMargin() and rightMargin() (bug 1017)
6324 * text.C: fix breaking of rows in nested lists
6327 * text2.C (updateCounters): fix up depth values
6330 2003-04-07 John Levon <levon@movementarian.org>
6332 * BufferView_pimpl.C: clear message when doc finishes resizing,
6333 and after a mouse event
6335 * lyxfunc.C: clear message after exiting inset
6337 2003-04-07 John Levon <levon@movementarian.org>
6339 * bufferview_funcs.C: show math status not outside
6340 status in the statusbar
6342 2003-04-07 John Levon <levon@movementarian.org>
6344 * lyxfunc.C: note status changed after a depth change
6346 2003-04-04 Angus Leeming <leeming@lyx.org>
6348 * LaTeX.h: move AuxInfo operator==, != out of line.
6349 Remove LaTeX virtual destructor; nothing derives from it.
6350 Move operator()() out of public area and rename it startscript().
6351 Change protected for private.
6353 2003-04-04 Angus Leeming <leeming@lyx.org>
6356 * text2.C: remove unneeded #includes.
6358 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6360 * text2.C (dEPM): fix the heigth of the next row
6362 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6364 * text.C: squashed an invalid getChar requester + some ws changes
6366 2003-04-03 John Levon <levon@movementarian.org>
6368 * bufferview_funcs.h:
6369 * bufferview_funcs.C:
6372 * text2.C: make getStatus work for the env depth lfuns
6374 2003-04-03 John Levon <levon@movementarian.org>
6376 * bufferview_funcs.h:
6377 * bufferview_funcs.C:
6380 * text2.C: parlistize decDepth(), by merging it with incDepth()
6382 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6384 * lyxrow.h: store a ParagraphList::iterator instead of a
6385 Paragraph* and adjust other class functions to suit.
6387 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6390 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6392 * text2.C (setCursor): do not anchor to cursor row for the time being
6394 2003-04-02 John Levon <levon@movementarian.org>
6401 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6403 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6405 * paragraph.h: make ParagraphList and ParagraphList::iterator
6406 friends of Paragraph.
6408 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6410 * ParagraphList.C: Use the private next_ and previous_ from
6413 2003-04-01 John Levon <levon@movementarian.org>
6417 * Makefile.am: rename, remove defaults gunk
6420 * MenuBackend.C: remove defaults gunk
6423 * Languages.C: remove defaults gunk
6426 * lyx_main.C: error out if files couldn't be found.
6428 2003-04-02 John Levon <levon@movementarian.org>
6430 * text2.C: make incDepth() use parlist
6432 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6434 * undo_funcs.C (firstUndoParagraph): adjust
6436 * text3.C (gotoInset): adjust
6437 (dispatch): adjust, and rewrite loop.
6439 * text2.C (init): adjust, and rewrite loop.
6440 (redoParagraphs): adjust
6441 (updateInset): adjust, and rewrite loop.
6442 (deleteEmptyParagraphMechanism): adjust
6444 * tabular.C (LyXTabular): adjust
6445 (SetMultiColumn): adjust
6448 * lyxtext.[Ch] (ownerParagraph): delete function
6449 (ownerParagraphs): new function returns a ParagraphList.
6451 * BufferView.C (removeAutoInsets): adjust
6452 (insertErrors): adjust
6453 (setCursorFromRow): adjust
6455 2003-04-01 Angus Leeming <leeming@lyx.org>
6457 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6460 2003-04-02 John Levon <levon@movementarian.org>
6466 * text_funcs.C: make transposeChars a free function
6468 * lyxrow_funcs.C: remove wrong comment
6470 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6473 * rowpainter.C: adjust
6478 * lyxrow_funcs. [Ch]: new files
6480 * lyxrow.[Ch]: remove next and previous pointers
6481 (next,previous): remove accessor functions
6482 (isParEnd): move to lyxrow_funcs
6483 (lastPos): move to lyxrow_funcs
6484 (nextRowIsAllInset): move to lyxrow_funcs
6485 (lastPrintablePos): move to lyxrow_funcs
6486 (numberOfSeparators): move to lyxrow_funcs
6487 (numberOfHfills): move to lyxrow_funcs
6488 (numberOfLabelHfills): move to lyxrow_funcs
6489 (hfillExpansion): move to lyxrow_funcs
6493 * bufferview_funcs.C (toggleAndShow): adjust
6495 * RowList.h: Remove class RowList from file leave just a
6498 * RowList.C: delete file
6500 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6503 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6505 * text3.C (cursorPrevious): adjust
6506 (cursorNext): adjust
6509 * text2.C (redoHeightOfParagraph): adjust
6510 (redoDrawingOfParagraph): adjust
6513 * text.C (breakParagraph): adjust
6514 (insertChar): adjust
6517 * rowpainter.C (RowPainter): adjust
6518 (leftMargin): simplify and adjust
6519 (most rowpainter functions): adjust.
6521 * rowpainter.h: store the row as RowList::iterator not as Row*
6523 * lyxcursor.C (row): taka RowList::iterator as arg
6526 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6529 2003-04-01 Angus Leeming <leeming@lyx.org>
6531 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6532 stuff like bool Bool.
6534 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6536 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6539 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6541 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6544 * lyxtext.h (rows): drop one version and leve a const variant that
6545 returns a RowList::iterator.
6547 2003-03-31 Angus Leeming <leeming@lyx.org>
6549 * text.C (fill): ensure that the signature is the same as that in the
6552 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6554 * text2.C (redoParagraphs): adjust
6555 (updateCounters): adjust
6556 (checkParagraph): adjust
6557 (getColumnNearX): adjust and reformat a bit.
6559 * text.C (top_y): adjust
6561 (leftMargin): adjust
6562 (prepareToPrint): adjust
6564 (getRowNearY): adjust
6566 * lyxtext.h: make rowlist_ mutable.
6568 * RowList.h: add const_iterator
6569 * RowList.C: adjust for RowList::const_iterator.
6571 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6574 2003-03-31 John Levon <levon@movementarian.org>
6577 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6579 * lyx_main.C: set default fonts from using lyx_gui funcs
6581 * exporter.C: pdf_mode moved from lyxrc
6584 * lyxfunc.C: changes from above
6586 2003-03-31 John Levon <levon@movementarian.org>
6588 * lyx_main.C: fix to the last fix
6590 2003-03-31 John Levon <levon@movementarian.org>
6592 * bufferlist.C: "Load original" -> "Load Original"
6598 * format.C: more Alert cleanups
6600 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6602 * text2.C (removeParagraph): make it take a RowList::iterator as
6604 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6605 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6607 * text.C (anchor_row): make it take a RowList::iterator as arg,
6609 (computeBidiTables): make it take a const reference to Row instead
6610 of Row pointer, adjust.
6611 (leftMargin): make it take a RowList::iterator as arg, adjust.
6612 (rowBreakPoint): adjust
6613 (breakAgainOneRow): make it take a RowList::iterator as arg,
6615 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6617 * bufferview_funcs.C (toggleAndShow): adjust
6619 2003-03-30 John Levon <levon@movementarian.org>
6623 * boost-inst.C: moved to support
6625 * several files: changes as a result
6627 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6629 * text2.C (LyXText): adjust.
6631 (removeRow): make it take a RowList::iterator as arg, adjust.
6632 (fullRebreak): adjust
6633 (deleteEmptyParagraphMechanism): adjust
6634 (clearPaint): adjust
6637 * text.C (top_y): adjust
6638 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6639 (breakAgain): make it take a RowList::iterator as arg, adjust.
6640 (breakParagraph): adjust
6641 (insertChar): adjust
6644 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6645 need_break_row, and refresh_row.
6647 * text3.C (dispatch): adjust
6649 * text2.C (checkParagraph): adjust
6651 (setCursorFromCoordinates): adjust
6653 * text.C (top_y): adjust
6655 (getRow): make it return a RowList::iterator, adjust
6656 (getRowNearY): make it return a RowList::iterator, adjust
6658 * text2.C (init): adjust
6659 (insertRow): remove function
6660 (insertParagraph): adjust
6661 (redoParagraphs): adjust
6662 (fullRebreak): adjust
6663 (updateCounters): adjust
6665 * text.C (top_y): rewrite to use RowList iterators.
6667 (setHeightOfRow): rewrite to sue RowList iterators.
6668 (appendParagraph): adjust
6669 (breakAgain): adjust
6670 (breakAgainOneRow): adjust
6671 (breakParagraph): adjust
6673 (getRowNearY): adjust, and remove commented code.
6675 * lyxtext.h (firstRow): delete function
6676 (lastRow): delete function
6677 (rows): new function (const and non-const versions.)
6678 (insertRow): delete function
6680 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6682 2003-03-29 John Levon <levon@movementarian.org>
6684 * BufferView_pimpl.C: always update scrollbar top
6685 because pasting text when we're anchored could mean we
6686 miss an update altogether
6688 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6690 * text2.C (init): use rowlist_.end() and not 0.
6691 (insertRow): change to take a RowList::iterator as arg, adjust
6693 (insertParagraph): change to take a RowList::iterator as arg,
6695 (redoParagraphs): remove some debug msgs.
6697 * text.C (appendParagraph): change to take a RowList::iterator
6698 arg, adjust for this.
6699 (breakAgain): add an assert
6700 (breakAgainOneRow): ditto
6702 2003-03-29 John Levon <levon@movementarian.org>
6704 * text2.C: do not clear selection after inc/decDepth
6707 2003-03-29 John Levon <levon@movementarian.org>
6710 * buffer.C: fix broken strerrors according to Lars
6712 2003-03-29 John Levon <levon@movementarian.org>
6714 * converters.C: more Alert cleanups
6716 2003-03-29 John Levon <levon@movementarian.org>
6718 * bufferview_funcs.C: remove pointless Alert
6720 * buffer.C: fix confusing error message when
6721 a template is chmoded 000
6723 2003-03-29 John Levon <levon@movementarian.org>
6727 * BufferView_pimpl.C: Alert fixes
6731 * tabular-old.C: remove unused table compat reading
6733 2003-03-29 John Levon <levon@movementarian.org>
6738 * lyx_cb.C: more Alert cleanups
6740 * lyxfunc.C: don't allow chktex if not latex document
6742 2003-03-29 John Levon <levon@movementarian.org>
6746 * buffer.C: warnings pushed down from support/,
6749 2003-03-29 John Levon <levon@movementarian.org>
6751 * lyxfunc.C: safety check for C-r (revert)
6753 2003-03-29 John Levon <levon@movementarian.org>
6756 * bufferlist.C: several UI fixes using Alert::prompt.
6757 Fix the pointless looping quit code. Fix stupid revert
6762 * lyx_cb.C: use Alert::prompt
6764 * lyx_main.C: remove a silly question
6766 * lyxfunc.C: remove a couple of silly questions,
6769 2003-03-28 John Levon <levon@movementarian.org>
6771 * text2.C: fix bug 974 (End on empty par)
6773 2003-03-28 John Levon <levon@movementarian.org>
6775 * BufferView_pimpl.C:
6777 * lfuns.h: remove do-nothing math greek lfuns
6779 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6781 * lyxgluelength.h (isValidGlueLength): add default arg on
6782 parameter 2. Remove default arg from friend in class.
6784 * lyxlength.h (isValidLength): add default arg on parameter 2.
6785 Remove default arg from friend in class.
6787 * text2.C (LyXText): adjust, initialize refresh_row.
6791 (insertParagraph): adjst
6792 (redoParagraphs): adjust
6793 (fullRebreak): adjust
6794 (updateCounters): adjust
6795 (deleteEmptyParagraphMechanism): first attempt at fixing a
6798 * text.C (top_y): adjust
6799 (setHeightOfRow): adjust
6801 (getRowNearY): adjust
6803 * lyxtext.h: include RowList.h
6804 (~LyXText): not needed anymore, deleted.
6805 (firstRow): modify for RowList
6806 (lastRow): new function
6807 Delete firstrow and lastrow class variables, add a Rowlist
6808 rowlist_ class variable.
6810 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6813 * RowList.C (insert): fix case where it == begin().
6815 2003-03-26 Angus Leeming <leeming@lyx.org>
6817 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6818 the thesaurus dialog.
6820 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6822 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6824 * RowList.[Ch]: new files
6826 * ParagraphList.C (erase): handle the case where it == begin
6829 2003-03-25 John Levon <levon@movementarian.org>
6833 * aspell.C: add new aspell support
6836 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6839 2003-03-25 Angus Leeming <leeming@lyx.org>
6842 * LyXAction.C (init): new LFUN_INSET_INSERT.
6844 * BufferView_pimpl.C (dispatch): split out part of the
6845 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6847 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6850 2003-03-25 Angus Leeming <leeming@lyx.org>
6852 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6854 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6857 * text3.C: remove useless row->height(0)
6859 2003-03-25 John Levon <levon@movementarian.org>
6863 * text3.C: rename the refreshing stuff to better names
6865 2003-03-24 John Levon <levon@movementarian.org>
6867 * BufferView_pimpl.h:
6868 * BufferView_pimpl.C: update layout choice on a mouse
6871 2003-03-23 John Levon <levon@movementarian.org>
6873 * Makefile.am: fix commandtags.h reference
6875 2003-03-22 John Levon <levon@movementarian.org>
6877 * BufferView_pimpl.C:
6882 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6884 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6887 * text.C: take the rtl methods out of line
6889 2003-03-21 André Pönitz <poenitz@gmx.net>
6891 * metricsinfo.[Ch]: new files containing structures to be passed around
6892 during the two-phase-drawing...
6894 2003-03-21 André Pönitz <poenitz@gmx.net>
6896 * lyxtextclass.C: read 'environment' tag.
6898 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6900 * text2.C (removeRow): fix bug 964
6902 2003-03-20 John Levon <levon@movementarian.org>
6906 * text2.C: paint cleanups. Inset::update() dropped font
6909 2003-03-19 John Levon <levon@movementarian.org>
6911 * lyxfunc.C: only fitcursor/markDirty if available()
6913 2003-03-19 John Levon <levon@movementarian.org>
6915 * commandtags.h: rename to ...
6917 * lfuns.h: ... this, and renumber / cleanup
6919 2003-03-19 John Levon <levon@movementarian.org>
6921 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6922 fit the cursor after an lfun
6926 * BufferView_pimpl.h:
6927 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6929 * LyXAction.C: layout-character should have ReadOnly
6931 * ParagraphParameters.C:
6933 * bufferview_funcs.C:
6940 * undo_funcs.C: changes from above
6942 2003-03-18 John Levon <levon@movementarian.org>
6944 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6945 remove it from update()
6947 * lyxfunc.C: update layout choice after an lfun
6949 * text3.C: remove extra updateLayoutChoice()s
6951 2003-03-18 John Levon <levon@movementarian.org>
6953 * text.C: top_y change means full repaint, fix
6954 a drawing bug with cursor movement
6956 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6960 * text2.C: anchor row on setCursor
6962 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6964 * lyxtext.h: remove almost all mutable keywords
6967 * text3.C: remove const keywords accordingly
6969 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6971 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6973 (TeXEnvironment): ditto
6976 2003-03-17 John Levon <levon@movementarian.org>
6978 * text.C (rowBreakPoint): remove attempt to fix displayed
6979 math insets inside a manual label
6981 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6983 * lyxtext.h: remove BufferView* as first arg from almost all class
6985 * other files: adjust.
6987 2003-03-17 John Levon <levon@movementarian.org>
6991 * text2.C: more paint cleanups
6993 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6996 * rowpainter.C: remove "smart" background painting code
6998 2003-03-16 John Levon <levon@movementarian.org>
7003 * text3.C: add helper functions for setting refresh_row/y
7005 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7007 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7008 newline inset which *can* get inserted in the pass_thru layouts.
7009 This is primarily for literate documents.
7011 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7013 * buffer.C: increment LYX_FORMAT to 223
7015 2003-03-14 André Pönitz <poenitz@gmx.net>
7017 * textclass.h: prepare for environment handling, ws changes
7018 * lyxlayout.C: read latexheader and latexfooter tags
7020 2003-03-14 John Levon <levon@movementarian.org>
7022 * text2.C: rewrite ::status() a bit
7024 2003-03-13 John Levon <levon@movementarian.org>
7026 * lyxtext.h: add some docs
7028 2003-03-13 John Levon <levon@movementarian.org>
7033 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7035 2003-03-13 John Levon <levon@movementarian.org>
7037 * text3.C: fix appendix redrawing
7039 2003-03-13 John Levon <levon@movementarian.org>
7041 * text.C (setHeightOfRow):
7043 * rowpainter.C: make appendix mark have the text
7044 "Appendix" so the user knows what it is
7047 * LColor.C: s/appendixline/appendix/ from above
7049 2003-03-13 John Levon <levon@movementarian.org>
7051 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7053 * text.C: fix a getChar(pos) bug properly
7055 2003-03-13 Angus Leeming <leeming@lyx.org>
7058 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7059 Probably only temporary. Let's see how things pan out.
7061 * BufferView.C (unlockInset):
7062 * BufferView_pimpl.C (fitCursor):
7063 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7065 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7066 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7068 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7069 new functions that convert ParagraphParameters to and from a string.
7071 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7072 BufferView::Pimpl's dispatch.
7073 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7075 2003-03-13 André Pönitz <poenitz@gmx.net>
7079 * factory.C: make it aware of InsetEnv
7081 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7083 * text2.C (setCursor): never ask for one past last
7084 (setCursor): add some debugging messages.
7086 * text.C (singleWidth): never ask for one past last
7087 (singleWidth): ditto
7089 (rightMargin): ditto
7090 (rowBreakPoint): ditto
7091 (setHeightOfRow): ditto
7092 (prepareToPrint): ditto
7094 * rowpainter.C (paintBackground): never ask for one past last
7095 (paintText): never ask for one past last
7097 * paragraph_pimpl.C (getChar): make the assert stricter, never
7098 allow the one past last pos to be taken
7100 * paragraph.C (getChar): ws changes only
7102 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7103 (numberOfSeparators): ditto
7104 (numberOfHfills): ditto
7106 2003-03-12 John Levon <levon@movementarian.org>
7112 * paragraph_funcs.C: fix per-buffer authorlists
7114 2003-03-12 John Levon <levon@movementarian.org>
7116 * text.C: fix newline in right address
7118 2003-03-12 Angus Leeming <leeming@lyx.org>
7120 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7121 duplicate those in LyXFunc::dispatch.
7125 * ToolbarDefaults.C:
7126 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7127 Add LFUN_FONTFREE_UPDATE.
7129 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7130 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7132 * bufferview_func.[Ch]: several new functions to facilliate
7133 transfer of data to and from the character dialog.
7135 2003-03-12 John Levon <levon@movementarian.org>
7140 * paragraph_funcs.C:
7141 * paragraph_pimpl.C:
7145 * text3.C: remove META_NEWLINE in favour of an inset
7148 * rowpainter.C: remove paintNewline (done by inset)
7150 2003-03-12 John Levon <levon@movementarian.org>
7152 * paragraph_pimpl.C: complain about bad getChar()s
7153 for a while at least
7155 2003-03-12 John Levon <levon@movementarian.org>
7158 * buffer.C: move paragraph read into a separate function,
7159 a little renaming to reflect that.
7162 * bufferparams.C: remove the author_ids map, not necessary now
7165 * factory.C: moved Buffer::readInset to here
7167 * paragraph_funcs.h:
7168 * paragraph_funcs.C: readParagraph free function moved from
7171 * tabular.C: name change
7173 2003-03-12 John Levon <levon@movementarian.org>
7176 * ParagraphParameters.C: move par params input to
7179 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7180 behave like a normal read from the stream wrt reading
7181 a line vs. a \\token
7183 2003-03-12 John Levon <levon@movementarian.org>
7186 * ParagraphParameters.h:
7187 * ParagraphParameters.C: move output code to a
7190 2003-03-12 John Levon <levon@movementarian.org>
7192 * BufferView.C (insertLyXFile):
7195 * tabular.C: use a parlist iterator for creating the
7198 2003-03-12 John Levon <levon@movementarian.org>
7200 * buffer.C: make current_change static local not
7203 2003-03-12 John Levon <levon@movementarian.org>
7205 * buffer.C: fix insertStringAsLines for change tracking
7207 2003-03-12 John Levon <levon@movementarian.org>
7214 * bufferparams.C: move author list into params. Rename some
7215 functions. Move the header reading into a separate token
7216 loop. Move the header token reading into BufferParams.
7218 2003-03-12 John Levon <levon@movementarian.org>
7220 * changes.C: put debug inside lyxerr.debugging() checks
7222 2003-03-11 André Pönitz <poenitz@gmx.net>
7224 * factory.C: make it aware of InsetHFill
7226 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7228 * buffer.C (latexParagraphs): move function from here...
7229 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7232 2003-03-10 Angus Leeming <leeming@lyx.org>
7234 * LyXAction.C (init): fix bug in poplating array with multiple entries
7235 with the same LFUN (spotted by JMarc).
7237 2003-03-10 John Levon <levon@movementarian.org>
7240 * text2.C: move getColumnNearX() near its
7243 2003-03-10 John Levon <levon@movementarian.org>
7245 * text.C: fix break before a minipage
7247 2003-03-10 John Levon <levon@movementarian.org>
7249 * text.C: fix the last commit
7251 2003-03-09 John Levon <levon@movementarian.org>
7255 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7256 bug 365 (don't break before insets unless needed). Don't
7257 return a value > last under any circumstances.
7259 2003-03-09 Angus Leeming <leeming@lyx.org>
7261 * BufferView_pimpl.C (trackChanges, dispatch): call
7262 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7264 2003-03-09 Angus Leeming <leeming@lyx.org>
7266 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7267 than Dialogs::showAboutlyx().
7269 2003-03-09 Angus Leeming <leeming@lyx.org>
7271 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7272 than Dialogs::showTabularCreate().
7274 2003-03-09 John Levon <levon@movementarian.org>
7278 * text2.C: 3rd arg to nextBreakPoint was always the same.
7281 2003-03-08 John Levon <levon@movementarian.org>
7288 * text2.C: Remove the "main" bit from the "main body"
7291 2003-03-08 John Levon <levon@movementarian.org>
7293 * text.C (leftMargin): The left margin of an empty
7294 manual label paragraph should not include the label width
7297 * text.C (prepareToPrint): don't attempt to measure hfills
7298 for empty manual label paragraphs - the answer should be 0
7300 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7302 * CutAndPaste.C: remove commented code and reindent.
7304 2003-03-08 John Levon <levon@movementarian.org>
7307 * lyxfunc.C: move reloadBuffer()
7310 * BufferView.C: to here
7312 * lyxvc.C: add comment
7315 * vc-backend.C: call bv->reload() to avoid
7316 getStatus() check on MENURELOAD
7318 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7320 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7321 to an old format .dep file.
7323 2003-03-07 Angus Leeming <leeming@lyx.org>
7325 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7326 when the LFUN_MOUSE_RELEASE should have been handled by
7327 inset->localDispatch.
7329 2003-03-07 Angus Leeming <leeming@lyx.org>
7331 * BufferView_pimpl.C (dispatch):
7332 * LyXAction.C (init):
7333 * ToolbarDefaults.C (init):
7335 * lyxfunc.C (getStatus):
7336 remove LFUN_INSET_GRAPHICS.
7338 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7340 2003-03-07 Angus Leeming <leeming@lyx.org>
7343 * LyXAction.C (init):
7344 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7346 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7349 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7351 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7352 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7354 2003-03-07 Angus Leeming <leeming@lyx.org>
7356 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7359 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7361 * ParagraphList.C (front): new function
7364 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7366 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7367 and top_row_offset_. removed var first_y.
7369 * text2.C (LyXText, removeRow):
7371 * BufferView_pimpl.C:
7372 use these methods instead of using first_y
7374 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7376 * text2.C (pasteSelection): adjust for checkPastePossible
7378 * CutAndPaste.C: remove Paragraph * buf and replace with
7379 ParagraphList paragraphs.
7380 (DeleteBuffer): delete
7381 (cutSelection): change the tc type to textclass_type
7382 (copySelection): change the tc type to textclass_type
7383 (copySelection): adjust for ParagraphList
7384 (pasteSelection): change the tc type to textclass_type
7385 (pasteSelection): adjust for Paragraphlist
7386 (nrOfParagraphs): simplify for ParagraphList
7387 (checkPastePossible): simplify for ParagraphList
7388 (checkPastePossible): remove unused arg
7390 * ParagraphList.C (insert): handle the case where there are no
7393 * CutAndPaste.h: make CutAndPaste a namespace.
7395 * text3.C (dispatch): adjust
7397 * text.C (breakParagraph): add a ParagraphList as arg
7399 * paragraph_funcs.C (breakParagraph): change to take a
7400 BufferParams and a ParagraphList as args.
7401 (breakParagraphConservative): ditto
7402 (mergeParagraph): ditto
7403 (TeXDeeper): add a ParagraphList arg
7404 (TeXEnvironment): ditto
7407 * buffer.C (readLyXformat2): adjust
7408 (insertStringAsLines): adjust
7409 (latexParagraphs): adjust
7411 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7412 (cutSelection): adjust
7413 (pasteSelection): adjust
7415 * BufferView_pimpl.C (insertInset): adjust
7417 2003-03-05 Angus Leeming <leeming@lyx.org>
7420 * LyXAction.C (init):
7421 * BufferView_pimpl.C (dispatch):
7422 * lyxfunc.C (getStatus):
7423 remove LFUN_CHILD_INSERT.
7425 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7427 2003-03-05 Angus Leeming <leeming@lyx.org>
7430 * LyXAction.C (init):
7431 * src/factory.C (createInset):
7432 * lyxfunc.C (getStatus):
7433 * text3.C (dispatch):
7434 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7436 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7438 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7440 * ParagraphList.C (insert): handle insert right before end()
7441 (erase): fix cases where it can be first or last paragraph.
7443 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7445 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7446 Paragraph::next and Paragraph::previous
7449 * text.C (breakParagraph): adjust
7451 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7452 BufferParams& as arg.
7453 (breakParagraph): use ParagraphList::insert
7454 (breakParagraphConservative): take a Buffer* instead of a
7455 BufferParams& as arg.
7456 (breakParagraphConservative): use ParagraphList::insert.
7458 * buffer.C (insertStringAsLines): un-const it
7459 (insertStringAsLines): adjust
7461 * ParagraphList.C (insert): new function
7463 * CutAndPaste.C (pasteSelection): adjust
7465 * text.C (backspace): adjust
7467 * tabular.C (SetMultiColumn): adjust
7469 * CutAndPaste.C (cutSelection): adjust
7470 (pasteSelection): adjust
7472 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7473 Buffer const * as arg
7475 * ParagraphList.C (erase): new function
7476 * paragraph_funcs.C (mergeParagraph): use it
7477 (mergeParagraph): make it take a Buffer* instead of a
7478 BufferParams* as arg
7480 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7482 (breakParagraphConservative): ditto
7484 * paragraph.h: remove the breakParagraph friend
7486 * paragraph.C (eraseIntern): new function
7487 (setChange): new function
7489 * paragraph_funcs.C (mergeParagraph): make it take a
7490 ParagraphList::iterator instead of a Paragraph *, adjust
7493 * paragraph.h: move an #endif so that the change tracking stuff
7494 also works in the NO_NEXT case.
7496 2003-03-04 Angus Leeming <leeming@lyx.org>
7499 * LyXAction.C: new LFUN_INSET_MODIFY.
7501 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7502 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7504 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7506 * several files: ws changes only
7508 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7509 (TeXEnvironment): ditto
7512 * buffer.C (makeLaTeXFile): adjust
7513 (latexParagraphs): make it take ParagraphList::iterator as args
7515 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7517 * buffer.C (latexParagraphs): adjust
7519 * paragraph.C (TeXOnePar): move function...
7520 (optArgInset): move function...
7521 (TeXEnvironment): move function...
7522 * paragraph_pimpl.C (TeXDeeper): move function...
7523 * paragraph_funcs.C: ...here
7525 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7527 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7529 * buffer.C (readInset): remove compability code for old Figure and
7532 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7534 * buffer.C: ws changes
7537 * BufferView_pimpl.C: ditto
7540 * bufferlist.h: ditto
7544 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7546 * converter.[Ch]: split into itself +
7549 * Makefile.am: += graph.[Ch] + format.[Ch]
7556 * lyxrc.C: added #include "format.h"
7558 2003-02-27 Angus Leeming <leeming@lyx.org>
7560 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7563 * factory.C (createInset): add "label" to the factory.
7565 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7566 string and do no more.
7568 2003-02-27 Angus Leeming <leeming@lyx.org>
7571 * LyXAction.C (init):
7572 * factory.C (createInset):
7573 * BufferView_pimpl.C (dispatch):
7574 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7576 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7578 * lyxfunc.C (dispatch):
7579 * text3.C (dispatch): pass name to params2string.
7581 2003-02-26 Angus Leeming <leeming@lyx.org>
7583 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7585 Rearrange the ~includes. Strip out the unnecessary ones.
7587 * factory.C (createInset): reformat.
7588 create new insets for the various LFUN_XYZ_APPLY lfuns.
7590 2003-02-26 John Levon <levon@movementarian.org>
7593 * lyxrow.C: add isParStart,isParEnd helpers
7595 * paragraph.h: make isInserted/DeletedText take refs
7597 * paragraph_funcs.h:
7598 * paragraph_funcs.C: remove #if 0'd code
7603 * text.C: use lyxrow helpers above.
7604 Move draw and paint routines to RowPainter.
7605 Make several methods use refs not pointers.
7606 Make backgroundColor() const.
7607 Add markChangeInDraw(), isInInset().
7608 Merge changeRegionCase into changeCase.
7609 Make workWidth() shouldn't-happen code into an Assert.
7612 * rowpainter.C: new class for painting a row.
7615 * vspace.C: make inPixels take a ref
7617 2003-02-26 Angus Leeming <leeming@lyx.org>
7619 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7622 2003-02-25 John Levon <levon@movementarian.org>
7624 * ispell.C: give the forked command a more accurate name
7626 2003-02-22 John Levon <levon@movementarian.org>
7629 * toc.C: make TocItem store an id not a Paragraph *
7632 2003-02-21 Angus Leeming <leeming@lyx.org>
7634 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7635 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7636 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7637 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7638 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7639 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7641 * BufferView_pimpl.C (dispatch):
7642 * LyXAction.C (init):
7643 * factory.C (createInset):
7644 * lyxfunc.C (getStatus, dispatch):
7645 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7647 2003-02-21 Angus Leeming <leeming@lyx.org>
7649 * BufferView_pimpl.C (MenuInsertLyXFile):
7650 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7651 * lyxfunc.C (menuNew, open, doImport):
7652 no longer pass a LyXView & to fileDlg.
7654 2003-02-21 Angus Leeming <leeming@lyx.org>
7656 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7657 * LyXAction.C: change, BIBKEY to BIBITEM.
7658 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7659 Change InsetBibKey to InsetBibitem.
7660 Change BIBKEY_CODE to BIBITEM_CODE.
7661 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7662 * factory.C: replace insetbib.h with insetbibitem.h.
7663 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7664 * paragraph.C: replace insetbib.h with insetbibitem.h.
7665 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7666 Change bibkey() to bibitem().
7667 * text.C: remove insetbib.h.
7668 * text2.C: replace insetbib.h with insetbibitem.h.
7669 change bibkey() to bibitem().
7670 * text3.C: remove insetbib.h.
7671 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7673 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7675 * lyxrc.C (output): enclose user email in quotes (in case there are
7678 2003-02-18 John Levon <levon@movementarian.org>
7680 * buffer.h: add std::
7682 2003-02-17 John Levon <levon@movementarian.org>
7688 * pspell.C: reworking. Especially in ispell, a large
7689 number of clean ups and bug fixes.
7691 * lyxfunc.C: fix revert to behave sensibly
7693 2003-02-17 André Pönitz <poenitz@gmx.net>
7696 * commandtags.h: new LFUN_INSERT_BIBKEY
7706 * paragraph_func.C: remove special bibkey handling
7708 2003-02-17 John Levon <levon@movementarian.org>
7710 * text.C (Delete): fix case where delete at the end of
7711 the very first paragraph would not merge the pars
7713 2003-02-17 John Levon <levon@movementarian.org>
7715 * lyxrow.C: fix lastPrintablePos()
7717 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7719 * bufferparams.C (writeLaTeX): add a std:here
7721 * buffer.C: and remove a using directive there
7723 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7725 * buffer.C (makeLaTeXFile): move the code that generates the
7728 * bufferparams.C (writeLaTeX): ... in this new method
7730 * LaTeXFeatures.C (getEncodingSet): make const
7731 (getLanguages): make const
7733 * MenuBackend.C (binding): returns the binding associated to this
7735 (add): sets the status of each item by calling getStatus. Adds
7737 (read): add support for OptSubMenu
7738 (expand): remove extra separator at the end of expanded menu
7740 2003-02-15 John Levon <levon@movementarian.org>
7743 * BufferView_pimpl.C:
7745 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7746 inset code that had no actual effect. Remove unneeded status
7749 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7751 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7754 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7756 * text.C (drawLengthMarker): also draw an arrow marker for
7757 symbolic lengths (medskip...)
7759 2003-02-14 John Levon <levon@movementarian.org>
7762 * tabular.C: better method names
7764 2003-02-14 John Levon <levon@movementarian.org>
7766 * BufferView_pimpl.C:
7771 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7772 it's a more accurate name. Remove some pointless uses.
7774 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7776 * text2.C (LyXText): change order of initilizers to shut off
7779 2003-02-14 John Levon <levon@movementarian.org>
7781 * buffer.C: use ParIterator for getParFromID()
7785 * paragraph_pimpl.h:
7786 * paragraph_pimpl.C: remove unused getParFromID()
7788 2003-02-14 John Levon <levon@movementarian.org>
7790 * buffer.C: remove some very old #if 0'd parse code
7792 2003-02-13 John Levon <levon@movementarian.org>
7796 * text2.C: move hfillExpansion(), numberOfSeparators(),
7797 rowLast(), rowLastPrintable(), numberofHfills(),
7798 numberOfLabelHfills() ...
7801 * lyxrow.C: ... to member functions here.
7806 * text.C: remove LyXText::beginningOfMainBody(), and call
7807 p->beginningOfMainBody() directly. Move the check for
7808 LABEL_MANUAL into the latter.
7815 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7821 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7822 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7824 2003-02-13 John Levon <levon@movementarian.org>
7826 * CutAndPaste.C: remove debug
7828 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7830 * paragraph.C (asString): remove two unused variables
7832 * lyxtextclass.C (readTitleType):
7834 (LyXTextClass): handle new members titletype_ and titlename_
7836 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7838 2003-02-09 John Levon <levon@movementarian.org>
7841 * buffer.C: replace hand-coded list with a map for the dep clean
7843 2003-02-08 John Levon <levon@movementarian.org>
7845 * LaTeX.C: consolidate code into showRunMessage() helper
7847 2003-02-08 John Levon <levon@movementarian.org>
7852 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7853 and pass the size in explicitly
7855 * BufferView_pimpl.h:
7856 * BufferView_pimpl.C:
7858 * BufferView.C: add getCurrentChange()
7860 * BufferView_pimpl.h:
7861 * BufferView_pimpl.C: handle change lfuns
7863 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7864 for changes. Mark pasted paragraphs as new.
7866 * support/lyxtime.h:
7867 * support/lyxtime.C:
7868 * DepTable.C: abstract time_t as lyx::time_type
7871 * LColor.C: add colours for new text, deleted text, changebars
7873 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7874 package use "usenames" option.
7878 * LyXAction.C: add change lfuns
7882 * author.C: author handling
7885 * buffer.C: add a per-buffer author list, with first entry as
7886 current author. Handle new .lyx tokens for change tracking. Output
7887 author list to .lyx file. Output dvipost stuff to .tex preamble.
7888 Bump lyx format to 222.
7891 * bufferlist.C: add setCurrentAuthor() to reset current author details
7895 * bufferparams.C: add param for tracking
7897 * bufferview_funcs.C: output change info in minibuffer
7901 * changes.C: add change-tracking structure
7904 * debug.C: add CHANGES debug flag
7907 * lyxfind.C: add code for finding the next change piece
7910 * lyxrc.C: add user_name and user_email
7913 * lyxrow.C: add a metric for the top of the text line
7916 * text.C: implement accept/rejectChange()
7919 * text.C: paint changebars. Paint new/deleted text in the chosen
7920 colours. Strike through deleted text.
7924 * paragraph_pimpl.h:
7925 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7926 in the current change to the insert functions. Rework erase to
7927 mark text as deleted, adding an eraseIntern() and a range-based
7928 erase(). Implement per-paragraph change lookup and
7931 * paragraph_funcs.C: Fixup paste for change tracking.
7933 * tabular.C: mark added row/columns as new.
7935 * text.C: fix rowLast() to never return -1. Don't allow
7936 spellchecking of deleted text. Track transpose changes. Don't
7937 allow paragraph break or merge where appropriate.
7939 * text2.C: leave cursor at end of selection after a cut.
7941 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7943 * text.C (getLengthMarkerHeight):
7944 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7945 visible on screen too.
7947 2003-02-07 John Levon <levon@movementarian.org>
7949 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7951 2003-02-05 Angus Leeming <leeming@lyx.org>
7953 * lyxserver.C (read_ready): revert my patch of 11 September last year
7954 as it sends PC cpu through the roof. Presumably this means that
7955 the lyxserver will no longer run on an Alpha...
7957 2003-01-30 Angus Leeming <leeming@lyx.org>
7959 * factory.C (createInset): create an InsetCommandParam of type "index"
7960 and use it to 'do the right thing'.
7962 * text2.C (getStringToIndex): ensure that cursor position is always
7963 reset to the reset_cursor position.
7965 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7967 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7970 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7974 * lyxfunc.C: Output messages with identical spelling, punctuation,
7977 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7979 * MenuBackend.C (expandFormats): List only viewable export formats
7982 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7985 * lyxfunc.C (getStatus): Make sure that formats other than
7986 "fax" can also be disabled
7988 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7990 * text3.C (dispatch): put the lfuns that insert insets in 3
7991 groups, and call doInsertInset with appropriate arguments.
7992 (doInsertInset): new function, that creates an inset and inserts
7993 it according to some boolean parameters.
7995 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7997 * buffer.C (readFile): remember to pass on 'par' when calling
7998 readFile recursively.
8000 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8002 * MenuBackend.C (expandFormats): add "..." to import formats.
8004 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8006 * paragraph.C (asString): Remove XForms RTL hacks.
8008 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8009 * buffer.C: fix typo
8011 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8013 * Makefile.am (LIBS): delete var
8014 (lyx_LDADD): add @LIBS@ here instead.
8016 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8018 * Clarify the meaning of "wheel mouse jump"
8020 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8022 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8025 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8027 * importer.C (Loaders): do not preallocate 3 elements in the
8028 vector, since one ends up with 6 elements otherwise
8030 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8032 * DepTable.C (write): write the file name as last element of the
8033 .dep file (because it may contain spaces)
8034 (read): read info in the right order
8036 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8038 * paragraph_pimpl.C (simpleTeXBlanks):
8039 (simpleTeXSpecialChars):
8040 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8042 * tabular.C (latex): add some missing case statements. Reindent.
8044 * MenuBackend.C (expandToc): remove unused variable.
8046 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8055 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8058 2003-01-05 John Levon <levon@movementarian.org>
8061 * BufferView.C: add getEncoding()
8064 * kbsequence.C: do not store last keypress
8067 * lyxfunc.C: store last keypress here instead. Pass encoding
8070 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8072 * lyx_main.C (init): remove annoying error message when following
8073 symbolic links (bug #780)
8075 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8077 * text.C (insertChar):
8078 * lyxrc.C (getDescription): remove extra spaces
8080 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8082 * lyxrc.C (getDescription): remove extra spaces
8084 2002-12-20 John Levon <levon@movementarian.org>
8086 * text3.C: hack fix for page up/down across tall rows
8088 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8090 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8093 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8095 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8096 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8097 thesaurus is not compiled in
8099 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8101 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8103 2002-12-16 Angus Leeming <leeming@lyx.org>
8106 * lyx_main.C (init): remove override_x_deadkeys stuff.
8108 2002-12-12 John Levon <levon@movementarian.org>
8110 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8111 insert. Only remove shift modifier under strict
8114 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8116 * MenuBackend.C (expandToc): fix crash.
8118 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8120 * MenuBackend.C (expandToc): gettext on float names.
8122 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8124 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8125 implement bool empty() [bug 490]
8127 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8129 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8131 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8133 * several files: ws changes
8135 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8137 * text2.C (setCounter): clean up a bit, use boost.format.
8138 (updateCounters): initialize par upon declaration.
8140 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8141 if the layout exists. We do not just store the layout any more.
8142 (SwitchLayoutsBetweenClasses): use boost.format
8144 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8146 * converter.C (convert): if from and to files are the same, use a
8147 temporary files as intermediary
8149 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8152 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8154 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8156 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8158 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8160 * tabular.C (asciiPrintCell): use string(size, char) instead of
8163 * sgml.C (openTag): fix order of arguments to string constructor
8166 * lyxfunc.C (dispatch): use boost.format
8168 * lots of files: change "c" -> 'c'
8170 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8172 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8174 2002-11-25 Angus Leeming <leeming@lyx.org>
8176 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8178 * lyx_main.C (init): compile fix.
8180 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8182 * lyx_cb.C (start): boost.formatify
8183 do not include <iostream>
8185 * lengthcommon.C: ws only
8187 * boost-inst.C,BoostFormat.h: add more explict instantations
8189 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8191 * lots of files: handle USE_BOOST_FORMAT
8193 2002-11-21 John Levon <levon@movementarian.org>
8195 * pspell.C: fix compile
8197 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8199 * lyxfunc.C (dispatch): use boost::format
8203 * lyxfont.C (stateText): use boost::format
8205 * lyx_main.C (LyX): use boost::format
8207 (queryUserLyXDir): ditto
8210 (typedef boost::function): use the recommened syntax.
8212 * importer.C (Import): use boost::format
8214 * debug.C (showLevel): use boost::format
8216 * converter.C (view): use boost::format
8221 * bufferview_funcs.C (currentState): use boost::format
8223 * bufferlist.C (emergencyWrite): use boost::format
8225 * buffer.C (readLyXformat2): use boost::format
8226 (parseSingleLyXformat2Token): ditto
8228 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8230 * LaTeX.C (run): use boost::format
8232 * Chktex.C (scanLogFile): use boost::format
8234 * BufferView_pimpl.C (savePosition): use boost::format
8235 (restorePosition): ditto
8236 (MenuInsertLyXFile): ditto
8238 * BoostFormat.h: help file for explicit instation.
8240 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8242 * tabular.C (latex): Support for block alignment in fixed width
8245 2002-11-17 John Levon <levon@movementarian.org>
8247 * BufferView_pimpl.C:
8249 * lyxfunc.C: split filedialog into open/save
8251 2002-11-08 Juergen Vigna <jug@sad.it>
8253 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8254 by my last patch (hopefully).
8256 2002-11-08 John Levon <levon@movementarian.org>
8265 * toc.C: ParConstIterator, and use it (from Lars)
8267 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8269 * lyxtextclass.[Ch]: revise and add doxygen comments
8271 2002-11-07 John Levon <levon@movementarian.org>
8273 * text.C: fix progress value for spellchecker
8275 * toc.C: fix navigate menu for insetwrap inside minipage
8277 * paragraph_funcs.C: added FIXME for suspect code
8279 2002-11-07 John Levon <levon@movementarian.org>
8281 * BufferView_pimpl.C: fix redrawing of insets
8284 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8286 * text2.C (updateCounters): fix bug 668
8288 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8290 * text3.C (dispatch): Do not make the buffer dirty when moving the
8293 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8295 * vc-backend.C: STRCONV
8298 * text2.C (setCounter): STRCONV
8300 * paragraph.C (asString): STRCONV
8302 * lyxlength.C (asString): STRCONV
8303 (asLatexString): ditto
8305 * lyxgluelength.C (asString): STRCONV
8306 (asLatexString): ditto
8308 * lyxfunc.C (dispatch): STRCONV
8311 * lyxfont.C (stateText): STRCONV
8313 * importer.C (Import): STRCONV
8315 * counters.C (labelItem): STRCONV
8316 (numberLabel): ditto
8317 (numberLabel): remove unused ostringstream o
8322 * bufferview_funcs.C (currentState): STRCONV
8324 * buffer.C (readFile): STRCONV
8325 (asciiParagraph): ditto
8326 (makeLaTeXFile): ditto
8328 * Spacing.C (writeEnvirBegin): STRCONV
8330 * LaTeXFeatures.C (getLanguages): STRCONV
8331 (getPackages): ditto
8333 (getBabelOptions): ditto
8334 (getTClassPreamble): ditto
8335 (getLyXSGMLEntities): ditto
8336 (getIncludedFiles): ditto
8340 (scanAuxFile): ditto
8343 * LString.h: add the STRCONV macros
8345 * BufferView_pimpl.C (savePosition): STRCONV
8346 (restorePosition): ditto
8347 (MenuInsertLyXFile): ditto
8349 * vc-backend.C (scanMaster): change from submatch[...] to
8352 * funcrequest.C: include config.h
8354 * factory.C: include config.h
8356 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8358 * box.C: include config.h
8360 * LaTeX.C (scanAuxFile): change from submatch[...] to
8364 2002-10-25 Angus Leeming <leeming@lyx.org>
8366 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8368 * ispell.[Ch] (setError): new method.
8369 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8370 Use setError() insetead of goto END.
8372 * lyx_cb.C (AutoSave): move out child process into new class
8375 2002-10-30 John Levon <levon@movementarian.org>
8377 * text3.C: make start appendix undoable
8379 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8381 * lyxlength.C (inPixels): Fix returned value.
8383 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8386 2002-10-24 Angus Leeming <leeming@lyx.org>
8388 * lyxgluelength.h: no need to forward declare BufferParams
8389 or BufferView, so don't.
8391 2002-10-21 John Levon <levon@movementarian.org>
8393 * BufferView.C: menuUndo ->undo, redo
8395 * BufferView.h: document, remove dead, make some methods private
8397 * paragraph_funcs.h:
8398 * paragraph_funcs.C:
8399 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8404 * sgml.C: move sgml open/close tag into sgml.C
8406 * bufferview_funcs.h: unused prototype
8409 * lyxfunc.C: remove unused
8412 * text.C: remove unused
8414 2002-10-21 John Levon <levon@movementarian.org>
8418 * BufferView_pimpl.h:
8419 * BufferView_pimpl.C: fix mouse wheel handling based on
8420 patch from Darren Freeman
8422 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8424 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8426 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8428 * lyxlength.C (inPixels): Fix hanfling of negative length.
8429 Fix LyXLength::MU case.
8431 2002-10-16 John Levon <levon@movementarian.org>
8433 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8435 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8437 * converter.C (view): add support for $$i (file name) and $$p
8438 (file path) for the viewer command. If $$i is not specified, then
8439 it is appended to the command (for compatibility with old syntax)
8441 2002-10-14 Juergen Vigna <jug@sad.it>
8443 * undo_funcs.C (textHandleUndo): alter the order in which the
8444 new undopar is added to the LyXText, as we have to set first
8445 the right prev/next and then add it as otherwise the rebuild of
8446 LyXText is not correct. Also reset the cursor to the right paragraph,
8447 with this IMO we could remove the hack in "redoParagraphs()".
8449 2002-10-09 Angus Leeming <leeming@lyx.org>
8451 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8452 to turn off an optimisation if a new inset is to be inserted.
8454 2002-10-11 André Pönitz <poenitz@gmx.net>
8456 * lyxtext.h: make some functions public to allow access
8457 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8459 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8461 * text3.C (dispatch): when changing layout, avoid an infinite loop
8464 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8466 * lyxrc.C (read): treat a viewer or converter command of "none" as
8469 * MenuBackend.C (expandFormats): for an update, also allow the
8470 formats that are not viewable
8472 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8473 script if it is newer than the lyxrc.defaults in user directory
8475 2002-10-07 André Pönitz <poenitz@gmx.net>
8477 * text.C: Vitaly Lipatov's small i18n fix
8479 2002-09-25 Angus Leeming <leeming@lyx.org>
8481 * ispell.h: doxygen fix.
8483 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8485 * buffer.h (readFile): Add a new argument to the method, to allow
8486 reading of old-format templates.
8488 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8490 * toc.C (getTocList): Get TOC from InsetWrap.
8492 2002-09-16 John Levon <levon@movementarian.org>
8494 * lyxfunc.C: check tabular for cut/copy too
8496 2002-09-12 John Levon <levon@movementarian.org>
8501 * factory.C: add header
8503 * paragraph_funcs.h:
8504 * paragraph_funcs.C: cleanup
8506 2002-09-11 John Levon <levon@movementarian.org>
8508 * PrinterParams.h: odd/even default to true
8510 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8512 * PrinterParams.h: update printer parameters for new xforms dialog
8514 2002-09-11 Angus Leeming <leeming@lyx.org>
8516 * lyxserver.C (read_ready): re-write to make it more transparent
8517 and to make it work in coherent fashion under Tru64 Unix.
8519 2002-09-11 André Pönitz <poenitz@gmx.net>
8523 * text3.C: implement LFUN_WORDSEL
8525 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8527 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8528 make floatlist_ a boost::shared_ptr<FloatList>
8530 * lyxtextclass.C: include FloatList.h
8531 (LyXTextClass): initialize floatlist_
8532 (TextClassTags): add TC_NOFLOAT
8533 (Read): match "nofloat" to TC_NOFLOAT and use it.
8534 (readFloat): modify call to floatlist_
8538 * FloatList.[Ch] (FloatList): remove commented out float
8540 (erase): new function
8542 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8544 * MenuBackend.C (expandToc): fix crash when there is no document
8547 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8549 * many files: Add insetwrap.
8551 2002-09-09 John Levon <levon@movementarian.org>
8553 * text2.C: remove confusing and awkward depth wraparound
8555 2002-09-09 John Levon <levon@movementarian.org>
8557 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8560 * buffer.C: remove getIncludeonlyList()
8563 * lyxfunc.C: remove headers
8565 2002-09-09 Juergen Vigna <jug@sad.it>
8567 * text.C (getColumnNearX): fix form Michael this is most
8568 probably a cut&paste bug.
8570 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8572 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8574 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8575 references, ws changes.
8577 * text2.C (init): update counters after init
8578 (insertParagraph): no need to set counter on idividual paragraphs.
8579 (setCounter): access the counters object in the textclass object
8580 on in the buffer object.
8581 (updateCounters): ditto
8583 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8584 shared_ptr<Counters> to avoid loading counters.h in all
8586 (LyXTextClass): initialize ctrs_
8587 (TextClassTags): add TC_COUNTER, and ...
8588 (Read): use it here.
8589 (CounterTags): new tags
8590 (readCounter): new function
8591 (counters): new funtion
8592 (defaultLayoutName): return a const reference
8594 * counters.C (Counters): remove contructor
8595 (newCounter): remove a couple of unneeded statements.
8596 (newCounter): simplify a bit.
8597 (numberLabel): some small formatting changes.
8599 * buffer.[Ch]: remove all traces of counters, move the Counters
8600 object to the LyXTextClass.
8602 2002-09-06 Alain Castera <castera@in2p3.fr>
8604 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8605 package to set the horizontal alignment on fixed width columns.
8608 * lyx_sty.h: added tabularnewline macro def.
8610 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8612 2002-09-06 John Levon <levon@movementarian.org>
8614 * LyXAction.C: tooltips for sub/superscript
8616 * MenuBackend.C: a bit more verbose
8618 * lyxfunc.C: tiny clean
8620 * undo_funcs.C: document undo_frozen
8622 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8624 * counters.C (Counters): add missing algorithm counter.
8626 * text2.C (setCounter): lookup the counter with layouts latexname
8627 instead of by section number.
8628 (setCounter): use a hackish way to lookup the correct enum
8630 a float name->type change
8631 reset enum couners with counter name directly instead of depth value.
8633 * counters.C (Counters): remove the push_backs, change to use the
8634 float type not the float name.
8635 (labelItem): remove unused string, float name->type change
8637 * counters.h: don't include vector, loose the enums and sects vectors
8639 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8641 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8642 (Read): add float->TC_FLOAT to textclassTags
8643 (Read): and handle it in the switch
8644 (readFloat): new function
8646 * FloatList.C (FloatList): comment out the hardcoded float
8649 * lyxlayout.h: ws change.
8651 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8653 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8655 2002-09-03 Angus Leeming <leeming@lyx.org>
8657 * BufferView_pimpl.h: qualified name is not allowed in member
8658 declaration: WorkArea & Pimpl::workarea() const;
8660 * factory.C: added using std::endl directive.
8662 * text3.C: added using std::find and std::vector directives.
8664 2002-08-29 André Pönitz <poenitz@gmx.net>
8667 * text2.C: remove unused member number_of_rows
8670 * BufferView2.C: remove file, move contents to...
8671 * BufferView.C: ... here
8673 * BufferView_pimpl.C:
8674 * factory.C: move more inset creation to factory
8676 * vspace.C: avoid direct usage of LyXText, ws changes
8679 don't provide direct access to WorkArea, use two simple
8680 acessors haveSelction() and workHeight() instead
8683 2002-08-29 John Levon <levon@movementarian.org>
8685 * BufferView_pimpl.C (dispatch): do not continue when
8688 2002-08-28 André Pönitz <poenitz@gmx.net>
8690 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8693 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8695 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8697 * buffer.C: increment LYX_FORMAT to 221
8699 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8700 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8702 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8704 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8706 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8708 * factory.C (createInset): use LyXTextClass::floats
8710 * MenuBackend.C (expandFloatListInsert):
8711 (expandFloatInsert):
8714 * text2.C (setCounter):
8716 * LaTeXFeatures.C (useFloat):
8717 (getFloatDefinitions):
8719 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8721 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8722 floatlist_, with accessor floats().
8724 * FloatList.h: remove global FloatList
8726 2002-08-26 André Pönitz <poenitz@gmx.net>
8728 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8732 * BufferView_pimpl.C:
8733 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8735 2002-08-25 John Levon <levon@movementarian.org>
8737 * LyXAction.C: fix margin note description
8739 2002-08-24 John Levon <levon@movementarian.org>
8743 * bufferview_funcs.C:
8745 * undo_funcs.C: cleanups
8747 * lyxfunc.C: disable CUT/COPY when no selection
8749 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8751 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8752 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8754 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8755 Add backward compatibility to "mono", "gray" and "no".
8757 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8759 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8760 (and file_format >= 200).
8762 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8764 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8766 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8768 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8770 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8772 * BufferView_pimpl.C:
8779 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8780 inset and code to make it work with the paragraph code. The inset
8781 can be anywhere in the paragraph, but will only do the expected
8782 thing in LaTeX if the layout file contains the parameter line
8784 (or more generally, a nonzero value) for that layout.
8786 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8788 * paragraph.h: remove the declaration of undefined counters class
8791 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8793 * text2.C (setCounter): fixed enumeration mis-count as reported by
8794 Dr. Richard Hawkins.
8796 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8798 * paragraph_funcs.h: remove some unneeded includes
8800 * text.C (backspace): pasteParagraph now in global scipe
8802 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8803 (pasteSelection): ditto
8805 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8806 * paragraph_funcs.C (pasteParagraph): ... here
8808 2002-08-20 André Pönitz <poenitz@gmx.net>
8810 * commandtags.h: new LFUNs for swapping/copying table row/colums
8813 * lyxfunc.C: support for new lfuns
8815 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8818 * buffer.[Ch]: remove NO_COMPABILITY stuff
8820 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8822 * boost.C (throw_exception): new file, with helper function for
8823 boost compiled without exceptions.
8828 * ParameterStruct.h:
8829 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8831 * bufferlist.C (emergencyWriteAll): use boost bind
8833 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8835 * text.C: include paragraph_funcs.h
8836 (breakParagraph): breakParagraph is now in global scope
8838 * paragraph_funcs.[Ch]: new files
8840 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8843 * buffer.C: include paragraph_funcs.h
8844 (insertStringAsLines): breakParagraph is now in global scope
8846 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8849 * CutAndPaste.C: include paragraph_funcs.h
8850 (cutSelection): breakParagraphConservative is now in global scope
8851 (pasteSelection): ditto
8853 * buffer.h: declare oprator== and operator!= for
8854 Buffer::inset_iterator
8856 * bufferlist.C (emergencyWrite): don't use fmt(...)
8858 * text3.C: add using std::endl
8860 * BufferView.C (moveCursorUpdate): remove default arg
8862 2002-08-20 André Pönitz <poenitz@gmx.net>
8864 * buffer.[Ch]: move inline functions to .C
8867 * BufferView_pimpl.C:
8869 * buffer.[Ch]: use improved inset_iterator
8872 * paragraph.[Ch]: write one paragraph at a time
8874 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8876 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8877 style if style is not specified.
8879 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8881 * text2.C (setCounter): when searching for right label for a
8882 caption, make sure to recurse to parent insets (so that a caption
8883 in a minipage in a figure float works) (bug #568)
8885 2002-08-20 André Pönitz <poenitz@gmx.net>
8887 * text3.C: new file for LyXText::dispatch() and helpers
8889 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8891 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8893 2002-08-19 André Pönitz <poenitz@gmx.net>
8896 * text.C: new LyXText::dispatch()
8898 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8900 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8902 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8904 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8907 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8909 * Makefile.am: use $(variables) instead of @substitutions@
8911 2002-08-15 André Pönitz <poenitz@gmx.net>
8914 * BufferView_pimpl.C: streamlining mathed <-> outer world
8918 * LyXAction.C: remove unused LFUN_MATH
8920 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8922 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8924 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8926 * paragraph.C (Paragraph): reformat a bit
8927 (cutIntoMinibuffer): use builtin InsetList function instad of
8931 * buffer.C: include boost/bind.hpp, add using std::for_each
8932 (writeFileAscii): use ParagraphList iterators
8933 (validate): use for_each for validate traversal of paragraphs
8934 (getBibkeyList): use ParagraphList iterators
8935 (resizeInsets): use for_each to resizeInsetsLyXText for all
8937 (getParFromID): use ParagraphList iterators
8939 * BufferView2.C (lockInset): use paragraph list and iterators
8941 2002-08-14 John Levon <levon@movementarian.org>
8943 * lyxserver.C: remove spurious xforms include
8945 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8947 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8949 2002-08-13 André Pönitz <poenitz@gmx.net>
8952 * lyxfunc.C: further cleaning
8954 2002-08-13 André Pönitz <poenitz@gmx.net>
8956 * funcrequest.h: new constructor
8958 * funcrequest.C: move stuff here from .h
8961 * BufferView_pimpl.C:
8964 * lyxfunc.C: subsequent changes
8966 * lyxfunc.h: new view() member function
8968 * lyxfunc.C: subsequent changes
8970 2002-08-13 Angus Leeming <leeming@lyx.org>
8973 * BufferView_pimpl.C:
8981 changes due to the changed LyXView interface that now returns references
8982 to member variables not pointers.
8984 2002-08-13 Angus Leeming <leeming@lyx.org>
8986 * WordLangTuple (word, lang_code): return references to strings,
8991 * lyxtext.h: forward-declare WordLangTuple.
8996 * text.C: #include "WordLangTuple.h".
8999 * text.C: (selectNextWordToSpellcheck): constify return type.
9001 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9007 * paragraph_pimpl.h:
9010 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9012 Made updateCounter always count from start of buffer, and removed
9013 second argument (par).
9014 Reverted floats number display to '#'. Perhaps I'll try again when the
9015 code base is sanitized a bit.
9017 2002-08-12 Angus Leeming <leeming@lyx.org>
9019 * buffer.[Ch] (getLabelList): constify.
9021 2002-08-07 André Pönitz <poenitz@gmx.net>
9023 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9025 * funcrequest.h: extension to keep mouse (x,y) position
9027 2002-08-12 Juergen Vigna <jug@sad.it>
9029 * BufferView2.C (insertErrors): forbid undo when inserting error
9032 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9034 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9036 * ParagraphList.[Ch]: new files
9038 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9040 * BufferView2.C (lockInset): ParagraphList changes
9043 * bufferlist.C: ditto
9047 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9049 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9050 unused class variable counter_,
9052 * paragraph.[Ch] (getFirstCounter): delete unused function
9054 * counters.C: include LAssert.h
9055 (reset): add a new function with no arg, change other version to
9056 not have def. arg and to not allow empty arg.
9058 * text2.C (setCounter): remove empty arg from call to Counters::reset
9060 2002-08-11 John Levon <levon@movementarian.org>
9062 * Makefile.am: add WordLangTuple.h
9064 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9066 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9067 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9069 * insets/insettext.C: InsetList changes
9071 * graphics/GraphicsSupport.C (operator()): InsetList changes
9073 * toc.C (getTocList): InsetList changes
9075 * paragraph_pimpl.[Ch]: InsetList changes
9077 * paragraph.[Ch]: InsetList changes
9079 * buffer.C (inset_iterator): InsetList changes
9080 (setParagraph): ditto
9081 * buffer.h (inset_iterator): ditto
9082 * iterators.C (operator++): ditto
9083 * iterators.h: ditto
9085 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9087 * InsetList.[Ch]: new files, most InsetList handling moved out of
9090 * BufferView2.C (removeAutoInsets): InsetList changes
9092 (ChangeInsets): ditto
9094 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9096 * paragraph_pimpl.h (empty): new function
9098 * paragraph.[Ch] (empty): new function
9100 * other files: use the new Paragraph::empty function
9102 2002-08-09 John Levon <levon@movementarian.org>
9104 * lyxtext.h: remove unused refresh_height
9106 2002-08-09 John Levon <levon@movementarian.org>
9113 * paragraph.C: move sgml char escaping out of paragraph
9116 * paragraph.C: remove id setter
9120 * paragraph_pimpl.C: remove dead tex_code_break_column
9122 * bufferview_funcs.C: small cleanup
9124 * lyxfunc.C: remove dead proto
9126 * lyxtext.h: make some stuff private. Remove some dead stuff.
9128 * lyxgluelength.C: make as[LyX]String() readable
9130 2002-08-08 John Levon <levon@movementarian.org>
9135 * ToolbarDefaults.C:
9138 * toc.C: lyxaction cleanup
9140 2002-08-08 John Levon <levon@movementarian.org>
9142 * BufferView2.C: small cleanup
9145 * lyxfind.C: move unnecessary header into the .C
9147 2002-08-08 John Levon <levon@movementarian.org>
9149 * funcrequest.h: just tedious nonsense
9152 * lyx_main.C: cleanups
9155 * vspace.C: remove dead header lyx_main.h
9157 2002-08-07 Angus Leeming <leeming@lyx.org>
9160 * paragraph_pimpl.h:
9161 Forward declare class Counters in paragraph.h by moving the ctrs member
9162 variable into Paragraph::Pimpl.
9163 (counters): new method, returning a reference to pimpl_->ctrs.
9165 * text2.C: ensuing changes.
9167 2002-08-07 John Levon <levon@movementarian.org>
9169 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9171 * BufferView_pimpl.C: announce X selection on double/triple
9174 * lyx_main.C: use correct bool in batch dispatch
9176 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9178 2002-08-07 André Pönitz <poenitz@gmx.net>
9180 * funcrequest.h: new class to wrap a kb_action and its argument
9183 * BufferView_pimpl[Ch]:
9187 * lyxrc.C: subsequent changes
9190 2002-08-07 John Levon <levon@movementarian.org>
9192 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9193 document options change.
9195 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9200 * makefile.am: move counters functionality over from
9201 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9203 2002-08-06 John Levon <levon@movementarian.org>
9205 * WordLangTuple.h: new file for word + language code tuple
9216 * BufferView2.C: use WordLangTuple
9219 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9221 2002-08-06 John Levon <levon@movementarian.org>
9223 * lyx_main.C: fix cmdline batch handling
9225 2002-08-06 André Pönitz <poenitz@gmx.net>
9227 * lyxrc.C: set default for show_banner to true
9229 2002-08-06 John Levon <levon@movementarian.org>
9231 * pspell.C: fix a crash, and allow new aspell to work
9233 2002-08-06 John Levon <levon@movementarian.org>
9236 * kbmap.C: small cleanup
9239 * vspace.C: add const
9241 2002-08-05 John Levon <levon@movementarian.org>
9243 * LyXAction.C: back to tabular-insert
9245 2002-08-04 John Levon <levon@movementarian.org>
9248 * BufferView.C: cosmetic change
9250 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9260 * BufferView2.C: purge all "Lyx" not "LyX" strings
9263 * lyxcursor.C: attempt to add some documentation
9268 * ToolbarDefaults.C:
9269 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9270 merge with LFUN_TABULAR_INSERT
9277 * pspell.C: split up i/pspell implementations into separate
9278 files, many cleanups
9280 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9282 * text2.C: some cleanup
9284 * lyxfunc.C: don't check for isp_command == "none" any more, it
9285 didn't make any sense
9287 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9292 * makefile.am: move counters functionality over
9293 from text2.C/paragraph.[Ch] to counters.[Ch], and
9295 2002-08-02 John Levon <levon@movementarian.org>
9297 * buffer.C: s/lyxconvert/lyx2lyx/
9299 2002-08-02 Angus Leeming <leeming@lyx.org>
9301 * lyxlex.C: revert John's change as it breaks reading of the user
9304 2002-08-02 Angus Leeming <leeming@lyx.org>
9306 * importer.C (Import):
9307 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9308 changes due to LyXView::view() now returning a boost::shared_ptr.
9310 2002-08-02 John Levon <levon@movementarian.org>
9312 * lyxlex.C: small cleanup
9314 2002-08-02 John Levon <levon@movementarian.org>
9316 * text2.C (status): small cleanup, no logic change
9318 2002-08-01 John Levon <levon@movementarian.org>
9321 * buffer.C (writeFile): don't output alerts, caller
9325 * lyx_cb.C: from above
9327 * lyxfunc.C: allow to open non-existent files
9329 2002-07-31 John Levon <levon@movementarian.org>
9331 * lyxserver.C: don't let incidental errors get
9334 2002-07-30 John Levon <levon@movementarian.org>
9336 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9338 2002-07-30 John Levon <levon@movementarian.org>
9341 * lyxserver.C: remove I/O callback too
9343 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9345 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9348 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9350 * many files: strip,frontStrip -> trim,ltrim,rtrim
9352 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9354 * PrinterParams.h: remove extern containsOnly, and include
9355 support/lstrings.h instead.
9357 * LaTeX.C (scanAuxFile): modify because of strip changes
9359 * buffer.C (makeLaTeXFile): ditto
9360 * bufferparams.C (writeFile): ditt
9361 * lyxfont.C (stateText): ditto
9362 * lyxserver.C (read_ready): ditto
9363 * vc-backend.C (scanMaster): ditto
9365 * BufferView_pimpl.h: ws changes
9367 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9369 2002-07-26 André Pönitz <poenitz@gmx.net>
9371 * kb_sequence.C: remove unnedred usings
9373 2002-07-26 Juergen Vigna <jug@sad.it>
9375 * lyxfind.C (LyXReplace): we have to check better if the returned
9376 text is not of theLockingInset()->getLockingInset().
9378 2002-07-25 Juergen Vigna <jug@sad.it>
9380 * lyxfind.C (LyXReplace): don't replace if we don't get the
9383 * undo_funcs.C (createUndo): remove debugging code.
9385 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9387 * buffer.C (parseSingleLyXformat2Token): Use default placement
9388 when reading old floats.
9390 * FloatList.C (FloatList): Change the default placement of figure
9391 and tables to "tbp".
9393 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9395 * MenuBackend.C: using std::max
9397 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9399 * MenuBackend.C (expandToc):
9400 (expandToc2): code moved from xforms menu frontend. It is now
9401 generic and TOCs are transparent to menu frontends.
9403 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9405 * toc.C (getTocList): protect against buf=0
9407 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9408 Menu as first parameter. Now, this calls itself recursively to
9409 expand a whole tree (this will be useful for TOC handling)
9410 (expandFloatInsert): remove 'wide' version of floats
9412 * MenuBackend.h (submenuname): returns the name of the submenu.
9413 (submenu): returns the submenu itself, provided it has been
9414 created by MenuBackend::expand
9416 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9418 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9419 insets which have noFontChange == true. (bug #172)
9421 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9423 * BufferView_pimpl.C: add connection objects and use them...
9426 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9428 * MenuBackend.C (expandLastfiles):
9431 (expandFloatListInsert):
9432 (expandFloatInsert):
9433 (expand): split expand in parts
9435 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9437 * lyx_gui.C: use lyx_gui::exit()
9439 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9441 * LyXAction.C: show the failing pseudo action
9443 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9445 * buffer.C (readFile): Run the lyxconvert script in order to read
9448 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9452 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9454 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9458 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9460 2002-07-22 Herbert Voss <voss@lyx.org>
9463 * lyxlength.[Ch]: add support for the vertical lengths
9465 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9467 * toc.[Ch]: std:: fixes
9469 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9471 * lyxrc.C: do not include lyx_main.h
9473 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9479 * BufferView2.C: include "lyxlex.h"
9482 * bufferparams.h: do not #include "lyxlex.h"
9484 * lyxtextclasslist.C (Add): remove method
9485 (classlist): renamed to classlist_
9487 * paragraph_pimpl.C:
9491 * bufferview_funcs.C:
9496 * toc.C (getTocList): use BufferParams::getLyXTextClass
9498 * toc.C (getTocList): use InsetFloat::addToToc
9500 * toc.[Ch]: new files, containing helper functions to handle table
9503 * lyxfunc.C (dispatch): no need to remove spaces around command
9505 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9506 first command of the sequence; it is not very clever, but I do not
9507 have a better idea, actually
9509 * LyXAction.C (LookupFunc): make sure to remove space at the
9510 beginning and end of the command
9512 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9514 * MenuBackend.C (getMenubar): new method: return the menubar of
9516 (read): treat differently reading of menu and menubar (in
9517 particular, the menubar has no name now)
9518 (Menu::menubar): remove
9520 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9523 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9525 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9526 a bibitem inset in a RTL paragraph.
9528 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9530 * paragraph_pimpl.C: constify
9532 * BufferView_pimpl.C:
9534 * lyxfunc.C: fix dispatch in a nicer way
9536 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9538 * lyxfunc.C (dispatch):
9539 * BufferView_pimpl.C:
9540 * BufferView_pimpl.h:
9542 * BufferView.h: rename Dispatch() to dispatch()
9544 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9546 * lyxlayout.C (Read): honor DependsOn tag
9548 * lyxlayout.[Ch] (depends_on): new method
9550 * version.C.in: update lyx_docversion
9552 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9554 * paragraph.C (validate): remove from here...
9555 * paragraph_pimpl.C (validate): ... and move here
9556 (isTextAt): make it const
9558 * buffer.C (getLists): ws cleanup
9560 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9562 * language.C (read): Use iso8859-1 encoding in latex_lang
9563 (this prevents LyX from crashing when using iso10646-1 encoding).
9565 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9567 * text2.C (toggleInset): if cursor is inside an inset, close the
9568 inset and leave cursor _after_ it
9570 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9572 * lyxfunc.C: move minibuffer completion handling out of here
9574 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9576 * BufferView_pimpl.C:
9577 * LaTeX.C: fix dispatch calls
9579 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9581 * text.C (drawChars): Fix Arabic text rendering.
9583 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9587 * lyxfunc.C: remove message-push/pop
9591 * lyxfunc.C: rationalise some code by removing verboseDispatch
9592 in favour of a bool argument to dispatch()
9594 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9596 * lyx_main.C (init): make sure to read symlinks as absolute paths
9598 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9601 * lyxfunc.C: no need for commandshortcut to be a member
9603 2002-07-15 André Pönitz <poenitz@gmx.net>
9605 * converter.C: add support for $$s (scripts from lib/scripts dir)
9606 * lyx_main.C: white space
9608 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9612 * lyxrc.C: remove second exit confirmation
9614 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9619 * BufferView_pimpl.h:
9620 * BufferView_pimpl.C:
9621 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9623 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9625 * MenuBackend.C (expand): add numeric shortcuts to document menu
9627 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9629 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9631 * lyxfont.C (setLyXFamily):
9638 * buffer.C (asciiParagraph): use ascii_lowercase
9640 2002-07-15 Mike Fabian <mfabian@suse.de>
9642 * lyxlex_pimpl.C (search_kw):
9643 * lyxlex.C (getLongString):
9644 * converter.h (operator<):
9645 * converter.C (operator<):
9646 * buffer.C (parseSingleLyXformat2Token):
9648 * ToolbarDefaults.C (read):
9649 * MenuBackend.C (checkShortcuts):
9651 * LColor.C (getFromGUIName):
9652 (getFromLyXName): use the compare_ascii_no_case instead of
9653 compare_no_case, because in turkish, 'i' is not the lowercase
9654 version of 'I', and thus turkish locale breaks parsing of tags.
9656 2002-07-16 Angus Leeming <leeming@lyx.org>
9658 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9659 now takes a Buffer const & argument.
9661 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9663 * BufferView.C (resize): check there's a buffer to resize
9665 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9667 * lyxfunc.C: remove dead code
9670 * lyxserver.C: use lyx_guii::set_read_callback
9672 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9674 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9675 an inset in a RTL paragraph.
9677 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9679 * lyxfunc.C: repaint after a font size update
9681 2002-07-15 André Pönitz <poenitz@gmx.net>
9683 * lyxlength.C: inBP should be able to return negative values
9685 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9687 * lyxfunc.C: use lyx_gui::update_fonts()
9689 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9691 * lyxfunc.C: use lyx_gui::update_color()
9693 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9699 * lyxrc.C: remove file->new asks for name option, and let
9700 buffer-new take an argument
9702 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9704 * BufferView_pimpl.C: remove unneeded extra repaint()
9706 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9708 * LyXAction.C: allow command-sequence with NoBuffer
9710 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9712 2002-07-10 Angus Leeming <leeming@lyx.org>
9714 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9716 2002-07-09 Angus Leeming <leeming@lyx.org>
9718 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9720 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9722 * lengthcommon.h: whitespace
9724 * lyxfunc.C: update scrollbar after goto paragraph
9726 * lyxtext.h: factor out page break drawing, and fix it so
9727 page break/added space paints as selected nicely
9729 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9731 * BufferView_pimpl.C: add FIXMEs, clean up a little
9733 2002-07-09 André Pönitz <poenitz@gmx.net>
9735 * lyxfont.[Ch]: support for wasy symbols
9737 2002-07-08 André Pönitz <poenitz@gmx.net>
9739 * BufferView_pimpl.C: apply John's patch for #93.
9741 2002-07-05 Angus Leeming <leeming@lyx.org>
9743 * BufferView_pimpl.C (buffer): generate previews if desired.
9745 * LColor.h: add "preview" to the color enum.
9747 * LColor.C (LColor): add a corresponding entry to the items array.
9749 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9752 2002-07-05 Angus Leeming <leeming@lyx.org>
9754 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9755 The body of the code is now in the method that is passed an ostream &
9756 rather than a file name.
9757 Pass an additional only_preamble parameter, useful for the forthcoming
9760 2002-07-03 André Pönitz <poenitz@gmx.net>
9762 * lyxfunc.C: simplify getStatus() a bit for math stuff
9764 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9766 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9768 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9770 * text.C (changeRegionCase): do not change case of all the
9771 document when region ends at paragraph end (bug #461)
9773 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9775 * paragraph.C (startTeXParParams):
9776 (endTeXParParams): add \protect when necessary
9778 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9780 * BufferView_pimpl.C (workAreaExpose): remove warning
9782 2002-06-27 Angus Leeming <leeming@lyx.org>
9784 * Makefile.am: add lyxlayout_ptr_fwd.h.
9786 2002-06-26 André Pönitz <poenitz@gmx.net>
9788 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9790 2002-06-25 Angus Leeming <leeming@lyx.org>
9792 * lyxfunc.C (dispatch): Comment out the call to
9793 grfx::GCache::changeDisplay. The method no longer exists now that the
9794 pixmap generation part of the graphics loader has been moved into
9797 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9799 * text2.C: layout as layout
9801 * text.C: layout as layout
9803 * tabular.C (OldFormatRead): layout as layout
9805 * paragraph_pimpl.C (TeXDeeper): layout as layout
9806 (realizeFont): layout as layout
9808 * paragraph.C (writeFile): layout as layout
9809 (validate): layout as layout
9810 (getFont): layout as layout
9811 (getLabelFont): layout as layout
9812 (getLayoutFont): layout as layout
9813 (breakParagraph): layout as layout
9814 (stripLeadingSpaces): layout as layout
9815 (getEndLabel): layout as layout
9816 (getMaxDepthAfter): layout as layout
9817 (applyLayout): layout as layout
9818 (TeXOnePar): layout as layout
9819 (simpleTeXOnePar): layout as layout
9820 (TeXEnvironment): layout as layout
9821 (layout): layout as layout
9822 (layout): layout as layout
9824 * lyxtextclass.C (compare_name): new functor to work with
9825 shared_ptr, layout as layout
9826 (Read): layout as layout
9827 (hasLayout): layout as layout
9828 (operator): layout as layout
9829 (delete_layout): layout as layout
9830 (defaultLayout): layout as layout
9832 * lyxlayout_ptr_fwd.h: new file
9834 * lyxlayout.C (Read): layout as layout
9836 * lyx_cb.C (MenuInsertLabel): layout as layout
9838 * bufferlist.C (newFile): layout as layout
9840 * buffer.C (readLyXformat2): layout as layout
9841 (parseSingleLyXformat2Token): layout as layout
9842 (insertStringAsLines): layout as layout
9843 (asciiParagraph): layout as layout
9844 (latexParagraphs): layout as layout
9845 (makeLinuxDocFile): layout as layout
9846 (simpleLinuxDocOnePar): layout as layout
9847 (makeDocBookFile): layout as layout
9848 (simpleDocBookOnePar): layout as layout
9849 (getLists): layout as layout
9851 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9853 * CutAndPaste.C (cutSelection): layout as layout
9854 (pasteSelection): layout as layout
9855 (SwitchLayoutsBetweenClasses): layout as layout
9857 * BufferView_pimpl.C (Dispatch): layout as layout
9858 (smartQuote): layout as layout
9860 * BufferView2.C (unlockInset): layout as layout
9862 2002-06-24 André Pönitz <poenitz@gmx.net>
9864 * lyxfunc.C: fix #487
9866 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9870 * lyxfunc.C: remove display_shortcuts, show_banner
9872 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9874 * Buffer_pimpl.C: oops, update on resize
9876 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9883 * BufferView.C: use repaint()
9885 * BufferView_pimpl.h:
9886 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9887 as it's a clearer description. Remove superfluous
9890 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9892 * text.C: fix bug 488. Not ideal, but getting
9893 getWord() to work properly for the insets that
9894 matter is more difficult ...
9896 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9898 * BufferView_pimpl.C:
9901 * lyxfunc.C: remove the six million index lyxfuncs to just
9902 one, and DTRT (bug 458)
9904 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9908 * BufferView_pimpl.h:
9909 * BufferView_pimpl.C: clean up resize() stuff,
9910 and unnecessary updateScreen()s
9912 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9916 * BufferView_pimpl.h:
9917 * BufferView_pimpl.C:
9920 * minibuffer.C: remove focus management of workarea,
9921 not needed. Use screen's greyOut()
9923 2002-06-17 Herbert Voss <voss@lyx.org>
9925 * converter.C: (convert) do not post a message, when converting
9926 fails, let the calling function decide what to do in this case
9928 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9930 * lyxfunc.C: tidy up a little
9932 2002-06-16 <alstrup@diku.dk>
9934 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9935 Got rid of FORMS_H_LOCATION include. Now we are
9938 2002-06-15 LyX Development team <lyx@rilke>
9940 * buffer.[Ch] (sgmlOpenTag):
9941 (sgmlCloseTag): Added support for avoiding pernicious mixed
9942 content. Return number of lines written.
9945 (makeDocBookFile): Fixed calls to sgml*Tag.
9946 Simple white space clean.
9948 (simpleDocBookOnePar): Simple white space clean.
9950 * tabular.[Ch] (docBook): Renamed to docbook and got another
9951 argument to related with the pernicious mixed content.
9953 (docbookRow): Fixed calls for docbook inset method.
9955 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9957 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9958 so it's X11 independent.
9962 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9964 2002-06-15 Lyx Development team <lyx@electronia>
9966 * intl.h: Renamed getTrans to getTransManager.
9968 2002-06-14 Angus Leeming <leeming@lyx.org>
9970 * Makefile.am: nuke forgotten stl_string_fwd.h.
9972 2002-06-12 Angus Leeming <leeming@lyx.org>
9974 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9976 2002-06-13 Angus Leeming <leeming@lyx.org>
9979 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9981 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9983 * kbmap.C (getiso): add support for cyrillic and greek
9985 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9989 * BufferView_pimpl.h:
9990 * BufferView_pimpl.C: move bogus scrolling logic
9993 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9996 * BufferView_pimpl.C: view->resize() change
9998 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10000 * BufferView_pimpl.C: topCursorVisible
10003 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10007 * lyx_gui.C: move to frontends/
10011 * lyx_main.C: changes from above
10013 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10020 * lyx_main.C: minor tidy
10022 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10024 * BufferView_pimpl.h:
10025 * BufferView_pimpl.C:
10027 * BufferView.C: make painter() const,
10030 * BufferView2.C: use screen() accessor
10033 * lyx_main.C: some minor cleanup
10035 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10037 * BufferView_pimpl.h:
10038 * BufferView_pimpl.C: remove enter/leaveView,
10041 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10046 * BufferView_pimpl.h:
10047 * BufferView_pimpl.C: only construct screen once,
10050 * lyxrc.C: remove pointless comment
10052 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10055 * BufferView.C: remove active() and belowMouse()
10057 * BufferView_pimpl.h:
10058 * BufferView_pimpl.C: use workarea() not workarea_,
10059 and make it use a scoped_ptr instead
10061 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10063 * lyx_gui.C: add debug message on BadWindow
10065 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10067 * sp_spell.C: fdopen is not part of the C++ standard.
10069 * paragraph.C (InsetIterator): use >= instead of ==
10071 2002-06-07 Angus Leeming <leeming@lyx.org>
10073 Fixes needed to compile with Compaq cxx 6.5.
10074 * BufferView_pimpl.C:
10081 * lyxtextclasslist.C:
10086 all c-library variables have been moved into namespace std. Wrap
10087 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10092 Add a using std::abs declaration.
10094 * kbmap.h (modifier_pair):
10095 * paragraph.h (InsetTable, InsetList):
10096 * lyxfont.h (FontBits):
10097 type definition made public.
10099 * bufferlist.C (emergencyWriteAll): the compiler complains that
10100 there is more than one possible lyx::class_fun template to choose from.
10101 I re-named the void specialisation as lyx::void_class_fun.
10103 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10105 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10106 the compiler is is unable to find tostr in write_attribute.
10108 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10110 * buffer.C (sgmlError): hide #warning
10112 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10114 * xtl/*: get rid of xtl, which is not in use anyway
10116 * LyXAction.C (init):
10117 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10118 were unimplemented xtl experimentation
10120 2002-06-04 André Pönitz <poenitz@gmx.net>
10122 * lyxfunc.C: disable array operation on simple formulae
10124 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10126 * converter.C: constify a bit
10128 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10130 * lyx_gui.C: check xforms version correctly
10132 2002-04-30 Herbert Voss <voss@lyx.org>
10134 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10137 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10139 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10140 attempt to register it with a VCS)
10142 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10144 * lyx_main.C (init): honor variables LYX_DIR_13x and
10147 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10151 * lyx_main.C: fix a crash on bad command line,
10152 and give a useful exit status on error
10154 * lyxfunc.C (doImport): allow -i lyx to work
10156 2002-03-30 André Pönitz <poenitz@gmx.net>
10158 * lyxfunc.C: mathed font changes
10160 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10175 * trans_mgr.h: srcdocs, and some minor cleanups
10177 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10179 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10180 call getFont all the time)
10182 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10184 * switch from SigC signals to boost::signals
10186 2002-05-29 André Pönitz <poenitz@gmx.net>
10188 * paragraph_pimpl.C (getChar): don't call size() too often...
10190 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10192 * paragraph_pimpl.C (insertChar): do not try to update tables when
10193 appending (pos == size())
10195 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10196 in order to reduce drastically the number of comparisons needed to
10197 parse a large document
10199 2002-05-29 André Pönitz <poenitz@gmx.net>
10205 * textclasslist.[Ch]:
10206 * sp_ispell.h: whitespace change
10208 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10210 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10211 lyxaction directly now.
10213 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10217 * lyxvc.C: remove unused headers
10219 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10226 * undo_funcs.C: some cleanups. Use shared_ptr
10227 and a template for the undo stacks.
10229 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10231 * BufferView_pimpl.h:
10232 * BufferView_pimpl.C:
10239 * text2.C: use key_state/mouse_state
10241 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10243 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10246 * chset.C: change include order
10247 (loadFile): use boost regex and get rid of LRegex and LSubstring
10249 * Makefile.am (BOOST_LIBS): new variable
10250 (lyx_LDADD): use it
10252 * LaTeX.C: change include order.
10253 (scanAuxFile): use boost regex and get rid of LRegex and
10257 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10262 * FontInfo.C: moved to frontends/xforms/
10265 * FontLoader.C: moved into frontends for GUIIzation
10270 * lyxfunc.C: changes from above
10272 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10274 * LColor.C: remove spurious X include
10276 * BufferView_pimpl.C:
10281 * text2.C: move font metrics to frontends/
10283 2002-05-24 Juergen Vigna <jug@sad.it>
10285 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10286 setting the undo_cursor.
10288 * ParagraphParameters.h: include local includes first.
10290 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10292 * BufferView_pimpl.C:
10293 * BufferView_pimpl.h:
10297 * screen.C: move WorkArea into frontends/
10303 * BufferView2.C: move LyXScreen into frontends/
10307 * lyx_gui.C: move lyxlookup into frontends/xforms/
10309 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10312 * BufferView_pimpl.C:
10322 * bufferview_funcs.C:
10335 * vc-backend.C: move LyX/XFormsView into frontends/
10337 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10349 * text2.C: move Painter to frontends/
10351 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10353 * buffer.C: comment out some some code that depend upon lyx_format
10356 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10357 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10359 * buffer.h (NO_COMPABILITY): turn off compability
10361 * ColorHandler.C: include scoped_array.hpp
10363 * font.C: Use more specific smart_ptr header.
10366 * ShareContainer.h: ditto
10367 * lyx_main.h: ditto
10369 * FontInfo.h: ditto
10370 * BufferView_pimpl.h: ditto
10371 * ColorHandler.h: ditto
10373 * kbmap.C (defkey): change call to shared_ptr::reset
10375 2002-05-21 Juergen Vigna <jug@sad.it>
10377 * buffer.C (insertErtContents): fix to insert ert asis if it is
10378 non empty. Skip it completely if it contains only whitespaces.
10380 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10382 * BufferView_pimpl.C:
10383 * BufferView2.C: clear selection on paste (bug 393)
10385 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10387 * DepTable.C: include ctime
10389 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10391 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10393 2002-05-14 Juergen Vigna <jug@sad.it>
10395 * text.C (breakParagraph): fixed function to honor the keepempty
10396 layout in the right maner and also to permit the right breaking
10397 algorithm on empty or non empyt keepempty paragraphs.
10399 * paragraph.C (breakParagraph): we have to check also if the par
10400 is really empty (!size()) for isempty otherwise we do the wrong
10403 2002-05-10 Juergen Vigna <jug@sad.it>
10405 * buffer.[Ch] : The following are only changes to the ert
10406 compatibility read reading old LaTeX layout and font stuff and
10407 convert it to ERTInsets.
10409 * buffer.h: added isErtInset().
10411 * buffer.C (struct ErtComp): add a fromlayout bool to check
10412 if we're inside a LaTeX layout.
10413 (isErtInset): new helper function.
10414 (insertErtContents): look for other ert insets before this one
10415 and insert the contents there, so that we don't have subsequent
10416 ERT insets with nothing between them. This way we create only one
10417 inset with multiple paragraphs. Also check if we don't insert only
10418 spaces ' ' as they are ignored anyway afterwards in the .tex file
10419 so if we have only spaces we will ignore this latex part in the
10421 (parseSingleLyXformat2Token \\layout): better compatibility when
10422 reading layout-latex stuff.
10423 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10425 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10426 stuff after reading the inset only get the information back from
10429 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10431 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10433 * LaTeXFeatures.C (getBabelOptions): New method.
10435 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10437 * BufferView_pimpl.C (Dispatch): work around missing argument for
10440 2002-05-08 Juergen Vigna <jug@sad.it>
10442 * text.C (leftMargin): handle paragraph leftindent.
10444 * paragraph.C (writeFile): write the new \\leftindent tag.
10445 (validate): handle leftindent code.
10446 (TeXEnvironment): handle paragraphleftindent code again.
10448 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10450 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10451 for paragrap_extra indent code and new token \\leftindent.
10452 (latexParagraphs): handle the leftindent as environment.
10454 * ParameterStruct.h: added leftindent support.
10456 * ParagraphParameters.C (leftIndent): added support functions for
10457 the paragraph left indent.
10459 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10462 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10464 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10467 * text.C (computeBidiTables): No bidi in insetERT.
10469 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10472 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10474 * version.C.in: pre 5
10476 2002-05-02 José Matos <jamatos@fep.up.pt>
10477 * buffer.C (makeDocBookFile): white space changes, add newline to
10479 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10481 * tabular.C (docBook): fix typo.
10483 2002-05-03 Juergen Vigna <jug@sad.it>
10485 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10486 change in LyXText as we can not be sure it was not freed.
10487 (drawOneRow): remove unused code.
10489 * text.C (drawInset): redo the calculation of the need_break_row as
10490 it could have a row which was already freed.
10491 (draw): look at the return value of drawInset and return false if
10492 it also returned false.
10493 (paintRowText): look at the return value of draw and return false if
10494 it also returned false.
10496 * lyxtext.h: added bool return type to drawInset() and draw() so that
10497 if we have a change in the row so that the rowbreak has to be redone
10498 we abort drawing as it will be called again.
10500 2002-05-02 Juergen Vigna <jug@sad.it>
10502 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10503 a change in the maintext also if we're inside an inset.
10504 (Dispatch): set the cursor again after a break line and after the
10505 screen has been updated as it could be we're in a different row.
10507 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10508 to set the cursor behind the pargraph with > size().
10509 (setCursor): check also for the same paragraph when checking where
10510 to put the cursor if we have a NFR inset.
10512 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10513 parts of layout read further up as it still was in the wrong
10516 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10518 * screen.C (drawFromTo): change sine fullRebreak always return
10521 * buffer.C (parseSingleLyXformat2Token): reindent some
10523 * BufferView_pimpl.C (update): change since fullRebreak always
10525 (Dispatch): git rid of the last hardcoded "Standard"s.
10527 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10529 * text2.[Ch] (fullRebreak): make it return void now that we always
10532 2002-04-30 Juergen Vigna <jug@sad.it>
10534 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10535 ert compatibility check for "latex" layout.
10537 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10539 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10540 minipages: use col% instead of p%, and also use the current font.
10541 (makeLaTeXFile): Fix use babel condition.
10542 (parseSingleLyXformat2Token): Correct font when reading old floats.
10544 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10546 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10547 inserting list of floats.
10549 2002-04-25 Herbert Voss <voss@lyx.org>
10551 * MenuBackend.C (expand): don't add the graphics extensions to the
10554 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10556 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10557 non-existing layout, do not complain if it was the default layout
10558 of the original class (bug #342)
10560 2002-04-24 Juergen Vigna <jug@sad.it>
10562 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10563 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10565 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10567 * buffer.C (getBibkeyList): If using \bibliography, return the
10568 option field with the reference itself. Enables us to provide natbib
10569 support when using \bibliography.
10571 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10573 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10575 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10576 natbib is provided by the LaTeX class.
10578 2002-04-23 Juergen Vigna <jug@sad.it>
10580 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10583 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10585 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10587 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10589 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10590 ensuremath around textordmasculine, textordfeminine and
10593 2002-04-19 Juergen Vigna <jug@sad.it>
10595 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10596 reinitializing the buffer otherwise row-dimensions may be wrong.
10597 (update): reset also the selection cursors if they do exits otherwise
10598 their x/y positions may be wrong.
10600 * text2.C (cursorDown): don't enter the inset if we came from a row
10601 above and are one row over the inset.
10603 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10604 really leaving an inset.
10606 2002-04-18 Juergen Vigna <jug@sad.it>
10608 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10609 of the selected paragraph does not have the selected layout also if
10612 * text2.C (setLayout): fixed bug which did not change last selected
10615 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10616 changed the read and substituted \\end_float with \\end_inset!
10618 * BufferView_pimpl.C (cursorPrevious):
10619 (cursorNext): fixed to make it work with rows heigher than the work
10620 area without moving the cursor only the draw of the row.
10621 (workAreaMotionNotify): fix jumping over high rows.
10623 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10625 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10628 2002-04-16 Juergen Vigna <jug@sad.it>
10630 * text2.C (setCursor): set also the irow().
10631 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10633 (cursorDown): support for locking an inset if the x_fix value goes
10634 inside it. That way I can transverse insets too with cursor up/down.
10636 * lyxrow.h: added irow helper function same as other (i) functions.
10638 * BufferView_pimpl.C (cursorPrevious):
10639 (cursorNext): fixed for insets!
10641 2002-04-15 Juergen Vigna <jug@sad.it>
10643 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10644 position otherwise it is wrong in some cases.
10646 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10647 inside the inset before the call.
10649 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10651 * buffer.[Ch] (getBibkeyList): make it const.
10653 2002-04-12 Juergen Vigna <jug@sad.it>
10655 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10657 * text2.C (getCursorX): new helper function
10658 (setCursor): compute also ix_
10659 (setCursorFromCoordinates): set also ix.
10661 * lyxcursor.h: added ix_ and helper functions.
10663 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10665 * buffer.C (insertStringAsLines): dont break paragraph if the this
10666 paragraph is inside an inset which does not permit it!
10668 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10669 also with no chars on this paragraph.
10670 (paintRowText): only paint stuff if it's inside the workarea!
10672 * paragraph.C (breakParagraph): honor keepempty flag and break the
10673 paragraph always below not above.
10675 * BufferView2.C (unlockInset): update the paragraph layout on inset
10676 unlock as we changed paragraph in such a case.
10678 * lyxfind.C (LyXFind): clear the former selection if not found!
10680 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10681 again called in insertChar().
10683 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10684 an inset which uses the whole row!
10685 (rightMargin): ditto.
10686 (insertChar): force a rebreak if we inserted an inset!
10688 2002-03-28 Herbert Voss <voss@lyx.org>
10690 * lyxlength.[Ch]: add inBP() to get the right PS-point
10691 units (BigPoint). With inPixels we have rounding errors
10693 2002-04-11 Juergen Vigna <jug@sad.it>
10695 * text2.C (setCursorFromCoordinates): set iy to the right value.
10696 (setCursor): add check if row->previous exists!
10698 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10699 an old float_type as this was the case in the old code!
10701 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10703 * BufferView2.C (showLockedInsetCursor): use iy
10704 (fitLockedInsetCursor): ditto
10706 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10707 locked insets as there we have the right value now.
10709 * lyxcursor.C: added iy_ variable and iy functions to set to the
10710 baseline of cursor-y of the locked inset.
10712 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10713 (setCursor): fixed for insets which need a full row.
10715 * text.C (rowLastPrintable): don't ignore the last space when before
10716 an inset which needs a full row.
10717 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10718 as last character of a row when before a inset which needs a full row.
10720 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10722 * version.C.in: update date
10724 * text2.C (fullRebreak): try to always return true and see what
10727 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10729 * MenuBackend.C (expand): use Floating::listName
10731 * FloatList.C (FloatList): add listName argument to the built-in
10734 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10735 text associated with the float.
10737 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10739 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10741 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10743 * ShareContainer.h: add a couple of missing typenames.
10745 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10747 * lyxrc.C (getDescription): use _() correctly rather than N_().
10749 2002-03-28 Herbert Voss <voss@lyx.org>
10751 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10752 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10754 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10756 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10757 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10759 2002-03-29 Juergen Vigna <jug@sad.it>
10761 * lyxfunc.C (dispatch): add a missing fitCursor call.
10763 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10764 it was scrolled by a cursor move, so return the bool status.
10766 * BufferView.C (fitCursor): return the bool flag also to the outside
10767 world as this is needed.
10769 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10771 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10772 call the edit() as it is not needed (and wrong) IMO.
10773 (workAreaButtonPress): set the screen_first variable before evt.
10774 unlock the inset as this may change screen_first and then we have
10775 a wrong y position for the click!
10777 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10779 * MenuBackend.C (expand): another translation that I missed
10781 2002-03-28 Juergen Vigna <jug@sad.it>
10783 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10785 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10787 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10789 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10791 * MenuBackend.C (expand): fix export/view/update when there is no
10794 2002-03-27 Herbert Voss <voss@lyx.org>
10796 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10799 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10801 * bufferview_funcs.C (currentState): only show paragraph number
10802 for is DEVEL_VERSION is set.
10804 * lyxfunc.C (dispatch): put warning in INFO channel
10806 * MenuBackend.C (expand): translate the name of floats
10808 * FloatList.C (FloatList): mark the float names for translation
10810 * converter.C (convert): use LibScriptSearch
10812 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10814 * MenuBackend.C (defaults): fix default menu (we might as well get
10817 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10819 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10822 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10824 * lyxvc.C: reorder includes.
10826 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10828 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10831 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10833 * CutAndPaste.C: change layouts earlier on paste
10834 to avoid crashing when calling getFont()
10836 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10838 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10841 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10843 * WorkArea.C: remove 'Pending' debug message.
10845 * most files: ws cleanup
10847 * buffer.[Ch]: ws changes
10849 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10851 2002-03-21 Juergen Vigna <jug@sad.it>
10853 * tabular.C (SetMultiColumn): collapse also the contents of the
10854 cells and set the last border right. Added a Buffer const * param.
10856 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10858 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10861 2002-03-19 Juergen Vigna <jug@sad.it>
10863 * text2.C (clearSelection): reset also xsel_cache.
10865 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10866 where it needs to be called (John tells us to do so too :)
10867 (selectionLost): reset sel_cache.
10869 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10871 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10873 * text2.C (setCursorIntern): put debuging code in INSETS channel
10875 2002-03-19 André Pönitz <poenitz@gmx.net>
10877 * lyxfunc.C: tiny whitespace change
10879 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10881 * ToolbarDefaults.C (init):
10882 * LyXAction.C (init):
10884 * BufferView_pimpl.C (Dispatch):
10885 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10887 2002-03-19 Allan Rae <rae@lyx.org>
10889 * exporter.C (Export): removeAutoInsets before doing anything else.
10890 While I've just introduced a dependency on BufferView this really is
10891 the best place to clean the buffer otherwise you need to cleanup in
10892 a dozen places before calling export or cleanup in a dozen functions
10895 * converter.C (runLaTeX):
10896 (scanLog): Better handling of removeAutoInsets and screen updates.
10898 * lyxfunc.C (dispatch): small whitespace changes
10900 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10902 * WorkArea.C (C_WorkAreaEvent): return a value.
10903 (event_cb): return 1 if we handled the event, 0 otherwise.
10905 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10907 2002-03-18 Juergen Vigna <jug@sad.it>
10909 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10910 (GetAdditionalWidth): ditto.
10911 (RightLine): ditto.
10914 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10915 inset if we're there actually (probably not used right now but this
10916 is the direction to go for unifying code).
10917 (paste): disable code to clear the selection.
10919 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10920 inside an InsetText and move the check further up as it is in the
10923 * text2.C (pasteSelection): set a selection over the pasted text.
10925 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10927 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10928 and libgraphics to build on Cygwin.
10930 2002-03-15 Juergen Vigna <jug@sad.it>
10932 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10933 inserting an Inset into the paragraph. I know this is not the best
10934 fix but we already use current_view in CutAndPaste so we will remove
10935 all of it's using at the same time.
10937 * buffer.C (sgmlError): deactivated function till it is rewritten in
10938 the right mode, now it can create problems.
10940 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10941 before accessing it.
10943 2002-03-14 Juergen Vigna <jug@sad.it>
10945 * undo_funcs.C (textHandleUndo): do the right thing when updating
10946 the inset after the undo/redo.
10948 * text2.C (setCursor): just some testcode for #44 not ready yet.
10950 * undo_funcs.C (textHandleUndo): set the next() and previous()
10951 pointers of the paragraph to 0 before deleting otherwise we have
10952 problems with the Paragraph::[destructor].
10954 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10955 on a paragraph insertion.
10957 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10959 * buffer.C (asciiParagraph): use += operator for char append to
10962 * paragraph.C (getFontSettings): compare >= not just >
10963 (highestFontInRange): ditto
10966 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10968 * paragraph.C: change several algorithm to be more appripriate for
10969 the problem domain. This is lookip in FontList and in the InsetList.
10971 2002-03-13 André Pönitz <poenitz@gmx.net>
10974 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10976 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10981 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10983 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10985 * Painter.C (display): anon helper function, adjust code for this
10987 (pixmap): remove function.
10989 * Painter.h: remove private display variable.
10991 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10993 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10995 * WorkArea.[Ch]: remove figinset_canvas cruft.
10997 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10999 * lyxtextclass.C (operator): add one item cache optimization.
11001 * bufferlist.h: doxy changes
11003 * bufferlist.C: ws changes
11005 * DepTable.[Ch] (ext_exist): place const in the right spot.
11007 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11009 (workAreaExpose): call resizeInsets when the with BufferView changes.
11010 (Dispatch): adjust for protectedBlank removal
11011 (specialChar): call updateInset if the insert went ok.
11013 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11014 specialChar instead.
11016 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11018 * BufferView.h: doxy change
11020 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11022 * lyxtextclass.C (operator[]): remove non-const version
11023 (defaultLayout): remove non-const version
11025 2002-03-12 Juergen Vigna <jug@sad.it>
11027 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11028 did resize the LyXText too.
11030 * buffer.C (readLyXformat2): set layout information on newly allocated
11033 * tabular.C (OldFormatRead): set layout information on the paragraph.
11035 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11037 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11039 2002-03-11 Juergen Vigna <jug@sad.it>
11041 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11043 (resizeCurrentBuffer): force also the insets to resize themselfes.
11044 (moveCursorUpdate): fixed up for InsetText.
11046 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11049 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11050 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11051 value of Dialogs::tooltipsEnabled().
11052 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11054 2002-03-08 Juergen Vigna <jug@sad.it>
11056 * BufferView_pimpl.C (updateInset): update inset inside inset also
11057 if it isn't inside theLockingInset().
11059 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11061 * buffer.C (asciiParagraph): redo some of the word and line length
11063 (getLists): look for Caption instead of caption.
11065 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11067 * buffer.C (Buffer): initialize niceFile to true
11069 (makeLinuxDocFile):
11070 (makeDocBookFile): make sure niceFile is true on exit
11072 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11074 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11076 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11078 * LyXSendto.C: remove.
11079 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11080 * lyx_gui.C: remove now-redundant comment.
11081 * ColorHandler.h: remove forward declaration of class WorkArea.
11082 * lyxfunc.C: remove #include "WorkArea.h".
11084 2002-03-07 Juergen Vigna <jug@sad.it>
11086 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11087 got moved away with the DEPM and also set the inset_owner always
11088 right which before could have been omitted.
11090 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11092 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11093 wanted layout is not found.
11095 2002-03-07 Juergen Vigna <jug@sad.it>
11097 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11099 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11101 * paragraph.C (breakParagraph): use default layout not layout of
11103 (Paragraph): clear ParagraphParameters.
11105 2002-03-06 Juergen Vigna <jug@sad.it>
11107 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11108 otherwise it would not be a valid lenght. Fixed a special case in
11109 the minipage compatibility read where we end the document with a
11112 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11113 was set as it could be 0 for InsetTexts first entry.
11115 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11117 * paragraph.C (writeFile): if layout is empty write out
11118 defaultLayoutName().
11120 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11121 file without named layout we set layout to defaultLayoutName().
11123 2002-03-06 Juergen Vigna <jug@sad.it>
11125 * CutAndPaste.C (copySelection): set layout for new paragraph.
11127 * text.C (prepareToPrint): leave ERT inset left aligned
11128 (leftMargin): don't indent paragraphs inside ERT insets
11130 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11132 * paragraph.C (breakParagraph): dont call clear do the work manually
11134 * paragraph.[Ch] (clear): remove function
11136 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11138 * paragraph.C (Paragraph): dont call clear, the work has already
11141 * lyxtextclass.C (operator): assert if n is empty
11143 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11144 work manually instead.
11146 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11148 * BufferView_pimpl.C: protect selectionLost against text == 0
11150 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11152 * text.C (breakParagraph): fix a setting layout to '0' problem.
11154 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11156 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11157 final location of file, for the included files, and graphics.
11159 2002-03-05 Juergen Vigna <jug@sad.it>
11161 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11163 2002-03-04 Juergen Vigna <jug@sad.it>
11165 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11167 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11168 last column of multicolumn cells.
11169 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11171 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11173 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11174 file if it doesn't go to a temporary file.
11176 * buffer.C (sgmlOpenTag):
11177 (sgmlCloseTag): remove extra newline insertion.
11179 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11181 * text.C (getRowNearY): comment out debug msg
11183 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11185 * text2.C: first -> first_y
11187 * text.C (getRowNearY): add some attemts at a possible
11188 optimization, not working.
11190 * tabular.[Ch]: add BufferParams to several function so that newly
11191 created paragraph can be initialized to he default layotu for the
11194 * tabular-old.C (ReadOld): add buf->params to call of Init
11196 * screen.C: rename text->first to text->first_y
11198 * paragraph.C (breakParagraph): always set layout in the broken
11201 * lyxtextclass.C (Read): remove lowercase
11204 (delete_layout): ditto
11206 * lyxtext.h: rename first -> first_y
11208 * lyxlayout.C (Read): remove lowercase
11211 (obsoleted_by): ditto
11213 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11215 * buffer.C (insertErtContents): add params are to InsetERT
11216 (parseSingleLyXformat2Token): add code to check if a paragraphs
11217 layout really exist.
11218 (parseSingleLyXformat2Token): add params to several inset
11220 (asciiParagraph): remove lowercase, do the layout comparisons with
11223 * BufferView_pimpl.C (cursorNext): first -> first_y
11224 (resizeCurrentBuffer): first -> first_y
11225 (updateScrollbar): first -> first_y
11226 (scrollCB): first -> first_y
11227 (workAreaMotionNotify): first -> first_y
11228 (workAreaButtonPress): first -> first_y
11229 (checkInsetHit): first -> first_y
11230 (cursorPrevious): first -> first_y
11231 (cursorNext): first -> first_y
11232 (Dispatch): add buffer_->params to severl inset contructors
11234 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11236 * lyxlayout.C (Read): remove some debug info that I forgot.
11238 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11239 clean up the code slightly.
11240 (makeLinuxDocFile): ditto
11241 (makeDocBookFile): ditto
11243 * text2.C: layout as string
11245 * text.C: layout as string
11247 * paragraph_pimpl.C: layout as string
11249 * paragraph.[Ch]: layout as string
11251 * lyxtextclasslist.[Ch]: layout as string
11253 * lyxtextclass.[Ch]: layout as string
11255 * lyxtext.h: layout as string
11257 * lyxlayout.[Ch]: layout as string
11259 * lyx_cb.C: layout as string
11261 * bufferview_funcs.C: layout as string
11263 * bufferparams.C: layout as string
11265 * buffer.C: layout as string
11267 * LyXView.[Ch]: layout as string
11269 * LaTeXFeatures.[Ch]: layout as string
11271 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11273 * BufferView_pimpl.C: change current_layout to string, remove
11278 (workAreaButtonRelease): layout as string
11280 * BufferView2.C (unlockInset): adjust
11282 * vspace.C (asLatexCommand): use an explict temp variable.
11284 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11286 * Makefile.am: use FRONTEND_*
11288 2002-03-01 Juergen Vigna <jug@sad.it>
11290 * tabular.C (SetWidthOfMulticolCell): changed to something better
11291 I hope but still work in progress.
11292 (recalculateMulticolumnsOfColumn): renamed function from
11293 recalculateMulticolCells as it is more appropriate now.
11294 (SetWidthOfCell): calculate multicols better.
11296 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11298 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11300 * lyxfunc.C (processKeySym): print sequence also if it is
11301 `deleted' (complete)
11303 * kbsequence.C (print): print sequence even if it is deleted
11304 (complete would be a better word, actually).
11306 * lyxfunc.C (dispatch): print complete options after a prefix key
11308 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11310 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11312 * text2.C (setCharFont): eliminate setCharFont code duplication.
11314 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11316 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11317 LFUN_TABULAR_FEATURE (bug #177)
11319 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11321 * Makefile.am: remove figure.h
11323 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11325 * Bufferview_pimpl.C:
11337 * text2.C: remove #include "lyx_gui_misc.h".
11339 * LaTeX.C: added #include <cstdio>
11341 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11343 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11344 that the paragraph following this one can have.
11346 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11348 * vspace.C (asLatexCommand): fix bogus gcc warning
11350 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11352 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11354 * text2.C (setLayout): get rid of redundant code
11356 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11358 * text2.C (incDepth): make sure depth cannot be increased beyond
11361 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11363 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11364 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11366 * PainterBase.h (image):
11367 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11368 a LyXImage const *.
11370 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11374 * BufferView_pimpl.C:
11375 * BufferView_pimpl.h:
11395 * sp_spell.C: remove fig inset, and the crap house of
11396 cards that follows it
11398 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11403 * os2_errortable.h:
11404 * nt_defines.h: move .h into support/
11406 * vms_defines.h: remove
11408 * WorkArea.C: add space in debug output
11412 * buffer.C: add WITH_WARNINGS
11416 * bufferlist.C: s/retrive/retrieve/, add docs
11425 * chset.C: add docs
11427 * lyxgui.C: add ID to X error handler
11429 * lyxtestclass.c: fix typo
11431 2002-02-26 Juergen Vigna <jug@sad.it>
11433 * tabular_funcs.C (write_attribute): changed so that some default
11434 attributes are not written at all.
11435 (getTokenValue): set default values before trying to read the
11436 value so we have the return value always set as default if we don't
11437 find the token we search for.
11439 * tabular.C (Write): write bools as bools not as strings!
11441 2002-02-22 Juergen Vigna <jug@sad.it>
11443 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11444 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11446 * text.C (leftMargin): don't add an indent for paragraphs inside
11447 tabular cells (fix #208).
11449 2002-02-21 José Matos <jamatos@fep.up.pt>
11451 * tabular.C (docBook): fixed support for long tables.
11453 2002-02-20 Juergen Vigna <jug@sad.it>
11455 * text2.C (getFont): get the drawing font of the Inset if this
11456 paragraph is inside an inset (only important for InsetERT for now).
11458 * buffer.C (insertErtContents): use new lanugage params in ERT
11461 * CutAndPaste.C: commenting out seemingly uneeded code.
11463 2002-02-19 Allan Rae <rae@lyx.org>
11465 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11466 Iterators might be simple to use but they also get invalidated.
11467 (removeAutoInsets): renamed saved cursor tracking variables and added
11468 some comments to clarify what everything does.
11470 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11477 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11478 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11481 * vc-backend.h: remove #include "support/syscall.h"
11485 * converter.C: rearrange #includes in Lars' approved fashion.
11487 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11488 forward declare class Timeout in the header file.
11490 * XFormsView.C: changes due to the above.
11492 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11493 similar to LyXView.
11495 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11496 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11498 2002-02-18 José Matos <jamatos@fep.up.pt>
11500 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11503 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11505 * a lot of small ws changes
11506 * add a lot of using std::XXX
11507 * use std construcs some places where approp.
11508 * use some exisint stuff from lyxfunctional where approp.
11509 * Make file changes to use partial linking (lets test this now...)
11511 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11515 remove #include "support/syscontr.h" as it's redundant. Always has been.
11523 change Systemcalls::System to Systemcalls::Wait and
11524 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11525 No change of functionality, just reflects the stripped down Systemcalls
11528 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11530 * debug.[Ch]: add a GRAPHICS type to the enum.
11532 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11534 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11536 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11539 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11541 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11542 match the changes below.
11544 * text2.C (toggleInset): if there is not editable inset at cursor
11545 position, try to see if cursor is _inside_ a collapsable inset
11548 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11550 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11551 document menu has a nice checkbox
11553 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11555 * lyxlength.C (asLatexString): change PW to output as percent of
11558 * lengthcommon.C: change '%' to 't%'
11560 * lyxfunc.C (dispatch): a few comments from Martin
11562 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11566 * BufferView_pimpl.h:
11567 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11570 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11572 * vspace.C (inPixels): fix compiler warning
11574 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11576 * lyxfunc.C (getStatus): fix status message for disabled commands.
11578 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11580 * BufferView_pimpl.C: fix crash on close buffer
11581 during selection (#227)
11583 2002-01-27 Herbert Voss <voss@lyx.org>
11585 * buffer.C: link old Figure to new graphic inset
11587 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11589 * FontLoader.C (getFontinfo): Change the latex font names in order
11590 to match the names of type1inst.
11592 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11594 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11596 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11597 (extchanged): ditto
11599 (remove_files_with_extension): ditto
11600 (remove_file): ditto
11603 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11604 document is smaller than the work area height. Do not initialize
11605 static variables to 0.
11607 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11609 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11611 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11612 LFUN_LAYOUT_PARAGRAPHS.
11614 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11615 tabular. It is possible to provide a possible cell, which will
11616 typically be the actcell from the corresponding insettabular
11618 * lyxfunc.C (getStatus): small cleanup; disable
11619 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11622 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11624 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11626 * paragraph.C (startTeXParParams):
11627 (endTeXParParams): new methods. The LaTeX code to
11628 start/end paragraph formatting
11629 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11630 empty (fixes bug #200)
11632 * vspace.C (inPixels): adapt to the change below
11633 (inPixels): [later] more cleanups (remove unused variables)
11635 * lyxlength.C (inPixels): change to use a width and a height as
11638 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11640 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11641 Replaced with \paperwidth
11643 * DepTable.C (insert): add std:: qualifier
11645 2002-01-18 Allan Rae <rae@lyx.org>
11647 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11650 * text.C (drawInset): Turned out I didn't know enough about how
11651 rebreaking worked. This fixes most of the redraw problems. I see
11652 an occasional cursor trail when a line is broken now and the cursor
11653 placement can seem out by a few pixels also after a rebreak.
11655 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11657 * buffer.C (parseSingleLyXformat2Token): update because minipage
11658 width is now a LyXLength
11660 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11662 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11665 2002-01-17 Juergen Vigna <jug@sad.it>
11667 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11669 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11670 is set correctly and the inset is updated correctly.
11672 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11674 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11675 the beginning of the loop.
11677 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11679 * lyxrc.C: improve help for use_scalable_fonts
11681 2002-01-17 Allan Rae <rae@lyx.org>
11683 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11685 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11687 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11688 make sure to set their inset_owner to the right value (bug #171)
11690 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11693 * DepTable.C: Implement mtime checking to reduce time spent doing
11696 2002-01-16 Juergen Vigna <jug@sad.it>
11698 * tabular.C (GetAdditionalHeight): one of error fixed.
11700 * lyxrc.C (output): small fix in writing use_pspell.
11702 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11704 * sp_base.h: #include LString.h
11706 2002-01-16 Allan Rae <rae@lyx.org>
11708 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11709 Can someone check this please?
11711 * text.C (drawInset): It was possible that p.row would be removed by
11712 breakAgainOneRow upsetting a few other settings. There may be another
11713 small tweak possible by setting need_break_row = 0 when p.row has been
11714 removed but I don't know enough about the logic here.
11716 2002-01-15 Allan Rae <rae@lyx.org>
11718 * text.C (insertChar): removed conditional truism.
11720 * BufferView2.C (removeAutoInsets): More tweaks.
11721 cur_par_prev could be a stray pointer. Check for trailing empty line
11722 in case last line was cur_par and only had an error inset on it.
11724 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11726 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11729 * vc-backend.C (most methods):
11730 * exporter.C (Export):
11731 * converter.C (convert):
11733 * LyXSendto.C (SendtoApplyCB):
11734 * lyxfunc.C (dispatch):
11738 * lyx_cb.C (AutoSave):
11740 * BufferView_pimpl.C (MenuInsertLyXFile):
11741 * buffer.C (runChktex): use Buffer::filePath().
11743 * buffer.h: rename filename to filename_; rename filepath to
11744 filepath_ and make it private
11745 (filePath): new method
11747 * buffer.C (writeFile): use fileName()
11750 * lyx_main.C (init): fix starting of LyX when the binary is a
11751 link from so,ewhere else.
11753 * minibuffer.C: include <cctype> for isprint
11755 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11757 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11758 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11759 name clash with InsetCollapsable's width function.
11761 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11763 * lastfiles.C: include <iterator>
11765 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11767 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11770 * buffer.C (makeLaTeXFile): ditto.
11771 Also make loop operation more transparent.
11773 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11775 * ToolbarDefaults.C: remove trailing comma closing namespace.
11777 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11779 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11782 * trans.C (Load): comment out unused variable, allowed.
11784 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11786 * minibuffer.[Ch] (append_char): new method to recieve input from the
11787 drop-down completion browser. If a key was pressed, then recieve this
11788 char and append it to the existing string.
11789 (peek_event): modify the positioning data passed to the completion
11790 browser so that it can be placed above the minibuffer rather than below.
11791 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11793 * LyXAction.C (init): alloe error-next for readonly documents.
11795 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11798 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11800 * bufferlist.C (readFile): create the buffer _after_ checking that
11803 * lyxfunc.C (verboseDispatch): fix handling of arguments
11805 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11807 * lyxrc.C: use string::erase() instead of initializing to "".
11810 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11812 * BufferView_pimpl.h:
11813 * BufferView_pimpl.C:
11816 * text2.C: tell X when we have made a selection for copying
11818 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11820 * BufferView_pimpl.C (MenuInsertLyXFile):
11821 * lyxfunc.C (menuNew):
11823 (doImport): add shortcuts to directory buttons
11825 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11828 * lyxfunc.C (setStatusMessage):
11829 (getStatusMessage): new methods
11830 (getStatus):use setStatusMessage instead of setErrorMessage
11831 (dispatch): when function is disabled, set error message here
11832 [instead of in getStatus previously]
11834 * BufferView_pimpl.C (workAreaButtonRelease): update
11835 toolbar/menubar here too.
11837 2002-01-13 Allan Rae <rae@lyx.org>
11839 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11840 Now seems indestructible. Remaining task is to audit all other
11841 code affected by deleteEmptyParagraphMechanism. One small quirk
11842 left is that an empty document with an error in the preamble can
11843 be made to report an error but no error box appears. I don't know
11845 (removeAutoInsets): Improved comments.
11847 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11850 * Thesaurus.C: update for Aiksaurus 0.14
11852 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11854 * text2.C (firstParagraph): removed member function, all uses
11855 replaces with ownerParagraph
11856 (redoParagraphs): here
11857 (updateInset): here
11858 (toggleAppendix): here
11859 * BufferView2.C (insertErrors): here
11860 (setCursorFromRow): here
11862 2002-01-13 Allan Rae <rae@lyx.org>
11864 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11865 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11866 There is still a way to segfault this although you may have to do this
11867 multiple times: Have an InsetERT with an unknown command in it.
11868 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11869 <down-arrow>, <Enter> again, View->DVI, BANG!
11871 * text2.C (setCursor):
11872 (deleteEmptyParagraphMechanism):
11873 * lyxtext.h (setCursor):
11874 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11875 Making use of the return value may help fix other bugs.
11877 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11879 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11881 * LyXView.C (updateMenubar): call MenuBar::update here
11882 (updateToolbar): but not here
11883 (showState): do not update toolbar/menubar
11885 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11886 should need to care about that.
11888 * lyxfunc.C (verboseDispatch): simplify a bit
11889 (getStatus): have a version which takes a pseudoaction, and
11890 another which requires a (kb_action,string).
11892 * LyXAction.C (retrieveActionArg): make it work also when action
11893 is not a pseudo-action.
11894 (getActionName): simplify a bit
11897 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11899 * lyxfunc.C (verboseDispatch): new families of methods with
11900 several ways to specify a command and a bool to indicate whether
11901 the command name and shortcut should be displayed in minibuffer
11902 (eventually, we could extend that to a finer bitmask like
11903 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11904 (dispatch): the pristine dispatch command which just, well,
11905 dispatchs! Note it still sets its result to minibuffer; I'm not
11908 * lyxfunc.h: remove setHintMessage
11910 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11912 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11914 * BufferView_pimpl.C (specialChar): delete new inset if we have
11915 not been able to insert it.
11917 * kbmap.C: revert to using int instead of kb_action, since all we
11918 are dealing with is pseudo-actions.
11920 * LyXAction.C (searchActionArg): change to return int instead of
11921 kb_action, since the result is a pseudoaction.
11923 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11925 * buffer.C (insertErtContents): Fix (partially) the font bug.
11927 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11929 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11930 as the other one is broken on my machine!
11932 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11935 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11937 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11939 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11940 reflect their actual use. Provide compatibility code for older lyxrc
11943 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11945 change names of popup font variables in line with the changes to lyxrc.C
11947 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11949 * buffer.C (asciiParagraph): avoid outputing a word twice after
11952 * lyxrc.C (getDescription): document that document_path and
11953 template_path can be empty.
11955 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11957 * LaTeXFeatures.C (getMacros):
11958 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11960 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11962 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11964 (getPackages): rename feature "floats" to "float". Use an array to
11965 iterate over 'simple' features (i.e. just a \usepackage). Add
11966 handling of "amsmath" (renamed from "amsstyle").
11968 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11970 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11973 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11975 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11976 FuncStaus::FuncStatus & FuncStaus::some_method().
11978 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11980 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11981 of the func_satus stuff. Edited and massaged in various ways by
11984 * lyxfunc.C (getStatus): use FuncStatus
11986 2002-01-08 Juergen Vigna <jug@sad.it>
11988 * text.C (nextBreakPoint): use function Inset::isChar().
11990 * paragraph.C (TeXOnePar): use function
11991 Inset::forceDefaultParagraphs.
11993 * buffer.C (latexParagraphs): use function
11994 Inset::forceDefaultParagraphs.
11996 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11998 * lyx_gui.C (init): set the style of the menu popups to
11999 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12001 2002-01-07 Juergen Vigna <jug@sad.it>
12003 * text.C (setHeightOfRow): small fix
12004 (prepareToPrint): don't look at alignment if we don't have the place
12007 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12009 * box.C: New file. Move the Box methods and functions out of box.h,
12010 following Lars' suggestion.
12012 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12014 * box.h: #include "support/LOstream.h", needed for inlined function.
12017 * lyxtextclasslist.C: added some using std declarations.
12019 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12021 * box.h: make signed dimensions to allow insets wider than
12022 the screen (bug #162)
12024 * BufferView_pimpl.C: add some insetHit debug
12026 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12028 * vc-backend.C: add FIXME
12030 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12032 * lyxfunc.C (getStatus): enable code for showing math font status
12035 2002-01-07 Juergen Vigna <jug@sad.it>
12037 * text.C (nextBreakPoint): removed debug output not needed anymore.
12039 2002-01-06 Juergen Vigna <jug@sad.it>
12041 * text.C (nextBreakPoint): fixed up this function we had this bug
12042 since ever but now hopefully we break row better.
12043 (insertChar): we have to check if an inset is the next char as it
12044 could now happen that a large inset is causing a break.
12046 2002-01-05 Juergen Vigna <jug@sad.it>
12048 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12049 if it doesn't like to be drawed.
12051 2002-01-04 Juergen Vigna <jug@sad.it>
12053 * BufferView2.C (lockInset): forgot to set a cursor.
12055 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12057 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12059 * FormMathsPanel.C:
12062 * form_maths_panel.C:
12063 * form_maths_panel.h:
12064 * form_maths_panel.fd: implemented sub- and super- buttons in math
12067 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12068 (or ^ space) to be used as in TeX (req'd by André).
12070 * lyxfunc.C: Allow ^ and _ again to be used both as
12071 super/subscript (mathed) and as themselves (in text).
12073 2002-01-03 Allan Rae <rae@lyx.org>
12075 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12076 "LyX" or the filename of the current buffer if it has one. This is a
12077 modified form of John Levon's patch.
12079 * XFormsView.C (setWindowTitle): also set icon title.
12081 * LyXView.h (setWindowTitle): signature changed.
12082 * XFormsView.h (setWindowTitle): ditto.
12084 2002-01-02 Juergen Vigna <jug@sad.it>
12086 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12088 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12090 * screen.C (topCursorVisible): introduce a temp var for
12091 text->cursor.row(), handle the case where this row is null. (kindo
12094 * text2.C (setCursor): add a couple of asserts.
12096 * paragraph.h (inset_iterator): add -> operator
12098 * paragraph.[Ch] (autoDeleteInsets): remove member function
12100 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12101 cursor pos correctly and handle inset deletion by itself.
12102 (insertErrors): move iterator declaration out of for expression
12104 * lyxtextclass.C: add <algorithm>
12106 * Makefile.am: added the new files to sources, removed layout.C
12108 * layout.C: removed file
12110 * layout.h: remove LYX_DUMMY_LAYOUT
12112 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12116 * lyxtextclass.[Ch]:
12117 * lyxtextclasslist.[Ch]: new files
12119 * include order changes to a lot of files, also changes because of
12122 2001-12-27 Juergen Vigna <jug@sad.it>
12124 * buffer.C (asciiParagraph): more fixes.
12126 * tabular.C (ascii): make ascii export support export of only the
12127 data separated by a column-delimiter.
12128 (ascii): better support for ascii export.
12130 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12132 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12134 * tabular_funcs.C: use a "using std::getline" instead of the
12135 previous fix from Angus (necessary for cxx + lyxstring)
12137 2001-12-24 Juergen Vigna <jug@sad.it>
12139 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12141 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12142 problems. First check a minipage also if we have some ert-contents
12143 (not only on par->size(), second set the right depth of the paragraph
12144 on the relink to the root-paragraph-list!
12146 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12147 which then did not anymore update the main paragraphs on undo/redo!
12149 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12151 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12152 code. Support all font-changing funcs (even those which are not in
12153 menu currently). Support for reporting font settings in
12154 mathed (disabled until Andre provides a function on mathed's side).
12156 * func_status.h (toggle): small helper function to set toggle
12159 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12161 * tabular_funcs.C: getline -> std::getline
12163 2001-12-21 Juergen Vigna <jug@sad.it>
12165 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12166 accessed and could be 0 (I couldn't generate this but it seems
12169 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12171 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12172 * tabular_funcs.h: here and include iosfwd
12174 2001-12-20 Juergen Vigna <jug@sad.it>
12176 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12177 inside inset but undo_par was.
12179 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12181 * Thesaurus.C: always include <config.h> in sources.
12185 * box.h: do not include <config.h> in header files
12187 * text.C (paintLastRow): remove unused variable
12189 * text.C (transformChar):
12191 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12193 * Painter.C (text):
12194 * font.C (width): rewrite to use uppercase() instead of
12197 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12199 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12201 * lyxfind.C: clean up of find failure position change
12203 2001-12-20 Juergen Vigna <jug@sad.it>
12205 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12207 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12208 (TeXRow): added to LaTeX a single tabular row.
12209 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12210 (Latex): simplified and finally good LT-h/f support.
12211 (various_functions): just small adaptions for LT-h/f support.
12213 * tabular_funcs.[hC]: added and moved here all not classfunctions
12216 2001-12-19 Juergen Vigna <jug@sad.it>
12218 * tabular.[Ch]: better support for longtabular options (not finished
12221 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12223 * text.C (paintLastRow): use the label font instead of the font of
12224 the last character to compute the size of *_BOX. This makes more
12225 sense and avoids a crash with empty paragraphs.
12226 Use Painter::rectangle to draw EMPTY_BOX.
12228 2001-12-19 Juergen Vigna <jug@sad.it>
12230 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12231 the paragraphs if the replaced paragraph is not the first one!
12232 Tried to delete not used paragraphs but does not work yet so for
12233 now it's inside #ifdef's and by default off!
12235 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12237 * MenuBackend.C: include "lyx_main.h" instead of declaring
12238 lastfiles (actually was declared as LastFiles* instead of a
12241 2001-12-17 Juergen Vigna <jug@sad.it>
12243 * tabular.C (AppendColumn): applied John's fix
12245 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12249 * BufferView_pimpl.h:
12250 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12253 * box.h: new start of class for above
12255 * lyxfunc.C: ignore space-only minibuffer dispatches.
12256 Show the command name when it doesn't exist
12258 * minibuffer.C: don't add empty lines to the history
12260 * minibuffer.C: add a space on dropdown completion
12262 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12264 * text.C: fix line above/below drawing in insets
12266 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12268 * lyxlength.C (LyXLength): Initialize private variables.
12270 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12272 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12273 when inserting error insets.
12275 2001-12-13 Juergen Vigna <jug@sad.it>
12277 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12278 actually sometimes the before-paragraph.
12279 (setUndo): don't clear the redostack if we're not actually undoing!
12281 2001-12-06 Juergen Vigna <jug@sad.it>
12283 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12284 and fixed redoing of main paragraph, so we can use it now ;)
12286 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12288 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12290 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12293 2001-12-13 André Pönitz <poenitz@gmx.net>
12296 * undo_func.C: minor cleanup
12298 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12300 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12301 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12302 font in urw-fonts package which is marked as -urw-fontspecific and
12303 does not work (incidentally, changing the encoding in the
12304 fonts.dir of this package to -adobe-fontspecific fixes the
12307 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12308 is a crash when undoing first paragraph (Juergen, please take a
12309 look). THis does not mean the undo fix is wrong, just that it
12312 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12313 the (Paragraph*) version when needed instead of duplicating the
12316 * text.C (workWidth): use Inset::parOwner to find out where the
12317 inset has been inserted. This is a huge performance gain for large
12318 documents with lots of insets. If Inset::parOwner is not set, fall
12319 back on the brute force method
12321 * paragraph_pimpl.C (insertInset):
12322 * paragraph.C (Paragraph):
12323 (cutIntoMinibuffer): set parOwner of insets when
12324 inserting/removing them
12326 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12328 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12334 * mathed/formulabase.C:
12335 * mathed/math_cursor.[Ch]:
12336 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12339 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12341 * lyxlength.[Ch] (operator!=): new function
12343 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12345 * text.C (workWidth): use Inset::parOwner to find out where the
12346 inset has been inserted. This is a huge performance gain for large
12347 documents with lots of insets. If Inset::parOwner is not set, fall
12348 back on the brute force method
12350 * paragraph_pimpl.C (insertInset):
12351 * paragraph.C (Paragraph):
12352 (cutIntoMinibuffer): set parOwner of insets when
12353 inserting/removing them
12355 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12357 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12359 * tabular-old.C (getTokenValue):
12360 * tabular.C (getTokenValue):
12361 (write_attribute): new versions for LyXLength
12362 (everywhere): adjust the use of widths
12364 * tabular.h: change the type of widths from string to LyXLength
12366 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12368 * paragraph.C: fixed missing line number count when exporting
12369 Environments to LaTeX file
12371 * buffer.C: added informational message for checking line numbers.
12373 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12375 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12376 paragraph, do the 'double space' part, but not the 'empty
12379 * text.C (workWidth): small optimization
12380 (getLengthMarkerHeight): use minimal size for negative lengths.
12382 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12384 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12386 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12388 2001-12-11 André Pönitz <poenitz@gmx.net>
12391 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12393 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12395 * text2.C: keep selection on a setFont()
12397 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12399 * lyx_cb.C: another bv->text misuse, from insert label
12401 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12404 * kbsequence.C: re-instate nmodifier mask
12406 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12408 * lyx_main.h: make lyxGUI private.
12410 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12412 * lyxfind.C: place the cursor correctly on failed search
12414 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12416 * text.C (getLengthMarkerHeight): for small heights, the arrows
12417 are not always on top/bottom of the text
12418 (drawLengthMarker): smaller arrows; take the left margin in
12419 account; draw also vfills.
12421 (paintLastRow): remove special code for vfill and standard spaces,
12422 since everything is handled in drawLengthMarker now.
12424 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12426 * buffer.C (insertErtContents): try to handle font and language
12427 interaction a bit better.g
12429 * ColorHandler.C (updateColor): change the hash to cover the whole
12430 LColor enum, ws cleanup
12431 (getGCLinepars): ditto
12432 (getGCLinepars): only lookup in the linecache once.
12434 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12436 * iterators.C (operator++): Make the iterator more robust
12438 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12440 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12442 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12445 * text.C: better added space drawing
12447 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12450 * BufferView2.C: fix layout combo update on inset unlock
12452 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12454 * Makefile.am: don't compile unused files
12456 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12460 * LyXAction.C: remove old LFUN_LAYOUTNO
12462 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12464 * paragraph_pimpl.h:
12465 * paragraph_pimpl.C: isTextAt() doesn't need font param
12467 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12470 * lyxlex.C: little cleanup
12472 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12474 * BufferView_pimpl.C: fix insertAscii for insets
12476 2001-12-05 Juergen Vigna <jug@sad.it>
12478 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12479 set the right font on the "multi" paragraph paste!
12481 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12487 * lyxlength.C: remove out-commented code.
12489 * BufferView_pimpl:
12503 * vc-backend.C: change "while(" to "while ("
12505 * lyxlength.[Ch]: add zero function to check if length is zero or
12507 * lyxgluelength.C: use it
12509 2001-12-05 Allan Rae <rae@lyx.org>
12511 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12512 Works for 2.95.3, from what I understand of Garst's reports this should
12513 work for other g++ versions. We're screwed if the abs(int) definition
12514 changed between bugfix releases of gcc.
12516 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12518 * text.C: fix chapter label offset !
12520 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12523 * text.C: fix hfill at end of line, clean up
12525 2001-12-04 Juergen Vigna <jug@sad.it>
12527 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12528 that we force an update of the inset and it's owners if neccessary.
12530 2001-12-03 Juergen Vigna <jug@sad.it>
12532 * text.C (rowLast): simplified code
12534 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12536 * lyxfunc.C: fix show options on timeout
12538 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12540 * screen.C (topCursorVisible): scroll half a page when the cursor
12541 reached top of bottom of screen
12543 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12545 * minibuffer.C: deactivate on loss of focus
12547 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12549 * vspace.[Ch] (operator!=): add operator.
12551 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12553 * BufferView_pimpl.C: refuse to open an inset when
12554 there's a selection.
12556 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12558 * BufferView_pimpl.C: allow to click on RHS of full row insets
12560 2001-11-30 Juergen Vigna <jug@sad.it>
12562 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12563 insets for undo reasons.
12565 2001-11-28 André Pönitz <poenitz@gmx.net>
12567 * vspace.[Ch]: cosmetical changes
12569 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12579 * kbsequence.C: part re-write of old kb code
12582 * WorkArea.C: remove Lgb_bug_find_hack
12584 2001-11-30 José Matos <jamatos@fep.up.pt>
12586 * buffer.C (makeDocBookFile): add a comment to point a hack.
12587 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12588 Fixed a double write of labels.
12590 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12593 * LaTeX.h Fixed bug in LaTeX class where it would not
12594 re-run latex if no depfiles were changed, but the .dvi was removed.
12596 2001-11-28 André Pönitz <poenitz@gmx.net>
12598 * all the files from the change on 2001/11/26:
12599 use lyx::layout_type instead of LyXTextClass::size_type
12600 use lyx::textclass_type instead of LyXTextClassList::size_type
12602 2001-11-29 Juergen Vigna <jug@sad.it>
12604 * text.C: added support for paragraph::isFreeSpacing()
12606 * buffer.C: same as above
12608 * paragraph.h: inserted isFreeSpacing() function to enable
12609 FreeSpacing inside InsetERT.
12611 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12612 of the paragraph's in the cut/copy buffer to 0!
12614 * text2.C (removeRow): remove the assert as it can!
12616 * lyxtext.h: added helper function firstRow returning firstrow and
12617 made firstrow private again.
12619 * BufferView2.C (lockInset): don't relock if we're already locked!
12621 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12622 the only paragraph.
12623 (removeRow): added Assert::(firstrow)
12625 * debug.C: forgot to add INSETTEXT here.
12627 2001-11-28 Juergen Vigna <jug@sad.it>
12629 * sp_spell.C (initialize): changed error text to more general
12630 spellchecker command use (not only ispell!)
12632 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12634 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12636 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12638 * vspace.C: initialise lyxgluelength on failure
12640 2001-11-28 Allan Rae <rae@lyx.org>
12642 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12643 declaration & definition that looks like a function declaration.
12645 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12647 * BufferView2.C (copy):
12648 (copyEnvironment): do not clear the selection when doing a copy.
12650 * text.C (paintFirstRow): compilation fix
12652 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12654 * tabular.C (Latex): correct line count when writing latex.
12656 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12658 * paragraph_pimpl.h:
12659 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12662 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12666 * LColor.C: change vfillline->added_space
12668 * text.C: add markers and text for added space
12670 * vspace.C: fix comment
12672 2001-11-28 André Pönitz <poenitz@gmx.net>
12674 * paragraph.C: whitespace changes
12675 * all the other files from the change on 2001/11/26:
12676 change *::pos_type into lyx::pos_type
12678 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12680 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12681 language of the document when inserting error insets.
12683 2001-11-26 André Pönitz <poenitz@gmx.net>
12685 * BufferView_pimpl.[Ch]:
12693 * paragraph_pimpl.[Ch]:
12696 * text2.C: reduce header dependencies, introduce type for positions
12698 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12700 * <various>: change to use Alert.h
12702 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12704 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12705 when encountering an unknown token.
12706 (readLyXformat2): Show an error message if there were unknown tokens.
12708 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12711 * BufferView_pimpl.C:
12715 * text2.C: use par->isInset()
12717 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12719 * paragraph_pimpl.h:
12720 * paragraph_pimpl.C: cleanup
12722 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12724 * text2.C (removeRow):
12725 * text.C (setHeightOfRow): remove useless (and costly) call to
12728 2001-11-20 Allan Rae <rae@lyx.org>
12730 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12731 Now need Inset*::checkInsertChar() to return true for appropriate
12732 cases so that the characters in the minibuffer will actually be
12735 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * text.C: change the order of the includes.
12738 (workWidth): initialize it at once.
12739 (workWidth): make maxw unsigned
12740 (setHeightOfRow): remove unused variable (inset)
12741 (selectSelectedWord): remove unused variable (inset)
12742 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12744 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12746 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12747 server is not running.
12749 (closeConnection): add debug info when server is disabled.
12751 * ColorHandler.C (getGCForeground): send debug message to GUI
12754 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12756 * kbmap.C (bind): modify because return conventions of
12757 kb_sequence::parse have changed.
12759 * kbsequence.C (parse): only ignore spaces and not any stupid
12760 control character. This avoids tests like s[i] <= ' ', which are
12761 guaranteed to fail with 8bit characters and signed chars.
12762 Change return code to string::npos when there have been no error
12763 (0 was a bad idea when error is at first character)
12765 2001-11-14 José Matos <jamatos@fep.up.pt>
12768 * buffer.C (simpleDocBookOnePar): removed unused argument.
12770 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12772 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12773 insets which are part of a word. Paragraph::isLetter takes care of
12774 that now. Use Paragraph::isInset to identify insets.
12775 (selectSelectedWord): do not test for hyphenation break.
12777 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12778 that protected spaces are considered as spaces.
12780 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12783 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12786 * lyxserver.C: fix it. and small cleanup.
12788 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12790 * BufferView_pimpl.C: use inline helpers
12793 * LaTeXFeatures.C: fix typos
12796 * Spacing.C: move spacing_string into class
12798 * ToolbarDefaults.C: move stuff into namespace anon
12800 * layout.h: update enum
12802 * lyxfunc.C: use better debug
12804 * minibuffer.h: fix typo
12808 * WorkArea.C: add and use Debug::WORKAREA
12812 * text2.C: code re-organisation, inline helpers
12814 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12816 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12817 std::vector.empty().
12819 2001-11-09 Allan Rae <rae@lyx.org>
12821 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12822 '\n's after tables. Tabular and ERT inset work now makes this no
12825 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12828 * minibuffer.C: fix crash, improve drop-down completion
12830 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12833 * lyxserver.C: invalidate fd's when doing endPipe()
12835 2001-11-08 José Matos <jamatos@fep.up.pt>
12837 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12838 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12841 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12843 2001-11-07 José Matos <jamatos@fep.up.pt>
12846 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12849 * buffer.C (sgmlOpenTag):
12850 * buffer.C (sgmlCloseTag): removed debug info.
12852 * buffer.h (sgmlOpenTag):
12853 * buffer.h (sgmlCloseTag): made public.
12855 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12857 * buffer.C (saveParamsAsDefaults):
12858 * lyx_cb.C (MenuLayoutSave): remove
12860 * LyXAction.C (init):
12862 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12864 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12866 * buffer.C (setPaperStuff): removed from here...
12868 * bufferparams.C (setPaperStuff): ... and moved there.
12870 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12874 * XFormsView.C: add support for drop-down completion
12876 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12878 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12881 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12883 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12886 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12888 * lyx_main.C: change ref to known bugs
12890 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12892 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12893 to work around older babel problems.
12895 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12897 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12899 2001-10-24 Juergen Vigna <jug@sad.it>
12901 * tabular-old.C (ReadOld): below variable changes reflected.
12903 * tabular.[Ch]: added ltType struct for longtable header/footer
12904 defines and changed all instances where they are used. Added
12905 future support for double top/bottom rows.
12907 2001-10-24 José Matos <jamatos@fep.up.pt>
12909 * buffer.h (docbookHandleCaption):
12910 * buffer.C (docbookHandleCaption): removed unused function.
12911 (makeDocBookFile): moved docbook supported version to v4.1.
12913 2001-10-24 José Matos <jamatos@fep.up.pt>
12916 * tabular.C (docbookRow): new function to export docbook code of a row.
12917 (DocBook): now honors the longtable flags.
12919 2001-10-23 José Matos <jamatos@fep.up.pt>
12922 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12923 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12925 * buffer.C (makeLinuxDocFile):
12926 (makeDocBookFile): reworked the preamble, more clean, and with
12927 support for lyx defined entities. Changed the document declaration
12928 to be more XML friendly.
12930 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12931 if we need to output XML that should be done with a filter.
12933 2001-10-22 Juergen Vigna <jug@sad.it>
12935 * sp_pspell.h (class PSpell): add alive function needed in the
12936 controller to see if the spellchecker could be started.
12938 2001-10-22 Juergen Vigna <jug@sad.it>
12940 * buffer.C (insertStringAsLines): modify the font for inserting
12941 chars in certain conditions by calling checkInsertChar(font).
12943 2001-10-19 Juergen Vigna <jug@sad.it>
12945 * text.C (workWidth): use getRow instead of wrong algorithm.
12946 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12948 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12953 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12955 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12957 * text.C (workWidth): do not search for the exact row when
12958 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12959 optimization for big documents.
12961 2001-10-18 Juergen Vigna <jug@sad.it>
12963 * text.C (workWidth): new function with added Inset * parameter.
12965 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12967 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12969 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12970 change return type of getColumnNearX.
12973 * text.C (changeRegionCase): use uppercase/lowercase instead of
12976 (rightMargin): simplify code by factoring out the uses of
12981 (appendParagraph): use Paragraph::size_type
12983 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12985 * vspace.C (asLatexString): add a missing break
12987 2001-10-15 Herbert Voss <voss@perce.de>
12989 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12991 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12993 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12996 2001-10-10 André Pönitz <poenitz@gmx.net>
12998 * lyxfunc.C: removed greek_kb_flag.
13000 2001-10-10 Herbert Voss <voss@perce.de>
13002 * lyx_main.C: delete global string help_lyxdir.
13004 2001-10-09 Herbert Voss <voss@perce.de>
13006 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13008 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13010 * lyx_main.C: added global string help_lyxdir.
13012 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13014 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13016 * lyxrc.C (set_font_norm_type): support iso8859-4
13018 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13020 * LaTeX.C (deplog): add another regex for MikTeX
13022 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13024 * lyxrc.C (set_font_norm_type): support iso8859-3
13026 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13028 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13030 * LaTeXFeatures.C: remove special case of french and index
13032 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13033 before \begin{document}). This solves several incompatibilities.
13035 2001-10-03 Garst Reese <reese@isn.net>
13037 * lyx_cb.C: change CheckTex error msg.
13039 2001-10-03 José Matos <jamatos@fep.up.pt>
13041 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13043 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13045 * .cvsignore: update
13047 * lyx_main.C (commandLineVersionInfo): use new style version info.
13049 * buffer.C (writeFile):
13051 (makeLinuxDocFile):
13052 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13054 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13056 * version.h: update to use stuff in version.C
13058 * version.C.in: new file. Contains version information determined
13059 at compile time. This is a merging of version.h and
13062 2001-10-03 Juergen Vigna <jug@sad.it>
13064 * BufferView_pimpl.C (update): don't change "dirty" status in
13067 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13069 * WorkArea.C (c-tor): re-position version string slightly.
13071 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13073 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13074 revert to previous code.
13076 WorkArea.[Ch]: (show, destroySplash): methods removed.
13078 WorkArea.C: rework code so that it's an amalgam of the codes before and
13079 after the splash screen was moved to WorkArea.
13081 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13084 * vspace.C (inPixels):
13087 * buffer.C (insertStringAsLines):
13088 (asciiParagraph): fix types to be large enough
13090 * lyxlex_pimpl.h: change member status from short to int
13092 * layout.h: fix type of endlabeltype
13095 * kbsequence.C (parse): change return type to string::size_type
13097 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13100 * Bullet.C (bulletSize):
13101 (bulletEntry): do not use short ints as parameters
13103 * BufferView2.C (insertLyXFile): change a char to an int.
13105 * WorkArea.C (WorkArea): remove unneeded floats in computation
13107 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13109 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13111 * paragraph.C (asString): Do not ignore newline/hfill chars when
13112 copying to the clipboard.
13114 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13116 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13117 after a multi-line inset.
13119 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13121 * paragraph.C (validate): Set NeedLyXFootnoteCode
13123 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13125 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13126 and decrease-error to decrease.
13128 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13130 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13131 it more readable (should be equivalent)
13133 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13135 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13137 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13139 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13140 of a cursor (row, etc.) after a character has been deleted
13141 (deleteEmptyParagraphMechanism): call the method above on _all_
13142 cursors held by the LyXText when a double space has been
13145 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13147 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13149 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13151 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13152 background. Use greyOut() and the new show() methods to toggle between
13153 the foreground and background. Add code to remove the splash after
13154 its initial showing.
13156 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13157 (create_forms): no longer call Dialogs::showSplash.
13159 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13161 * .cvsignore: add version_info.h
13163 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13165 * version_info.h.in: new file
13167 * Makefile.am: add version_info.h.in
13169 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13170 version_info.h instead of VERSION_INFO
13172 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13174 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13175 The ERT inset now returns string().
13177 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13179 * lyxtext.h, text.C (selectNextWord): renamed as
13180 selectNextWordToSpellcheck.
13182 * text.C (selectNextWordToSpellcheck): Modified to not select
13183 words inside an ERT inset.
13185 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13187 * lyx_cb.C (MenuLayoutSave): change a bit the question
13189 * sp_base.h: include <sys/types.h>
13191 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13193 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13195 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13197 * several files: fix typos in user-visible strings
13199 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13201 * text2.C (pasteSelection): do not set the selection, since it
13202 will be cleared later. Actually, the intent was to fix the way the
13203 selection was set, but I figured rmoving the code was just as good.
13205 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13207 * FontLoader.C (available): Check if font is available without
13210 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13212 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13214 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13216 * lyxrc.[Ch]: added display_graphics variable and associated code.
13218 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13220 * bufferparams.C (hasClassDefaults): new method. Returns true if
13221 the buffer parameters correspond to known class defaults
13223 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13225 * XFormsView.C (show): set minimum size to the main window.
13227 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13229 * text2.C (copySelection):
13231 * lyxfind.C (LyXReplace):
13232 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13233 LyXText::selectionAsString.
13235 * paragraph.C (asString): add "label" argument to the second form
13237 * text2.C (selectionAsString): add "label" argument and pass it to
13238 Paragraph::asString.
13240 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13242 * lyx_main.C (commandLineHelp): remove version information
13244 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13246 * lyx_main.C: add -version commandline option
13248 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13250 * paragraph.h: make the optional constructor arg required instead.
13251 some modifications to other files because of this.
13253 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13255 * lyxserver.C (C_LyXComm_callback): make it static
13257 * lyx_main.C (error_handler): make it static
13259 * lyx_gui.C (LyX_XErrHandler): make it static
13261 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13263 * WorkArea.C: make the extern "C" methods static.
13265 * Makefile.am (lyx_LDADD): simplify
13267 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13269 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13270 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13272 * LyXAction.C (init):
13273 * lyxfunc.C (dispatch): associated code removal.
13275 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13277 * lyxfont.h (isSymbolFont): shut off warning
13279 * text.C (setHeightOfRow):
13280 (getVisibleRow): fix crash with empty paragraphs which have a
13283 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13285 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13288 2001-09-04 José Matos <jamatos@fep.up.pt>
13291 * tabular.C (docbook): rename docBook method to docbook.
13293 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13295 * Makefile.am: add dependencies to main.o.
13297 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13299 * FontLoader.C (available): Return false if !lyxrc.use_gui
13301 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13303 * FontInfo.C (query):
13304 * converter.C (view):
13305 * importer.C (Import):
13306 * exporter.C (Export): Can not -> cannot.
13308 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13310 * BufferView_pimpl.C: allow to create index inset even if
13313 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13315 * buffer.C (getLists): replace boost::tie code with an explicit pair
13316 as boost::tie can break some compilers.
13318 * iterators.h: Added a std:: declaration to the return type of
13321 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13323 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13326 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13328 * iterators.[Ch]: New files. Provide paragraph iterators.
13330 * buffer.C (changeLanguage): Use paragraph iterators.
13331 (isMultiLingual): ditto
13333 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13335 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13337 * FontLoader.C: Support for cmr font.
13339 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13341 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13342 (available): New method.
13344 * FontInfo.C (getFontname): Use scalable fonts even when
13345 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13348 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13350 * converter.C (Formats::view): reverted! Incorrect fix.
13352 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13354 * converter.C (Formats::view): only output the -paper option
13355 if the dvi viewer is xdvi, thereby fixing bug #233429.
13357 2001-08-23 Herbert Voss <voss@perce>
13359 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13361 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13363 * Spacing.h (Spacing): Set space to Default on in the default
13366 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13368 * vc-backend.h (RCS::versionString): add RCS to version
13369 (CVS::versionString): add CVS to version
13371 * vc-backend.C (scanMaster): do not add CVS to version.
13372 (scanMaster): do not add RCS to version
13374 * lyxvc.C (versionString): new method
13376 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13378 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13380 * Spacing.C (set): initialize fval
13382 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13384 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13387 2001-08-16 Juergen Vigna <jug@sad.it>
13389 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13391 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13393 * BufferView_pimpl.C:
13396 * text2.C: setParagraph takes linespacing now
13398 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13400 * LyxAction.C: add internal LFUN_CITATION_INSERT
13402 * LyXView.C: actually apply fix
13404 * bufferlist.C: fix open non-existent file
13406 * lyxfind.C: fix indentation
13408 * lyxfunc.C: remove unneeded assert, fix typo
13410 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13412 * MenuBackend.C: use "Floatname List"
13414 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13416 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13417 when converting LaTeX layout to insetERT.
13418 Generate a non-collapsed float when reading old float
13420 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13422 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13425 2001-08-13 Juergen Vigna <jug@sad.it>
13427 * text.C (fill): return 0 instead of 20 as this seems to be the more
13430 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13432 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13435 2001-08-13 Juergen Vigna <jug@sad.it>
13437 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13439 (SearchBackward): comment out the unlocking of the inset_owner this
13440 should not be needed!
13442 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13444 * Many files: Remove inherit_language, and add latex_language
13446 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13447 collapsible insets.
13449 2001-08-10 Juergen Vigna <jug@sad.it>
13451 * text.C (prepareToPrint): fixed hfill-width in draw!
13453 * BufferView2.C (selectLastWord): save the selection cursor as this
13454 now is cleared in the function LyXText::clearSelection!
13456 2001-08-08 Juergen Vigna <jug@sad.it>
13458 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13459 BACKSPACE type functions.
13461 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13462 is only cutted from the document but not put in the cut-buffer, where
13463 still the old stuff should be.
13465 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13467 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13469 * tabular.C (SetWidthOfCell): fixed special case where the width
13471 (LeftLine): handle '|' in align_special.
13473 (LeftAlreadyDrawed): ditto
13474 (SetWidthOfCell): ditto
13476 2001-08-07 Juergen Vigna <jug@sad.it>
13478 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13480 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13482 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13483 * lyxlex.[hC]: ditto
13485 2001-08-06 Juergen Vigna <jug@sad.it>
13487 * text.C (getVisibleRow): fix up row clearing a bit.
13489 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13491 * minibuffer.C: make sure the X server sees the changes in the input.
13493 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13495 * paragraph.C (getFont): split into...
13496 (getLabelFont): this
13497 (getLayoutFont): and this
13498 * paragraph_pimpl.C (realizeFont): calling this
13500 * text2.C (getFont): split into...
13501 (getLayoutFont): this
13502 (getLabelFont): and this
13503 (realizeFont): all three calling this
13505 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13508 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13510 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13512 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13514 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13515 layouts from the Quote inset insertion.
13517 2001-08-03 Juergen Vigna <jug@sad.it>
13519 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13521 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13522 only if status not is already CHANGED_IN_DRAW (second level).
13524 * text.C (draw): don't set the need_break_row when inside an
13527 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13529 * buffer.C (parseSingleLyXformat2Token): handle more latex
13532 * bufferview_funcs.[hC]: change function names to
13533 begin with small char, adjust other files.
13535 2001-08-02 André Pönitz <poenitz@gmx.net>
13538 BufferView_pimpl.C: remove broken special code for math-greek
13540 2001-08-02 Juergen Vigna <jug@sad.it>
13542 * BufferView_pimpl.C (update): redone this function so that we
13543 update the text again if there was a CHANGE_IN_DRAW.
13545 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13546 (drawFromTo): added a new internal bool which is used by draw() and
13548 (general): some cursor drawing problems fixed.
13550 2001-08-01 Juergen Vigna <jug@sad.it>
13552 * lyxfind.C (LyXFind): fixed
13553 (SearchForward): ditto
13554 (SearchBackward): ditto
13556 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13557 spurius drawing of the cursor in the main area.
13559 * text2.C (status): small fix which could lead to a segfault!
13560 (clearSelection): remove unneeded BufferView param.
13562 2001-08-01 André Pönitz <poenitz@gmx.net>
13564 * lyxfunc.C: small change due to changed mathed interface
13566 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13568 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13570 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13572 * lyxfunc.c: fail gracefully if file doesn't exist
13577 * BufferView_pimpl.C: IsDirWriteable() proto changed
13579 * LyXView.C: fix updateWindowTitle() to store the last title
13581 2001-07-31 Juergen Vigna <jug@sad.it>
13583 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13584 the font (wrong since using of Paragraph::highestFontInRange).
13586 * paragraph.C (highestFontInRange): added a default_size parameter.
13588 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13589 (setHeightOfRow): reformat
13591 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13593 * converter.[hC] + affected files: move to (inital-char)lowercase
13596 * ParagraphParameters.C (ParagraphParameters): remove commented code
13598 * PainterBase.[Ch]: remove commented code
13600 * LaTeXFeatures.h: add "bool floats" for float.sty
13602 * LaTeXFeatures.C (LaTeXFeatures): init floats
13603 (require): handle float
13604 (getPackages): do it with floats
13606 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13608 * BufferView_pimpl.C (Dispatch): improve handling of
13609 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13611 * commandtags.h: #include lyxfont.h here temporarily to avoid
13614 * bufferlist.h: include LString.h here.
13616 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13618 * text2.C (getStringToIndex): new method.
13620 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13622 * *: Reduced header file dependencies all over.
13624 2001-07-30 Baruch Even <baruch@lyx.org>
13626 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13628 2001-07-29 Baruch Even <baruch@lyx.org>
13630 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13632 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13634 * ParameterStruct.h (endif): add a default constructor to make
13635 sure that all variables is initialized.
13637 * ParagraphParameters.C (ParagraphParameters): adjust
13639 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13641 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13642 index; also, check that there is something to index, and that it
13643 does not span over several paragraphs.
13644 (doubleClick): use WHOLE_WORD_STRICT for double click.
13646 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13648 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13651 2001-07-26 Baruch Even <baruch@lyx.org>
13653 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13654 an InsetFig figure, backwards compatible reading of old figure code.
13656 2001-07-27 Juergen Vigna <jug@sad.it>
13658 * text2.C: font.realize function adaption.
13660 * text.C (draw): add a warnings lyxerr text if needed.
13662 * layout.C: font.realize function adaption.
13664 * language.C: add inherit_language and implement it's handlings
13666 * bufferview_funcs.C (StyleReset): remove language parameter from
13667 font creation (should be language_inherit now).
13669 * bufferparams.C (writeFile): handle ignore_language.
13671 * paragraph.C (getFontSettings): the language has to be resolved
13672 otherwise we have problems in LyXFont!
13674 * lyxfont.C (lyxWriteChanges): added document_language parameter
13675 (update): removed unneeded language parameter
13677 * paragraph.C (validate): fixed wrong output of color-package when
13678 using interface colors for certain fonts in certain environments,
13679 which should not seen as that on the final output.
13681 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13683 * BufferView_pimpl.C:
13688 * LyXAction.C: add thesaurus support
13691 * lyxfind.C: add "once" parameter, for thesaurus, to not
13692 move to the next match
13694 2001-07-26 Juergen Vigna <jug@sad.it>
13696 * lyxfont.C (realize): honor ignore_language too!
13699 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13701 * text.C (draw): one place more for ignore_language to not draw
13704 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13706 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13708 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13710 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13711 the minipage conversion problem.
13713 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13715 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13718 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13720 * BufferView.h: don't forward declare WorkArea
13722 * BufferView.C: don't include WorkArea.h
13724 2001-07-25 André Pönitz <poenitz@gmx.net>
13728 * lyxfunc.C: new LFUN 'math-space'
13730 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13732 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13734 * text2.C (toggleInset): call open/close
13736 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13738 * lyxfunc.C (dispatch): add debug for the disabled case
13740 * font.C (buttonText): make similar to rectText
13742 * buffer.C (readInset): comment out parsing of insetlist and
13745 * PainterBase.C (rectText): small correction
13747 * BufferView_pimpl.C: comment out insettheorem and insetlist
13748 * LyXAction.C: ditto
13749 * commandtags.h: ditto
13751 2001-07-24 Juergen Vigna <jug@sad.it>
13753 * text.C (draw): honor the ignore_language.
13755 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13757 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13759 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13762 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13764 * lyxtext.h: remove unused (and unimplemented) methods
13766 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13768 * text.C (getVisibleRow): honor background color
13771 * Painter.h: remove default color argument for fillRectangle
13773 * text.C (backgroundColor): new method
13775 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13777 * text.C (getVisibleRow): adjust
13779 * font.[Ch] (rectText): new method, metrics
13780 (buttonText): new method, metrics
13782 * PainterBase.[hC]: make rectText and buttonText always draw and take
13785 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13787 * ToolbarDefaults.C (read):
13788 * MenuBackend.C (read): allow escaping in all strings
13790 * BufferView_pimpl.C (insertAndEditInset): new method.
13791 (Dispatch): use insertAndEditInset whenever appropriate.
13793 * BufferView_pimpl.C (insertNote): removed
13795 * BufferView_pimpl.C (smartQuote): new method, moved from
13796 BufferView; if an insetquote cannot be inserted, insert a '"'
13799 * BufferView2.C: remove insertCorrectQuote();
13801 * lyxfunc.C (getStatus): Add support for all remaingin
13802 inset-insert lfuns.
13804 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13806 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13807 command (necessary to pass " as parameter of self-insert.
13809 * text.C (selectWordWhenUnderCursor):
13810 (selectWord): add word_location parameter
13811 (selectWordWhenUnderCursor): same + remove special code for word
13813 (selectNextWord): use kind() to guess type of insetspecialchar,
13816 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13817 (insertErtContents): create ert insets as collapsed.
13818 (readInset): better compatibility code for Info inset.
13820 2001-07-20 Juergen Vigna <jug@sad.it>
13822 * lyxfunc.C (dispatch): use always LyXFind now!
13824 * text2.C (init): add a reinit flag so that the LyXText can be
13825 reinited instead of deleted and reallocated (used in InsetText).
13827 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13833 2001-07-18 Juergen Vigna <jug@sad.it>
13835 * text.C (selectNextWord): handle insets inside inset by calling
13836 always the bv->text functions so that we can go up the_locking_inset!
13838 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13839 in strange locations when inside an inset!
13841 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13842 handling to include insets.
13844 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13846 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13848 * LyXAction.C (init):
13850 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13851 LIGATURE_BREAK, since the name is so stupid.
13853 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13855 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13858 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13860 * sp_form.[Ch]: remove.
13862 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13864 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13867 * src/buffer.C (readInset): ditto.
13869 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13871 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13872 menuSeparator(), endOfSentenceDot(), ldots() and
13873 hyphenationPoint(), which are therefore removed.
13874 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13876 * LyXAction.C (init):
13877 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13879 * paragraph.C (getWord): removed.
13881 * BufferView_pimpl.C (Dispatch): use last word or selection for
13882 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13884 * lyx_main.C (queryUserLyXDir): do not ask before creating
13885 user_dir, except if it has been named explicitely.
13887 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13889 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13890 a document of zero size.
13892 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13894 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13895 approriately in the c-tor and in require().
13896 (getPackages): output the appropriate LaTeX for natbib support.
13898 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13899 variables "use_natbib" and "use_numerical_citations" when reading the
13901 (readInset): read the various natbib cite commands.
13902 (validate): white-space change.
13904 * bufferparams.[Ch]: new variables "bool use_natbib" and
13905 "bool use_numerical_citations".
13906 (writeFile): output them in the LyX file.
13908 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13910 * lyxfunc.C (getStatus): add support for all the inset insertion
13913 * text2.C (insertInset):
13914 * paragraph.C (insetAllowed):
13915 * BufferView_pimpl.C (insertInset): update to take in account the
13916 renaming of insertInsetAllowed
13918 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13920 * text2.C (getInset): new method. returns inset at cursor position.
13922 * BufferView_pimpl.C (Dispatch): changes because of this.
13924 * LyXAction.C (init): rename open-stuff to inset-toggle.
13926 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13928 * text2.C (toggleInset): renamed from openStuff; use
13931 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13933 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13935 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13937 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13939 * buffer.C (readLyXformat2): Add filename to the error dialog
13941 2001-07-18 Juergen Vigna <jug@sad.it>
13943 * tabular.C (GetCellNumber): put an assert here instead of the check!
13945 2001-07-17 Juergen Vigna <jug@sad.it>
13947 * BufferView_pimpl.C (toggleSelection): adapted too.
13949 * text.C (selectNextWord): adapted for use with insets.
13950 (selectSelectedWord): ditto
13952 2001-07-17 Juergen Vigna <jug@sad.it>
13954 * sp_spell.C (PSpell): fix initialitation order.
13956 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13958 * paragraph.C: spacing
13960 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13962 * sp_spell.C: repair language selection for pspell
13964 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13966 * lyxfunc.h: change more methods to begin with lower char.
13968 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13970 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13971 for unknown layouts.
13973 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13975 * buffer.C (readLyXformat2): Generate an error dialog if there are
13978 2001-07-16 Juergen Vigna <jug@sad.it>
13980 * sp_spell.C: always compile ISpell part.
13982 * lyxrc.C: added use_pspell entry and it's handling.
13984 2001-07-13 Juergen Vigna <jug@sad.it>
13986 * sp_spell.C: removed double includes.
13988 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13990 Consistent use of Lsstream.h:
13991 * Lsstream.h: added using std::stringstream for consistencies sake.
13993 * buffer.C: removed using std::stringstream
13995 * lyxfont.C (stateText):
13996 * paragraph.C (asString):
13997 * text.C (selectNextWord, selectSelectedWord):
13998 * text2.C (setCounter):
13999 * vspace.C (asString, asLatexString):
14000 std::ostringstream -> ostringstream.
14002 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14004 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14005 * commandtags.h: add LFUN_HELP_ABOUTLYX
14006 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14008 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14010 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14012 * lyx_gui_misc.C: remove spellchecker
14013 * lyxfunc.C: showSpellchecker
14015 * sp_ispell.h: added
14016 * sp_pspell.h: added
14017 * sp_spell.C: added
14018 * sp_form.[Ch]: removed
14019 * spellchecker.[Ch]: removed
14021 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14023 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14025 (simpleTeXSpecialChars): Simply print the input character without
14026 any special translation if pass_thru is set.
14028 * layout.h: Added bool pass_thru to layout class for being able to
14029 implement pass through of a paragraph for Literate Programming.
14031 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14032 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14033 * layout.C (Read): add "passthru" to list of layout tags and add
14034 code to set the pass_thru boolean when it is read.
14036 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14038 * trans_decl.h: remove allowed from KmodInfo
14040 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14041 remove allowed code
14044 * paragraph_pimpl.C (erase): use boost::prior
14046 * Painter.C (text): use data() instead of c_str() when length is
14048 * WorkArea.C (putClipboard): ditto
14049 * font.h (width): ditto
14051 * BufferView2.C: use it-> instead of (*it). for iterators
14053 * paragraph_pimpl.C: ditto
14054 * paragraph.C: ditto
14055 * minibuffer.C: ditto
14056 * language.C: ditto
14058 * encoding.C: ditto
14059 * counters.C: ditto
14060 * converter.C: ditto
14062 * Variables.C: ditto
14063 * TextCache.C: ditto
14064 * MenuBackend.C: ditto
14065 * LyXAction.C: ditto
14067 * FloatList.C: ditto
14068 * DepTable.C: ditto
14069 * ColorHandler.C (LyXColorHandler): ditto
14071 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14073 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14075 * text2.C (openStuff): reintroduce this method (which had been
14076 nuked in NEW_INSETS frenzy).
14078 * lyxfunc.C (Dispatch): when an action has not been handled, use
14079 its name in the error message, not its number.
14081 * paragraph.C (inInset): change method name to begin with lowercase.
14084 * text2.C: updates because of this.
14086 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14088 * ToolbarDefaults.C (add): add spaces in error message
14090 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14092 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14093 (readLyXformat2): rename return_par to first_par, use lyxlex's
14094 pushToken and remove the manual push handling.
14095 (parseSingleLyXformat2Token): add another ert comp. variable:
14096 in_tabular, rename return_par to first_par. handle newlines better
14098 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14100 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14102 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14104 * text2.C (getParFromID): removed
14106 * buffer.C (getParFromID): new method moved form lyxtext.
14107 * BufferView2.C (insertErrors): adjust
14108 (setCursorFromRow): adjust
14109 * BufferView_pimpl.C (restorePosition): adjust
14110 * lyxfunc.C (Dispatch): adjust
14111 * undo_funcs.C (textUndo): adjust
14113 (textHandleUndo): adjust
14114 (textHandleUndo): adjust
14116 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14118 * buffer.C: up' the LYX_FORMAT
14120 * lyxfont.h: turn NO_LATEX on as default
14122 * buffer.C (insertErtContents): new methods of tex style compability.
14123 (parseSingleLyXformat2Token): use it several places.
14124 * tabular.C (OldFormatRead): and here
14126 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14128 * text2.C: remove some commented code.
14131 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14132 * trans.C: changes because of the above.
14134 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14136 * text2.C (setCounter): Fix counters bug with bibliography layout.
14138 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14140 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14141 own member functions
14142 (simpleTeXSpecialChars): ditto
14144 2001-07-06 Juergen Vigna <jug@sad.it>
14146 * a lot of files: changed the access to LyXText::status and the
14147 call of undo-functions.
14149 * undo.[Ch]: added a inset_id to the undo informations.
14151 * undo_funcs.[Ch]: added and moved here all undo functions.
14153 * lyxtext.h: give the status enum a weight, made status_ a private
14154 variable and made accessor functions for it, removed the whole bunch
14155 of undo-functions as they are now in their own file, make some
14156 functions publically available. Added function ownerParagraph with
14159 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14160 made InInset() a const function, added getParFromID() function.
14162 * buffer.[Ch]: added const version for inset_iterator functions,
14163 added getInsetFromID() function.
14165 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14166 changed undo functions for new version.
14168 2001-07-05 Juergen Vigna <jug@sad.it>
14170 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14171 unknow mechanism does not call the proper constructor but only this
14172 one also if I request the other!?
14174 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14176 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14178 * text2.C (LyXText): use initialization lists.
14180 * lyxtext.h (Selection): initialize set_ and mark_
14181 (init): remove method
14183 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14185 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14187 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14189 * screen.[Ch]: change method names to begin with lowercase
14191 * BufferView_pimpl.C (updateScrollbar): simplify further and
14192 hopefully make it a bit faster.
14194 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14196 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14197 calling directly xforms functions.
14199 * Painter.C (Painter):
14200 * lyx_cb.C (MenuWrite):
14201 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14204 * lyx_gui.C: remove bogus guiruntime extern declaration.
14206 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14208 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14210 (redoDrawingOfParagraph): ditto
14211 (redoParagraphs): ditto
14212 (cutSelection): don't create a object for CutAndPaste use the
14213 static method directly
14214 (pasteSelection): ditto
14216 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14219 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14221 * modifications to some other files because of this.
14223 * Makefile.am (lyx_SOURCES): add XFormsView
14225 * XFormsView.[Ch]: new files
14227 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14228 the main window. Move the gui dependent stuff to XFormsView
14230 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14232 * tabular.C (GetCellInset): update cur_cell also in the row/col
14233 version of this function.
14235 * lyxfunc.C: no need to include figure_form.h here.
14241 * lyxvc.C: no need to include forms.h here.
14243 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14245 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14247 * lyxfunc.C (Dispatch):
14249 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14250 constructor argument.
14252 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14254 * paragraph.C (Paragraph): dont't clear, and just set layout.
14255 (makeSameLayout): use params's copy contructor.
14257 * ParagraphParameters.[Ch] (makeSame): delete method
14259 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14261 * Variables.[Ch]: fix indentation, rename set to isSet
14263 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14265 * lyxfunc.C (Dispatch): fix typo
14267 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14269 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14272 * bufferlist.C: include assert.h for emergencyWrite().
14274 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14276 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14277 give up at last (bug #425202) !
14279 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14285 * spellchecker.C: strip spellchecker options and bring up
14286 preferences tab instead
14288 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14290 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14291 the istringstream constructor
14293 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14295 * paragraph.C (getLayout): fix return value
14297 * paragraph.h: do not declare getLayout as inline.
14299 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14301 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14303 * lyxcursor.h (operator<): new func
14304 (operator>): new func
14305 (operator>=): new func
14306 (operator<=): new func
14308 * text.C (changeCase): use selection.start and selection.end
14309 (changeRegionCase): require from to be <= to. Require par to be a
14312 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14314 2001-06-27 Juergen Vigna <jug@sad.it>
14316 * text.C (cursorLeftOneWord): changed to return the cursor and added
14317 overlay with BufferView * parameter which calls this one.
14319 (selectWord): use new getWord function.
14320 (changeCase): renamed from changeWordCase as and extended to work
14321 also on selections.
14323 * lyxtext.h: added enum word_location
14325 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14326 changeCase as this operates now also on selections.
14328 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14330 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14332 * many files: send debug output to Debug::INFO instead of
14335 * converter.C (View):
14337 (Move): send debug output to Debug::FILES instead of console.
14339 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14341 * lyxfunc.C (getStatus): use func_status
14343 * func_status.h: new header, describing the results of
14344 LyXFunc::getStatus;
14346 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14349 2001-06-25 The LyX Project <jug@sad.it>
14351 * buffer.C (sgmlOpenTag):
14353 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14355 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14357 * text2.C: remove some dead code
14359 * tabular.C (GetCellInset): store the last cell checked (gotten)
14361 * tabular.h: add the helper for the speedup
14363 * lyxtext.h: remove some dead code
14365 2001-06-26 The LyX Project <Asger>
14367 * paragraph.C: Change export to LaTeX of alignment to
14368 \begin{center} and family for better roundtrip work with reLyX.
14370 * Tune the math drawing a bit.
14372 2001-06-25 The LyX Project <Asger>
14374 * LColor.C (LColor): New color for math background. New color
14377 2001-06-25 The LyX Project <jug@sad.it>
14379 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14381 * lyxfunc.C (Open):
14382 * bufferlist.C (newFile): do not restrict to files ending with
14385 * BufferView_pimpl.C (MenuInsertLyXFile):
14387 2001-06-24 The LyX Project <jug@sad.it>
14389 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14392 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14394 * lyxtext.h: rename most methods to begin with a small char.
14395 Lots of changes because of this.
14397 * paragraph.C (Paragraph): do not call fitToSize
14398 (erase): call Pimpl::erase
14399 (insertChar): call Pimpl::insertChar
14400 (insertInset): call Pipl::insertInset
14401 (breakParagraph): do not call fitToSize
14402 (breakParagraphConservative): do not call fitToSize
14403 (fitToSize): remove method
14405 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14407 2001-06-24 The LyX Project <Asger>
14409 * Fix Qt compilation^2
14411 2001-06-24 The LyX Project <jug@sad.it>
14413 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14414 depthHook(getDepth()-1).
14417 * ParagraphParameters.h:
14418 * ParameterStruct.h: change type of depth to unsigned int ==
14419 depth_type. Many adaptations to other files before of that.
14421 2001-06-24 The LyX Project <Asger>
14423 * Fix Qt compilation.
14425 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14427 * paragraph.h: renamed several methods to begin with small letter.
14428 several changes to many parts of the code because of this.
14430 2001-06-23 The LyX Project <jug@sad.it>
14432 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14433 rewritten to discard all double spaces when KeepEmpty is off
14434 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14435 to only handle newlines but not fiddle with spaces and friends.
14437 * lyxfunc.C (MenuNew): when doing 'new from template', use
14438 template_path as default directory
14440 2001-06-23 The LyX Project <Asger>
14442 * Clean-up of header file includes all over
14443 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14445 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14447 * paragraph.h: renamed from lyxparagraph.h
14449 2001-06-23 Asger <lyx@violet.home.sad.it>
14451 * Buffer.h: Removed Buffer::resize
14452 * BufferList.h: Removed BufferList::resize
14453 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14454 the document lazily when we change the width, or the font settings.
14456 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14458 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14460 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14462 * buffer.h: remove out of date comment
14464 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14467 * screen.C: fix "theoretical" GC leak
14469 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14471 * LaTeX.C (scanAuxFile):
14472 (deplog): remove trailing \r when reading stream (useful under
14475 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14477 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14478 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14479 and BufferView::theLockingInset(Inset*), so should use them and not
14480 access bv_->text->the_locking_inset directly.
14482 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14484 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14487 * tex-defs.h: remove old unused file
14489 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14491 * BufferView_pimpl.C: fix typo, remove minibuffer message
14492 when buffer has loaded
14494 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14496 * lyxfunc.C (Dispatch): use stringstream
14497 (MenuNew): use stringstream
14498 (Open): use stringstream
14500 * importer.C (Import): use stringstream
14502 * bufferview_funcs.C (CurrentState): use stringstream
14504 * LaTeX.C (run): use stringstream
14506 * BufferView_pimpl.C (savePosition): use stringstream
14507 (restorePosition): use stringstream
14508 (MenuInsertLyXFile): use stringstream
14510 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14523 * vspace.C: removed // -*- C++ -*- as first line.
14526 * version.h: added // -*- C++ -*- as first line.
14528 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14530 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14532 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14535 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14537 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14540 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14542 * gettext.C: include LString.h even when --disable-nls is on.
14544 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14546 * converter.h (Get): changed argument type from int to
14547 FormatList::size_type to avoid unnecessary conversion.
14549 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14552 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14554 * gettext.h: include LString.h even when --disable-nls is on.
14556 2001-06-07 Juergen Vigna <jug@sad.it>
14558 * text.C (BreakAgain): subst spaces with tabs.
14560 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14561 (resizeInsetsLyXText): set force on resizeLyXText.
14563 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14565 * gettext.h (gettext_init):
14566 (locale_init): use a real definition instead of a macro
14568 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14570 * Bufferview_pimpl.C:
14572 * LColor.C: further lcolor tidies
14574 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14576 * BufferView_pimpl.C (updateScrollbar): simplify.
14578 * BufferView2.C: don't include insets/insetinfo.h, change
14579 prototype for insertInset and call the Pimpl version. let
14580 updateInset call Pimpl version.
14582 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14583 gotoInset to BufferView::Pimpl
14585 2001-06-01 Juergen Vigna <jug@sad.it>
14587 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14588 inside a LockingInset (is the update needed at all?).
14590 2001-05-31 Juergen Vigna <jug@sad.it>
14592 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14593 here not the old one otherwise how should we compare it afterwards
14596 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14601 * FontInfo.C: bring C functions into global namespace when
14604 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14606 * LString.h: make sure config.h has been loaded before LString.h.
14608 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14609 (one for each char read by EatLine!).
14611 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14614 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14616 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14617 to the same as the par we break from
14619 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14621 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14623 * MenuBackend.C (expand): also create menu entries for wide
14624 versions of the floats.
14626 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14628 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14630 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14631 frontends/Makefile.am
14637 * tabular.C (getTokenValue): add std::
14639 * tabular-old.C (getTokenValue): add std::
14640 (getTokenValue): ditto
14641 (getTokenValue): ditto
14643 * screen.C (ToggleSelection): adjust
14645 * lyxtext.h: put selection cursors inside a Selection struct.
14647 * lyxfunc.C (moveCursorUpdate): adjust
14649 * lyxfont.C (latexWriteStartChanges): add std::
14651 * lyxfind.C: adjust
14653 * font.h: delete with(char const *, LyXFont const &)
14655 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14657 * FontInfo.C (getFontname): add std::
14659 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14660 (workAreaButtonPress): adjust
14661 (tripleClick): adjust
14663 (moveCursorUpdate): adjust
14666 * BufferView2.C (gotoInset): adjust
14668 2001-05-30 Juergen Vigna <jug@sad.it>
14670 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14671 to check pspell I add this as default as I now have new pspell
14672 libraries and they seem to use this.
14674 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14676 * text2.C (CutSelection): make the cursor valid before the call to
14679 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14681 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14682 relied on 0 terminated strings and other horrors. Bug found due to
14683 the new assert in lyxstring!
14685 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14688 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14690 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14693 * lyxfunc.C (processKeySym): change method of getting to the
14696 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14697 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14698 * BufferView_pimpl.[Ch]: here as private methods.
14700 2001-05-28 Juergen Vigna <jug@sad.it>
14702 * text.C (SetHeightOfRow): added the update() call again as it is
14703 needed to initialize inset dimensions!
14705 2001-05-16 Juergen Vigna <jug@sad.it>
14707 * text2.C (SetCharFont): Add new function with BufferView * and
14708 bool toggleall parameters for setting insets internal fonts.
14709 (SetFont): Freeze the undo as we may change fonts in Insets and
14710 all this change should be inside only one Undo!
14712 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14713 setting font's in insets as for them we have the SetFont function!
14715 2001-05-15 Juergen Vigna <jug@sad.it>
14717 * text2.C (ClearSelection): to be sure we REALLY don't have any
14720 * tabular.C (TeXCellPreamble): fixed the left border problem for
14723 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14725 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14728 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14730 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14731 LFUN_BREAKPARAGRAPH.
14733 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14734 help test to "internal only", similar for LFUN_INSERT_URL
14736 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14737 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14738 auto_region_delete and deadkeys.
14740 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14743 * LColor.C: remove some dead entries, tidy a little
14745 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14747 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14749 (Dispatch): implement LFUN_ESCAPE
14751 * commandtags.h: add LFUN_ESCAPE
14753 * LyXAction.C (init): add entry for LFUN_ESCAPE
14755 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14756 Remove commented code.
14757 (insertNote): moved here
14758 (open_new_inset): moved here
14760 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14763 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14765 * kbmap.C (findbinding): clean it up and make it work correctly.
14767 * lyx_main.C (init): do not pass argc and argv as parameters
14769 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14771 * buffer.C: fix path for OS/2 & Win32
14775 * lyx_main.C: Added os:: class.
14777 * os2_defines.h: update
14779 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14781 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14782 better by trying again with reduced state.
14784 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14786 * lyxrc.C (read): print error about invalid key sequence only when
14787 debugging (because not all latinX keysyms are known to some X
14790 * kbsequence.C (getiso): add a few std:: qualifiers
14791 (getiso): comment out extra return statement.
14793 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14795 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14797 (Dispatch): enhance the accent inset a bit. (not perfect)
14799 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14801 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14803 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14805 * bufferlist.C (emergencyWrite): fix assert() call
14807 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14809 * text.C (InsertChar): Added trivial patch to only send the "you
14810 can not do multiple spaces this way" message once during a
14813 2001-05-08 Baruch Even <baruch@lyx.org>
14815 * Makefile.am: Changed order of libraries to get LyX to link properly
14816 with the gnome frontend.
14818 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14820 * LaTeXFeatures.h: add a std:: qualifier
14822 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14824 * paragraph.C (String): use stringstream
14826 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14828 * paragraph.C (writeFile): remove footflag arg
14830 * buffer.C (makeLaTeXFile): use stringstream
14831 (latexParagraphs): remove footnot gurba
14833 * LaTeXFeatures.C (getPackages): use stringstream
14834 (getMacros): likewise
14835 (getTClassPreamble): likewise
14836 (getFloatDefinitions): new method
14838 * paragraph.C (writeFile): reindent
14841 * WorkArea.h: revert the xpos + etc changes.
14843 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14845 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14847 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14848 (pasteSelection): likewise
14849 * text2.C (CreateUndo): likewise
14851 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14853 * minibuffer.C (peek_event): temporarily reduce the functionality
14854 of the minibuffer (to allow args on lfuns)
14856 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14857 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14859 * buffer.C (readInset): add compability reading of old float
14860 lists, add reading of new style float list.
14861 (readInset): avoid reevaluation of inscmd.getCmdName()
14862 (getLists): reindent
14864 * MenuBackend.C (MenuItem): implement parsing of
14865 md_floatlistinsert and md_floatinsert.
14866 (expand::LastFiles): move initalizaton of iterators out of loop,
14867 avoid reevaluation.
14868 (expand::Documents): introduce typdedef vector<string> Strings,
14870 (expand::ExportFormats): introduce typedef vector<Format const *>
14871 Formats, and use it.
14872 (expand): implement FloatListInsert and FloatInsert.
14874 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14875 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14876 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14878 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14880 (Dispatch::LFUN_FLOAT_LIST): implement
14882 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14884 * LaTeX.C (run): Fix problem with --export code.
14886 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14888 * BufferView.[Ch] (workarea): removed.
14889 (getClipboard) new method; wrapper for workarea()->getClipboard()
14891 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14894 * WorkArea.h (width, height, xpos, ypos): These methods all
14895 returned the dimensions of the work_area sub-area of WorkArea,
14896 resulting in a position error if the WorkArea were resized. Now
14897 return the dimensions of the entire WorkArea.
14899 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14901 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14903 * LaTeX.C (deplog): correct the syntax of regex reg1
14905 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14907 * undo.C: remove !NEW_INSETS cruft
14909 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14911 * text2.C: remove !NEW_INSETS cruft
14913 * text.C: remove !NEW_INSETS cruft
14915 * tabular.C: remove !NEW_INSETS cruft
14917 * spellchecker.C: remove !NEW_INSETS cruft
14919 * lyxtext.h: remove !NEW_INSETS cruft
14921 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14923 * lyxfunc.C: remove !NEW_INSETS cruft
14925 * lyxfind.C: remove !NEW_INSETS cruft
14927 * lyx_cb.C: remove !NEW_INSETS cruft
14929 * figureForm.C: remove !NEW_INSETS cruft
14931 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14933 * buffer.[Ch]: remove !NEW_INSETS cruft
14935 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14937 * CutAndPaste.C: remove !NEW_INSETS cruft
14939 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14941 * BufferView2.C: remove !NEW_INSETS cruft
14943 * BufferView.h: remove !NEW_INSETS cruft
14945 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14947 * Lsstream.h: include LString.h before the sstream headers to
14948 fix problem with gcc 2.95.3 and lyxstring
14950 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14952 * lyx_main.C: add using directives when needed for C functions
14953 declared in std:: namespace.
14955 2001-04-27 Juergen Vigna <jug@sad.it>
14957 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14958 (SetHeightOfRow): comment out the update call should not be needed!
14960 2001-04-13 Juergen Vigna <jug@sad.it>
14962 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14963 (LyXTabular): tried to minimize operator= operations (and realized
14964 hopfully Lars wish).
14966 2001-04-27 Juergen Vigna <jug@sad.it>
14968 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14970 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14972 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14974 * buffer.C (readInset): hack to make listof algorithm work
14976 * BufferView_pimpl.C: hack to make listof algorithm work
14978 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14980 * LyXAction.C: removed all !NEW_INSETS cruft
14981 (init): moved lfun_item in method
14983 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14985 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14987 * BufferView2.C (theLockingInset): white space.
14989 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14991 * minibuffer.C: include <iostream>
14993 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14995 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14997 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14999 * text.[Ch] (TransposeChars): new method
15001 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15003 * call message directly through LyXView instead of through LyXFunc
15004 * BufferView2.C: adjust
15005 * BufferView_pimpl.C: adjust
15006 * FontLoader.C: adjust
15008 * bufferview_funcs.C: adjust
15009 * converter.C: adjust
15010 * figureForm.C: adjust
15011 * importer.C: adjust
15013 * lyx_gui_misc.C: adjust
15014 * lyxfunc.C: adjust
15017 + more files in subdirs
15019 * lyxparagraph.h (size): move up int file
15022 * adjust all uses of Assert to lyx::Assert.
15024 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15025 lyxfunctional in namespace lyx
15026 * layout.C (hasLayout): ditto
15029 (delete_layout): ditto
15030 (NumberOfClass): ditto
15031 * converter.C (GetFormat): ditto
15036 * bufferlist.C (getFileNames): ditto
15037 (emergencyWriteAll): ditto
15040 * MenuBackend.C (hasSubmenu): ditto
15043 * BufferView_pimpl.C (getInsetByCode): ditto
15045 2001-04-18 Juergen Vigna <jug@sad.it>
15047 * vspace.C (asLatexString): fixed the 100% problem.
15049 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15051 * lyxfunc.C (Dispatch):
15053 * minibuffer.h: add a few std:: qualifiers
15055 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15057 * minibuffer.[Ch]: reimplement so that commands is initiated and
15058 run from lyxfunc, simplified som handling, and made the completion
15059 and history code for complete. wip.
15061 * lyxfunc.C (processKeySym): call message
15062 (miniDispatch): new temporary method
15063 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15064 (LFUN_MESSAGE): implement
15065 (LFUN_MESSAGE_PUSH): implement
15066 (LFUN_MESSAGE_POP): implement
15067 (initMiniBuffer): the initial/defualt minibuffer message.
15069 * lyxfont.[Ch]: inline some more getters
15071 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15073 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15075 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15076 (AutoSave): use LFUN_MESSAGE
15077 (Reconfigure): ditto
15079 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15081 * figureForm.C: use LFUN_MESSAGE
15083 * converter.C (runLaTeX): use LFUN_MESSAGE
15085 * bufferview_funcs.C: use LFUN_MESSAGE
15087 (changeDepth): ditto
15089 * bufferparams.h: use boost::
15091 * bufferlist.h: inherit privately from noncopyable
15093 * bufferlist.C (loadLyXFile): remove some commented code.
15095 * buffer.C (runChktex): use LFUN_MESSAGE
15097 * ShareContainer.h: inherit privately from noncopyable
15099 * ParagraphParameters.[hC] (depth): inline it.
15101 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15103 (message): new method
15104 (messagePush): ditto
15105 (messagePop): ditto
15106 (show): init minibuffer
15107 (showState): direct call
15109 * LaTeX.[Ch]: inherit privately from noncopyable
15110 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15111 instead of WriteStatus.
15113 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15115 * BufferView_pimpl.C (buffer): don't init minibuffer
15116 (workAreaButtonPress): use LFUN_MESSAGE
15117 (workAreaButtonRelease): ditto
15118 (savePosition): ditto
15119 (restorePosition): ditto
15120 (MenuInsertLyXFile): ditto
15121 (workAreaExpose): don't init minibuffer
15122 (update): remove commented code, simplify
15124 * BufferView2.C (openStuff): use LFUN_MESSAGE
15125 (toggleFloat): ditto
15128 (copyEnvironment): ditto
15129 (pasteEnvironment): ditto
15134 (updateInset): remove some commented code
15136 * lastfiles.h: inherit privately from noncopyable
15139 * lyx_main.h: ditto
15141 * lyxlex_pimpl.h: ditto
15143 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15144 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15145 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15147 * LyXAction.h: inherit privately from noncopyable, add methods
15148 func_begin, func_end, returning iterators to the func map.
15150 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15151 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15152 (func_begin): new method
15153 (func_end): new method
15155 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15157 (copySelection): ditto
15158 (pasteSelection): ditto
15160 * BufferView.C: whitespace change
15161 * BufferView.h: inherit privately from noncopyable
15163 2001-04-16 Allan Rae <rae@lyx.org>
15165 * tabular-old.C (l_getline):
15166 * spellchecker.C (sc_check_word):
15167 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15168 an unrecognised preprocessor directive. So ensure they're wrapped.
15170 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15172 * src/exporter.C (Export): Give an error message when path to file
15175 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15177 * LaTeX.C (deplog): Always check that foundfile exists.
15179 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15182 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15184 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15186 * tabular.[Ch] (getLabelList): implement new method
15188 * minibuffer.h: comment ouf setTiimer
15190 * minibuffer.C (ExecutingCB): constify res
15191 (peek_event): constify s
15192 (Set): constify ntext
15193 (Init): constify nicename
15195 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15197 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15198 (savePosition): use two params to Minibuffer::Set
15199 (restorePosition): ditto
15201 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15203 * lyx_main.C: include language.h
15205 * Makefile.am (lyx_main.o): add language.h
15207 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15213 * CutAndPaste.C: include gettext.h
15215 * lyxfont.h: remove old hack with ON and OFF.
15218 * lyxfont.h: do not include language.h...
15223 * bufferview_funcs.C:
15229 * paragraph.C: ... but do it here instead
15231 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15233 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15235 * tabular.C: small reformat
15237 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15240 (BreakParagraph): ditto
15241 (SetOnlyLayout): ditto
15244 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15247 * lastfiles.C: removed most using decl, add std:: where needed
15249 * buffer.C: ws changes
15251 * MenuBackend.C (class compare_format): put into anon namespace
15252 (expand): constify label, names, action, action2
15255 * text.C (SingleWidth): constify font
15256 (IsBoundary): constify rtl2
15257 (GetVisibleRow): constify ww
15259 * LaTeX.C (deplog): constify logfile
15261 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15263 (workAreaExpose): constify widthChange, heightChange
15265 * lyxrow.C (par): moved
15268 * lyxrow.h: as inlines here
15270 * lyxfont.h (shape): moved from lyxfont.C
15271 (emph): moved from lyxfont.C
15273 * lyxfont.C (LyXFont): use initialization list for all
15275 (shape): move to lyxfont.h as inline
15276 (emph): move to lyxfont.h as inline
15279 2001-04-04 Juergen Vigna <jug@sad.it>
15281 * vspace.C: had to include stdio.h for use of sscanf
15283 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15286 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15287 independent of xforms.
15289 2001-04-02 Juergen Vigna <jug@sad.it>
15291 * spellchecker.C: fixed namespace placing!
15293 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15295 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15296 the LyXParagraph * is 0.
15298 2001-03-29 Juergen Vigna <jug@sad.it>
15300 * vspace.C: added support for %, c%, p%, l%.
15301 (stringFromUnit): added helper function.
15302 (asLatexString): changed to give right results for the %-values.
15304 * buffer.C: convert the widthp in a width%.
15306 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15308 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15311 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15312 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15314 * lyx_cb.[Ch]: see above.
15316 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15320 * lyx.[Ch]: replaced by figure_form.[Ch].
15324 * lyxfunc.C: changed headers associated with above changes.
15326 2001-03-27 Juergen Vigna <jug@sad.it>
15328 * BufferView_pimpl.C: set the temporary cursor right!
15330 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15332 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15334 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15336 * LString.h: removed "using std::getline"!
15338 * BufferView_pimpl.C (Dispatch): changes due to changes in
15339 InsetInclude::Params.
15341 * buffer.C (tag_name): removed redundant break statements as they were
15342 producing lots of warnings with my compiler.
15344 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15346 * LString.h: add "using std::getline" when using the real <string>.
15348 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15350 * buffer.C: removed bitset usage.
15351 PAR_TAG moved to an anonymous name space.
15352 (tag_name): new funtion, also in the anonymous namespace.
15353 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15354 (makeDocBookFile): clean code. Completed transition from string arrays
15356 (SimpleDocBookOnePar): code clean.
15358 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15360 * tabular.C: add some comments.
15362 2001-03-22 Juergen Vigna <jug@sad.it>
15364 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15365 compatibility read a bit and fixed bug with minipage in different
15368 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15370 * buffer.C (pop_tag): removed.
15371 (push_tag): removed.
15372 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15373 array replaced with vector. Added support for CDATA sections.
15374 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15376 (makeDocBookFile): XML conformant declaration of CDATA section,
15377 fixed bug related to <emphasis> in the first paragraph char.
15378 (sgmlOpenTag): exclude empty tags.
15379 (sgmlCloseTag): ditto.
15381 * buffer.h (pop_tag): removed.
15382 (push_tag): removed.
15384 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15386 * language.h (Languages): added size_type and size().
15388 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15390 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15391 response on compability reading of minipages. One probliem is that
15392 the old usage of minipages was «flertydig»
15394 * several files here and in subdirs: don't use static at file
15395 scope use anon namespaces instead.
15397 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15399 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15400 LaTeX output. This is necessary for Literate document
15403 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15405 * buffer.C: insert hfill when needed.
15407 * tabular.C (l_getline): use string::erase, small whitespace change.
15409 * BufferView_pimpl.C: try the anon namespace.
15410 * WorkArea.C: ditto
15412 2001-03-16 Juergen Vigna <jug@sad.it>
15414 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15415 otherwise it won't open options-dialogs.
15417 * buffer.C: honor pextraWidth(p) on converting minipages.
15419 * tabular.C (l_getline): changed the functions to strip trailing \r.
15421 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15423 * BufferView_pimpl.C:
15424 * minibuffer..C: added "using SigC::slot" declaration.
15426 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15428 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15434 * paragraph.C: ditto
15436 * lyxtext.h: NO_PEXTRA
15438 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15440 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15441 * ParameterStruct.h: ditto
15442 * ParagraphParameters.h: ditto
15443 * lyxparagraph.h: ditto
15445 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15447 * buffer.C: add compability for minipage alignment.
15448 (latexParagraphs): remove unwanted pextra check.
15450 * several files: remove CXX_WORKING_NAMESPACES
15452 * buffer.C (pop_tag): tie is in namespace boost
15454 * BufferView.h: noncopyable is in namespace boost
15456 * lyx_main.h: ditto
15459 * lastfiles.h: ditto
15460 * bufferlist.h: ditto
15461 * ShareContainer.h: ditto
15463 * LyXAction.h: ditto
15466 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15468 * Merging changes from BRANCH_MVC back into HEAD.
15470 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15472 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15474 * BufferView_pimpl.C: change from intl.C
15478 * Makefile.am: move combox.*
15484 * intl.C: remove dialog (covered by prefs)
15486 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15488 * lyxfunc.C (Dispatch): removed redundant break statement.
15490 2001-03-14 Juergen Vigna <jug@sad.it>
15492 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15494 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15496 * buffer.C: add hack to fix compability reading of minipages.
15498 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15500 * buffer.C (getLists): Cleanup.
15502 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15504 * lyxfont.C (update): don't honor toggleall on font size.
15506 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15510 * Makefile.am: moved to frontends/xforms/
15514 * BufferView_pimpl.C: changes for moved mathpanel
15516 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15518 * gettext.h: fix gettext_init() in --disable-nls
15520 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15522 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15524 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15527 * lyx.h: strip external form
15529 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15531 * BufferView_pimpl.C: add comment, destroySplash()
15533 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15535 * BufferView_pimpl.C:
15539 * lyxfunc.C: use re-worked insetinclude
15541 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15543 * buffer.C: add using std::stringstream.
15545 * lyx_cb.C: readd using std::ios.
15547 * buffer.C: add using std::map.
15549 * BufferView_pimpl.C: add using std::vector.
15551 * ShareContainer.h: add std:: to swap.
15553 * buffer.h: add some typedefs
15554 * buffer.C (getLists): use them
15555 (getLists): renamed from getTocList.
15556 add a counter for the different float types and use it in the
15558 (getLists): use the same counter for the NEW_INSETS and the "non"
15561 * lyx_cb.h: remove unused items, includes, using etc.
15563 * ShareContainer.h: remove some commented code, add more comments
15564 and "documentation".
15566 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15568 * buffer.C (getTocList): make the list also when NEW_INSETS is
15571 * buffer.h: remove TocType
15573 * buffer.C (getTocList): change to return a map<string,
15574 vector<TocItem> >, implement for dynamic number of list.
15576 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15577 * text2.C (PasteSelection): adjust
15578 * CutAndPaste.C (pasteSelection): adjust
15580 * FloatList.C (FloatList): update from the new_insets branch.
15581 * Floating.[Ch]: ditto
15582 * LaTeXFeatures.C: ditto
15584 * lyxlex_pimpl.C: ditto
15586 * paragraph.C (Last): remove when NEW_INSETS is defined.
15588 * other file: changes because of the above.
15590 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15592 * lyxparagraph.h: rename next to next_, previous to previous_,
15593 make them private for NEW_INSETS. Rename Next() to next(),
15594 Previous() to previous().
15596 * other files: changes because of the above.
15598 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15601 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15604 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15606 * main.C (main): pass lyx_localedir to gettext_init().
15608 * gettext.h: remove locale_init and gettext_init macros
15610 * gettext.C (locale_init): new function
15611 (gettext_init): new function
15613 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15616 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15618 * Moved credits to frontends:
15619 * credits.[Ch]: removed
15620 * credits_form.[Ch]: removed
15621 * lyx_gui_misc.C: remove credits stuff
15624 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15626 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15628 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15629 unneeded destructor.
15631 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15632 a standalone pointer again.
15634 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15636 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15642 * ToolbarDefaults.C:
15651 * BufferView_pimpl.C: use new file dialog in GUII
15654 * lyx_cb.C: remove LayoutsCB to Toolbar
15656 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15658 * ShareContainer.h (get): add std:: qualifier
15660 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * ShareContainer.h: define a proper ShareContainer::value_type
15663 type (and use typename to please compaq cxx)
15665 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15667 * lyxparagraph.h: move serveral local vars to
15668 ParameterStruct/ParagraphParameters., use ShareContainer in
15669 FontTable., make vars in FontTable private and add getter and
15672 * paragraph.C: changes because of the above.
15674 * lyxfont.h: remove copy constructor and copy assignment. (the
15675 default ones is ok), move number inside FontBits. move inlines to
15678 * lyxfont.C: add number to initializaton of statics, move several
15679 inlines here. constify several local vars. some whitespace
15680 cleanup. Dont hide outerscope variables.
15682 * Spacing.h: add two new constructors to match the set methods.
15684 * ShareContainer.h: new file, will perhaps be moved to support
15686 * ParameterStruct.h: new file
15688 * ParagraphParameters.h: new file
15690 * ParagraphParameters.C: new file
15692 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15693 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15695 * BufferView_pimpl.C: ParagraphParameter changes.
15696 * buffer.C: Likewise.
15697 * bufferview_funcs.C: Likewise.
15698 * text.C: Likewise.
15699 * text2.C: Likewise.
15701 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15703 * lyxfind.C (LyXReplace): do not redefine default argument in
15705 (IsStringInText): ditto
15706 (SearchForward): ditto
15707 (SearchBackward): ditto
15709 2001-03-06 Juergen Vigna <jug@sad.it>
15711 * lyxfind.C (IsStringInText): put parentes around expressions.
15713 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15715 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15717 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15719 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15721 * stl_string_fwd.h: add comment
15723 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15726 * tabular.C: remove unused DocBook methods
15732 killed DO_USE_DEFAULT_LANGUAGE
15734 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15736 * lyx_gui.C: do not include language.h.
15738 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15739 arguments in function implementation.
15741 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15743 * BufferView_pimpl.C: add <ctime>
15745 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15747 * BufferView_pimpl.C: add using std::find_if
15749 2001-02-27 José Matos <jamatos@fep.up.pt>
15751 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15754 2001-02-11 José Matos <jamatos@fep.up.pt>
15756 * buffer.C (makeDocBookFile): command styles now have a parameter as
15757 "title" by default.
15759 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15761 * layout_forms.[Ch]: removed
15762 * lyx_cb.[Ch]: out character
15763 * lyx_gui.C: out character
15764 * lyx_gui_misc.C: out character
15765 * bufferview_funcs.C: : out character,
15766 added toggleall as parameter in ToggleAndShow
15768 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15770 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15772 * text2.C (SetCurrentFont): Disable number property at boundary.
15774 2001-02-26 Juergen Vigna <jug@sad.it>
15776 * lyxfunc.C (getStatus): added a string argument override function so
15777 that this is correctly called from LyXFunc::Dispatch if it contains a
15778 do_not_use_argument which is used!
15779 (Dispatch): added check for "custom" export and call appropriate func.
15781 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15783 * lyxrc.C: Add language_command_local, language_use_babel and
15784 language_global_options.
15786 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15788 * buffer.C (makeLaTeXFile): Use language_use_babel and
15789 language_global_options.
15791 2001-02-23 Juergen Vigna <jug@sad.it>
15793 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15794 which works with LyXText and putted it inside BufferView. Here now we
15795 only call for that part the BufferView::Dispatch() function.
15797 * BufferView.C (Dispatch): added.
15799 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15800 functions which needs to use a LyXText over from LyXFunc.
15801 (MenuInsertLyXFile): added
15802 (getInsetByCode): added
15803 (moveCursorUpdate): added
15804 (static TEXT): added
15806 2001-02-22 Juergen Vigna <jug@sad.it>
15808 * BufferView_pimpl.C (update): call a status update to see if LyXText
15811 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15813 * vc-backend.C (revert): implement for CVS
15814 (getLog): implement for CVS
15816 2001-02-20 Juergen Vigna <jug@sad.it>
15818 * text2.C (ClearSelection): added BufferView param for inset_owner call
15820 * lyxfunc.C (TEXT): added this function and use it instead of
15821 directly owner->view()-text of getLyXText().
15823 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15825 * src/layout_forms.C: out preamble
15826 * src/layout_forms.h: out preamble
15827 * src/lyx_cb.C: out preamble
15828 * src/lyx_cb.h: out preamble
15829 * src/lyx_gui.C: out preamble
15830 * src/lyx_gui_misc.C: out preamble
15831 * src/lyxfunc.C: connect with guii preamble
15833 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15835 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15837 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15839 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15840 whether to run bibtex.
15842 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15844 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15846 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15848 * Makefile.am (lyx_SOURCES): removed bibforms.h
15850 * vspace.h: doxygen
15852 * text.C (GetVisibleRow): make several local vars const
15854 * tabular.C: small cleanup.
15856 * lyxserver.C (callback): use compare instead of strncmp
15858 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15859 inlines to after class or to paragraph.C
15861 * lyxfont.h: remove friend operator!=
15863 * converter.h: move friend bool operator< to non friend and after
15866 * combox.h: small cleanup
15868 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15869 to inlines after class def.
15871 * buffer.C (pop_tag): use string operations instead of strcmp
15873 * bmtable.c: doxygen, small cleanup
15875 * LaTeX.h: remove friend operator==
15877 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15889 * BufferView_pimpl.C:
15890 * BufferView.[Ch]: remove cruft
15892 2001-02-14 Juergen Vigna <jug@sad.it>
15894 * lyxfunc.C: removed #if 0 unused code
15896 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15898 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15900 * text2.C (SetSelection): added a BufferView * parameter
15902 2001-02-13 Juergen Vigna <jug@sad.it>
15904 * lyxfunc.C (Dispatch): fixed protected blank problem.
15905 * BufferView2.C (protectedBlank): added LyxText * parameter.
15907 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15908 (AppendColumn): same as above for column_info.
15910 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15911 (moveCursorUpdate): use a LyXText param for support of InsetText.
15913 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15914 (tripleClick): ditto
15916 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15918 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15920 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15922 * text2.C (SetSelection): set correct update status if inset_owner
15923 (ToggleFree): ditto
15925 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15927 * tabular.C: remove some commented code.
15929 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15931 * BufferView_pimpl.C: call hideSplash()
15933 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15936 * bibforms.h: remove
15939 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15940 add LFUN_CHILD_CREATE
15942 * counters.h: fix tiny typo
15947 * lyx.C: move splash to frontends/xforms/
15949 * lyx_gui_misc.C: move Include and Bibform to frontends
15951 * lyxvc.h: clarify comment
15953 * vspace.C: tiny housekeeping
15955 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15957 * text.C (PrepareToPrint): RTL Fix.
15959 * paragraph.C (GetUChar): New method.
15960 (String): Use GetUChar.
15962 * buffer.C (asciiParagraph): Use GetUChar.
15964 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15966 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15968 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15971 * buffer.C: rename to getLogName(), handle
15972 build log / latex log nicely
15974 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15977 * MenuBackend.h: remove support for reference menuitem type.
15979 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15981 * BufferView_pimpl.C: housekeeping
15982 * BufferView_pimpl.h:
15987 * minibuffer.h: move Timeout GUI-I
15989 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15991 * lyxrc.C (read): Update converters data-structures.
15993 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15995 * LaTeX.h (operator!=): add operator != for Aux_Info
15997 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15999 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16001 * LaTeXLog.C: deleted, useful code moved to Buffer
16004 * buffer.C: new function getLatexLogName()
16010 * lyxfunc.C: use frontends for LaTeX and VC logs
16012 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16014 * LaTeX.h: yet another std:: that Allan forgot.
16016 * Variables.C (set): renamed from isset(), because this clashes
16017 with some HP-UX macros (grr).
16019 2001-02-06 Allan Rae <rae@lyx.org>
16021 * LaTeX.h: Another bug fix. Missing std:: this time.
16023 2001-02-04 Allan Rae <rae@lyx.org>
16025 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16026 floats problem. I've left it commented out because it's not quite
16027 correct. It should also test that the current object is a table or
16028 figure inset. But I haven't gotten around to figuring out how to do
16029 that. I *think* it'll be something like: "table" == inset.type()
16031 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16034 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16036 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16037 all the citation/databases/styles in the auxilary file.
16038 (run): Rerun latex if there was a babel language error.
16040 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16042 * text.C (Backspace): Preserve the font when changing newline char
16044 (BreakParagraph): If the cursor is before a space, delete the space.
16046 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16048 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16050 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16051 new argument (code).
16052 (ChangeCitationsIfUnique): New method.
16054 * paragraph.C (GetPositionOfInset): Handle bibkey.
16056 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16058 * BufferView_pimpl.h: change type of Position::par_pos to
16059 LyXParagraph::size_type.
16061 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16063 * BufferView_pimpl.C (savePosition, restorePosition): Write
16064 messages to minibuffer.
16066 2001-01-28 José Matos <jamatos@fep.up.pt>
16068 * buffer.C (makeDocBookFile): adds support for document language.
16069 A silly restriction on the name of LatexCommand types where removed.
16070 Added support for CDATA sections, allows to chars unescaped, used
16071 among others in code, to avoid escape < and >.
16073 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16075 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16076 saved positions instrad of a stack. Furthermore, a position is
16077 stored using paragraph id/paragraph position.
16079 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16080 Remove LFUN_REF_BACK.
16082 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16084 * converter.C (dvipdfm_options): New method.
16086 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16088 * vspace.C (isValidLength): Fix for empty input string.
16090 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16092 * LyXAction.C (init): change description of LFUN_FIGURE to
16095 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16097 * LaTeX.C: add using directive
16099 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16101 * MenuBackend.C (expand): Fix the sorting of the formats.
16103 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16105 * lyx_main.C: tiny error message fix
16107 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16109 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16110 calling fl_initialize(). This fixes the problem with ',' as
16111 decimal separator in text files.
16113 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16115 * trans.C (process): Fix the keymap bug.
16117 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16119 * LaTeX.C (scanAuxFiles): New method. Provides support for
16120 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16121 (scanLogFile) Scan for "run BibTeX" messages.
16123 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16124 OT1 font encoding. Also, load the aecompl package if the ae
16127 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16129 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16131 * texrow.C (increasePos): turn two error messages into debug
16134 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16136 * LaTeX.C (scanAux): Handle the \@input macro.
16137 (runBibTeX): Use scanAux().
16139 * language.C (latex_options_): New field.
16141 * LaTeXFeatures.C (getMacros): Add language macros.
16143 * buffer.C (makeLaTeXFile): Small fix.
16145 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16147 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16149 * text2.C: add a using directive.
16151 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16156 * lyxfunc.C: kill LyXBell.
16158 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16160 * text.C (IsBoundary): Remove the error message
16162 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16164 * lyxrc.C (setDefaults): Correct initialization value for
16167 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16169 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16172 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16173 and GotoNextNote().
16175 * src/LyXAction.C: Added reference-next.
16177 * text.C (InsertChar): Use contains instead of strchr.
16179 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16181 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16183 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16184 alignment commands (when needed).
16186 * text.C (InsertChar): Add ':' to number separator chars.