1 2004-10-25 José Matos <jamatos@lyx.org>
3 * output_docbook.C (makeCommand): merge two if's that tested the same condition.
5 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * sgml.C (escapeString): fix warning in a better way
9 2004-10-25 José Matos <jamatos@lyx.org>
11 * sgml.C (escapeString): import the require boosts header file for
12 tie, and avoid a signed unsigned comparison.
14 2004-10-25 José Matos <jamatos@lyx.org>
16 * sgml.h: add #include <string>
18 2004-10-25 José Matos <jamatos@lyx.org>
20 * sgml.[Ch] (escapeString): new function to escape all the string.
22 2004-10-24 José Matos <jamatos@lyx.org>
24 * paragraph.[Ch] (getFirstWord): new function to get the first
25 word. Useful for description.
26 (simpleDocBookOnePar): remove depth argument, add another that
27 says where to start the paragraph.
29 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
30 use the new functions to fix cleanly the support for descriptions.
32 2004-10-24 José Matos <jamatos@lyx.org>
34 * buffer.C (makeLinuxDocFile, makeDocBookFile):
35 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
36 * output_linuxdoc.C (linuxdocParagraphs):
37 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
38 add buffer as argument.
40 2004-10-24 José Matos <jamatos@lyx.org>
42 * output_docbook.C (makeEnvironment, searchEnvironment): place
43 CDATA inside paragraphs and fix scope for listitems.
45 2004-10-24 José Matos <jamatos@lyx.org>
47 * output_docbook.C: remove using statement for stack.
49 2004-10-23 José Matos <jamatos@lyx.org>
51 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
52 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
53 docbook. The new scheme is recursive and makes use of iterators, the
54 same as latex export works.
55 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
56 directly with the paragraph contents. This code was moved up to
57 output_docbook.C (docbookParagraphs).
58 * sgml.C (openTag, closeTag): removed unneeded newlines.
59 (closeEnvTags) removed.
61 2003-10-23 André Pönitz <poenitz@gmx.net>
63 * undo.C (textUndoOrRedo):
64 * dociterator.C (asDocIterator): work around crash
66 * cursor.C (getStatus): replace ASSERT by more verbose error message
67 and manual correction of the problem. Should increase stability
68 while providing more sensible information.
70 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
72 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
74 * bufferlist.C (previous, next): new methods
77 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
79 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
81 * buffer.C (makeDocBookFile): add dsssl stylesheet control
84 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
86 * messages.C (Pimpl): strip off translation context information
88 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
90 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
91 the cursor is correct (bug 1694)
93 2004-10-13 José Matos <jamatos@lyx.org>
95 * output_docbook.C (docbookParagraphs): fix closing tags in the
98 2004-10-09 José Matos <jamatos@lyx.org>
100 * buffer.C: format up to 237.
101 * bufferparams.C (write): use tostr to convert booleans to strings.
103 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
105 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
107 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
109 * LaTeX.C: implement use of babel language in xindy.
111 2004-10-05 José Matos <jamatos@lyx.org>
113 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
114 Add new translators to help reading and writing the lyx file.
116 2004-10-05 José Matos <jamatos@lyx.org>
118 * ParagraphParameters.C (read):
119 * text.C (readParToken): replace nexToken by more appropriate lex
122 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
124 * LaTeX.C (runMakeIndex):
125 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
126 (usually 'makeindex') configurable.
128 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
129 with a variable rather than with a number.
131 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
133 * output_latex.C (TeXOnePar): make sure font setting is the first
134 thing that gets output (and the last at the end). Should fix bug
137 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
139 * pch.h: use proper signal include
141 * LaTeX.h: Use preferred calling of Boost.Signal
144 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
146 * pch.h: dont include <boost/function/function0.hpp>
148 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
150 * paragraph_pimpl.h: remove usage of ShareContainer
152 * paragraph_pimpl.C: remove initialization of ShareContainer.
154 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
158 * BufferView.C (putSelectionAt): change the semantics when
159 backwards == true: now, this just swaps cursor and anchor wrt the
162 * BufferView.h (putSelectionAt): add some documentation
164 * lyxfind.C (findBackwards): rewrite using while(). In particular,
165 make sure backwardChar is done at least once (to avoid getting
167 (findNextChange): use putSelectionAt in the forward direction
168 (operator()): use Paragraph::isWord
170 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
172 * Spacing.C (set): c_str fix
174 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
176 * lyx_cb.C (Reconfigure): quote the name of configure script in
177 case it contains spaces
179 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
183 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
184 (BOOST_LIBS): use top_buildir when looking for the file
186 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
188 * pch.h: do not use include boost/format.hpp, multiple symbols
189 will result (gcc bug)
192 2004-08-23 José Matos <jamatos@lyx.org>
194 * bufferparams.C (readToken): fix reading of the author field.
196 2004-08-20 José Matos <jamatos@lyx.org>
198 * lyxrc.C: remove support/translator.h inclusion since it is not used.
200 2004-08-20 José Matos <jamatos@lyx.org>
202 * lyxlex.[Ch] (findToken): remove function.
204 * ParagraphParameters.C (findToken):
205 * bufferparams.C (findToken): replace call for previous function
206 with local copy. This local function has one more argument, the
207 read string argument.
209 2004-08-16 José Matos <jamatos@lyx.org>
211 * ParagraphParameters.C (write):
212 * Spacing.C (writeFile):
213 * bufferparams.C (writeLaTeX):
214 * lyx_cb.C (Reconfigure):
215 * paragraph.C (write):
216 * tabular.C (write): remove unnecessary space at end of line.
219 2004-08-16 José Matos <jamatos@lyx.org>
221 * text.C (readParagraph): remove debug message.
223 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
225 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
228 * output_plaintext.C (asciiParagraph): set depth correctly
230 * outputparams.h: add member depth
232 * paragraph_funcs.C (ownerPar): remove.
234 * text2.C (setCounter): remove first_pit; comment out some
235 non-working code that uses ownerPar
237 * BufferView.C (getParentLanguage): remove. Not used anymore, and
240 2004-08-16 José Matos <jamatos@lyx.org>
242 * text.C (readParToken, readParagraph, read): report all unknown tokens.
243 For the same level of importance use the same chanel to report problems.
244 (read): add code to deal with \begin_body and \end_body.
247 2004-08-15 José Matos <jamatos@lyx.org>
249 * lyxlex.C (getString): fix comment, buffer::readBody is now
252 * tex-strings.C (string_papersize): Default -> default,
253 Custom -> custom, for consistency with other options.
255 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
259 * Makefile.am: support pch
261 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * text.C (readParToken): remove the static LyXFont variable and
264 pass it as a parameter instead. This fixes a nasty bug where an
265 inset will be inserted with a bad font in some situations
266 (readParagraph): adapt
268 * text2.C (setCounter): reduce number of calls to pars_[pit]
270 * text.C (singleWidth): add an assert, fix a test
272 * rowpainter.C (paintText): reduce number of calls to singleWidth
274 * paragraph.C (isHfill):
277 2004-08-14 André Pönitz <poenitz@gmx.net>
282 * lyxtext.h (several functions): use a Paragraph & argument
285 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
287 * metricsinfo.h: add a new field ltr_pos to PainterInfo
289 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
291 * text.C (singleWidth): remove useless test
293 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * tabular.h: remove bogus comments
297 * tabular.C (getDescentOfRow):
298 (isPartOfMultiColumn): add assertions
300 * lyxlength.C (inPixels): remove #warning
302 2004-08-14 André Pönitz <poenitz@gmx.net>
304 * paragraph.h: inline getChar()
306 * BufferView.h: remove unused declarations
308 2004-08-14 José Matos <jamatos@lyx.org>
310 * Buffer.[Ch] (readDocument): new name for old readBody.
311 * Buffer.C: new file format, new keywords: \begin_document,
312 \begin_header, \begin_body, \end_body.
314 * bufferparams.C (readToken): replace all calls to lex.nextToken
315 by lex.next(). Do the same to eatLine except where really needed.
317 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
318 line when writing to the lyx file.
320 * output_plaintext.C (asciiParagraph): fix Bibliography style
323 * text.C (read): fix end of file handling.
325 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
327 * MenuBackend.C (Menu::operator[]): new method to access
328 individual menu items
329 (Menu::hasFunc): new method. search for an item that corresponds
331 (MenuBackend::specialMenu): new method
332 (MenuBackend::expand): if a special menu has been set, skip
333 entries whose func() appears in this menu
335 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
337 * text3.C: use Debug::DEBUG a bit more
339 * text.C (leftMargin): try to simplify a tiny bit change var x to
340 l_margin. Dont output the wide margins always.
341 (rightMargin): no margin in inner texts
343 * rowpainter.h (nestMargin): new func
344 (changebarMargin): new func
345 (rightMargin): new func
347 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
351 * factory.C (createInset): modify setDrawFrame
353 * cursor.C: use Debug::DEBUG a bit more
355 2004-08-14 André Pönitz <poenitz@gmx.net>
358 * Makefile.am: new files to accomodate an 'external' (x,y)-position
359 cache for all insets in (at least partially) visible (top-level)
362 * BufferView_pimpl.C: reset external coord cache before every update.
363 This means the coord cache only contains valid entries.
365 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
368 * BufferView_pimpl.C (getInsetByCode): move function out of class
369 and change in to a template in anon namespace. Also fix to do what
372 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
375 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
377 (breakParagraph): rename par to par_offset and use a local
378 reference. Add code to keep the language over a rebreak.
379 (breakParagraphConservative): rename par to par_offset, use a
381 (mergeParagraph): ditto
383 (isFirstInSequence): ditto
384 (outerFont): rename pit to par_offset
386 * paragraph.C: ws change
391 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
396 * paragraph.C (simpleTeXOnePar): when we have a \item with
397 optional argument, enclose the argument with curly brackets (in
398 case it contains a closing square bracket)
402 * text3.C (checkInsetHit): constify
404 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
409 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
411 Fix toggling of collapsable insets with the mouse (bug 1558)
413 * lyxfunc.C (dispatch): adapt to LCursor changes
415 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
416 make sure that dispatch is not invoked twice
418 * cursor.C (needsUpdate): new method
419 (dispatch): return void
420 (result): new method, to access the DispatchResult of the cursor.
422 2004-08-13 José Matos <jamatos@lyx.org>
424 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
426 2004-08-13 André Pönitz <poenitz@gmx.net>
428 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
430 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
433 2004-08-12 André Pönitz <poenitz@gmx.net>
435 * text3.C: take out the 'cursor right' form insertInset and only
436 do it in those places when it is really needed. Fixes crash on
439 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
441 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
443 * BufferView_pimpl.C (setBuffer): initialize the current font of
444 the underlying LyXText
446 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
448 * kbsequence.C (print): use UI native formatting for menu
451 * text.C (insertChar): call Paragraph::insertChar with a font
454 * paragraph.C (insertInset, insertChar): the version that takes a
455 LyXFont argument is now a wrapper around the other one (the
456 opposite used to be true).
458 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
459 argument. Font setting is done in Paragraph now.
461 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
463 * outputparams.h: add new members intitle and lang.
465 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
466 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
468 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
470 * text3.C (dispatch): remove special handling of button 4 and 5,
471 it is now taken care of in the frontend code.
473 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
475 * Spacing.h: add <string> (STLPort compile fix)
477 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
479 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
481 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
483 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
486 * converter.C (showMessage): inherit from unary_function, make
489 * buffer.C (writeFile): initialize retval
491 * InsetList.h: rename private variable list to list_
492 * InsetList.[Ch]: adjust accordingly.
494 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
496 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
497 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
498 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
499 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
500 * ParagraphParameters.C, LaTeXFeatures.C: replace
501 "support/std_sstream.h" with <sstream>
503 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
505 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
506 * lyxsocket.C (LyXServerSocket): ditto
507 (serverCallback): ditto
509 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
511 * LaTeXFeatures.C: check release date when loading jurabib.
513 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
515 * lyxserver.C (startPipe): call register_socket_callback
516 (endPipe): call unregister_socket_callback
518 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
520 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
521 (LyXServerSocket): register the callback
522 (LyXServerSocket): unregister the callback
523 (fd): delete function
524 (serverCallback): improve error checking and setup the callbacks.
525 (dataCallback): change arg to fd.
526 (writeln): new func (copied fro the client socket) used for server
528 (LyXDataSocket): simplify
529 (~LyXDataSocket): close ann unregiser callback
530 (server): delete function
531 (fd): delete function
532 (readln): small changes, improve some std::string usage
533 (writeln): constify a bit
535 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
537 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
540 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
542 * BufferView_pimpl.C (setBuffer): set the layout combox value only
543 after it has been populated
545 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
547 * text2.C (insertInset): move cursor when inserting inset.
549 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
551 * kbmap.C (findbindings): a couple of new methods. returns a
552 container of kb_sequence objects. The real work is done by the
553 private recursive version
554 (printbindings): uses findbindings to print out a bracketed list
555 of bindings (renamed from findbinding).
557 * MenuBackend.C (binding): use kb_keymap::findbindings
559 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
561 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
563 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
565 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
567 * paragraph.C (isWord): return true on insets that report
570 * text.C (getWord): use Paragraph::isWord to decide what is in a
571 word and what is not; fix bug 1609.
573 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
575 * tex-strings.C: add "none" to string_paperpackages[], fixes
576 off-by-one-error in the paperpackage selection.
579 * tex-strings.[Ch]: char const * string[n]
580 -> char const * const string[]
582 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
584 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
585 command, return early.
587 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
589 * debug.h: add DEBUG to enum and fix size of ANY.
591 * debug.C: add support for Debug::DEBUG
592 (showTags): cast errorTags.level to unsigned int
594 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
595 (redoCurrentBuffer): ditto
596 (updateScrollbar): ditto
597 * cursor.C (dispatch): ditto
598 * text2.C (setLayout): ditto
600 (updateCounters): ditto
602 (deleteEmptyParagraphMechanism): ditto
604 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
606 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
607 annotations to cleanup the Makefile slightly.
609 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
611 * lyxrc.C: do not set user_email to a default value but use empty
612 instead. The entry used to be translated, which does not work
613 since at the point where lyxrc is constructed there is no
614 translation service available
616 * messages.C (getLocaleDir): remove and use directly
617 lyx_localedir() instead
619 2004-06-02 Angus Leeming <leeming@lyx.org>
621 Fix crash caused by dereferencing null pointer 'exportdata' in
622 OutputParams by creating a new ExportData variable on the heap,
623 storing it in a boost::shared_ptr.
624 The crash was triggered when generating an Instant Preview
625 of an external inset.
627 * Makefile.am: add outputparams.C
629 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
630 (c-tor): allocate memory to it.
632 * exporter.C (c-tor): associated changes.
634 2004-06-01 Angus Leeming <leeming@lyx.org>
636 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
637 contains data before calling isInset(0). (Bug 1513.)
639 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
641 * exporter.C (checkOverwrite): new method
642 * exporter.C (copyFile): new method
643 * exporter.C (Export): copy referenced files to the document dir
644 * exporter.[Ch]: new class ExportedFile
645 * exporter.[Ch]: new class ExportData. Contains currently the
646 names of referenced external files
647 * outputparams.h: add exportdata member.
649 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
651 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
654 2004-05-19 Angus Leeming <leeming@lyx.org>
659 * lyxfunc.C: small changes due to the introduction of namespace
660 lyx::frontend and the moving of namespace biblio to lyx::biblio.
662 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
664 * text3.C (dispatch): supress update when only moving the cursor
665 * cursor.C (selHandle): remove commented code
667 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
669 * paragraph.C (startTeXParParams): correct column count
670 * CutAndPaste.C (pasteSelection): remove const_cast
671 * output_docbook.C (docbookParagraphs): remove const_cast
672 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
673 const_cast and return ParagraphList::const_iterator
674 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
675 * output_plaintext.C (writeFileAscii): remove const_cast
676 * paragraph.[Ch] (simpleTeXOnePar): make const
677 * paragraph_funcs.C (outerPar): use const iterators
678 * paragraph_pimpl.C (validate): use const iterators
679 * text.C (setHeightOfRow): use const iterators
681 2004-05-17 Angus Leeming <leeming@lyx.org>
684 * LyXAction.C (init): new LFUN_INSET_REFRESH.
686 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
687 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
688 if the citation engine has changed.
690 2004-05-14 José Matos <jamatos@lyx.org>
692 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
693 if the textclass does not provide it. Have it different for sgml and
695 support the language of document.
696 * output_docbook.C (docbookParagraphs):
697 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
698 first anchor as the id of the paragraph, remove special case code.
699 * sgml.C (escapeChar): escape only < & >.
701 2004-05-14 Angus Leeming <leeming@lyx.org>
703 * bufferparams.h: move biblio::CiteEngine enum here to minimize
704 dependencies on src/frontends/controllers/biblio.h. Define a
705 CiteEngine_enum wrapper class to enable the enum to be forward
708 2004-05-12 Angus Leeming <leeming@lyx.org>
710 * buffer.C: up LYX_FORMAT to 234.
711 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
712 use_numerical_citations with a single biblio::CiteEngine cite_engine
714 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
716 2004-05-13 José Matos <jamatos@lyx.org>
719 * converter.C (Converter, readFlags): add xml member.
720 * outputparams.h: add XML flavor.
721 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
723 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
725 * lyxfunc.C (dispatch):
726 (getStatus): fix handling of LFUN_SEQUENCE
728 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
730 * debug.C (showLevel): do not forget the end-of-line marker
732 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
734 * kbmap.C (read): do not stop parsing a bind file when an error
737 2004-04-29 Angus Leeming <leeming@lyx.org>
742 * text2.C: wrap a bunch of #warning statements
743 inside #ifdef WITH_WARNINGS blocks.
745 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
747 * buffer.C: increment format to 233.
749 2004-04-28 Angus Leeming <leeming@lyx.org>
751 * BufferView_pimpl.C:
754 s/updateToolbar()/updateToolbars()/
755 s/Toolbar.h/Toolbars.h/
757 2004-04-28 Angus Leeming <leeming@lyx.org>
759 * BufferView.[Ch] (c-tor):
760 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
761 No longer passes these data to the WorkArea generator.
763 2004-04-28 Angus Leeming <leeming@lyx.org>
765 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
767 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
769 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
771 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
773 * output_latex.C (TeXEnvironment): make sure that there is a line
774 break before \end{foo} for the last paragraph of a document
775 (TeXOnePar): if the paragraph is at the end of the document (or
776 inset) and the language has to be reset, then make sure that the
777 line break is _before_ the language command, not after (fixes bug
778 1225); also make sure that the language reset command is the first
779 thing after the paragraph (to ensure proper nesting of
780 environments and thus fix bug 1404)
782 2004-04-21 John Levon <levon@movementarian.org>
785 * ToolbarBackend.C: make "name" be a programmatic name
786 and a gui_name field.
788 * lyxfunc.C: display the minibuffer on M-x
790 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
792 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
795 2004-04-19 Angus Leeming <leeming@lyx.org>
797 * BufferView_pimpl.C (setBuffer): changed preview interface.
799 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
802 2004-04-19 John Levon <levon@movementarian.org>
804 * BufferView_pimpl.C:
805 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
807 2004-04-05 Angus Leeming <leeming@lyx.org>
809 * text.C (redoParagraphs): add call to updateCounters(), thereby
810 fixing the missing "Figure #:" label from the caption of a
813 2004-04-13 Angus Leeming <leeming@lyx.org>
815 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
816 cursor is clicked out of an inset.
818 2004-04-13 Angus Leeming <leeming@lyx.org>
820 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
821 than an InsetOld one.
823 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
825 * format.[Ch]: add editor to Format
826 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
827 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
829 2004-04-08 André Pönitz <poenitz@gmx.net>
831 * metricsinfo.h: remove PainterInfo::width member
833 2004-04-08 Angus Leeming <leeming@lyx.org>
835 * lyx_sty.C (boldsymbol_def): modify so that it outputs
836 "\providecommand" rather than "\newcommand", thereby preventing
837 clashes with packages that define "\boldsymbol" themselves.
840 2004-04-08 Angus Leeming <leeming@lyx.org>
842 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
843 thereby squashing an unnecessary warning.
845 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
847 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
850 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
852 * BufferView.C (setCursor): call redoParagraph (some insets could
854 (putSelectionAt): remove the 'double update' trick
856 * BufferView_pimpl.C (fitCursor): call refreshPar
857 (workAreaDispatch): remove an uneeded update call
858 (dispatch): remove some manual update calls
860 * cursor.[Ch]: remove cached_y_, updatePos
861 (selHandle): set noUpdate when appropriate
863 * lyxfunc.C (dispatch): track if we need an update
865 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
867 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
868 (paintSelection): cheap optimization, do not call cursorX when not
870 (paintPars): change signature
873 (paintTextInset): adjust
877 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
879 * lengthcommon.C: compilation fix: remove explicit array size from
880 unit_name[] and friends
882 2004-04-05 Angus Leeming <leeming@lyx.org>
884 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
886 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
887 present only for the preferences dialog.
888 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
890 2004-04-05 Angus Leeming <leeming@lyx.org>
892 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
893 to enable the frontends to export changes to lyxrc correctly.
895 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
897 2004-04-07 André Pönitz <poenitz@gmx.net>
899 * cursor.[Ch] (selClear, adjust): remove math
901 * cursor_slice.C: more agressive assert
904 * BufferView_pimpl.C: rework mouse event dispatch
911 2004-04-05 André Pönitz <poenitz@gmx.net>
913 * cursor.[Ch] (valign, halign...): remove unneeded functions
915 2004-04-05 Angus Leeming <leeming@lyx.org>
917 * lyxlength.[Ch] (unit_name et al.): const-correct.
919 2004-04-05 Angus Leeming <leeming@lyx.org>
921 * BufferView_pimpl.C:
930 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
932 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
934 * text3.C (getStatus): add LFUN_BEGINNINGBUF
936 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
938 * lyxfind.C: add a couple of inTexted() tests + other small fixes
939 * BufferView_pimpl.[Ch] (getStatus)
940 * BufferView.[Ch] (getStatus): add
941 * lyxfunc.C (getStatus): move lfuns handled in
942 BufferView::dispatch to te function above
943 * Cursor.C (setSelection): set selection() = true
945 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
947 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
949 2004-03-31 Angus Leeming <leeming@lyx.org>
951 * lyxfunc.C (dispatch): Fall through to the generic
952 Dialogs::show("preamble").
954 2004-03-31 Angus Leeming <leeming@lyx.org>
956 * lyxfunc.C (dispatch): Fall through to the generic
957 Dialogs::show("spellchecker").
959 2004-03-31 Angus Leeming <leeming@lyx.org>
961 * lyxfunc.C (getStatus, dispatch): changed invocation of the
964 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
969 * insetiterator.[Ch]:
974 * undo.[Ch]: s/DocumentIterator/DocIterator/g
976 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
978 * BufferView.C (setCursor, putSelectionAt): call edit to open the
979 insets where we are putting the cursor.
981 2004-03-31 Angus Leeming <leeming@lyx.org>
984 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
986 * lyxrc.[Ch] (read, write): overloaded member functions taking
987 a std::[io]stream arguments.
989 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
991 2004-03-31 Angus Leeming <leeming@lyx.org>
993 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
994 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
996 * lyxtextclass.C (load): if the text class couldn't be loaded, then
997 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
999 2004-03-31 Angus Leeming <leeming@lyx.org>
1001 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1002 the LFUN_ALL_INSETS_TOGGLE code.
1004 2004-03-30 Angus Leeming <leeming@lyx.org>
1006 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1007 has died. Fall through to the generic Dialogs::show("document").
1009 2004-03-30 Angus Leeming <leeming@lyx.org>
1012 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1013 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1015 * lyxfunc.C (getStatus, dispatch): define the actions for these
1016 lfuns. Little more than a cut and pste job from ControlDocument.C
1018 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1020 2004-03-30 Angus Leeming <leeming@lyx.org>
1023 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1024 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1026 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1027 open/closed state of ollapsable insets. Usage:
1029 all-inset-toggle <state> <name>, where
1030 <state> == "open" || "closed" || "toggle" and
1031 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1033 * lyxtext.h, text2.C (toggleInset): removed.
1035 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1036 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1037 now passes LFUN_INSET_TOGGLE to the found inset.
1039 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1040 is now invoked as "all-insets-toggle toggle branch".
1042 2004-03-30 Angus Leeming <leeming@lyx.org>
1046 * pariterator.[Ch]: added/corrected header blurb.
1048 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1050 * dociterator.[Ch]: add an inset_ member
1051 (backwardPos): implemented
1052 (backwardPos, forwardPos): use inset_ when the stack is empty.
1053 (doc_iterator_begin, doc_iterator_end): implemented
1054 * pariterator.[Ch]: adjust, add begin, end
1055 * insetiterator.[Ch]: adjust, add begin, end
1059 * BufferView_pimpl.C:
1060 * CutAndPaste.C: adjust
1062 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1064 * buffer.C: increment file format to 232.
1065 * LaTeXFeatures.C: add bibtopic package.
1066 * bufferparams.[Ch]: param \use_bibtopic.
1068 * lyxrc.[Ch]: add lyxrc bibtex_command
1069 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1071 * buffer.C: increment file format to 231.
1073 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1075 * dociterator.C: implement forwardPar
1076 * iterators.[Ch]: remove, replaced by
1077 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1079 * BufferView_pimpl.C:
1082 * bufferview_funcs.C:
1088 * Makefile.am: adjust
1090 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1092 * CutAndPaste.C (pasteSelection): fix 2 crashes
1093 (eraseSelection): fix a crash
1094 * paragraph_funcs.C: remove a warning
1096 2004-03-28 Angus Leeming <leeming@lyx.org>
1099 * LyXAction.C (init): new LFUN_PRINT.
1101 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1103 2004-03-27 Angus Leeming <leeming@lyx.org>
1106 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1108 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1110 2004-03-27 Angus Leeming <leeming@lyx.org>
1112 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1113 insetlist always contains non-null pointers to insets.
1115 2004-03-26 Angus Leeming <leeming@lyx.org>
1117 * src/BufferView_pimpl.C:
1118 * src/CutAndPaste.C:
1121 * src/output_plaintext.C:
1122 * src/outputparams.h:
1123 * src/paragraph_funcs.C:
1127 * src/frontends/controllers/ControlErrorList.C:
1128 * src/frontends/gtk/FileDialogPrivate.C:
1129 * src/frontends/gtk/GPainter.C:
1130 * src/frontends/gtk/GToolbar.C:
1131 * src/frontends/qt2/QRef.C:
1132 * src/mathed/math_scriptinset.C: squash compiler warnings.
1134 2004-03-26 Angus Leeming <leeming@lyx.org>
1136 * ispell.C (LaunchIspell::start):
1137 * lyx_cb.C (AutoSaveBuffer::start):
1138 invoke run(DontWait) rather than runNonBlocking().
1140 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1142 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1144 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1146 * kbsequence.C (print): adjust
1148 * kbmap.C (printKeySym): rename and change signature
1149 (printKey): use LyXKeySym::print()
1151 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1153 * undo.C: add using std::advance to compile for stlport
1155 2004-03-24 Angus Leeming <leeming@lyx.org>
1157 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1158 it leads to a crash when no buffer is present.
1160 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1161 Martin Vermeer <martin.vermeer@hut.fi>
1163 * lyxfunc.C (dispatch):
1164 * bufferparams.C (readToken): use the new LColor::setColor
1166 * LColor.[Ch] (setColor): new version that takes two strings as
1167 argument and creates a new color entry if necessary
1169 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1171 * buffer.C (makeLaTeXFile): if the main latex file that is
1172 processed is usually a subdocument of some master, then pretend
1173 for a while that it is actually the master
1175 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1177 * buffer.C (getLabelList):
1178 (getBibkeyList): use getMasterBuffer()
1179 (getMasterBuffer): new method. Returns the main document in the
1180 case where one is using included documents.
1182 2004-03-25 André Pönitz <poenitz@gmx.net>
1186 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1188 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1190 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1191 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1193 * ParameterStruct.h: merge with ParagraphParameters
1195 * lyxtext.h: remove LyXText::parOffset() and getPar()
1197 * text3.C: Remove all 'manual' update calls. We do now one per user
1198 interaction which is completely sufficient.
1202 * BufferView_pimpl.C:
1203 * FontIterator.[Ch]:
1205 * ParagraphParameters.[Ch]:
1210 * cursor_slice.[Ch]:
1217 * output_docbook.[Ch]:
1218 * output_latex.[Ch]:
1219 * output_linuxdoc.[Ch]:
1220 * output_plaintext.[Ch]:
1222 * paragraph_funcs.[Ch]:
1223 * paragraph_pimpl.[Ch]:
1231 * frontends/controllers/ControlDocument.C:
1232 * frontends/controllers/ControlErrorList.C:
1233 * frontends/controllers/ControlSpellchecker.C:
1236 * insets/insetbase.h:
1237 * insets/insetbibitem.C:
1238 * insets/insetbox.C:
1239 * insets/insetbranch.C:
1240 * insets/insetcaption.C:
1241 * insets/insetcharstyle.C:
1242 * insets/insetcharstyle.h:
1243 * insets/insetcollapsable.C:
1244 * insets/insetcollapsable.h:
1245 * insets/insetert.C:
1246 * insets/insetfloat.C:
1247 * insets/insetfoot.C:
1248 * insets/insetmarginal.C:
1249 * insets/insetnote.C:
1250 * insets/insetoptarg.C:
1251 * insets/insettabular.C:
1252 * insets/insettext.C:
1253 * insets/insettext.h:
1254 * insets/insetwrap.C:
1255 * mathed/math_mboxinset.C:
1256 * mathed/math_nestinset.C:
1257 * mathed/math_scriptinset.C:
1258 * mathed/math_scriptinset.h:
1261 2004-03-24 Angus Leeming <leeming@lyx.org>
1263 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1264 deal with any child processes that have finished but are waiting to
1265 communicate this fact to the rest of LyX.
1267 2004-03-24 Angus Leeming <leeming@lyx.org>
1269 64-bit compile fixes.
1271 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1272 (c-tor): pass lyx::pos_types rather than ints.
1274 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1277 * text.C (Delete): compile fix.
1278 (getPar): ensure that function declaration is the same as that in
1281 2004-03-23 Angus Leeming <leeming@lyx.org>
1283 * ispell.C (LaunchIspell):
1284 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1285 a boost::shred_ptr rather than a std::auto_ptr.
1287 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1289 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1290 handle LFUN_FILE_INSERT_*
1292 * lyxrc.C (setDefaults, getDescription, output, read):
1293 * lyxrc.h: remove ps_command
1295 2004-03-22 Angus Leeming <leeming@lyx.org>
1297 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1298 Ensure that error_handler is processed once only and that all data
1299 is saved before attempting to output any warning messages.
1301 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1303 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1305 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1307 2004-03-19 André Pönitz <poenitz@gmx.net>
1309 * cursor.[Ch] (reset): take main text inset as argument
1311 * BufferView: adjust
1312 * BufferView_pimpl.C: adjust
1314 * paragraph.[Ch]: fix completely broken operator=()
1316 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1318 * LColor.C (getFromLyXName): make sure that the color name is used
1321 2004-03-17 Angus Leeming <leeming@lyx.org>
1324 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1326 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1327 dialog and to kill a forked process.
1329 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1331 * text2.C (setCursorFromCoordinates): fix font problem
1333 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1335 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1336 bogus "rebuild cursor" code
1338 2004-03-11 André Pönitz <poenitz@gmx.net>
1340 * buffer.[Ch]: use InsetText instead of LyXText as container for
1343 * dociterator.[Ch]: drop the BufferView * member which is not needed
1344 anymore after the change to buffer.C
1346 * paragraph_funcs.C:
1350 * BufferView_pimpl.[Ch]:
1352 * cursor_slice.[Ch]: adjust
1354 * text3.C: fix bug in mathDispatch
1356 2004-03-08 André Pönitz <poenitz@gmx.net>
1358 * undo.[Ch]: use 'StableDocumentIterator' as base for
1361 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1364 * bufferparams.[Ch]: add jurabib support and param.
1366 * LaTeX.C: add FIXME/comment.
1368 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1370 * buffer.C: increment file format to 230.
1372 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1374 * cursor.C (dispatch): avoid infinite loops
1376 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1378 * rowpainter.C (paintSelection): fix x coordinates
1380 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1382 * text.C (rowBreakPoint): fix breaking before displayed insets
1384 2004-03-01 André Pönitz <poenitz@gmx.net>
1386 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1388 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1392 * BufferView_pimpl.C:
1400 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1406 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1407 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1409 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1411 * Bidi.[Ch] (computeTables): const correctness
1412 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1413 fill_hfill, fill_label_hfill and x from Row
1414 * lyxtext.h: prepareToPrint returns a RowMetrics
1415 * rowPainter.C: adjust
1416 * text.C (prepareToPrint): use width, not textWidth. adjust
1417 (redoParagraphInternal, cursorX): adjust
1418 * text2.C (getColumnNearX): adjust
1419 (init): put a default value to the top LyXText::width
1421 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1423 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1425 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1427 * lyxtext.h: add FontIterator class
1429 * text.C (FontIterator, operator*, operator->, operator++): add
1430 (rowBreakPoint, setRowWidth): adjust (fixing a
1433 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1435 * BufferView_pimpl.C (workAreaDispatch): allow also
1436 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1438 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1440 * text.C (rowBreakPoint): fix a bug showing with very large insets
1442 2004-02-25 André Pönitz <poenitz@gmx.net>
1445 * cursor.[Ch]: move some mathed specific code to mathed
1447 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1449 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1450 use_tempdir in preferences
1451 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1453 * lyx_main.C: ensure that tempdir is valid
1454 * lyxlex.h: correct typo
1455 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1456 * paragraph.[Ch] (isMultiLingual): make const
1457 * cursor.[Ch] (openable): make const
1459 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1461 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1463 2004-02-20 André Pönitz <poenitz@gmx.net>
1465 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1467 * cursor.[Ch]: prepare for localized getStatus()
1473 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1475 2004-02-20 André Pönitz <poenitz@gmx.net>
1477 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1479 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1481 * text2.C (setCursorFromCoordinates): switch to absolute coords
1483 (cursorDown): adjust
1484 * text3.C (dispatch): adjust
1486 2004-02-16 André Pönitz <poenitz@gmx.net>
1488 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1491 * cursor_slice.[Ch]: remove unneeded acessor function
1493 * lyxtext.h: rename rtl() to isRTL()
1501 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1503 * rowpainter.C (paintSelection): coord fix
1505 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1507 * Spacing.C: compile fix
1509 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1511 * cursor.C (dispatch): restore current_ before returning
1513 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1515 * text2.C (cursorUp, cursorDown): fix coords
1518 2004-02-12 André Pönitz <poenitz@gmx.net>
1523 * text3.C: add LCursor & parameter to most cursor movement functions
1524 remove usage of LyXText::cursorRow() and cursorPar()
1526 * cursor.[Ch]: add textRow() needed members
1529 * BufferView_pimpl.C:
1532 * BufferView_pimpl.C: adjust
1534 2004-02-11 André Pönitz <poenitz@gmx.net>
1538 * BufferView_pimpl.C: shift undo/redo handling
1540 * cursor.[Ch]: fix mathed crash
1543 * lyxtext.h: move selectionAsText to LCursor
1551 * rowpainter.C: fix excessive drawing
1553 2004-02-06 André Pönitz <poenitz@gmx.net>
1556 * BufferView_pimpl.[Ch]:
1557 * text3.C: move some text specific LFUN handling
1559 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1561 * text3.C (checkInsetHit): adjust coords
1562 * text2.C (getColumnNearX): adjust coords
1563 (edit): adjust coords
1564 * text.C (getRowNearY): add two asserts
1566 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1569 * format.C: add using std::distance to compile on gcc 2.95/stlport
1571 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1573 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1575 2004-02-04 André Pönitz <poenitz@gmx.net>
1577 * BufferView.[Ch] (insertInset):
1578 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1583 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1585 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1586 on the default clause of the switch
1587 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1588 wasn't catched by LCursor::dispatch
1590 2004-02-03 André Pönitz <poenitz@gmx.net>
1593 * cursor.[Ch]: some additional asserts
1595 * undo.[Ch]: remove LyXText dependency in interface
1599 * lyxtext.h (firstPar, lastPar): remove dead functions
1604 * paragraph.[Ch]: adjust
1606 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1608 * lyxfind.C (find): fix argument order in call to ::find
1610 2004-02-02 André Pönitz <poenitz@gmx.net>
1612 * cursor.[Ch]: remove direct access to anchor
1614 * text.C: remove findText() hack
1616 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1618 * iterators.[Ch] (lockPath): remove in favour of...
1619 * BufferView.[Ch] (setCursor): this addition
1620 * BufferView.C (putSelectionAt): adjust
1621 * undo.C (performUndoOrRedo): adjust
1622 * lyxfunc.C (dispatch): adjust
1624 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1626 * iterators.C (lockPath): add a missing slice
1627 * undo.C (performUndoOrRedo): remove redundant positioning code
1629 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1631 * vc-backend.C (scanMaster): ";" -> ';'
1633 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1635 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1636 std::binary_function
1638 * lyxtextclass.C (compare_name): rename to...
1639 (LayoutNamesEqual): ...this
1641 * lyxlex_pimpl.C (compare_tags): inherit from
1642 std::binary_function, put back into anon namespace
1644 * lyxfind.C (MatchString): inherig from std::binary_function
1645 (findChange): use empty() istead of !size()
1647 * format.C (FormatNamesEqual): new functor
1654 * converter.C (compare_Converter): rename to...
1655 (ConverterEqual): ...this, and fixup a bit.
1656 (getConverter): use it, and make function const
1657 (getNumber): use it, and make function const
1661 * bufferlist.C: add using boost::bind
1663 * MenuBackend.C (MenuNamesEqual): new functor
1664 (hasMenu): use it, and make function const
1665 (hasSubmenu): use nested bind to get rid of compare_memfun.
1667 2004-01-30 André Pönitz <poenitz@gmx.net>
1669 * BufferView_pimpl.C:
1672 * cursor_slice.[Ch]:
1675 * paragraph_funcs.C:
1676 * paragraph_funcs.h:
1680 * text3.C: move some of the edit(x,y) handling to the insets
1681 some coordinate changes.
1683 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1685 * text.C: add using statements for std::advance and std::distance
1687 * paragraph.C: add using statement for std::distance
1689 * lyxfind.C: add using statement for std::advance
1691 * cursor.C (region): remove std:: from swap
1692 (openable): use nucleus in stead of operator->
1694 * BufferView.C: add using statements for std::distance and std::swap
1696 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1698 * iterators.C: Remove the pimple, move the needed structures to
1699 the header file. Create accessor for the positions stack.
1700 (asPosIterator): remove function
1702 * PosIterator.C (PosIterator): move constructors to top of file
1703 (PosIterator): reimplement the constructor taking a ParIterator in
1705 (setFrom): new function
1706 (operator!=): inline it
1708 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1710 * lyxfind.C (replaceAll): use std::advance
1712 * iterators.h: inherit from std::iterator.
1714 * PosIterator.C (advance, distance): remove
1715 * PosIterator.h: interit from std::iterator.
1717 2004-01-26 André Pönitz <poenitz@gmx.net>
1720 * BufferView_pimpl.[Ch]:
1724 * bufferview_funcs.C:
1734 * output_linuxdoc.C:
1735 * output_plaintext.C:
1737 * paragraph_funcs.[Ch]:
1738 * paragraph_pimpl.[Ch]:
1744 * text3.C: more IU: dumps most of the rest of the mathcursor
1745 implementation into cursor.[Ch]; "globalize" a bit of it.
1747 2004-01-25 Angus Leeming <leeming@lyx.org>
1749 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1751 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1753 * LaTeXFeatures.h: add nice_ and nice() const
1754 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1756 2004-01-20 André Pönitz <poenitz@gmx.net>
1759 * BufferView_pimpl.C:
1761 * bufferview_funcs.C:
1763 * cursor_slice.[Ch]:
1774 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1775 LCursor and mathcursor parts to LCursor and InsetBase.
1777 2004-01-15 André Pönitz <poenitz@gmx.net>
1779 * cursor_slice.[Ch]: add a few covienience functions
1781 * funcrequest.[Ch]: remove BufferView * member
1783 * BufferView_pimpl.C:
1790 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1792 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1794 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1795 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1797 2004-01-13 André Pönitz <poenitz@gmx.net>
1800 * lyxtext.h: hide cursor and selection anchor behind accessor function
1803 * BufferView_pimpl.[Ch]:
1805 * bufferview_funcs.C:
1815 * cursor_slice.[Ch]: some integer type changes for inset unification
1817 * lyxcursor.[hC]: remove, it's CursorSlice now.
1820 * BufferView_pimpl.[Ch]:
1821 * bufferview_funcs.C:
1827 * textcursor.[Ch]: adjust
1829 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1831 * text2.C (undoSpan): add and use
1832 * text.C (breakParagraph): use undoSpan (fix bug 578)
1835 2004-01-08 Angus Leeming <leeming@lyx.org>
1837 * BufferView_pimpl.C (MenuInsertLyXFile):
1838 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1839 * lyxfunc.C (menuNew, open, doImport):
1840 FileFilterList change to the FileDialog open and save functions.
1842 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1844 * ShareContainer.h: make isEqual and isUnique adaptable
1846 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1848 2004-01-07 Angus Leeming <leeming@lyx.org>
1851 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1853 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1855 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1856 functions replacing find, replace and replaceAll.
1858 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1859 LFUN_WORDFIND(FORWARD|BACKWARD).
1861 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1863 * text.C (breakParagraph): remove an outdated #warning
1865 2004-01-07 André Pönitz <poenitz@gmx.net>
1867 * lyxfind.C: somewhat clearer logic
1869 * text.C: prevent crash in cursorX on unitialized row cache
1871 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1873 * lyxcursor.[Ch] (operator>): add
1874 * textcursor.C (selStart, selEnd): use std::min and std::max
1876 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1878 * Chktex.C: include boost/format.hpp
1880 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1882 * InsetList.C: replace functor MathcIt with adaptable functor
1884 (insetIterator): modify accordingly
1886 * BranchList.h: move the BranchNamesEqual functor here from...
1887 * BranchList.C: ... to here
1889 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1891 (add): replace a finding loop with std::find_if.
1893 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1895 * output_docbook.C: moving LatexParam functionality into
1898 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1900 * buffer.C: increment format to 229.
1902 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1905 * lyx_sty.[Ch]: remove minipageindent_def
1911 * text3.C: remove LFUN_INSET_MINIPAGE
1913 2003-12-28 Angus Leeming <leeming@lyx.org>
1915 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1917 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1919 * text2.C (setParagraph): fix off-by-one crash
1921 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1923 * output_docbook.C: header stuff for AGU
1925 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1927 * text2.C (redoCursor): remove
1930 * BufferView_pimpl.C: remove calls to redoCursor and
1931 setCursor(cursor.par(), cursor.pos()) all around
1933 2003-12-15 Angus Leeming <leeming@lyx.org>
1935 * buffer.C: up the format to 228.
1937 2003-12-15 André Pönitz <poenitz@gmx.net>
1939 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1944 * BufferView_pimpl.C:
1953 2003-12-15 Angus Leeming <leeming@lyx.org>
1955 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1956 than getFromGUIName to manipulate the color.
1958 2003-12-14 Angus Leeming <leeming@lyx.org>
1960 * BranchList.[Ch]: minimize the API.
1961 (Branch::getBranch, getColor): now return a 'const &'.
1962 (Branch::setSelected) now returns a bool set to true if the
1963 selection status changes.
1964 (BranchList::clear, size, getColor, setColor, setSelected,
1965 allBranches, allSelected, separator): removed.
1966 (BranchList::find): new functions, returning the Branch with
1968 (BranchList::add, remove): return a bool indicating that
1969 the operation was successful.
1971 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1972 new InsetBranch::isBranchSlected member function.
1974 * LColor.[Ch]: mimimize the API.
1975 (fill): renamed as addColor and made private.
1976 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1977 versions of these functions taking a string arg have been removed.
1979 * bufferparams.C (readToken):
1980 * lyxfunc.C (dispatch):
1981 * lyxrc.C (read): changes due to the altered BranchList and
1984 * factory.C (createInset, readInset): changes due to altered
1987 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1990 * lyxfunc.C: remove insetminipage. "minipage-insert"
1991 now produces a frameless minipage box inset.
1993 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1995 * textcursor.[Ch] (selStart,selEnd): add new methods
1996 remove selection::start, end, use LyXCursor::operator<
1997 * lyxcursor.[Ch] (operator<): add
1998 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1999 * BufferView.[Ch] (unsetXSel): add
2000 * text2.C (clearSelection): use unsetXSel,adjust
2003 * rowpainter.C: adjust
2004 * bufferview_funcs.C (put_selection_at): adjust
2006 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2008 * BufferView_pimpl.C: small coord. correction
2010 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2012 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2013 dragging over the splash screen.
2015 2003-12-11 Angus Leeming <leeming@lyx.org>
2017 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2018 as it is now handled in LyXText::dispatch.
2020 * text3.C (doInsertInset): remove a level of nesting.
2022 2003-12-11 Angus Leeming <leeming@lyx.org>
2024 * factory.C (createInset): changes due to the changed interface to
2025 InsetCommandMailer::string2params.
2027 2003-12-10 Angus Leeming <leeming@lyx.org>
2029 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2030 'dialog-show-new-inset <inset name>'
2032 2003-12-10 Angus Leeming <leeming@lyx.org>
2034 * buffer.C: up the format to 227.
2036 * factory.C: the box inset is now identified simply by 'Box'.
2038 2003-12-10 Angus Leeming <leeming@lyx.org>
2040 * buffer.C: up the format to 226.
2042 * factory.C: the note inset is now identified simply by 'Note'.
2044 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2046 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2047 when a pit is enough. Standarize a couple of loops.
2049 2003-12-05 Angus Leeming <leeming@lyx.org>
2051 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2052 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2053 data to the re-worked "log" dialog.
2055 2003-12-03 André Pönitz <poenitz@gmx.net>
2061 * paragraph_funcs.C:
2063 * text2.C: use Inset::getText instead of Inset::getParagraph
2065 2003-12-03 André Pönitz <poenitz@gmx.net>
2069 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2070 InsetText::read() as LyXText::read()
2072 2003-12-02 Angus Leeming <leeming@lyx.org>
2074 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2075 type. Add a comment in the implementation that the function uses
2076 the stream's bad() function rather than fail() as the std::streams
2079 2003-12-02 André Pönitz <poenitz@gmx.net>
2081 * lyxlex.[Ch]: make interface more similar to std::stream
2083 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2085 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2087 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2089 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2091 * vspace.[Ch]: remove VSpace::NONE
2093 2003-12-01 André Pönitz <poenitz@gmx.net>
2096 * lyxtext.h: move ParagraphList member to LyXText
2097 rename LyXText::ownerParagraphs to LyXText::paragraph
2100 * bufferview_funcs.C:
2110 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2112 * undo.C: fix cursor positioning
2114 2003-12-01 John Levon <levon@movementarian.org>
2116 * BufferView_pimpl.C: fix a crash on exit with
2119 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2121 * BranchList.C: fix setSelected() method.
2123 2003-11-28 André Pönitz <poenitz@gmx.net>
2125 * ParagraphParameters.[Ch]:
2126 * ParameterStruct.h: remove space above/below from Paragraph to
2129 * BufferView_pimpl.C:
2135 * paragraph_funcs.C:
2141 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2143 * factory.C: Syntax change for CharStyles
2145 2003-11-28 André Pönitz <poenitz@gmx.net>
2150 * buffer.[Ch]: move LyXText member
2152 2003-11-28 André Pönitz <poenitz@gmx.net>
2154 * BufferView.[Ch]: make LyXText * text a private member
2156 * BufferView_pimpl.C:
2167 * output_plaintext.C: cleanup
2169 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2172 * lyxtextclass.[Ch]: parametrize SGML document header
2174 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2177 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2180 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2182 * text2.C (setFont): rework using PosIterator (no more recursive)
2183 (setCharFont): no more needed
2184 (setLayout): no more selection cursors fiddling (done by redoCursor)
2185 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2186 destroy remaining ones)
2188 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2190 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2192 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2195 * text3.C: adjust + re-allow multi par depth changes
2196 * textcursor.C: simplify a bit
2198 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2204 * src/output_docbook.C:
2205 * src/output_latex.C:
2210 * src/text2.C: Introducing a number of tags parametrizing various
2211 XML formats that we may want to support
2213 2003-11-25 André Pönitz <poenitz@gmx.net>
2215 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2217 * lyxtext.h (leftMargin/rightMargin): simplify interface
2224 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2226 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2227 master file to any child files. Fixes bug 546.
2229 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2231 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2233 2003-11-24 André Pönitz <poenitz@gmx.net>
2235 * rowpainter.C: simplification
2237 * text2.C (updateCounters): remove call to redoParagraph on
2238 changed labels as this is far too expensive.
2240 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2242 * converter.C (convert): fix a crash: this function gets
2243 called with buffer == 0 from importer code.
2245 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2247 * text3.C (cursorPrevious): make sure that we do not compare
2248 iterators form different containers.
2251 * rowpainter.C (paintSelection): make sure that we do not compare
2252 iterators from different containers.
2254 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2255 iterators from different ParagraphList containers.
2258 * text2.C (LyXText): change order of initialization slightly
2259 (operator=): new function. copy all variables except cache_par_
2260 (moveUp): make sure that we do not compare iterators from
2261 different ParagraphList constainers.
2264 * text.C (firstPar): new function
2265 (lastPar): new function
2266 (endPar): new function
2268 * lyxtext.h: move things around and group public functions, public
2269 variables, private functions, private variables
2271 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2273 * factory.C: change call to InsetERT constructor to avoid
2274 additional invocation of method status
2275 * text2.C (toggleInset): remove redundant update() call
2276 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2277 instead of a Bufferview pointer
2279 2003-11-21 André Pönitz <poenitz@gmx.net>
2281 * rowpainter.C: simplification
2283 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2285 * text3.C (dispatch): make possible to extend a word/row selection
2288 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2290 * lyxtext.h: x0_,y0_ -> xo_,yo_
2291 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2292 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2293 * rowpainter.C (paintRows): paint full paragraphs
2295 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2297 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2300 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2302 * lyxtext.h: add x0_, y0_
2303 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2304 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2306 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2308 * text2.C (setCursorIntern): move the x_target update here *
2309 * text3.C: change some bv() to true/false in calls to
2310 cursorUp/Down/Right/Left
2311 * cursor.C: use helper function.
2313 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2315 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2316 * paragraph_funcs.[Ch]: correct comment
2317 * rowpainter.C: do not paint selections away from bv->cursor()
2318 Fix a long standing selection painting bug.
2319 * text3.C: generalize mouse-selection code to LyXTexts other that
2321 * textcursor.C: do not use y coords if we can use par offsets
2323 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2325 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2326 cursor position after e.g. inset insert)
2328 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2330 * lyxfind.C (replace): adjust to locking removal + some
2333 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2335 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2338 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2341 * output_docbook.C: XML sanitation: new layout
2342 parameters InnerTag and CommandDepth
2344 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2346 * BufferView_pimpl.C:
2348 * text3.C: Fix the insertion and modification of button-style
2351 2003-11-13 André Pönitz <poenitz@gmx.net>
2353 * InsetList.[Ch]: remove deleteLyXText
2355 * paragraph.[Ch]: cache beginOfBody position
2360 * text3.C: remove superfluous update() calls
2364 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2366 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2367 * BufferView.C (fitLockedInsetCursor): remove
2368 * cursor.[Ch] (getDim): add
2369 * text.C (getRowNearY): add faster version
2370 * text3.C: remove some update calls
2372 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2384 * text3.C: The Character Style /XML short element patch.
2386 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2389 * factory.C: Small step to solving 'unable to insert some insets'
2392 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2394 * cursor.[Ch] (updatePos): new function for updating the y
2395 position of the tip inset
2396 * bufferview_funcs.C (put_selection_at):
2397 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2399 2003-11-11 André Pönitz <poenitz@gmx.net>
2401 * text.C: remove big comment on invalid Paragraph pointers as it is
2404 2003-11-11 André Pönitz <poenitz@gmx.net>
2406 * text_funcs.[Ch]: merge with ...
2414 * Makefile.am: remove text_funcs.[Ch]
2416 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2418 * cursor.C (getPos): return absolute cached y coord
2420 * BufferView_pimpl.C (fitCursor): new simplistic code
2421 (workAreaDispatch): add a fitCursor call
2423 2003-11-10 André Pönitz <poenitz@gmx.net>
2426 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2428 2003-11-10 André Pönitz <poenitz@gmx.net>
2430 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2431 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2432 indicate that the cursor needs to leave an inset
2434 * lyxtext.h: remove inset locking
2436 * cursor.[Ch]: re-implement functionality provided by inset locking
2439 * BufferView_pimpl.[Ch]:
2441 * bufferview_funcs.[Ch]:
2453 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2455 * PosIterator.[Ch]: replace the stack with a vector, add inset
2457 * iterators.[C]: adjust
2459 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2461 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2463 * paragraph_funcs.C (readParToken): put the correct id in the
2464 error item, not the id of the top paragraph
2466 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2468 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2469 * bufferview_funcs.C (put_selection_at): use the above
2471 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2473 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2475 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2477 * output_linuxdoc.h:
2478 * output_plaintext.h:
2480 * output_docbook.h: add #include statements
2482 2003-11-05 José Matos <jamatos@lyx.org>
2484 * output_docbook.[Ch]:
2485 * output_latex.[Ch]:
2486 * output_linuxdoc.[Ch]:
2487 * output_plaintext.[Ch]: New files for output formats.
2488 * output.[Ch]: New file for helper functions.
2491 * paragraph_funcs.[Ch]: output functions moved to new files.
2493 * outputparams.h: rename of latexrunparams.h
2501 * paragraph_funcs.[Ch]:
2502 * paragraph_pimpl.[Ch]:
2503 * tabular.[Ch]: rename ascii to plaintext
2504 and LatexRunParams to OutputParams.
2506 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2508 * iterators.[Ch] (text): require bv argument
2509 * undo.C (recordUndo):
2510 * lyxfunc.C (dispatch):
2511 * bufferview_funcs.C (put_selection_at): adjust
2513 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2515 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2517 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2519 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2522 2003-11-04 André Pönitz <poenitz@gmx.net>
2524 * cursor.[Ch]: restructure
2527 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2529 * iterators.[Ch] (asCursor): remove
2531 * lfuns.h: remove LFUN_INSET_EDIT
2537 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2539 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2541 * lyxfind.[Ch]: complete overhaul
2542 * BufferView_pimpl.C:
2544 * paragraph.[Ch] (insert): add
2546 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2550 * text.C: remove dead spellcheck code
2552 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2554 * dispatchresult.h: add a val setter
2556 * cursor.C (dispatch): use a tempvar for data_[i]
2558 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2560 * PosIterator.[Ch]: compile fix
2562 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2564 * text.C (cursorPar): deactivate the cursor cache
2566 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2568 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2570 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2572 * text3.C (dispatch): adjust for new DisptchResult semantics.
2574 * lyxfunc.C (dispatch): handle update when return from
2575 Cursor::dispatch, adjust for new DispatchResult semantics.
2577 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2578 DispatchResult(true) mean to not update. Add class functions for
2579 setting dispatched and update, as well as reading.
2581 * cursor.C (dispatch): don't handle update here
2583 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2585 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2586 * trans_mgr.C: adjust
2588 * paragraph_funcs.C (readParToken): exception safety
2590 * lyxvc.h: store the vcs pointer in a scoped_ptr
2593 * lyxsocket.C (serverCallback): exception safety
2595 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2597 * ispell.C (clone): make it return a auto_ptr
2599 * factory.C (createInset): exception safety
2600 (readInset): exception safety
2602 * bufferlist.C (newBuffer): exception safety
2604 * Thesaurus.C (Thesaurus): use initialization for aik_
2606 * MenuBackend.C (expandToc): exception safety.
2608 2003-11-03 André Pönitz <poenitz@gmx.net>
2612 * bufferview_funcs.C: remove getInsetFromId()
2615 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2621 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2623 * PosIterator.C (distance, advance): new
2624 * bufferview_funcs.[Ch] (put_selection_at): new
2625 * iterators.[Ch] (lockPath): new
2627 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2629 * iterators.[Ch] (asPosIterator): added
2630 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2631 * PosIterator.[Ch]: added
2633 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * cursor.C (dispatch):
2638 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2640 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2641 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2642 contructor, add a class function dispatched. Remove operator>=
2644 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2646 * debug.C: only use the default constructor for debugstream
2649 * main.C (main): include debug.h and setup the lyxerr streambuf
2652 2003-10-31 José Matos <jamatos@lyx.org>
2654 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2656 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2657 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2658 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2659 * paragraph_pimpl.C (simpleTeXSpecialC):
2660 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2661 add LatexRunParams argument.
2663 * exporter.C (Export): change call accordingly.
2665 * latexrunparams.h: add new member to take care of the other backends.
2666 2003-10-30 José Matos <jamatos@lyx.org>
2668 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2669 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2670 factorise code for paragraph output.
2672 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2675 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2677 * text3.C (dispatch):
2678 * lyxfunc.C (dispatch):
2679 * cursor.C (dispatch):
2680 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2682 * dispatchresult.h: make the dispatch_result_t ctor explicit
2684 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2687 * buffer.C: small refactoring of docbook stuff
2689 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2691 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2694 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2696 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2697 operator dispatch_result_t, and operators for == != and >=
2699 * cursor.C (dispatch): adjust for operator dispatch_result_t
2700 removal. comment out call to update
2702 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2704 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2712 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2715 * dispatchresult.h: new file, DispatchResult broken out of
2718 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2720 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2722 * text.C (rowBreakPoint): put a hack inside #if 0
2724 2003-10-28 André Pönitz <poenitz@gmx.net>
2728 * paragraph_funcs.C:
2731 * text2.C: general cleanup (lots of small stuff)
2733 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2735 * text2.C (cursorEnd): simple fix to the "end key goes to one
2736 before the end on last row" bug
2738 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2740 * text.C (backspace): fix the "zombie characters"
2742 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2744 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2746 2003-10-27 André Pönitz <poenitz@gmx.net>
2748 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2750 * factory.C: handle new InsetPagebreak, InsetLine
2752 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2753 and move handling into new InsetPagebreak, InsetLine
2755 * BufferView_pimpl.C:
2757 * ParagraphParameters.C:
2758 * ParameterStruct.h:
2763 * paragraph_funcs.C:
2764 * paragraph_pimpl.C:
2770 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2773 * lyxrow_funcs.[Ch]:
2779 * text3.C: remove lastPos uses in favour of Row::endpos
2781 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2783 * undo.C (performUndoOrRedo): fix two crashes by setting a
2784 cursor by hand and reordering some calls. Use bv->lockInset instead
2785 of inset->edit because the latter loses cursor information
2787 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2789 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2791 (rowBreakPoint): fix width. change point to point + 1.
2792 Add a missing check.
2794 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2797 * lyxfunc.C: fix (at least partly) the problems
2798 with the Nav menu and headers inside branch insets
2801 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2803 * paragraph.C (getChar): add strong asserts
2805 * lyxrow_funcs.C (lastPos): remove hideous hack
2807 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2808 (fill): adjust to that (avoid an infinite loop)
2810 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2812 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2814 2003-10-23 André Pönitz <poenitz@gmx.net>
2816 * RowList_fwd.h: change list<> to vector<> to gain speed
2817 after suggestion from Alfredo
2819 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2821 * lyxtext.h: move the bidi stuff from here...
2824 * Bidi.[Ch]: ... to here
2826 2003-10-23 André Pönitz <poenitz@gmx.net>
2829 * text.C (isLastRow, isFirstRow): new functions
2831 * paragraph.h: new width cache member
2833 * rowpainter.C: replace RowList::iterator with Row & where possible
2835 * lyxfunc.C: replace several view()->text with a single call
2837 * toc.C: fix 'unused' warning
2839 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2841 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2842 when woring with stream::pos_type
2843 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2845 2003-10-22 André Pönitz <poenitz@gmx.net>
2848 * text.C: use Row & instead of RowList::iterator
2850 * lyxrow.h: rename end() to endpos()
2856 2003-10-22 Angus Leeming <leeming@lyx.org>
2858 * buffer.[Ch] (fully_loaded): new member function, returning true
2859 only when the file has been loaded fully.
2860 Used to prevent the premature generation of previews and by the
2861 citation inset to prevent computation of the natbib-style label.
2863 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2864 templates are all set up.
2866 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2868 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2870 * text.C: fixed an "oops" in the "is a bit silly"
2873 2003-10-21 André Pönitz <poenitz@gmx.net>
2875 * FuncStatus.[Ch]: small stuff, whitespace
2877 * lyxfont.[Ch]: operator<<() for debug reasons
2881 * lyxtext.h: whitespace, spelling
2883 * paragraph.C: naming of variables
2886 * text2.C: small stuff
2889 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2891 * text.C: (1) finish off the inset display() work;
2892 (2) fix the "is a bit silly" bug (accessing char
2895 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2897 * text.C: re-introduce display() for insets, fixing the
2898 various bugs (stretch of line above, math inset
2901 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2903 * text.C (rightMargin): remove spurious semicolon
2905 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2908 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2910 * text3.C: fix one crash due to wrong cursor def
2912 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2914 * vc-backend.C (scanMaster): make the regex static
2916 * LaTeX.C (scanAuxFile): make the regexs static
2918 * text3.C (doInsertInset, dispatch, dispatch):
2919 * text2.C (cursorUp, cursorDown):
2920 * text.C (selectNextWordToSpellcheck):
2921 * BufferView_pimpl.C (dispatch):
2922 * lyxfunc.C (dispatch): localDispatch -> dispatch
2924 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2926 * lyxsocket.C: include <cerrno>
2928 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2930 * lyxfunc.C (dispatch): remove textcache stuff
2932 * bufferlist.C (release): remove textcache stuff
2935 * TextCache.C: delete file
2936 * TextCache.h: delete file
2938 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2940 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2941 delete of the bv_->text.
2942 (resizeCurrentBuffer): remove texcache stuff
2943 (workAreaResize): ditto
2945 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2947 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2950 2003-10-16 André Pönitz <poenitz@gmx.net>
2957 * text3.C: speed up by storing y positions per paragraph plus per-row
2958 offset instead of having a 'full' y position in the row.
2960 2003-10-15 André Pönitz <poenitz@gmx.net>
2964 * undo.[Ch]: make undo aware of inner insets
2966 2003-10-14 Angus Leeming <leeming@lyx.org>
2968 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2969 static member functions LyX::ref() and LyX::cref.
2970 (lastfiles): new accessor functions for the new lastfiles_ member var.
2971 (addLyXView, views_): add a new LyXView to the list of views_.
2972 (updateInset): loop over all LyXViews to call their own updateInset
2973 member function, returning a pointer to the Buffer owning the inset.
2975 * BufferView_pimpl.C (loadLyXFile):
2976 * MenuBackend.C (expandLastfiles):
2977 * bufferlist.C (MenuWrite, QuitLyX):
2978 lastfiles is no longer a global variable.
2979 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2981 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2982 static function. Access through LyX::cref().emergencyCleanup().
2984 2003-10-14 André Pönitz <poenitz@gmx.net>
2986 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2988 * undo.[Ch]: restoring part of 'undo in insets'
2991 * undo_funcs.[Ch]: merge with undo.[Ch]
2993 * tabular.C: small cleansing stuff
2995 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2997 * paragraph_funcs.C (readParToken): report unknown insets as error
2998 boxes. Use the outer paragraph as location (also for unknown
3001 * factory.C (readInset): do not abort on reading an unknown inset.
3002 Eat it and return 0.
3004 2003-10-13 Angus Leeming <leeming@lyx.org>
3006 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3008 * lyxrc.C: displayTranslator is now a function,
3009 declared in GraphicsTypes.h.
3011 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3013 * format.C: new placeholder $$a to pass the socket address.
3015 * bufferlist.[Ch]: new function getBufferFromTmp.
3017 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3018 files in the temporary dir.
3020 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3022 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3024 * Makefile.am: add lyxsocket.[Ch].
3026 * lyx_main.C (error_handler): handle SIGPIPE.
3028 2003-10-13 André Pönitz <poenitz@gmx.net>
3030 * BufferView_pimpl.C:
3035 * undo_funcs.[Ch]: use paroffset_type instead of
3036 ParagraphList::iterators to prevent multiple conversion
3037 (and get a more robust interface)
3039 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3041 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3043 * text3.C (dispatch): ditto
3045 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3047 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3048 move the onlyfile, use onlyfile instead of foundfile in a couple
3051 * DepTable.C (update): flush the error stream a bit more
3053 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3055 * lyxserver.C (callback): adjust
3057 * lyxfunc.C (getStatus): add a missing brace in commented code
3058 (ensureBufferClean): reindent
3059 (dispatch): delete version taking a string
3061 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3063 * LaTeX.C (deplog): move found file handlig from here...
3064 (handleFoundFile): .. to new function here.
3065 (deplog): make sure to discover several files mentioned on the
3068 2003-10-10 André Pönitz <poenitz@gmx.net>
3075 * text3.C: fix some of the tabular crashes
3077 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3079 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3081 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3083 2003-10-09 André Pönitz <poenitz@gmx.net>
3085 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3088 * BufferView_pimpl.C:
3089 * bufferview_funcs.C:
3100 * undo_funcs.C: adjust
3102 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3104 * text2.C (incrementItemDepth): new function, use a backtracking
3105 algorithm to discover the correct item depth.
3106 (resetEnumCounterIfNeeded): new function, use a backtracking
3107 algorithm to discover if counter reset is needed.
3108 (setCounter): use them. Simplify a bit. Add different labels for
3109 different item depths for itemize.
3111 * paragraph.C (Paragraph): remove initialization of enumdepth
3114 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3115 enumerate and itemize. Change the type of itemdepth to signed char.
3117 2003-10-08 André Pönitz <poenitz@gmx.net>
3119 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3124 * tabular.[Ch]: fix crash after 'row-insert'
3126 2003-10-08 Angus Leeming <leeming@lyx.org>
3128 Fix doxygen warnings.
3130 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3131 Remove CutAndPaste:: prefix from header file declaration.
3133 * LColor.h (fill): remove LColor:: prefix from declaration.
3135 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3136 use lyx::depth_type rather than Paragraph::depth_type so that
3137 header file and .C file match.
3139 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3141 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3142 * aspell.C: \file aspell_local.C -> \file aspell.C
3143 * gettext.C: \file gettext.C -> \file src/gettext.C
3144 * gettext.h: \file gettext.h -> \file src/gettext.h
3145 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3146 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3147 * text.C: \file text.C -> \file src/text.C
3149 * toc.C: move comment so that doxygen is not confused.
3151 2003-10-07 Angus Leeming <leeming@lyx.org>
3153 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3155 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3158 * aspell_local.h: add forgotten std::string's.
3160 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3167 * text3.C: The Box patch. Fancybox support, minipage, parbox
3169 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3175 * ParagraphParameters.h:
3185 * lyxtextclasslist.h:
3188 * paragraph_pimpl.C:
3189 * textcursor.h: add <string> and other small fixes to make Lars'
3190 std::string patch compile with STLport.
3192 2003-10-06 Angus Leeming <leeming@lyx.org>
3194 * LColor.h: Add missing #include <string>.
3196 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3198 * All most all file in all subdirs: Make <string> be the prefered
3199 way of getting to std::string, add using declarations.
3201 2003-10-06 André Pönitz <poenitz@gmx.net>
3203 * metricsinfo.C: initialize LyXFont before changing attribute.
3204 (fixes the 'math in \emph is upright' bug)
3206 2003-10-06 André Pönitz <poenitz@gmx.net>
3208 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3210 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3213 * paragraph_pimpl.C: Small fixes to build using STLport
3215 2003-10-02 André Pönitz <poenitz@gmx.net>
3218 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3220 2003-10-01 André Pönitz <poenitz@gmx.net>
3222 * factory.C: assert early
3224 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3226 * lyx_main.C: remove the global debug object
3228 * debug.h: adjust for new debugstream
3230 * debug.C: adjust for new debugstream and keep the global debug
3233 2003-09-22 Angus Leeming <leeming@lyx.org>
3235 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3236 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3237 an incomplete class LyXFont.
3239 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3241 * factory.C: bug fix in branches
3243 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * lyxfunc.C (processKeySym): adjust
3247 (dispatch): change arg name from ev to func, adjust
3248 (sendDispatchMessage): ditto
3250 * lyx_main.C (defaultKeyBindings): adjust keybindings
3251 (deadKeyBindings): ditto
3253 * kbsequence.C (addkey): return a FuncRequest
3255 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3257 * kbmap.C (bind): take a FuncRequest as arg, adjust
3260 (defkey): change to take a FuncRequest as arg, adjust
3261 (findbinding): take a FuncRequest as arg, adjust.
3263 * funcrequest.h (operator=): added
3265 * funcrequest.C (FuncRequest): default kb_action changed from
3266 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3268 * buffer.C (dispatch): simplify
3269 (dispatch): adjust to take a FuncRequest as arg, adjust
3271 * boost.C (assertion_failed): change assertion message slightly
3273 * ToolbarBackend.C (read): simplify
3275 * MenuBackend.C (binding): adjust call to findbinding, add a
3276 message if no binding is found.
3278 (expandToc): correct by adding a empty FuncRequest
3280 * LyXAction.C: include <boost/assert.hpp>
3281 (isPseudoAction): delete function
3282 (LookupFunc): change name to...
3283 (lookupFunc): this. change return type to FuncRequest.
3284 (getActionName): take kb_action as arg, simplify
3285 (funcHasFlag): add an assert, simplify.
3287 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3289 * toc.C (action): return a FuncRequest, simplify
3291 * lyxfunc.C (processKeySym): adjust
3292 (getStatus): delete version that takes an int.
3294 (dispatch): delete version that takes action as int
3296 (sendDispatchMessage): simplify and adjust
3298 * funcrequest.C (getArg): take unsigned int as arg
3300 * ToolbarBackend.C (read): adjust
3301 (add): delete version that takes func as a string.
3302 (getIton): take a FuncRequest as arg
3304 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3307 * MenuBackend.C (MenuItem): add a new construct that only takes a
3308 Kind, simplify the constructor use for submenus.
3310 (expandLastfiles): adjust
3311 (expandDocuments): adjust
3312 (expandFormats): adjust
3313 (expandFloatListInsert): adjust
3314 (expandFloatInsert): adjust
3315 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3317 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3318 Remove class variables lyx_pseudo_map and lyx_arg_map
3320 * LyXAction.C (searchActionArg): delete function
3321 (getPseudoAction): delete function
3322 (retrieveActionArg): delete function
3323 (LookupFunc): make it return kb_action, simplify.
3324 (getActionName): simplify
3326 * factory.C (createInset): fix new bug
3328 2003-09-19 Angus Leeming <leeming@lyx.org>
3330 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3331 masterFilename_ parameter in the include inset.
3333 * factory.C (createInset): changes due to the changes to InsetInclude.
3335 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3337 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3339 2003-09-18 Angus Leeming <leeming@lyx.org>
3342 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3343 Inset::fillWithBibKeys.
3344 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3346 2003-09-18 Angus Leeming <leeming@lyx.org>
3348 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3350 (ctor): pass and store a 'Buffer const &'
3351 (buffer): new member function.
3353 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3354 '*this' to the LaTeXFeatures ctor.
3356 2003-09-18 Angus Leeming <leeming@lyx.org>
3362 * text.C: rename EnumLColor as LColor_color.
3364 2003-09-18 Angus Leeming <leeming@lyx.org>
3366 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3367 remove #include "insets/insetbase.h" from cursor.h.
3369 2003-09-18 Angus Leeming <leeming@lyx.org>
3371 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3372 InsetOld_code to remove #include "inset.h".
3374 * iterators.C: add #include "insets/inset.h"
3376 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3378 * BufferView.C: remove more locking stuff that apparently doesn't
3379 do anything sensible.
3381 2003-09-16 André Pönitz <poenitz@gmx.net>
3384 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3387 2003-09-16 Angus Leeming <leeming@lyx.org>
3389 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3391 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3394 * paragraph.h: remove #include "lyxfont.h". Forward declare
3397 2003-09-16 Angus Leeming <leeming@lyx.org>
3399 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3400 of support/textutils.h.
3401 (isWord): move the contents of support/textutils.h's IsWordChar here.
3407 * text2.C: add #include "paragraph.h".
3410 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3412 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3418 * LaTeX.C: use namespace alias for lyx::support::os
3420 2003-09-16 Angus Leeming <leeming@lyx.org>
3423 * bufferview_funcs.C:
3426 * paragraph_pimpl.C:
3428 * text.C: add #include "LColor.h".
3430 2003-09-16 Angus Leeming <leeming@lyx.org>
3432 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3433 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3435 Store the FontBits::color variable as an int rather than as an
3436 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3439 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3440 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3441 string calls together.
3443 * lyxrc.C: add #include "LColor.h".
3445 2003-09-15 Angus Leeming <leeming@lyx.org>
3447 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3450 2003-09-15 Angus Leeming <leeming@lyx.org>
3452 * LColor.h: add an EnumLColor wrapper for LColor::color.
3454 * lyxfont.[Ch] (color, setColor, realColor):
3455 * lyxtext.h, text.C (backgroundColor):
3456 pass EnumLColor args to/from the functions, rather than LColor::color
3460 * lyxtext.h: forward declare EnumLColor.
3462 * lyx_main.C: add #include "LColor.h".
3464 2003-09-15 Angus Leeming <leeming@lyx.org>
3466 * .cvsignore: add lyx-gtk.
3468 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3473 * ParagraphParameters.C
3477 * bufferview_funcs.C
3487 * vc-backend.C: remove usage of STRCONV
3489 2003-09-15 Angus Leeming <leeming@lyx.org>
3491 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3492 explicitly define the color passed to the painter.
3494 2003-09-15 Angus Leeming <leeming@lyx.org>
3496 * bufferparams.C (BufferParams): reorder member initializers to avoid
3499 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3501 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3502 * text.C (updateRowPositions): remove an unusual nop
3504 2003-09-12 André Pönitz <poenitz@gmx.net>
3506 * BufferView_pimpl.C:
3515 * Counters.[Ch]: finish the 'automatic counters' job
3517 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3519 * aspell.C: include <boost/assert.cpp> (compile fix)
3521 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3523 * boost.C (assertion_failed): use lyx::support::abort instead of
3526 2003-09-10 Angus Leeming <leeming@lyx.org>
3528 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3529 with their _fwd progeny.
3531 2003-09-09 Angus Leeming <leeming@lyx.org>
3533 134 files throughtout the source tree: replace 'using namespace abc;'
3534 directives with the appropriate 'using abc::xyz;' declarations.
3536 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3538 * boost.C (emergencyCleanup): moved here from LAssert.c
3539 (assertion_failed): new function, called by BOOST_ASSERT
3541 * several files: change Assert to BOOST_ASSERT
3543 2003-09-09 Angus Leeming <leeming@lyx.org>
3545 * buffer.[Ch]: Add an Impl class and move Buffer's member
3546 variables into it. As a result move several header files out of
3549 Add header files to lots of .C files all over the tree as a result.
3551 2003-09-09 Angus Leeming <leeming@lyx.org>
3553 * buffer.[Ch]: make Buffer's member variables private. Add
3556 Lots of changes all over the tree as a result.
3558 2003-09-08 Angus Leeming <leeming@lyx.org>
3560 * graph.C: #include <config.h>.
3562 2003-09-08 Angus Leeming <leeming@lyx.org>
3566 * BufferView_pimpl.C:
3595 * toc.C: remove redundant using directives.
3597 2003-09-07 Angus Leeming <leeming@lyx.org>
3599 * LaTeXFeatures.h: remove #include "support/types.h".
3600 * ToolbarBackend.h: remove #include <algorithm>.
3601 * changes.h: remove #include <ctime>.
3602 * debug.h: remove #include <iosfwd>.
3603 * graph.h: remove #include "support/std_string.h".
3604 * lyx_main.h: remove #include <csignal>.
3605 * lyxlex_pimpl.h: remove #include <fstream>.
3606 * sgml.h: remove #include <algorithm>, <utility>.
3607 * toc.h: remove #include "support/std_ostream.h".
3608 Add #include <iosfwd>.
3610 2003-09-07 Angus Leeming <leeming@lyx.org>
3612 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3614 * converter.h: forward declare LatexRunParams.
3615 * encoding.h: remove #include "lyxrc.h".
3616 * lyxtext.h: remove #include "LColor.h".
3617 * lyxtextclass.h: remove #include "support/types.h".
3618 * trans.h: remove #include "tex-accent.h".
3619 * trans_mgr.h: remove #include "tex-accent.h".
3620 * insets/inset.h: remove #include "support/types.h", <vector>.
3621 * insets/insetcollapsable.h: remove #include "LColor.h".
3622 * insets/insetinclude.h: remove #include "dimension.h".
3623 * insets/insetlatexaccent.h: remove #include "dimension.h".
3624 * insets/insetoptarg.h:: remove #include "insettext.h".
3625 * insets/insettext.h: remove #include "dimension.h",
3626 <boost/shared_ptr.hpp>
3628 * insets/renderers.h: add #include "dimension.h".
3629 * insets/updatableinset.h: add #include "support/types.h".
3631 * many .C files: Associated changes.
3633 2003-09-06 Angus Leeming <leeming@lyx.org>
3635 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3636 one, inside testInvariant.
3638 * PrinterParams.C: new file.
3639 * PrinterParams.[Ch]: move the function bodies out of line.
3641 2003-09-06 Angus Leeming <leeming@lyx.org>
3643 * ParagraphParameters.h: forward declare ParameterStruct rather than
3644 including its header file.
3645 (depth): moved out-of-line.
3647 2003-09-06 Angus Leeming <leeming@lyx.org>
3649 * BufferView_pimpl.h:
3652 * lyxfunc.h: forward declare LyXKeySym rather than
3653 #include "frontends/LyXKeySym.h".
3655 * BufferView_pimpl.C:
3658 * lyxfunc.C: associated changes.
3660 2003-09-06 Angus Leeming <leeming@lyx.org>
3662 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3663 As a result, can remove the #include "insets/inset.h" from BufferView.h
3665 2003-09-06 Angus Leeming <leeming@lyx.org>
3667 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3668 As a result, can remove the #include "insets/inset.h" from BufferView.h
3670 2003-09-06 Angus Leeming <leeming@lyx.org>
3676 * bufferview_funcs.C:
3677 * BufferView_pimpl.C:
3682 * ParagraphParameters.C:
3687 * frontends/controllers/ControlDocument.C:
3688 * insets/insetcaption.C: rearrange the #includes into some sort of
3691 * buffer.h: remove #includes ErrorList.h, undo.h
3693 2003-09-06 Angus Leeming <leeming@lyx.org>
3695 * support/types.h: add a 'depth_type' typedef, used to store the
3696 nesting depth of a paragraph.
3699 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3700 defining explicitly.
3703 * paragraph_funcs.h:
3704 * ParagraphParameters.h:
3705 * sgml.h: use lyx::depth_type rather than Paragraph or
3706 ParameterStruct's depth_type.
3709 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3712 * BufferView_pimpl.C:
3714 * ParagraphParameters.C:
3717 * bufferview_funcs.C:
3724 * frontends/LyXView.C:
3725 * frontends/controllers/ControlDocument.C:
3726 * frontends/controllers/ControlErrorList.C:
3727 * insets/insetbibitem.C:
3728 * insets/insetbranch.C:
3729 * insets/insetcaption.C:
3730 * insets/insetcollapsable.C:
3731 * insets/insetenv.C:
3732 * insets/insetert.C:
3733 * insets/insetfloat.C:
3734 * insets/insetfoot.C:
3735 * insets/insetfootlike.C:
3736 * insets/insetnewline.C:
3737 * insets/insetquotes.C:
3738 * insets/insettabular.C:
3739 * insets/insettext.C:
3740 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3742 * frontends/controllers/ControlChanges.C: #include "changes.h".
3744 2003-09-06 Angus Leeming <leeming@lyx.org>
3746 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3747 than #including paragraph.h.
3750 * RowList.h: deleted. Superfluous.
3760 * insets/insettext.h: use ParagraphList_fwd.h rather than
3763 * paragraph.h: don't forward declare ParagraphList.
3766 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3767 rather than ParagraphList.h. paragraph.h is still needed for the
3768 Paragraph::depth_type parameters.
3770 * textcursor.h: enable it to compile stand-alone in light of the
3773 * bufferview_funcs.C:
3785 * frontends/controllers/ControlParagraph.C:
3786 * frontends/controllers/ControlTabular.C:
3787 * insets/insetmarginal.C:
3788 * insets/insetminipage.C:
3789 * insets/insetnote.C:
3790 * insets/insetoptarg.C: add header files needed to compile again.
3792 2003-09-06 Angus Leeming <leeming@lyx.org>
3794 * RowList_fwd.h: new file, forward-declaring Row rather than
3795 #including lyxrow.h.
3800 * insets/insettext.h: use it instead of RowList.h
3802 * bufferview_funcs.C:
3809 * text3.C: #include "RowList.h".
3811 2003-09-05 Angus Leeming <leeming@lyx.org>
3813 * factory.C (createInset):
3814 * vspace.C (c-tor): replace sscanf call with an istringstream.
3815 * ispell.C: re-add missing HP/UX headers.
3816 * lyxserver.C: re-add missing os2 headers.
3818 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3827 * text3.C: re-add missing system headers, needed for 2.95.2.
3829 2003-09-05 Angus Leeming <leeming@lyx.org>
3831 Changes most place everywhere due to the removal of using directives
3832 from support/std_sstream.h.
3834 2003-09-05 Angus Leeming <leeming@lyx.org>
3836 Replace LString.h with support/std_string.h,
3837 Lsstream.h with support/std_sstream.h,
3838 support/LIstream.h with support/std_istream.h,
3839 support/LOstream.h with support/std_ostream.h.
3841 Changes resulting throughout the tree.
3843 2003-09-05 Angus Leeming <leeming@lyx.org>
3845 * sgml.h: ensure that the header file can be compiled stand-alone.
3846 * *.C: strip out redundant #includes. (320 in total.)
3848 2003-09-04 Angus Leeming <leeming@lyx.org>
3850 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3851 here (from getPackages).
3853 * debug.[Ch]: add a new EXTERNAL tag.
3855 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3857 * text2.C (cursorEnd): simplify
3859 (getColumnNearX): adjust
3861 * text.C (computeBidiTables): adjust
3864 * rowpainter.C (paintChars): adjust
3865 (paintSelection): adjust
3866 (paintChangeBar): adjust
3869 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3871 (numberOfSeparators): adjust
3873 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3879 * text3.C: Restricts the mouse click functionality
3880 of insets like bibtex, include, toc and floatlist to the visible
3881 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3882 up the dialogs. Cursor has to be in front of the inset (i.e.
3883 start of row) for this to function.
3885 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3887 * bufferview_funcs.C (currentState): output row information
3889 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3891 * bufferview_funcs.C (currentState): output paragraph position
3893 2003-09-04 Angus Leeming <leeming@lyx.org>
3895 * FloatList.h: move out #include "Floating.h".
3896 * LaTeX.h: move out #include "DepTable.h".
3897 * LyXAction.h: move out #include "funcrequest.h".
3898 * buffer.h: move out #include "author.h", "iterators.h".
3899 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3900 * lyx_main.h: move out #include "errorlist.h".
3901 * lyxfunc.h: move out #include "FuncStatus.h".
3902 * lyxtext: move out #include "lyxcursor.h".
3903 * paragraph_pimpl.h: move out #include "counters.h".
3905 2003-09-03 Angus Leeming <leeming@lyx.org>
3907 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3908 preamble_snippets list, enabling us to add snippets to the preamble
3909 only if the snippet was not there already.
3911 2003-09-04 Angus Leeming <leeming@lyx.org>
3913 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3915 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3920 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3922 * BranchList.C: point fix, earlier forgotten
3924 2003-09-02 Angus Leeming <leeming@lyx.org>
3926 * box.C (contains): renamed from 'contained' after a fantastic
3929 2003-09-02 John Levon <levon@movementarian.org>
3935 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3937 2003-09-02 John Levon <levon@movementarian.org>
3939 * text2.C: simplification of cursorEnd(), including partial
3942 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3944 * buffer.C (readFile): add a space
3946 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3948 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3950 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3952 * buffer.C (readFile): new function, take a filename and a
3953 ParagraphList::iterator
3955 (readFile): adjust, make it private. don't use setStream, make
3956 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3957 always contain the filename.
3959 * BufferView.C (insertLyXFile): simplify and make it work for
3962 2003-08-30 John Levon <levon@movementarian.org>
3964 * Makefile.am: fix dist (from Kayvan)
3966 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3968 * most files: change to use const Buffer refs
3970 2003-08-27 André Pönitz <poenitz@gmx.net>
3972 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3973 on top of ownerPar().
3975 2003-08-27 John Levon <levon@movementarian.org>
3977 * funcrequest.C: properly initialise POD members
3979 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3981 * lyxtext.h (top_y): move top_y from here
3986 * BufferView_pimpl.[Ch]: to here
3987 * frontends/screen.C:
3988 * insets/insettabular.C:
3989 * insets/insettext.C: adjust
3990 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3992 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3995 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3997 2003-08-26 André Pönitz <poenitz@gmx.net>
3999 * paragraph_func.[Ch] (outerPar): new function
4002 * paragraph_funcs.C:
4003 * paragraph_funcs.h:
4004 * paragraph_pimpl.C:
4005 * text2.C: remove Inset::par_owner
4007 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4012 * text2.C: eliminates the needFullRow/display() stuff
4013 altogether, putting the logic in metrics/draw in the insets.
4015 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4017 * text2.C (redoParagraphInternal, redoParagraphs):
4018 * text.C (redoParagraph): add a call to updateRowPositions at the
4019 end of each 'metrics-like' call. Remove all others.
4020 (getRow): remove the 'y-computing' version.
4021 (getRowNearY): do not compute nor return the real y. Solve the
4022 'y < 0' problem and simplify.
4024 2003-08-22 Angus Leeming <leeming@lyx.org>
4026 * *.[Ch]: clean-up of licence and author blurbs.
4027 Also move config.h out of a few .h files and into a few .C files.
4029 2003-08-22 André Pönitz <poenitz@gmx.net>
4031 * lyxrow.[Ch]: add x_ and *fill_ members
4036 * text2.C: adjust/remove prepareToPrint() calls
4038 2003-08-22 André Pönitz <poenitz@gmx.net>
4040 * lyxrow.[Ch]: add end_ member
4042 * lyxrow_funcs.C: use LyXRow::end_
4044 * lyxtext.h (singleWidth): add LyXFont parameter
4047 * text2.C: adjust LyXText::singleWidth() calls
4049 * text.C (redoParagraph): simplify row breaking logic
4052 2003-08-19 André Pönitz <poenitz@gmx.net>
4054 * funcrequest.C: initialize button_ member
4057 * rowpainter.[Ch]: interface consolidation
4059 2003-08-18 André Pönitz <poenitz@gmx.net>
4062 * BufferView_pimpl.C:
4064 * paragraph_funcs.C:
4066 * text3.C: remove LyXScreen::draw() and fitCursor calls
4068 * BranchList.h: remove spurious semicolons
4070 * MenuBackend.C: fix branchlist related crash
4072 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4080 * bufferparams.[Ch]:
4084 * text3.C: implements the 'branch inset'
4085 idea. This allows the output of various versions of a document
4086 from a single source version, selectively outputing or suppressing
4087 output of parts of the text.
4088 This implementation contains a 'branch list editor' in a separate
4089 tab of the document settings dialog. Branches are user definable
4090 and have a "display colour" to distinguish them on-screen.
4092 ColorHandler was somewhat cleaned up.
4093 (1) make possible a dynamically growing LColor list by allowing
4094 the graphic context cache to grow along (vector);
4095 (2) eliminate an IMHO unnecessary step in colour allocation.
4097 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4099 * BufferView_pimpl.C: compile fix
4101 2003-08-15 André Pönitz <poenitz@gmx.net>
4103 * rowpainter.C: remove extra metrics calls
4105 * lyxtext.h: merge the two constructors into a single one,
4106 pass reference to owner's par list
4108 * BufferView_pimpl.C:
4112 2003-08-15 André Pönitz <poenitz@gmx.net>
4114 * lyxrow_funcs.[Ch]:
4117 * paragraph_funcs.C:
4122 * text_funcs.C: split LyXText::rowlist_ into individual
4123 Paragraph::rows_ chunks
4126 * BufferView_pimpl.[Ch]:
4129 * text3.C: remove toggleSelection()
4131 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4133 * bufferlist.C: beautify two alerts (shorter text of buttons)
4134 * buffer.C: Remove redundant ' ' from message
4136 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4137 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4138 rename VALIGN_CENTER to VALIGN_MIDDLE
4140 2003-08-11 André Pönitz <poenitz@gmx.net>
4142 * lyxtext.h (getPar):
4143 * text.C: new function
4145 2003-08-11 André Pönitz <poenitz@gmx.net>
4148 * tracer.[Ch]: remove unneeded files
4150 * InsetList.[Ch]: remove resizeInsetsLyXText()
4155 * text3.C: merge insertParagraphs() and appendParagraph()
4156 remove breakAgain(), update()
4158 * BufferView_pimpl.[Ch]:
4159 * bufferview_funcs.[Ch]:
4163 * tabular.C: adjust after text & InsetList changes.
4165 2003-08-08 André Pönitz <poenitz@gmx.net>
4167 * text.C (insertChar, backspace): replace rowlist fiddling
4168 with rebreak of full par
4171 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4172 checkParagraph, updateInset): removed
4174 2003-08-07 André Pönitz <poenitz@gmx.net>
4177 * text3.C: merge some LFUN handlers, remove dead code
4179 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4181 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4183 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4185 * text2.C (DEPM): fix part of bug 1255 and 1256
4187 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4189 * BufferView_pimpl.C (workAreaDispatch): change to use
4190 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4191 that are no mouse related.
4193 2003-08-05 André Pönitz <poenitz@gmx.net>
4196 * BufferView_pimpl.[Ch]:
4197 * bufferview_funcs.C:
4199 * text3.C: rip out "deep update"
4201 * textcursor.[Ch] (last_sel_cursor): remove unused member
4203 2003-08-04 André Pönitz <poenitz@gmx.net>
4206 * BufferView_pimpl.[Ch]:
4207 * ParagraphParameters.C:
4208 * bufferview_funcs.C:
4214 * text3.C: replace "complicated" BufferView::update(...) calls with
4217 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4219 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4221 * Makefile.am (lyx_SOURCES): add paper.h
4223 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4225 * Makefile.am: move things around so that both lyx-qt and
4226 lyx-xforms can be built (according to --with-frontend). Then lyx
4227 is a symbolic link to lyx-[firstfrontend]
4229 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4231 * Always use std::endl with lyxerr
4233 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4235 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4237 2003-08-01 André Pönitz <poenitz@gmx.net>
4240 * BufferView_pimpl.[Ch]:
4242 * text3.C: merge BufferView::repaint() and BufferView::update()
4244 2003-08-01 José Matos <jamatos@lyx.org>
4246 * buffer.[Ch]: file_format is no longer a buffer data element.
4248 2003-08-01 André Pönitz <poenitz@gmx.net>
4253 * text2.C: make redoParagraph more independent of current cursor
4255 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4257 * text2.C: remove unneeded members
4259 2003-07-30 André Pönitz <poenitz@gmx.net>
4261 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4263 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4264 create a single function...
4266 * paragraph_funcs.C (moveItem): ... here.
4269 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4271 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4273 * LColor.[Ch]: Add comment and greyedout logical colors.
4275 2003-07-30 André Pönitz <poenitz@gmx.net>
4277 * tabular.C: don't use Assert too heavily. This crashes where it
4280 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4282 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4283 is disabled (bug 1232)
4285 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4287 * factory.C: limited 'arg' scope
4289 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4291 * factory.C: fixed Note submenu issues
4293 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4295 * factory.C: submenu for Note/Comment/Greyedout
4297 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4300 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4302 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4305 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4306 greyedout. Patch provided by Jürgen Spitzmüller.
4308 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4310 * kbmap.C (read): fix error message when reading bind files
4312 2003-07-29 Angus Leeming <leeming@lyx.org>
4314 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4315 certainly does not do what it purports to do. I am doing it, and
4316 us, a favour by killing it.
4318 2003-07-28 José Matos <jamatos@lyx.org>
4320 * buffer.C (readBody, do_writeFile):
4321 * paragraph.C(readParagraph): \end_document replaces \the_end.
4323 2003-07-29 André Pönitz <poenitz@gmx.net>
4326 * BufferView_pimpl.[Ch]:
4330 * textcursor.[Ch]: remove toggleToggle & Co
4332 2003-07-28 José Matos <jamatos@fep.up.pt>
4334 * buffer.C (readParagraph):
4335 * params_func (readParToken, readParagraph):
4336 * paragraph.C (write): \layout -> \begin_layout.
4338 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4340 * lyxlex_pimpl.C (setFile): clean up slightly.
4342 * bufferparams.h: add compressed var
4344 * buffer_funcs.C (readFile): adjust for LyXLex change
4345 (newFile): ditto + simplify
4347 * buffer.C (writeFile): handle writing of compressed files
4349 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4350 Check if the file is compressed and set a bufferparm if so.
4352 * Makefile.am (lyx_LDADD): remove explicit -lz
4354 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4356 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4357 makeDocBookFile): put the real LyX version in the first line of
4361 * version.C.in: remove lyx_docversion
4363 * tabular.C (write_attribute): add a template-based version to
4364 write enums properly
4366 2003-07-28 André Pönitz <poenitz@gmx.net>
4371 * text3.C: use doubles again for x-coordinates. They are needed.
4373 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4375 * messages.C (getLocaleDir): use lyx_localedir()
4377 * lyxlex_pimpl.C (setFile): compress stuff
4379 * buffer.C (writeFile): add some compression stuff
4380 (do_writeFile): new func, dont call expliti close... will this
4383 * Makefile.am (lyx_LDADD): add -lz
4385 2003-07-28 José Matos <jamatos@fep.up.pt>
4387 * buffer.C: increment file format.
4388 * paragraph_funcs (readParagraph, readParToken):
4389 * paragraph.C (readParagraph): add \end_layout.
4391 2003-07-27 Angus Leeming <leeming@lyx.org>
4393 * Makefile.am: remove special casing for configure-time setting of
4394 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4396 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4397 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4399 2003-07-26 André Pönitz <poenitz@gmx.net>
4401 * paragraph_func.[Ch]:
4402 * paragraph.C (realizeFont): inline it whereever it is used
4407 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4410 2003-07-26 André Pönitz <poenitz@gmx.net>
4414 * text2.C: get rid of LyXText::need_break_row
4416 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * toc.[Ch]: put namespace toc inside namespace lyx
4420 * MenuBackend.C (expandToc2): adjust for lyx::toc
4423 * lyxfunc.C (dispatch): adjust for lyx::find
4425 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4426 lyx::find instead. Reorganize a bit.
4427 (LyXReplace): rename to replace
4428 (LyXFind): rename to find
4430 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4433 2003-07-26 André Pönitz <poenitz@gmx.net>
4435 * text.C (setHeightOfRow): restrict scope of temporary variable
4437 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4438 code (never has been used?)
4440 2003-07-27 Asger Alstrup <alstrup@local>
4442 * text.C (fill): Optimise algorithm to exploit that we can reuse
4443 the LyXFont for many characters.
4444 (setHeightOfRow): Same thing.
4445 (rowBreakPoint): Same thing.
4447 2003-07-26 Asger Alstrup <alstrup@local>
4449 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4451 * text.C (singleWidth): Spurious font copying in hot-spot
4452 singleWidth avoided. Reorder tests for arabic for efficiency.
4454 * text.C (fill): handle empty paragraphs better.
4456 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4459 * encoding.h: add includes
4461 * lyxrc.C: remove reading of bind files
4463 * lyx_main.C (init): setup bindings and menus only if we have a
4466 * kbmap.C (read): new method. Do the actual reading of bind
4469 * converter.C (dvipdfm_options):
4472 (output): adapt PAPER_* enums.
4474 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4476 * bufferparams.h: remove paper-related enums from there
4478 * paper.h: New file. A trivial header file to hold paper-related
4479 enums. It should later expand to contain many paper-related
4482 * lyxrc.C: declare extern displayTranslator
4484 2003-07-27 José Matos <jamatos@fep.up.pt>
4486 * tabular.[Ch] (linuxdoc): add support for tables and figures
4489 2003-07-27 José Matos <jamatos@fep.up.pt>
4491 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4492 consistency in both functions.
4493 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4495 2003-07-26 Asger Alstrup <alstrup@local>
4497 * rowpainter.C (paintRows): Change algorithm to work directly on
4498 the insets rather than asking every character in the document
4499 whether its an inset.
4501 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4503 * buffer.C (openFileWrite): factorize some code
4505 2003-07-26 Angus Leeming <leeming@lyx.org>
4508 * lyx_main.[Ch]: replace occurances of system_tempdir with
4511 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4513 * rename Inset to InsetOld
4515 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4517 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4518 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4519 which I think is a bit clearer. EDIT is gone, since it was
4520 premature optimisation, and broken for mathed anyway.
4521 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4522 with cursor positioning in insets as well (math insets still do not
4523 work, but that's a different story anyway.) It mysteriously
4524 crashes sometimes with undo in the first paragraph, but I'm fairly
4525 confident that this is a compiler bug.
4527 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4529 * paragraph.C (Paragraph): adjust for new clone return type
4531 (copyIntoMinibuffer): ditto
4533 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4535 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4536 by not having a special case, and always doing a full rebreak of
4537 the document after undo.
4539 2003-07-23 Angus Leeming <leeming@lyx.org>
4541 * factory.C (createInset): InsetExternal::setParams now takes a
4544 2003-07-23 Angus Leeming <leeming@lyx.org>
4546 * factory.C (createInset): changed interface to the external and
4547 graphics mailers' string2params functions.
4549 2003-07-23 Angus Leeming <leeming@lyx.org>
4551 * factory.C (createInset): pass a
4552 Buffer const * parameter to InsetExternalMailer's string2params.
4554 2003-07-22 John Levon <levon@movementarian.org>
4556 * Thesaurus.h: include the right aiksaurus header
4558 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4560 * MenuBackend.C (expand): check menu shortcuts unconditionally
4562 2003-07-21 Angus Leeming <leeming@lyx.org>
4564 * factory.C (createInset): pass a
4565 buffer_path parameter to InsetGraphicsMailer's string2params.
4567 2003-07-21 Angus Leeming <leeming@lyx.org>
4569 * BufferView_pimpl.C (buffer):
4572 * lyxfunc.C (dispatch):
4573 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4574 rather than the grfx shortcut.
4576 2003-07-21 André Pönitz <poenitz@gmx.net>
4578 * rowpainter.C: remove unused variables
4581 * tabular_funcs.h: move to tabular.C
4582 * Makefile.am: adjust
4584 * tabular.[Ch]: basic optical cleaning
4586 * author.h: pass references, not values
4588 2003-07-18 André Pönitz <poenitz@gmx.net>
4596 * text3.C: two-phase drawing for InsetText and InsetTabular
4597 some float -> int changes.
4599 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4601 * lyx_main.C: fix the fix
4603 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4605 * lyx_main.C: fix a crash in batch mode if no files specified
4608 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4610 * format.[Ch] (papersize): moved to BufferParams
4611 * converter.[Ch] (dvips_options): moved to BufferParams
4612 (dvipdfm_options): moved to anon namespace
4613 * bufferparams.[Ch]: added above functions.
4615 2003-07-17 André Pönitz <poenitz@gmx.net>
4619 * text2.C: don't call inset->update() anymore
4621 * metricsinfo.[Ch]: add convenience constructor
4623 2003-07-16 André Pönitz <poenitz@gmx.net>
4628 * text2.C: replace the LyXCursor::irow_ member with
4629 on-demand computation of the value
4631 2003-07-16 John Levon <levon@movementarian.org>
4633 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4635 2003-07-15 André Pönitz <poenitz@gmx.net>
4638 * text2.C: remove no more needed refresh_row
4640 2003-07-15 André Pönitz <poenitz@gmx.net>
4645 * text3.C: refresh_status tristate -> need_update bool
4647 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4649 * lyxtext.h (init): remove reinit argument (act as if always true)
4650 * text2.C: adjust to that
4652 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4654 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4655 * text3.C: use it to delete selections in some cases
4656 (bugs 441, 673, 702, 954).
4658 2003-07-14 André Pönitz <poenitz@gmx.net>
4660 * rowpainter.[Ch]: reduce interface
4662 2003-07-14 André Pönitz <poenitz@gmx.net>
4664 * BufferView_pimpl.C:
4665 * text2.C: adjust after removing unused BufferView * argument
4667 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4669 * text2.C (init): fix a crash fired on resize
4671 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4673 * buffer.[Ch]: added new closing signal
4674 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4675 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4676 BufferView::Pimpl via the closing the signal
4678 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4680 * buffer.[Ch]: take out all bv-related from buffer
4682 * BufferView_pimpl.[Ch]: connect to new signals
4683 * CutAndPaste.C: removed useless asserts
4684 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4687 * lyxfunc.C: moved view-related funciontality from vc here
4688 * paragraph.C: removed outdated comments
4691 2003-07-10 André Pönitz <poenitz@gmx.net>
4693 * BufferView_pimpl.C:
4697 * text2.C: remove InsetText::InnerCache, clean up consequences
4699 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4701 * ispell.C: fix two typos in error messages
4703 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4705 * Extend Note inset to other forms of annotation like Comment
4706 and Greyedout. Right button click gives dialog.
4708 Files modified or added (+):
4712 * ControlNote.[Ch] +
4714 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4715 frontends/controllers
4719 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4721 * aspell.C: add missing namespace lyx::support
4723 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4725 * BufferView.[Ch] (newFile): Add
4726 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4727 * LaTeX.[Ch] (message): added this signal and use it
4728 * buffer.[Ch] (busy, message): added these signals and use them
4729 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4733 * importer.C: use buffer signals instead of direct bv calling
4734 * lyx_cb.[Ch] (ShowMessage): removed
4737 * paragraph_funcs.C:
4738 * text2.C: use buffer signals
4740 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4742 * introduce namespace lyx::graphics
4744 2003-07-02 André Pönitz <poenitz@gmx.net>
4746 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4748 2003-07-01 André Pönitz <poenitz@gmx.net>
4755 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4756 text*.C to text_func.C
4758 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4760 * introduce namespace lyx::support
4762 2003-06-30 André Pönitz <poenitz@gmx.net>
4767 * text.C: re-enable --with-included-string
4769 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * textcursor.C: add <config.h>
4773 * text.C (getWord): remove const from word_location arg
4775 * lyxvc.C (getLogFile): fix const type order
4777 * lyxtext.h: remove const from word_location arg, add arg name
4779 * lyxlayout.h: currect type on labeltype.
4781 * importer.C: correct \file
4783 * converter.C (intToFormat): use std:: on ret val, ws changes
4785 * bufferlist.h: correct \file
4787 * buffer.C (makeLinuxDocFile): fix const type order
4788 (makeDocBookFile): ditto
4789 (fillWithBibKeys): use std:: on stdlib args.
4791 * CutAndPaste.C: fix authors.
4792 (availableSelections): use std:: on return vector
4794 2003-06-27 André Pönitz <poenitz@gmx.net>
4796 * BufferView_pimpl.C:
4797 * bufferview_funcs.C:
4805 * text3.C: remove LyXCursor::row_ member
4808 * text.C: rename fullRebreak() to partialRebreak() and implement
4809 a fullRebreak() that really bereks fully
4811 * textcursor.h: new struct for cursor-related data
4813 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4815 * lyx_main.C (LyX): get full path of document loaded on the
4818 2003-06-26 André Pönitz <poenitz@gmx.net>
4820 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4821 remove unused/broken operator>,<,>=.
4823 * text.C: remove only use of broken operator<= in an Assert().
4825 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4827 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4828 moved errorlist_.clear to showErrorList
4830 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4832 * converter.C (scanLog, runLaTeX):
4833 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4834 move the bv->showErrorList call to the callers
4835 * lyxfunc.C: i.e. here...
4837 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4838 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4839 namespace, the second to...
4840 * buffer_funcs (BufferFormat, parseErrors): added
4841 * errorlist.C (ErrorList(TeXErrors const &)): removed
4843 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4845 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4847 2003-06-24 "Garst R. Reese" <reese@isn.net>
4851 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4853 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4855 * version.C.in: change docversion to 1.4
4857 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4859 * buffer.C: fix a bug just introduced
4861 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4863 * buffer.[Ch]: added the parseError signal and use it, removed
4865 * BufferView.[Ch] (addError): moved to ...
4866 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4867 to the Buffer::parseError signal to catch (guess what) parse errors
4868 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4870 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4872 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4873 ability to create a buffer and to return an existing one from
4874 the list. Moved these functions to...
4875 * buffer_funcs.[Ch]: added
4876 * BufferView.[Ch] (loadLyXFile): added
4877 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4878 job removed from bufferlist::loadLyXFile.
4879 * buffer.C (setReadOnly): make it work without view
4880 (i.e added an if (users))
4882 2003-06-19 Angus Leeming <leeming@lyx.org>
4885 * LyXAction.C (init):
4886 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4887 with LFUN_DIALOG_SHOW <name> <data>.
4889 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4891 * CutAndPaste.C (availableSelections): small compilation fix for
4892 ancient (gcc 2.9x) compilers
4894 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4896 * text3.C (cursorNext): add tmp var
4898 * text2.C (updateCounters): for function calling out of for clause
4899 (replaceSelectionWithString): ditto
4900 (insertStringAsParagraphs): ditto
4901 (getColumnNearX): add tmp var
4902 (setCursorFromCoordinates): add tmp var
4903 (cursorDownParagraph): add tmp var
4904 (deleteEmptyParagraphMechanism): add tmp var
4906 * text.C (insertChar): add tmp var
4908 * rowpainter.C (paintDepthBar): add tmp var
4910 * CutAndPaste.C (availableSelections): potentially check all
4911 paragraphs in a cut to fill the shown strings.
4913 2003-06-18 André Pönitz <poenitz@gmx.net>
4915 * kbmap.[Ch]: use vector<> instead of list<>
4917 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4919 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4920 pasteSelection with index
4922 * text2.C (pasteSelection): modify, call pasteSelection with index
4924 * paragraph.C (asString): reimplement version with no interval to
4925 call the one with interval.
4927 * lyxtext.h: add index arg to pasteSelection
4929 * MenuBackend.C (MenuItem): handle PasteRecent
4930 (Menu::read::Menutags): add md_pasterecent
4932 (expandPasteRecent): new function
4935 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4937 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4939 (availableSelections): new function
4941 2003-06-17 Angus Leeming <leeming@lyx.org>
4943 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4945 2003-06-17 Angus Leeming <leeming@lyx.org>
4948 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4950 * lyxfunc.C (dispatch): invoke it.
4952 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4954 * iterators.C (operator++, ParPosition): reintroduce some
4955 const_cast for the benefit of older compilers.
4957 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4959 * text3.C (dispatch): do not modify clipboard when doing
4960 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4961 LFUN_DELETE_SKIP on a selection selection
4963 2003-06-16 André Pönitz <poenitz@gmx.net>
4969 * tabular.[Ch]: IU of clone() and getLabelList();
4971 2003-06-13 André Pönitz <poenitz@gmx.net>
4973 * tabular.h: compactification
4975 2003-06-12 André Pönitz <poenitz@gmx.net>
4979 * tabular_funcs.h: some renaming plus whitespace
4981 2003-06-12 André Pönitz <poenitz@gmx.net>
4984 * BufferView_pimpl.C:
4990 * toc.C: Return a Paragraph & for ParIterator::operator*()
4992 2003-06-11 John Levon <levon@movementarian.org>
4996 * ToolbarBackend.C: add "Toolbars" section and
4999 2003-06-10 Angus Leeming <leeming@lyx.org>
5002 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5004 * lyxfunc.C (dispatch): invoke it.
5006 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5008 * main.C: protect <ios> with HAVE_IOS
5009 (main): protect sync_with_stdio with HAVE_IOS
5011 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5013 * text2.C (cutSelection): adjust
5014 (pasteSelection): adjust
5016 * messages.C: handle get of empty string
5018 * main.C (main): use sync_with_stdio(false)
5020 * lyxfunc.C (dispatch): adjust
5022 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5023 (WriteAs): remove unneeded BufferView arg.
5025 * bufferparams.h: use correct types on papersize, papersize2 and
5028 * bufferparams.C (readToken): adjust for type
5029 (writeLaTeX): add missing cases to switch.
5031 * bufferlist.C (quitWriteBuffer): adjust
5034 * buffer.C (asciiParagraph): remove some commented code.
5036 * CutAndPaste.C: remove current_view extern variable.
5037 (cutSelection): add BufferParams arg.
5038 (eraseSelection): add BufferParams arg.
5039 (pasteSelection): add Buffer const & arg
5041 2003-06-07 John Levon <levon@movementarian.org>
5044 * paragraph_funcs.C:
5045 * paragraph_pimpl.C:
5049 * paragraph.C: allow InsetERT to freely space lines,
5050 and some consolidation of code
5052 2003-06-06 José Matos <jamatos@fep.up.pt>
5054 * buffer.C (makeDocBookFile): fix bug #821
5056 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5058 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5060 2003-06-04 Angus Leeming <leeming@lyx.org>
5062 * buffer.C: bump format to 224.
5064 2003-06-05 André Pönitz <poenitz@gmx.net>
5066 * text2.C (redoParagraphs): remove two const_cast<>
5068 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5070 * ParagraphList.h: remove last remnants of NO_STD_LIST
5072 2003-06-03 Angus Leeming <leeming@lyx.org>
5074 * factory.C (createInset): small change to the way InsetExternal's params
5077 2003-06-04 André Pönitz <poenitz@gmx.net>
5079 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5081 * paragraph_pimpl.h:
5082 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5084 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5086 * undo_funcs.C: make some simple cases of undo work again
5088 2003-06-03 John Levon <levon@movementarian.org>
5090 * ispell.C: HPUX doesn't have sys/select.h
5093 2003-06-03 John Levon <levon@movementarian.org>
5095 * CutAndPaste.C: update tabular and include inset
5100 * paragraph.C: remove owningBuffer(), don't pass Buffer
5103 * factory.C: insetGraphicsParams changed
5105 2003-06-02 John Levon <levon@movementarian.org>
5111 * text3.C: remove insetparent
5113 2003-06-02 John Levon <levon@movementarian.org>
5116 * buffer.C: fix inset_iterator.end(), move out of line
5119 2003-06-01 John Levon <levon@movementarian.org>
5121 * text3.C: use a proper cut/paste when doing inset
5122 insert (from Jürgen Spitzmüller)
5124 2003-06-01 John Levon <levon@movementarian.org>
5126 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5128 2003-05-30 André Pönitz <poenitz@gmx.net>
5130 * rowpainter.C: unify second drawing phase
5132 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5134 * trans_mgr.C: remove one case of current_view
5136 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5138 * paragraph_funcs.h: remove paragraph.h include
5140 * paragraph.h: delete NO_STD_LIST stuff
5142 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5144 * buffer.h: remove paragraph.h include
5146 * ParagraphList.C: delete file
5148 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5150 * toc.C (getTocList): adjust
5152 * paragraph_pimpl.C (validate): adjust
5154 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5156 * paragraph.C (Paragraph): adjust
5157 (getPositionOfInset): use const_iterator, adjust
5158 (bibitem): use const_iterator, adjust
5159 (setInsetOwner): adjust
5161 * iterators.C (operator++): adjust
5163 * InsetList.[Ch]: Replace selfmade iterator with standard
5164 vector::iterator also introduce const_iterator. Remove getPos,
5165 getInset and setInset from InsetTable. Adjust accordingly.
5167 * BufferView.C (lockInset): adjust
5168 (ChangeInsets): adjust
5170 * tabular.[Ch]: delete commented same_id functions
5172 2003-05-28 John Levon <levon@movementarian.org>
5174 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5176 2003-05-28 André Pönitz <poenitz@gmx.net>
5178 * metricsinfo.[Ch]: remove 'fullredraw' member
5180 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5182 * lyxtextclass.C (operator): remove caching.
5184 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5188 * text2.C (cursorBottom): adjust
5189 (setCounter): use ParagraphList::find, adjust
5191 * text.C (workWidth): use ParagraphList::find, adjust
5193 * lyxcursor.C (LyXCursor): adjust
5195 * buffer.C (inset_iterator): adjust
5197 * ParagraphList.h: make iterator(value_type) private, make
5198 ParagraphList a friend of iterator.
5200 * ParagraphList.C (find): new function
5202 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5204 2003-05-27 André Pönitz <poenitz@gmx.net>
5206 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5208 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5210 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5212 2003-05-26 John Levon <levon@movementarian.org>
5214 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5216 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5218 * remove same_id from function signatures, adjust.
5220 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5222 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5224 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5226 * paragraph.C (Paragraph): get rid of same_ids parameter
5228 * ParagraphList.C (insert): adjust
5231 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * paragraph_funcs.C (breakParagraph): adjust
5234 (breakParagraphConservative): adjust
5236 * buffer.C (readParagraph): adjust
5238 * ParagraphList.C (insert): take a reference instead of a pointer
5241 * paragraph.[Ch] (id): new function
5243 * bufferlist.C (newFile): adjust
5245 * ParagraphList.C (ParagraphList): adjust
5247 (push_back): take a reference instead of a pointer.
5249 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5251 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5254 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5255 set else use old code.
5257 * ParagraphList.C: remove all NO_NEXT code and only compile this
5258 code of NO_STD_LIST is set.
5260 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5262 * BufferView_pimpl.C:
5272 * graphics/GraphicsConverter.C:
5273 * graphics/PreviewLoader.C: header adjustment
5275 2003-05-23 Angus Leeming <leeming@lyx.org>
5277 * LaTeXFeatures.[Ch] (useBabel): new method.
5278 * bufferparams.C (writeLaTeX): use it.
5280 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * ParagraphList.h (set): remove unused function.
5284 2003-05-23 André Pönitz <poenitz@gmx.net>
5287 * BufferView_pimpl.C:
5291 * undo_funcs.C: setUndo reworked
5293 * iterators.[Ch]: add access to topmost ParagraphList
5295 * lyxtext.[Ch] (workWidth): add a const
5297 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5299 * texrow.[Ch] (increasePos): remove function
5300 * exporter.C (export): removed unused var and outdated comment
5302 2003-05-23 Angus Leeming <leeming@lyx.org>
5304 * latexrunparams.h: rename fragile as moving_arg.
5305 * paragraph.C (simpleTeXOnePar): ditto.
5306 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5308 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5310 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5312 (textUndoOrRedo): comment out a currently unused var.
5314 * paragraph.h (NO_NEXT): enable NO_NEXT
5316 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5318 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5320 * exporter.C (Export): adjust for removeAutoInsets removal.
5322 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5324 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5326 * BufferView.[Ch] (removeAutoInsets): delete function
5328 2003-05-22 Angus Leeming <leeming@lyx.org>
5330 * latexrunparams.h: add a free_spacing variable.
5332 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5333 to pass moving_arg, as the data is stored in runparams.fragile.
5335 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5336 to Inset::latexOptional or to simpleTeXOnePar.
5338 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5339 free_spacing arg to Inset::latexOptional.
5341 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5344 2003-05-22 Angus Leeming <leeming@lyx.org>
5346 * latexrunparams.h: add fragile and use_babel variables.
5348 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5349 * buffer.C (makeLaTeXFile): store this returned value in
5350 runparams.use_babel, thus passing it to the inset::latex methods.
5352 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5353 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5355 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5356 longer has a fragile arg, as it is stored in runparams.fragile.
5358 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5359 moving_arg parameter as the data is stored in runparams.fragile.
5361 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5362 a fragile parameter as the data is stored in runparams.fragile.
5364 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5366 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5368 2003-05-22 Angus Leeming <leeming@lyx.org>
5370 * latexrunparams.h: add a 'bool nice' which defaults to false.
5372 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5373 now encapsulated within runparams.
5375 * bufferlist.C (updateIncludedTeXfiles):
5376 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5378 2003-05-22 Angus Leeming <leeming@lyx.org>
5380 * latexrunparams.h: new file containing struct LatexRunParams.
5381 * Makefile.am: add new file.
5383 * LaTeX.[Ch] (c-tor, run):
5384 * buffer.[Ch] (makeLaTeXFile):
5385 * bufferlist.[Ch] (updateIncludedTeXfiles):
5386 * converter.C (convert, scanLog):
5387 * converter.[Ch] (runLaTeX):
5388 * exporter.C (Export):
5389 * paragraph.[Ch] (simpleTeXOnePar):
5390 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5391 * paragraph_funcs.[Ch] (latexParagraphs):
5392 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5393 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5394 pass around a LatexRunParams parameter.
5396 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5398 * paragraph.[Ch]: remove unused constructor
5400 * ParagraphList.C (erase): new function, taking two iterators
5402 2003-05-22 André Pönitz <poenitz@gmx.net>
5404 * undo_funcs.C: remove duplicated code
5406 * iterator.[Ch]: operator=
5408 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5410 * tabular.C (SetMultiColumn): ws changes
5412 * rowpainter.C (paintFirst): get rid of a ->previous
5414 * lyx_cb.C (getPossibleLabel): parlist simplification
5416 * BufferView.C (ChangeInsets): simplify slightly.
5418 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5420 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5421 * lfuns.h: new LFUN_SPACE
5422 * lyxfunc.C: protected space has a new lfun
5423 * paragraph_funcs.C: read new space insets
5425 * factory.C: handle new space insets
5427 2003-05-22 André Pönitz <poenitz@gmx.net>
5430 * BufferView_pimpl.C:
5433 * undo_funcs.C: return a ParIterator from getParFromID.
5435 * iterators.[Ch]: add two const's
5437 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5439 * toc.C (getTocList): adjust
5441 * iterators.[Ch]: rework for parlist
5443 * buffer.C (par_iterator_begin): adjust
5444 (par_iterator_end): adjust
5446 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5448 * BufferView.C (removeAutoInsets): adjust
5449 (ChangeInsets): adjust
5451 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5453 * text.C (top_y): fix bug 1110
5455 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5457 * errorlist.[Ch]: added
5460 * BufferView_pimpl.C:
5461 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5464 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5466 * Makefile.am: ensure that lyx is relinked upon changes to the
5467 various "convenience" libs.
5469 2003-05-20 Angus Leeming <leeming@lyx.org>
5471 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5472 files are compiled in alphabetical order again.
5474 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5476 2003-05-19 Angus Leeming <leeming@lyx.org>
5478 * gettext.[Ch]: remove "char const * _(char const *)".
5480 2003-05-19 André Pönitz <poenitz@gmx.net>
5482 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5491 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5493 2003-05-19 André Pönitz <poenitz@gmx.net>
5497 * lyxtextclass.[Ch]:
5499 * paragraph_funcs.[Ch]:
5501 * text3.C: more insetenv work
5503 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5505 * ParagraphParameters.C (params2string): small bug fixed
5507 2003-05-16 André Pönitz <poenitz@gmx.net>
5510 * bufferview_funcs.C: patch from Kornel Benko to prevent
5511 crash when _(...) is called twice in a statement
5513 2003-05-16 André Pönitz <poenitz@gmx.net>
5520 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5522 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5524 * lyx_main.C (init): remove spurious static_cast
5526 2003-05-14 André Pönitz <poenitz@gmx.net>
5528 * BufferView.C: fix format string
5530 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5532 * BufferView.[Ch] (insertErrors): removed
5533 * BufferView.[Ch] (showErrorList): added
5534 * buffer.C (runChkTeX):
5535 * converter.C (scanLog): call showErrorList instead of inserterrors
5537 2003-05-13 André Pönitz <poenitz@gmx.net>
5539 * BufferView_pimpl.C:
5541 * bufferview_func.C:
5548 * tabular_funcs.h: tostr() from its own header
5550 * ParagraphParameters.C:
5555 * text3.C: STRCONV()
5557 2003-05-12 André Pönitz <poenitz@gmx.net>
5560 * BufferView_pimpl.C:
5564 * ParagraphParameters.C:
5568 * bufferview_funcs.C:
5581 * paragraph_funcs.C:
5585 * text3.C: boost::format -> bformat all over the place
5588 2003-05-09 André Pönitz <poenitz@gmx.net>
5590 * LColor.[Ch]: Pimpl the #include <map> away
5592 2003-05-09 John Levon <levon@movementarian.org>
5594 * bufferlist.C: never remove emergency saves
5596 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5598 * Makefile.am: better lib building
5600 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5602 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5604 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5605 (simpleTeXSpecialChars): adjust
5606 (simpleTeXSpecialChars): adjust
5607 * paragraph.C (simpleTeXOnePar): adjust
5608 * buffer.C (makeLaTeXFile): adjust
5610 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5612 * text2.C (changeDepth): parlist cleanup
5613 (getColumnNearX): ditto
5615 * rowpainter.C (getLabelFont): parlist cleanup
5617 * bufferlist.C (newFile): parlist cleanup
5619 * CutAndPaste.C (eraseSelection): parlist cleanup
5621 * BufferView_pimpl.C (trackChanges): parlist cleanup
5624 * BufferView.C (lockInset): parlist cleanup.
5625 (ChangeInsets): ditto
5627 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5629 * CutAndPaste.h: Update file header.
5631 * CutAndPaste.C: Update file header.
5632 Store the parts cut out of the Document in a limited_stack.
5633 (copySelection): adjust
5634 (pasteSelection): new function, takes the index in the limited stack.
5635 (nrOfParagraphs): adjust
5636 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5637 simplify error inset insertion.
5638 (checkPastePossible): adjust
5640 2003-05-06 John Levon <levon@movementarian.org>
5642 * text2.C: don't cast wrap inset to float
5644 2003-05-05 André Pönitz <poenitz@gmx.net>
5647 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5649 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5650 few naked Paragraph *.
5652 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5654 * bufferparams.C: Output warning if a document with missing
5655 TeX document class is loaded
5656 * exporter.C: Disable TeX exports if the document class is missing
5659 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5660 isTeXClassAvailable()
5662 2003-05-03 John Levon <levon@movementarian.org>
5665 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5666 explicit cursor show/hide
5668 * BufferView_pimpl.h:
5669 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5670 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5672 * lyxfunc.C: hide cursor before dispatching.
5677 * text3.C: remove explicit cursor hides
5679 2003-05-02 André Pönitz <poenitz@gmx.net>
5681 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5684 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5687 * text2.C: tiny whitespace
5689 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * undo_funcs.C: almost only ws changes.
5693 * ParagraphList.C (splice): just return if pl is empty.
5695 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5697 * ParagraphList.C (splice): new function.
5699 * CutAndPaste.C (pasteSelection): use it
5701 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5703 * CutAndPaste.C (pasteSelection): remove the last next and
5704 previous from this file.
5706 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5708 * CutAndPaste.C (pasteSelection): more clean up, user proper
5709 ParagraphList functions for pasteing.
5711 * ParagraphList.C (insert): new function, three arg insert
5713 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5715 * ParagraphList.C (insert): new function, three arg insert
5717 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5720 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5722 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5724 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5728 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5730 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5731 (copySelection): clean up a bit.
5732 (pasteSelection): use make_pair
5734 * ParagraphList.C (ParagraphList): implement copy constructor
5735 (operator=): implement, base on copy constructor.
5738 * paragraph.C (erase): return a bool
5740 * paragraph_pimpl.C (erasePos): remove function, move contents...
5741 (erase): ... here. Return a bool.
5742 (erase): call erase instead of erasePos.
5744 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5746 * ParagraphList.h: define PitPosPair
5747 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5748 ParagraphList, fix a bug on pasting multiple pars
5749 * text2.C: change interface to C&P
5751 2003-04-30 André Pönitz <poenitz@gmx.net>
5753 * undo_func.C: revert part of yesterday's patch 2
5755 2003-04-30 John Levon <levon@movementarian.org>
5757 * LColor.C: s/tabular/table/
5759 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5761 * text3.C (dispatch): do not convert iterator -> pointer
5762 * undo_funcs.C (setCursorParUndo): ditto
5763 * text_funcs.C (transposeChars): ditto
5765 * text2.C (setLayout): ws changes only
5767 * text.C (breakParagraph): do not convert iterator -> pointer
5769 (acceptChange): ditto
5770 (rejectChange): ditto
5775 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5778 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5780 * text3.C (gotoInset): YABG (yet another bad getChar)
5782 2003-04-29 André Pönitz <poenitz@gmx.net>
5784 * paragraph.h: make operator= private unimplemented as long as
5787 * ParagraphList.C: whitespace
5790 * paragraph_pimpl.[Ch]:
5791 * paragraph_funcs.C:
5793 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5796 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5798 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5800 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5801 * paragraph.[Ch] (erase):
5802 * paragraph_pimpl.[Ch] (erase): change return type and value
5803 * text2.C (cutSelection): some rework
5805 2003-04-28 John Levon <levon@movementarian.org>
5807 * bufferlist.C: changes for unsaved changes dialog
5809 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5811 * bufferlist.C (newFile): set language (messages_) for new
5814 * buffer.C (readFile): ws changes only.
5816 2003-04-28 André Pönitz <poenitz@gmx.net>
5821 * BufferView_pimpl.C:
5822 * BufferView.C: getParFromID related ParagraphList::iterator changes
5824 2003-04-28 André Pönitz <poenitz@gmx.net>
5826 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5829 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5831 * messages.C: remove one more localedir class variable.
5833 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5835 * messages.C (getLocaleDir): singleton generation function
5837 (Messages): add a default constructor.
5839 * main.C (main): do not setup localedir here, do not call
5842 * gettext.C (_): use it.
5843 (gettext_init): delete funciton
5845 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5847 * gettext.C (getLyXMessages): new singleton generating function.
5849 * buffer.C (updateDocLang): adjust
5851 * Makefile.am (messages.o): add target
5852 (main.o): remove target
5854 2003-04-27 John Levon <levon@movementarian.org>
5859 * lyxvc.C: specify cancel button in Alert::prompt
5861 2003-04-26 John Levon <levon@movementarian.org>
5866 * LyXAction.C: add LFUN_INSET_SETTINGS
5868 * lyxfunc.C: don't enable tabular-feature when there's
5869 just any locking inset
5871 2003-04-26 John Levon <levon@movementarian.org>
5873 * bufferlist.C: re-add Cancel to buffer close question
5875 * lyxfunc.C: fix import UI a bit
5877 2003-04-25 John Levon <levon@movementarian.org>
5879 * gettext.C: remove the broken asserts for now
5881 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5883 * messages.C: make case where setlocale cannot comply work better.
5885 * buffer.C (updateDocLang): new function
5886 (changeLanguage): use it
5889 * text2.C (setCounter): use B_ a bit.
5891 * lyxlayout.C (Read): be sure to trim the label strings.
5893 * messages.C (Messages): fix typo in comment
5895 * buffer.C (readFile): set message_ after file is loaded.
5896 (makeDocBookFile): remove double return
5897 (changeLanguage): reset message_ upon language change.
5898 (B_): new func, use this to get translated buffer strings.
5900 * main.C: add myself and Jean Marc as authors.
5902 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5904 * messages.[hC]: pimplify Messages, and three different pimpls to be
5905 used in different circumstances.
5907 * gettext.[Ch]: change for use with new message code.
5909 2003-04-24 André Pönitz <poenitz@gmx.net>
5911 * factory.C: support for eqref
5913 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5915 * messages.[Ch]: add missing char
5917 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5919 * messages.[Ch]: New files
5921 2003-04-18 John Levon <levon@movementarian.org>
5925 * BufferView_pimpl.C:
5929 * text2.C: remove layout-copy/paste (bug 778)
5931 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5933 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5935 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5937 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5938 if they succeed. Act accordingly.
5940 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5942 * text2.C (setCharFont): adjust
5943 (setCounter): adjust
5944 (insertStringAsLines): adjust
5946 * text.C (leftMargin): adjust
5947 (setHeightOfRow): adjust
5949 * rowpainter.C (paintFirst): adjust
5952 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5954 (isFirstInSequence): ditto
5955 (getEndLabel): ditto
5958 * paragraph.C (getParLanguage): comment out some hard stuff.
5960 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5962 (simpleDocBookOnePar): ditto
5963 (makeDocBookFile): use ParagraphList::iterator
5965 * CutAndPaste.C (pasteSelection): adjust
5967 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5969 * text2.C (getFont): adjust
5970 (getLayoutFont): adjust
5971 (getLabelFont): adjust
5973 * paragraph_funcs.C (TeXOnePar): adjust
5975 * buffer.C (simpleLinuxDocOnePar): adjust
5976 (simpleDocBookOnePar): adjust
5978 * CutAndPaste.C (pasteSelection): adjust
5980 * BufferView.C (getEncoding): adjust
5982 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5984 2003-04-16 John Levon <levon@movementarian.org>
5986 * lyxfind.C: use parlist stuff for search/changes
5988 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5990 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5992 * text2.C (deleteEmptyParagraphMechanism): adjust
5994 * text2.[Ch] (ownerParagraph): delete func (both of them
5996 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5998 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6000 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6002 * ParagraphList.C: prepare for NO_NEXT
6004 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6006 * text2.C (getFont): adjust
6007 (getLayoutFont): adjust
6008 (getLabelFont): adjust
6010 * paragraph.C (getFont): adjust
6011 (getLabelFont): adjust
6012 (getLayoutFont): adjust
6014 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6016 2003-04-15 John Levon <levon@movementarian.org>
6020 * lyx_main.C: handle Include in .ui files
6022 2003-04-15 John Levon <levon@movementarian.org>
6024 * MenuBackend.C: make the doc files length shorter
6027 * ToolbarBackend.C: handle toolbar placement flags,
6030 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6032 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6035 * paragraph_funcs.C (TeXOnePar): adjust
6037 * paragraph.C (getLabelFont): add outerfont arg, adjust
6038 (getLayoutFont): ditto
6039 (simpleTeXOnePar): adjust
6041 * paragraph_pimpl.C (realizeFont): delete func
6043 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6045 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6046 row argument, constify cur argument.
6048 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6050 * text2.C (getFont): adjust
6051 (getLayoutFont): adjust
6052 (getLabelFont): adjust
6054 * paragraph_funcs.C (TeXOnePar): adjust
6055 (outerFont): new func...
6056 (realizeFont): ...moved out from here, changed this to facilitate
6059 * paragraph.C (getFont): take outerfont as arg, adjust
6060 (simpleTeXOnePar): add outerfont arg, adjust
6062 * buffer.C (simpleLinuxDocOnePar): adjust
6063 (simpleDocBookOnePar): adjust
6065 * CutAndPaste.C (pasteSelection): adjust
6067 * BufferView.C (getEncoding): adjust
6069 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6071 * text2.C (setCharFont): adjust
6072 (setCounter): adjust
6074 * text.C (leftMargin): adjust
6075 (setHeightOfRow): adjust
6077 * rowpainter.C (paintFirst): adjust
6080 * paragraph_pimpl.C (realizeFont): adjust
6082 * paragraph.C (isFirstInSequence): move from here...
6083 * paragraph_funcs.C (isFirstInSequence): ...to here
6085 * paragraph.C (outerHook): move from here...
6086 * paragraph_funcs.C (outerHook): ...to here
6088 * paragraph.C (depthHook): move from here...
6089 * paragraph_funcs.C (depthHook): ...to here
6091 * paragraph.C (getEndLabel): move from here...
6092 * paragraph_funcs.C (getEndLabel): ...to here
6094 * text2.C (realizeFont): move from here...
6095 * paragraph_funcs.C (realizeFont): ...to here
6097 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6101 2003-04-14 Angus Leeming <leeming@lyx.org>
6103 * LColor.[Ch]: scrap LColor mathcursor.
6105 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6107 * lyxlex.[Ch] (text): delete function
6108 * trans.C (Load): adjust
6109 * paragraph_funcs.C (readParToken): adjust
6111 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6113 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6114 vector<char> instead of a char[].
6116 * lyxlex_pimpl.C (getString): adjust
6118 (lex): use getString
6122 * lyxlex.C (text): use pimpl_->getString()
6126 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6128 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6129 (makeFontEntriesLayoutSpecific): temp var for par.size()
6130 (setLayout): temp var for ownerParagraphs().end()
6131 (fullRebreak): temp var for rows().end()
6132 (selectionAsString): temp var for boost::next(startpit), realize
6133 that the while really is a regular for loop.
6134 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6135 setCursor in one place.
6136 (setParagraph): temp vr for ownerParagraphs().end()
6137 (updateCounters): make the while loop a for loop
6138 (cutSelection): temp var for ownerParagraphs().end()
6139 (updateInset): make the do {} while() a regular for loop
6140 (getCursorX): use temp vars
6141 (setCurrentFont): use temp vars
6142 (getColumnNearX): use temp vars
6144 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * text.C (transformChar): use temp var for getChar
6147 (computeBidiTables): use temp var for row->par()
6148 (fill): move temp vars for row->par() and pit->layout() earlier in
6150 (labelFill): use temp var for row->par()
6151 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6152 asc and desc, realize that pit never changes and that firstpit is
6153 just a duplicate and not needed. Exchange rit->par() with pit in a
6155 (breakAgain): use a temp var for boost::next(rit)
6156 (breakAgainOneRow): ditto
6157 (breakParagraph): use a temp var for rows().begin()
6158 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6159 (cursorRightOneWord): use temp var for cursor.par() and
6160 cursor.pos(), remove usage of tmpcursor.
6161 (cursorLeftOneWord): use temp var for cursor.par() and
6162 cursor.pos() only set cur at end of function.
6164 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6166 * text.C, text2.C: exchange all usage of Paragraph::next with
6167 boost::next(ParagraphList::iterator)
6169 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6171 * text2.C (cursorTop): simplify implementation
6172 (cursorBottom): ditto
6173 (setParagraph): use ParagraphList::iterator
6174 (setCurrentFont): adjust
6175 (getColumnNearX): adjust
6176 (cursorRight): adjust
6177 (cursorLeft): remove usage of Paragraph::previous
6178 (cursorUpParagraph): ditto
6179 (deleteEmptyParagraphMechanism): slight cleanup
6181 * text.C (isBoundary): take a Paragraph const & instead of a
6183 (addressBreakPoint): ditto
6184 (leftMargin): remove usage of Paragraph::previous.
6185 (setHeightOfRow): ditto
6186 (cursorLeftOneWord): ditto
6187 (selectNextWordToSpellcheck): ditto
6190 (breakParagraph): remove one usage of Paragraph::next
6191 (redoParagraph): ditto
6192 (acceptChange): ditto
6193 (insertChar): adjust
6194 (rowBreakPoint): adjust
6196 * bufferview_funcs.C (toggleAndShow): adjust
6198 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6200 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6201 methods to access it.
6203 * text.C: Added updateRowPositions to compute all row positions.
6204 Make top_y and getRowNearY() to use the cached y position
6206 2003-04-11 John Levon <levon@movementarian.org>
6208 * text.C (rowBreakPoint): reintroduce the labelEnd
6209 checks, code copied from the row fill stuff. Deep voodoo.
6211 * text.C (fill): add a comment and debugging for the
6214 2003-04-11 John Levon <levon@movementarian.org>
6216 * text.C: make sure fullrow insets get wrapped to the next line,
6217 even when they're in a manual label
6219 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6221 * text2.C (insertParagraph): make it take ParagraphList::iterator
6223 (setLayout): make it return ParagraphList::iterator
6224 (redoParagraphs): ditto
6226 (checkParagraph): ditto
6228 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6230 * text2.C: adjust several funcs.
6231 (realizeFont): take a ParagraphList::iterator as arg.
6232 (getLayoutFont): ditto
6233 (getLabelFont): ditto
6234 (setCharFont): ditto
6236 * text.C: adjust several funcs.
6238 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6240 * text.C (selectNextWordToSpellcheck): don't accidentally
6243 2003-04-10 John Levon <levon@movementarian.org>
6245 * ToolbarBackend.C (getIcon): special handling for
6248 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6250 * text2.C (cursorRight): a getChar assert fixed
6252 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6254 * text2.C (getFont): change to take a ParagraphList::iterator
6255 instead of Paragraph*
6256 Adjust several functions.
6258 * text.C (transformChar): change to take a ParagraphList::iterator
6259 instead of Paragraph*
6260 (singleWidth): ditto
6261 Adjust several functions.
6263 * rowpainter.C: adjust several functions
6264 * rowpainter.h:store a ParagraphList::iterator and not a
6268 2003-04-09 John Levon <levon@movementarian.org>
6273 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6274 and the "help" bits as well
6276 2003-04-09 John Levon <levon@movementarian.org>
6279 * ToolbarBackend.C: allow multiple toolbars
6281 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6283 * undo_funcs.C (setCursorParUndo): adjust
6285 * text_funcs.C (transposeChars): adjust
6287 * text3.C (gotoNextInset): adjust
6290 * text2.C (setLayout): adjust
6291 (changeDepth): adjust
6293 (redoParagraphs): adjust
6294 (selectionAsString): adjust
6295 (setParagraph): adjust
6296 (insertInset): adjust
6297 (cutSelection): adjust
6298 (copySelection): adjust
6299 (pasteSelection): adjust
6300 (insertStringAsLines): adjust
6301 (updateInset): adjust
6302 (setCursor): change to take a ParagraphList::iterator parameter
6303 (setCursorIntern): change to take a ParagraphList::iterator parameter
6304 (setCurrentFont): adjust
6305 (cursorLeft): adjust
6306 (cursorRight): adjust
6307 (deleteEmptyParagraphMechanism): adjust
6309 * text.C (breakParagraph): adjust
6310 (insertChar): adjust
6311 (acceptChange): adjust
6312 (rejectChange): adjust
6313 (selectNextWordToSpellcheck): adjust
6314 (changeCase): adjust
6318 * lyxfind.C (SearchForward): adjust
6319 (SearchBackward): adjust
6320 (nextChange): adjust
6322 * lyxcursor.C (par): adjust
6324 * lyxcursor.h: store a ParagraphList::iterator instead of a
6327 * lyx_cb.C (getPossibleLabel): adjust
6329 * bufferview_funcs.C (toggleAndShow): adjust
6331 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6334 * BufferView.C (removeAutoInsets): adjust
6335 (lockedInsetStoreUndo): adjust
6337 2003-04-09 John Levon <levon@movementarian.org>
6339 * ToolbarBackend.C: try icon without argument
6340 if with argument fails
6342 2003-04-08 John Levon <levon@movementarian.org>
6345 * ToolbarBackend.C: add getIcon(), handle tooltip,
6346 and change from "Icon" to "Item".
6348 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6350 * BufferView.C (lockInset): another bad getchar crunched
6352 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6354 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6357 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6359 * lyxfind.C (searchForward, searchBackwards): bug 782
6361 2003-04-07 John Levon <levon@movementarian.org>
6363 * paragraph.C: remove dead comment
6365 * text.C: remove troublesome depth-fiddling code
6366 in leftMargin() and rightMargin() (bug 1017)
6368 * text.C: fix breaking of rows in nested lists
6371 * text2.C (updateCounters): fix up depth values
6374 2003-04-07 John Levon <levon@movementarian.org>
6376 * BufferView_pimpl.C: clear message when doc finishes resizing,
6377 and after a mouse event
6379 * lyxfunc.C: clear message after exiting inset
6381 2003-04-07 John Levon <levon@movementarian.org>
6383 * bufferview_funcs.C: show math status not outside
6384 status in the statusbar
6386 2003-04-07 John Levon <levon@movementarian.org>
6388 * lyxfunc.C: note status changed after a depth change
6390 2003-04-04 Angus Leeming <leeming@lyx.org>
6392 * LaTeX.h: move AuxInfo operator==, != out of line.
6393 Remove LaTeX virtual destructor; nothing derives from it.
6394 Move operator()() out of public area and rename it startscript().
6395 Change protected for private.
6397 2003-04-04 Angus Leeming <leeming@lyx.org>
6400 * text2.C: remove unneeded #includes.
6402 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6404 * text2.C (dEPM): fix the heigth of the next row
6406 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6408 * text.C: squashed an invalid getChar requester + some ws changes
6410 2003-04-03 John Levon <levon@movementarian.org>
6412 * bufferview_funcs.h:
6413 * bufferview_funcs.C:
6416 * text2.C: make getStatus work for the env depth lfuns
6418 2003-04-03 John Levon <levon@movementarian.org>
6420 * bufferview_funcs.h:
6421 * bufferview_funcs.C:
6424 * text2.C: parlistize decDepth(), by merging it with incDepth()
6426 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * lyxrow.h: store a ParagraphList::iterator instead of a
6429 Paragraph* and adjust other class functions to suit.
6431 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6434 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6436 * text2.C (setCursor): do not anchor to cursor row for the time being
6438 2003-04-02 John Levon <levon@movementarian.org>
6445 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6447 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6449 * paragraph.h: make ParagraphList and ParagraphList::iterator
6450 friends of Paragraph.
6452 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6454 * ParagraphList.C: Use the private next_ and previous_ from
6457 2003-04-01 John Levon <levon@movementarian.org>
6461 * Makefile.am: rename, remove defaults gunk
6464 * MenuBackend.C: remove defaults gunk
6467 * Languages.C: remove defaults gunk
6470 * lyx_main.C: error out if files couldn't be found.
6472 2003-04-02 John Levon <levon@movementarian.org>
6474 * text2.C: make incDepth() use parlist
6476 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6478 * undo_funcs.C (firstUndoParagraph): adjust
6480 * text3.C (gotoInset): adjust
6481 (dispatch): adjust, and rewrite loop.
6483 * text2.C (init): adjust, and rewrite loop.
6484 (redoParagraphs): adjust
6485 (updateInset): adjust, and rewrite loop.
6486 (deleteEmptyParagraphMechanism): adjust
6488 * tabular.C (LyXTabular): adjust
6489 (SetMultiColumn): adjust
6492 * lyxtext.[Ch] (ownerParagraph): delete function
6493 (ownerParagraphs): new function returns a ParagraphList.
6495 * BufferView.C (removeAutoInsets): adjust
6496 (insertErrors): adjust
6497 (setCursorFromRow): adjust
6499 2003-04-01 Angus Leeming <leeming@lyx.org>
6501 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6504 2003-04-02 John Levon <levon@movementarian.org>
6510 * text_funcs.C: make transposeChars a free function
6512 * lyxrow_funcs.C: remove wrong comment
6514 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6517 * rowpainter.C: adjust
6522 * lyxrow_funcs. [Ch]: new files
6524 * lyxrow.[Ch]: remove next and previous pointers
6525 (next,previous): remove accessor functions
6526 (isParEnd): move to lyxrow_funcs
6527 (lastPos): move to lyxrow_funcs
6528 (nextRowIsAllInset): move to lyxrow_funcs
6529 (lastPrintablePos): move to lyxrow_funcs
6530 (numberOfSeparators): move to lyxrow_funcs
6531 (numberOfHfills): move to lyxrow_funcs
6532 (numberOfLabelHfills): move to lyxrow_funcs
6533 (hfillExpansion): move to lyxrow_funcs
6537 * bufferview_funcs.C (toggleAndShow): adjust
6539 * RowList.h: Remove class RowList from file leave just a
6542 * RowList.C: delete file
6544 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6547 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * text3.C (cursorPrevious): adjust
6550 (cursorNext): adjust
6553 * text2.C (redoHeightOfParagraph): adjust
6554 (redoDrawingOfParagraph): adjust
6557 * text.C (breakParagraph): adjust
6558 (insertChar): adjust
6561 * rowpainter.C (RowPainter): adjust
6562 (leftMargin): simplify and adjust
6563 (most rowpainter functions): adjust.
6565 * rowpainter.h: store the row as RowList::iterator not as Row*
6567 * lyxcursor.C (row): taka RowList::iterator as arg
6570 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6573 2003-04-01 Angus Leeming <leeming@lyx.org>
6575 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6576 stuff like bool Bool.
6578 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6580 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6583 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6585 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6588 * lyxtext.h (rows): drop one version and leve a const variant that
6589 returns a RowList::iterator.
6591 2003-03-31 Angus Leeming <leeming@lyx.org>
6593 * text.C (fill): ensure that the signature is the same as that in the
6596 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6598 * text2.C (redoParagraphs): adjust
6599 (updateCounters): adjust
6600 (checkParagraph): adjust
6601 (getColumnNearX): adjust and reformat a bit.
6603 * text.C (top_y): adjust
6605 (leftMargin): adjust
6606 (prepareToPrint): adjust
6608 (getRowNearY): adjust
6610 * lyxtext.h: make rowlist_ mutable.
6612 * RowList.h: add const_iterator
6613 * RowList.C: adjust for RowList::const_iterator.
6615 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6618 2003-03-31 John Levon <levon@movementarian.org>
6621 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6623 * lyx_main.C: set default fonts from using lyx_gui funcs
6625 * exporter.C: pdf_mode moved from lyxrc
6628 * lyxfunc.C: changes from above
6630 2003-03-31 John Levon <levon@movementarian.org>
6632 * lyx_main.C: fix to the last fix
6634 2003-03-31 John Levon <levon@movementarian.org>
6636 * bufferlist.C: "Load original" -> "Load Original"
6642 * format.C: more Alert cleanups
6644 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6646 * text2.C (removeParagraph): make it take a RowList::iterator as
6648 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6649 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6651 * text.C (anchor_row): make it take a RowList::iterator as arg,
6653 (computeBidiTables): make it take a const reference to Row instead
6654 of Row pointer, adjust.
6655 (leftMargin): make it take a RowList::iterator as arg, adjust.
6656 (rowBreakPoint): adjust
6657 (breakAgainOneRow): make it take a RowList::iterator as arg,
6659 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6661 * bufferview_funcs.C (toggleAndShow): adjust
6663 2003-03-30 John Levon <levon@movementarian.org>
6667 * boost-inst.C: moved to support
6669 * several files: changes as a result
6671 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6673 * text2.C (LyXText): adjust.
6675 (removeRow): make it take a RowList::iterator as arg, adjust.
6676 (fullRebreak): adjust
6677 (deleteEmptyParagraphMechanism): adjust
6678 (clearPaint): adjust
6681 * text.C (top_y): adjust
6682 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6683 (breakAgain): make it take a RowList::iterator as arg, adjust.
6684 (breakParagraph): adjust
6685 (insertChar): adjust
6688 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6689 need_break_row, and refresh_row.
6691 * text3.C (dispatch): adjust
6693 * text2.C (checkParagraph): adjust
6695 (setCursorFromCoordinates): adjust
6697 * text.C (top_y): adjust
6699 (getRow): make it return a RowList::iterator, adjust
6700 (getRowNearY): make it return a RowList::iterator, adjust
6702 * text2.C (init): adjust
6703 (insertRow): remove function
6704 (insertParagraph): adjust
6705 (redoParagraphs): adjust
6706 (fullRebreak): adjust
6707 (updateCounters): adjust
6709 * text.C (top_y): rewrite to use RowList iterators.
6711 (setHeightOfRow): rewrite to sue RowList iterators.
6712 (appendParagraph): adjust
6713 (breakAgain): adjust
6714 (breakAgainOneRow): adjust
6715 (breakParagraph): adjust
6717 (getRowNearY): adjust, and remove commented code.
6719 * lyxtext.h (firstRow): delete function
6720 (lastRow): delete function
6721 (rows): new function (const and non-const versions.)
6722 (insertRow): delete function
6724 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6726 2003-03-29 John Levon <levon@movementarian.org>
6728 * BufferView_pimpl.C: always update scrollbar top
6729 because pasting text when we're anchored could mean we
6730 miss an update altogether
6732 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6734 * text2.C (init): use rowlist_.end() and not 0.
6735 (insertRow): change to take a RowList::iterator as arg, adjust
6737 (insertParagraph): change to take a RowList::iterator as arg,
6739 (redoParagraphs): remove some debug msgs.
6741 * text.C (appendParagraph): change to take a RowList::iterator
6742 arg, adjust for this.
6743 (breakAgain): add an assert
6744 (breakAgainOneRow): ditto
6746 2003-03-29 John Levon <levon@movementarian.org>
6748 * text2.C: do not clear selection after inc/decDepth
6751 2003-03-29 John Levon <levon@movementarian.org>
6754 * buffer.C: fix broken strerrors according to Lars
6756 2003-03-29 John Levon <levon@movementarian.org>
6758 * converters.C: more Alert cleanups
6760 2003-03-29 John Levon <levon@movementarian.org>
6762 * bufferview_funcs.C: remove pointless Alert
6764 * buffer.C: fix confusing error message when
6765 a template is chmoded 000
6767 2003-03-29 John Levon <levon@movementarian.org>
6771 * BufferView_pimpl.C: Alert fixes
6775 * tabular-old.C: remove unused table compat reading
6777 2003-03-29 John Levon <levon@movementarian.org>
6782 * lyx_cb.C: more Alert cleanups
6784 * lyxfunc.C: don't allow chktex if not latex document
6786 2003-03-29 John Levon <levon@movementarian.org>
6790 * buffer.C: warnings pushed down from support/,
6793 2003-03-29 John Levon <levon@movementarian.org>
6795 * lyxfunc.C: safety check for C-r (revert)
6797 2003-03-29 John Levon <levon@movementarian.org>
6800 * bufferlist.C: several UI fixes using Alert::prompt.
6801 Fix the pointless looping quit code. Fix stupid revert
6806 * lyx_cb.C: use Alert::prompt
6808 * lyx_main.C: remove a silly question
6810 * lyxfunc.C: remove a couple of silly questions,
6813 2003-03-28 John Levon <levon@movementarian.org>
6815 * text2.C: fix bug 974 (End on empty par)
6817 2003-03-28 John Levon <levon@movementarian.org>
6819 * BufferView_pimpl.C:
6821 * lfuns.h: remove do-nothing math greek lfuns
6823 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6825 * lyxgluelength.h (isValidGlueLength): add default arg on
6826 parameter 2. Remove default arg from friend in class.
6828 * lyxlength.h (isValidLength): add default arg on parameter 2.
6829 Remove default arg from friend in class.
6831 * text2.C (LyXText): adjust, initialize refresh_row.
6835 (insertParagraph): adjst
6836 (redoParagraphs): adjust
6837 (fullRebreak): adjust
6838 (updateCounters): adjust
6839 (deleteEmptyParagraphMechanism): first attempt at fixing a
6842 * text.C (top_y): adjust
6843 (setHeightOfRow): adjust
6845 (getRowNearY): adjust
6847 * lyxtext.h: include RowList.h
6848 (~LyXText): not needed anymore, deleted.
6849 (firstRow): modify for RowList
6850 (lastRow): new function
6851 Delete firstrow and lastrow class variables, add a Rowlist
6852 rowlist_ class variable.
6854 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6857 * RowList.C (insert): fix case where it == begin().
6859 2003-03-26 Angus Leeming <leeming@lyx.org>
6861 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6862 the thesaurus dialog.
6864 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6866 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6868 * RowList.[Ch]: new files
6870 * ParagraphList.C (erase): handle the case where it == begin
6873 2003-03-25 John Levon <levon@movementarian.org>
6877 * aspell.C: add new aspell support
6880 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6883 2003-03-25 Angus Leeming <leeming@lyx.org>
6886 * LyXAction.C (init): new LFUN_INSET_INSERT.
6888 * BufferView_pimpl.C (dispatch): split out part of the
6889 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6891 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6894 2003-03-25 Angus Leeming <leeming@lyx.org>
6896 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6898 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6901 * text3.C: remove useless row->height(0)
6903 2003-03-25 John Levon <levon@movementarian.org>
6907 * text3.C: rename the refreshing stuff to better names
6909 2003-03-24 John Levon <levon@movementarian.org>
6911 * BufferView_pimpl.h:
6912 * BufferView_pimpl.C: update layout choice on a mouse
6915 2003-03-23 John Levon <levon@movementarian.org>
6917 * Makefile.am: fix commandtags.h reference
6919 2003-03-22 John Levon <levon@movementarian.org>
6921 * BufferView_pimpl.C:
6926 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6928 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6931 * text.C: take the rtl methods out of line
6933 2003-03-21 André Pönitz <poenitz@gmx.net>
6935 * metricsinfo.[Ch]: new files containing structures to be passed around
6936 during the two-phase-drawing...
6938 2003-03-21 André Pönitz <poenitz@gmx.net>
6940 * lyxtextclass.C: read 'environment' tag.
6942 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6944 * text2.C (removeRow): fix bug 964
6946 2003-03-20 John Levon <levon@movementarian.org>
6950 * text2.C: paint cleanups. Inset::update() dropped font
6953 2003-03-19 John Levon <levon@movementarian.org>
6955 * lyxfunc.C: only fitcursor/markDirty if available()
6957 2003-03-19 John Levon <levon@movementarian.org>
6959 * commandtags.h: rename to ...
6961 * lfuns.h: ... this, and renumber / cleanup
6963 2003-03-19 John Levon <levon@movementarian.org>
6965 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6966 fit the cursor after an lfun
6970 * BufferView_pimpl.h:
6971 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6973 * LyXAction.C: layout-character should have ReadOnly
6975 * ParagraphParameters.C:
6977 * bufferview_funcs.C:
6984 * undo_funcs.C: changes from above
6986 2003-03-18 John Levon <levon@movementarian.org>
6988 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6989 remove it from update()
6991 * lyxfunc.C: update layout choice after an lfun
6993 * text3.C: remove extra updateLayoutChoice()s
6995 2003-03-18 John Levon <levon@movementarian.org>
6997 * text.C: top_y change means full repaint, fix
6998 a drawing bug with cursor movement
7000 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7004 * text2.C: anchor row on setCursor
7006 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7008 * lyxtext.h: remove almost all mutable keywords
7011 * text3.C: remove const keywords accordingly
7013 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7015 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7017 (TeXEnvironment): ditto
7020 2003-03-17 John Levon <levon@movementarian.org>
7022 * text.C (rowBreakPoint): remove attempt to fix displayed
7023 math insets inside a manual label
7025 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7027 * lyxtext.h: remove BufferView* as first arg from almost all class
7029 * other files: adjust.
7031 2003-03-17 John Levon <levon@movementarian.org>
7035 * text2.C: more paint cleanups
7037 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7040 * rowpainter.C: remove "smart" background painting code
7042 2003-03-16 John Levon <levon@movementarian.org>
7047 * text3.C: add helper functions for setting refresh_row/y
7049 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7051 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7052 newline inset which *can* get inserted in the pass_thru layouts.
7053 This is primarily for literate documents.
7055 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7057 * buffer.C: increment LYX_FORMAT to 223
7059 2003-03-14 André Pönitz <poenitz@gmx.net>
7061 * textclass.h: prepare for environment handling, ws changes
7062 * lyxlayout.C: read latexheader and latexfooter tags
7064 2003-03-14 John Levon <levon@movementarian.org>
7066 * text2.C: rewrite ::status() a bit
7068 2003-03-13 John Levon <levon@movementarian.org>
7070 * lyxtext.h: add some docs
7072 2003-03-13 John Levon <levon@movementarian.org>
7077 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7079 2003-03-13 John Levon <levon@movementarian.org>
7081 * text3.C: fix appendix redrawing
7083 2003-03-13 John Levon <levon@movementarian.org>
7085 * text.C (setHeightOfRow):
7087 * rowpainter.C: make appendix mark have the text
7088 "Appendix" so the user knows what it is
7091 * LColor.C: s/appendixline/appendix/ from above
7093 2003-03-13 John Levon <levon@movementarian.org>
7095 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7097 * text.C: fix a getChar(pos) bug properly
7099 2003-03-13 Angus Leeming <leeming@lyx.org>
7102 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7103 Probably only temporary. Let's see how things pan out.
7105 * BufferView.C (unlockInset):
7106 * BufferView_pimpl.C (fitCursor):
7107 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7109 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7110 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7112 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7113 new functions that convert ParagraphParameters to and from a string.
7115 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7116 BufferView::Pimpl's dispatch.
7117 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7119 2003-03-13 André Pönitz <poenitz@gmx.net>
7123 * factory.C: make it aware of InsetEnv
7125 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7127 * text2.C (setCursor): never ask for one past last
7128 (setCursor): add some debugging messages.
7130 * text.C (singleWidth): never ask for one past last
7131 (singleWidth): ditto
7133 (rightMargin): ditto
7134 (rowBreakPoint): ditto
7135 (setHeightOfRow): ditto
7136 (prepareToPrint): ditto
7138 * rowpainter.C (paintBackground): never ask for one past last
7139 (paintText): never ask for one past last
7141 * paragraph_pimpl.C (getChar): make the assert stricter, never
7142 allow the one past last pos to be taken
7144 * paragraph.C (getChar): ws changes only
7146 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7147 (numberOfSeparators): ditto
7148 (numberOfHfills): ditto
7150 2003-03-12 John Levon <levon@movementarian.org>
7156 * paragraph_funcs.C: fix per-buffer authorlists
7158 2003-03-12 John Levon <levon@movementarian.org>
7160 * text.C: fix newline in right address
7162 2003-03-12 Angus Leeming <leeming@lyx.org>
7164 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7165 duplicate those in LyXFunc::dispatch.
7169 * ToolbarDefaults.C:
7170 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7171 Add LFUN_FONTFREE_UPDATE.
7173 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7174 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7176 * bufferview_func.[Ch]: several new functions to facilliate
7177 transfer of data to and from the character dialog.
7179 2003-03-12 John Levon <levon@movementarian.org>
7184 * paragraph_funcs.C:
7185 * paragraph_pimpl.C:
7189 * text3.C: remove META_NEWLINE in favour of an inset
7192 * rowpainter.C: remove paintNewline (done by inset)
7194 2003-03-12 John Levon <levon@movementarian.org>
7196 * paragraph_pimpl.C: complain about bad getChar()s
7197 for a while at least
7199 2003-03-12 John Levon <levon@movementarian.org>
7202 * buffer.C: move paragraph read into a separate function,
7203 a little renaming to reflect that.
7206 * bufferparams.C: remove the author_ids map, not necessary now
7209 * factory.C: moved Buffer::readInset to here
7211 * paragraph_funcs.h:
7212 * paragraph_funcs.C: readParagraph free function moved from
7215 * tabular.C: name change
7217 2003-03-12 John Levon <levon@movementarian.org>
7220 * ParagraphParameters.C: move par params input to
7223 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7224 behave like a normal read from the stream wrt reading
7225 a line vs. a \\token
7227 2003-03-12 John Levon <levon@movementarian.org>
7230 * ParagraphParameters.h:
7231 * ParagraphParameters.C: move output code to a
7234 2003-03-12 John Levon <levon@movementarian.org>
7236 * BufferView.C (insertLyXFile):
7239 * tabular.C: use a parlist iterator for creating the
7242 2003-03-12 John Levon <levon@movementarian.org>
7244 * buffer.C: make current_change static local not
7247 2003-03-12 John Levon <levon@movementarian.org>
7249 * buffer.C: fix insertStringAsLines for change tracking
7251 2003-03-12 John Levon <levon@movementarian.org>
7258 * bufferparams.C: move author list into params. Rename some
7259 functions. Move the header reading into a separate token
7260 loop. Move the header token reading into BufferParams.
7262 2003-03-12 John Levon <levon@movementarian.org>
7264 * changes.C: put debug inside lyxerr.debugging() checks
7266 2003-03-11 André Pönitz <poenitz@gmx.net>
7268 * factory.C: make it aware of InsetHFill
7270 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7272 * buffer.C (latexParagraphs): move function from here...
7273 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7276 2003-03-10 Angus Leeming <leeming@lyx.org>
7278 * LyXAction.C (init): fix bug in poplating array with multiple entries
7279 with the same LFUN (spotted by JMarc).
7281 2003-03-10 John Levon <levon@movementarian.org>
7284 * text2.C: move getColumnNearX() near its
7287 2003-03-10 John Levon <levon@movementarian.org>
7289 * text.C: fix break before a minipage
7291 2003-03-10 John Levon <levon@movementarian.org>
7293 * text.C: fix the last commit
7295 2003-03-09 John Levon <levon@movementarian.org>
7299 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7300 bug 365 (don't break before insets unless needed). Don't
7301 return a value > last under any circumstances.
7303 2003-03-09 Angus Leeming <leeming@lyx.org>
7305 * BufferView_pimpl.C (trackChanges, dispatch): call
7306 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7308 2003-03-09 Angus Leeming <leeming@lyx.org>
7310 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7311 than Dialogs::showAboutlyx().
7313 2003-03-09 Angus Leeming <leeming@lyx.org>
7315 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7316 than Dialogs::showTabularCreate().
7318 2003-03-09 John Levon <levon@movementarian.org>
7322 * text2.C: 3rd arg to nextBreakPoint was always the same.
7325 2003-03-08 John Levon <levon@movementarian.org>
7332 * text2.C: Remove the "main" bit from the "main body"
7335 2003-03-08 John Levon <levon@movementarian.org>
7337 * text.C (leftMargin): The left margin of an empty
7338 manual label paragraph should not include the label width
7341 * text.C (prepareToPrint): don't attempt to measure hfills
7342 for empty manual label paragraphs - the answer should be 0
7344 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7346 * CutAndPaste.C: remove commented code and reindent.
7348 2003-03-08 John Levon <levon@movementarian.org>
7351 * lyxfunc.C: move reloadBuffer()
7354 * BufferView.C: to here
7356 * lyxvc.C: add comment
7359 * vc-backend.C: call bv->reload() to avoid
7360 getStatus() check on MENURELOAD
7362 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7364 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7365 to an old format .dep file.
7367 2003-03-07 Angus Leeming <leeming@lyx.org>
7369 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7370 when the LFUN_MOUSE_RELEASE should have been handled by
7371 inset->localDispatch.
7373 2003-03-07 Angus Leeming <leeming@lyx.org>
7375 * BufferView_pimpl.C (dispatch):
7376 * LyXAction.C (init):
7377 * ToolbarDefaults.C (init):
7379 * lyxfunc.C (getStatus):
7380 remove LFUN_INSET_GRAPHICS.
7382 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7384 2003-03-07 Angus Leeming <leeming@lyx.org>
7387 * LyXAction.C (init):
7388 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7390 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7393 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7395 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7396 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7398 2003-03-07 Angus Leeming <leeming@lyx.org>
7400 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7403 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7405 * ParagraphList.C (front): new function
7408 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7410 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7411 and top_row_offset_. removed var first_y.
7413 * text2.C (LyXText, removeRow):
7415 * BufferView_pimpl.C:
7416 use these methods instead of using first_y
7418 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7420 * text2.C (pasteSelection): adjust for checkPastePossible
7422 * CutAndPaste.C: remove Paragraph * buf and replace with
7423 ParagraphList paragraphs.
7424 (DeleteBuffer): delete
7425 (cutSelection): change the tc type to textclass_type
7426 (copySelection): change the tc type to textclass_type
7427 (copySelection): adjust for ParagraphList
7428 (pasteSelection): change the tc type to textclass_type
7429 (pasteSelection): adjust for Paragraphlist
7430 (nrOfParagraphs): simplify for ParagraphList
7431 (checkPastePossible): simplify for ParagraphList
7432 (checkPastePossible): remove unused arg
7434 * ParagraphList.C (insert): handle the case where there are no
7437 * CutAndPaste.h: make CutAndPaste a namespace.
7439 * text3.C (dispatch): adjust
7441 * text.C (breakParagraph): add a ParagraphList as arg
7443 * paragraph_funcs.C (breakParagraph): change to take a
7444 BufferParams and a ParagraphList as args.
7445 (breakParagraphConservative): ditto
7446 (mergeParagraph): ditto
7447 (TeXDeeper): add a ParagraphList arg
7448 (TeXEnvironment): ditto
7451 * buffer.C (readLyXformat2): adjust
7452 (insertStringAsLines): adjust
7453 (latexParagraphs): adjust
7455 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7456 (cutSelection): adjust
7457 (pasteSelection): adjust
7459 * BufferView_pimpl.C (insertInset): adjust
7461 2003-03-05 Angus Leeming <leeming@lyx.org>
7464 * LyXAction.C (init):
7465 * BufferView_pimpl.C (dispatch):
7466 * lyxfunc.C (getStatus):
7467 remove LFUN_CHILD_INSERT.
7469 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7471 2003-03-05 Angus Leeming <leeming@lyx.org>
7474 * LyXAction.C (init):
7475 * src/factory.C (createInset):
7476 * lyxfunc.C (getStatus):
7477 * text3.C (dispatch):
7478 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7480 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7482 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7484 * ParagraphList.C (insert): handle insert right before end()
7485 (erase): fix cases where it can be first or last paragraph.
7487 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7489 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7490 Paragraph::next and Paragraph::previous
7493 * text.C (breakParagraph): adjust
7495 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7496 BufferParams& as arg.
7497 (breakParagraph): use ParagraphList::insert
7498 (breakParagraphConservative): take a Buffer* instead of a
7499 BufferParams& as arg.
7500 (breakParagraphConservative): use ParagraphList::insert.
7502 * buffer.C (insertStringAsLines): un-const it
7503 (insertStringAsLines): adjust
7505 * ParagraphList.C (insert): new function
7507 * CutAndPaste.C (pasteSelection): adjust
7509 * text.C (backspace): adjust
7511 * tabular.C (SetMultiColumn): adjust
7513 * CutAndPaste.C (cutSelection): adjust
7514 (pasteSelection): adjust
7516 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7517 Buffer const * as arg
7519 * ParagraphList.C (erase): new function
7520 * paragraph_funcs.C (mergeParagraph): use it
7521 (mergeParagraph): make it take a Buffer* instead of a
7522 BufferParams* as arg
7524 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7526 (breakParagraphConservative): ditto
7528 * paragraph.h: remove the breakParagraph friend
7530 * paragraph.C (eraseIntern): new function
7531 (setChange): new function
7533 * paragraph_funcs.C (mergeParagraph): make it take a
7534 ParagraphList::iterator instead of a Paragraph *, adjust
7537 * paragraph.h: move an #endif so that the change tracking stuff
7538 also works in the NO_NEXT case.
7540 2003-03-04 Angus Leeming <leeming@lyx.org>
7543 * LyXAction.C: new LFUN_INSET_MODIFY.
7545 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7546 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7548 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7550 * several files: ws changes only
7552 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7553 (TeXEnvironment): ditto
7556 * buffer.C (makeLaTeXFile): adjust
7557 (latexParagraphs): make it take ParagraphList::iterator as args
7559 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7561 * buffer.C (latexParagraphs): adjust
7563 * paragraph.C (TeXOnePar): move function...
7564 (optArgInset): move function...
7565 (TeXEnvironment): move function...
7566 * paragraph_pimpl.C (TeXDeeper): move function...
7567 * paragraph_funcs.C: ...here
7569 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7571 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7573 * buffer.C (readInset): remove compability code for old Figure and
7576 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7578 * buffer.C: ws changes
7581 * BufferView_pimpl.C: ditto
7584 * bufferlist.h: ditto
7588 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7590 * converter.[Ch]: split into itself +
7593 * Makefile.am: += graph.[Ch] + format.[Ch]
7600 * lyxrc.C: added #include "format.h"
7602 2003-02-27 Angus Leeming <leeming@lyx.org>
7604 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7607 * factory.C (createInset): add "label" to the factory.
7609 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7610 string and do no more.
7612 2003-02-27 Angus Leeming <leeming@lyx.org>
7615 * LyXAction.C (init):
7616 * factory.C (createInset):
7617 * BufferView_pimpl.C (dispatch):
7618 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7620 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7622 * lyxfunc.C (dispatch):
7623 * text3.C (dispatch): pass name to params2string.
7625 2003-02-26 Angus Leeming <leeming@lyx.org>
7627 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7629 Rearrange the ~includes. Strip out the unnecessary ones.
7631 * factory.C (createInset): reformat.
7632 create new insets for the various LFUN_XYZ_APPLY lfuns.
7634 2003-02-26 John Levon <levon@movementarian.org>
7637 * lyxrow.C: add isParStart,isParEnd helpers
7639 * paragraph.h: make isInserted/DeletedText take refs
7641 * paragraph_funcs.h:
7642 * paragraph_funcs.C: remove #if 0'd code
7647 * text.C: use lyxrow helpers above.
7648 Move draw and paint routines to RowPainter.
7649 Make several methods use refs not pointers.
7650 Make backgroundColor() const.
7651 Add markChangeInDraw(), isInInset().
7652 Merge changeRegionCase into changeCase.
7653 Make workWidth() shouldn't-happen code into an Assert.
7656 * rowpainter.C: new class for painting a row.
7659 * vspace.C: make inPixels take a ref
7661 2003-02-26 Angus Leeming <leeming@lyx.org>
7663 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7666 2003-02-25 John Levon <levon@movementarian.org>
7668 * ispell.C: give the forked command a more accurate name
7670 2003-02-22 John Levon <levon@movementarian.org>
7673 * toc.C: make TocItem store an id not a Paragraph *
7676 2003-02-21 Angus Leeming <leeming@lyx.org>
7678 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7679 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7680 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7681 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7682 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7683 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7685 * BufferView_pimpl.C (dispatch):
7686 * LyXAction.C (init):
7687 * factory.C (createInset):
7688 * lyxfunc.C (getStatus, dispatch):
7689 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7691 2003-02-21 Angus Leeming <leeming@lyx.org>
7693 * BufferView_pimpl.C (MenuInsertLyXFile):
7694 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7695 * lyxfunc.C (menuNew, open, doImport):
7696 no longer pass a LyXView & to fileDlg.
7698 2003-02-21 Angus Leeming <leeming@lyx.org>
7700 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7701 * LyXAction.C: change, BIBKEY to BIBITEM.
7702 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7703 Change InsetBibKey to InsetBibitem.
7704 Change BIBKEY_CODE to BIBITEM_CODE.
7705 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7706 * factory.C: replace insetbib.h with insetbibitem.h.
7707 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7708 * paragraph.C: replace insetbib.h with insetbibitem.h.
7709 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7710 Change bibkey() to bibitem().
7711 * text.C: remove insetbib.h.
7712 * text2.C: replace insetbib.h with insetbibitem.h.
7713 change bibkey() to bibitem().
7714 * text3.C: remove insetbib.h.
7715 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7717 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7719 * lyxrc.C (output): enclose user email in quotes (in case there are
7722 2003-02-18 John Levon <levon@movementarian.org>
7724 * buffer.h: add std::
7726 2003-02-17 John Levon <levon@movementarian.org>
7732 * pspell.C: reworking. Especially in ispell, a large
7733 number of clean ups and bug fixes.
7735 * lyxfunc.C: fix revert to behave sensibly
7737 2003-02-17 André Pönitz <poenitz@gmx.net>
7740 * commandtags.h: new LFUN_INSERT_BIBKEY
7750 * paragraph_func.C: remove special bibkey handling
7752 2003-02-17 John Levon <levon@movementarian.org>
7754 * text.C (Delete): fix case where delete at the end of
7755 the very first paragraph would not merge the pars
7757 2003-02-17 John Levon <levon@movementarian.org>
7759 * lyxrow.C: fix lastPrintablePos()
7761 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7763 * bufferparams.C (writeLaTeX): add a std:here
7765 * buffer.C: and remove a using directive there
7767 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7769 * buffer.C (makeLaTeXFile): move the code that generates the
7772 * bufferparams.C (writeLaTeX): ... in this new method
7774 * LaTeXFeatures.C (getEncodingSet): make const
7775 (getLanguages): make const
7777 * MenuBackend.C (binding): returns the binding associated to this
7779 (add): sets the status of each item by calling getStatus. Adds
7781 (read): add support for OptSubMenu
7782 (expand): remove extra separator at the end of expanded menu
7784 2003-02-15 John Levon <levon@movementarian.org>
7787 * BufferView_pimpl.C:
7789 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7790 inset code that had no actual effect. Remove unneeded status
7793 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7795 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7798 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7800 * text.C (drawLengthMarker): also draw an arrow marker for
7801 symbolic lengths (medskip...)
7803 2003-02-14 John Levon <levon@movementarian.org>
7806 * tabular.C: better method names
7808 2003-02-14 John Levon <levon@movementarian.org>
7810 * BufferView_pimpl.C:
7815 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7816 it's a more accurate name. Remove some pointless uses.
7818 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7820 * text2.C (LyXText): change order of initilizers to shut off
7823 2003-02-14 John Levon <levon@movementarian.org>
7825 * buffer.C: use ParIterator for getParFromID()
7829 * paragraph_pimpl.h:
7830 * paragraph_pimpl.C: remove unused getParFromID()
7832 2003-02-14 John Levon <levon@movementarian.org>
7834 * buffer.C: remove some very old #if 0'd parse code
7836 2003-02-13 John Levon <levon@movementarian.org>
7840 * text2.C: move hfillExpansion(), numberOfSeparators(),
7841 rowLast(), rowLastPrintable(), numberofHfills(),
7842 numberOfLabelHfills() ...
7845 * lyxrow.C: ... to member functions here.
7850 * text.C: remove LyXText::beginningOfMainBody(), and call
7851 p->beginningOfMainBody() directly. Move the check for
7852 LABEL_MANUAL into the latter.
7859 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7865 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7866 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7868 2003-02-13 John Levon <levon@movementarian.org>
7870 * CutAndPaste.C: remove debug
7872 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7874 * paragraph.C (asString): remove two unused variables
7876 * lyxtextclass.C (readTitleType):
7878 (LyXTextClass): handle new members titletype_ and titlename_
7880 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7882 2003-02-09 John Levon <levon@movementarian.org>
7885 * buffer.C: replace hand-coded list with a map for the dep clean
7887 2003-02-08 John Levon <levon@movementarian.org>
7889 * LaTeX.C: consolidate code into showRunMessage() helper
7891 2003-02-08 John Levon <levon@movementarian.org>
7896 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7897 and pass the size in explicitly
7899 * BufferView_pimpl.h:
7900 * BufferView_pimpl.C:
7902 * BufferView.C: add getCurrentChange()
7904 * BufferView_pimpl.h:
7905 * BufferView_pimpl.C: handle change lfuns
7907 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7908 for changes. Mark pasted paragraphs as new.
7910 * support/lyxtime.h:
7911 * support/lyxtime.C:
7912 * DepTable.C: abstract time_t as lyx::time_type
7915 * LColor.C: add colours for new text, deleted text, changebars
7917 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7918 package use "usenames" option.
7922 * LyXAction.C: add change lfuns
7926 * author.C: author handling
7929 * buffer.C: add a per-buffer author list, with first entry as
7930 current author. Handle new .lyx tokens for change tracking. Output
7931 author list to .lyx file. Output dvipost stuff to .tex preamble.
7932 Bump lyx format to 222.
7935 * bufferlist.C: add setCurrentAuthor() to reset current author details
7939 * bufferparams.C: add param for tracking
7941 * bufferview_funcs.C: output change info in minibuffer
7945 * changes.C: add change-tracking structure
7948 * debug.C: add CHANGES debug flag
7951 * lyxfind.C: add code for finding the next change piece
7954 * lyxrc.C: add user_name and user_email
7957 * lyxrow.C: add a metric for the top of the text line
7960 * text.C: implement accept/rejectChange()
7963 * text.C: paint changebars. Paint new/deleted text in the chosen
7964 colours. Strike through deleted text.
7968 * paragraph_pimpl.h:
7969 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7970 in the current change to the insert functions. Rework erase to
7971 mark text as deleted, adding an eraseIntern() and a range-based
7972 erase(). Implement per-paragraph change lookup and
7975 * paragraph_funcs.C: Fixup paste for change tracking.
7977 * tabular.C: mark added row/columns as new.
7979 * text.C: fix rowLast() to never return -1. Don't allow
7980 spellchecking of deleted text. Track transpose changes. Don't
7981 allow paragraph break or merge where appropriate.
7983 * text2.C: leave cursor at end of selection after a cut.
7985 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7987 * text.C (getLengthMarkerHeight):
7988 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7989 visible on screen too.
7991 2003-02-07 John Levon <levon@movementarian.org>
7993 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7995 2003-02-05 Angus Leeming <leeming@lyx.org>
7997 * lyxserver.C (read_ready): revert my patch of 11 September last year
7998 as it sends PC cpu through the roof. Presumably this means that
7999 the lyxserver will no longer run on an Alpha...
8001 2003-01-30 Angus Leeming <leeming@lyx.org>
8003 * factory.C (createInset): create an InsetCommandParam of type "index"
8004 and use it to 'do the right thing'.
8006 * text2.C (getStringToIndex): ensure that cursor position is always
8007 reset to the reset_cursor position.
8009 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8011 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8014 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8018 * lyxfunc.C: Output messages with identical spelling, punctuation,
8021 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8023 * MenuBackend.C (expandFormats): List only viewable export formats
8026 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8029 * lyxfunc.C (getStatus): Make sure that formats other than
8030 "fax" can also be disabled
8032 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8034 * text3.C (dispatch): put the lfuns that insert insets in 3
8035 groups, and call doInsertInset with appropriate arguments.
8036 (doInsertInset): new function, that creates an inset and inserts
8037 it according to some boolean parameters.
8039 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8041 * buffer.C (readFile): remember to pass on 'par' when calling
8042 readFile recursively.
8044 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8046 * MenuBackend.C (expandFormats): add "..." to import formats.
8048 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8050 * paragraph.C (asString): Remove XForms RTL hacks.
8052 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8053 * buffer.C: fix typo
8055 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8057 * Makefile.am (LIBS): delete var
8058 (lyx_LDADD): add @LIBS@ here instead.
8060 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8062 * Clarify the meaning of "wheel mouse jump"
8064 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8066 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8069 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8071 * importer.C (Loaders): do not preallocate 3 elements in the
8072 vector, since one ends up with 6 elements otherwise
8074 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8076 * DepTable.C (write): write the file name as last element of the
8077 .dep file (because it may contain spaces)
8078 (read): read info in the right order
8080 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8082 * paragraph_pimpl.C (simpleTeXBlanks):
8083 (simpleTeXSpecialChars):
8084 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8086 * tabular.C (latex): add some missing case statements. Reindent.
8088 * MenuBackend.C (expandToc): remove unused variable.
8090 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8099 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8102 2003-01-05 John Levon <levon@movementarian.org>
8105 * BufferView.C: add getEncoding()
8108 * kbsequence.C: do not store last keypress
8111 * lyxfunc.C: store last keypress here instead. Pass encoding
8114 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8116 * lyx_main.C (init): remove annoying error message when following
8117 symbolic links (bug #780)
8119 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8121 * text.C (insertChar):
8122 * lyxrc.C (getDescription): remove extra spaces
8124 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8126 * lyxrc.C (getDescription): remove extra spaces
8128 2002-12-20 John Levon <levon@movementarian.org>
8130 * text3.C: hack fix for page up/down across tall rows
8132 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8134 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8137 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8139 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8140 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8141 thesaurus is not compiled in
8143 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8145 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8147 2002-12-16 Angus Leeming <leeming@lyx.org>
8150 * lyx_main.C (init): remove override_x_deadkeys stuff.
8152 2002-12-12 John Levon <levon@movementarian.org>
8154 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8155 insert. Only remove shift modifier under strict
8158 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8160 * MenuBackend.C (expandToc): fix crash.
8162 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8164 * MenuBackend.C (expandToc): gettext on float names.
8166 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8168 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8169 implement bool empty() [bug 490]
8171 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8173 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8175 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8177 * several files: ws changes
8179 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8181 * text2.C (setCounter): clean up a bit, use boost.format.
8182 (updateCounters): initialize par upon declaration.
8184 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8185 if the layout exists. We do not just store the layout any more.
8186 (SwitchLayoutsBetweenClasses): use boost.format
8188 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8190 * converter.C (convert): if from and to files are the same, use a
8191 temporary files as intermediary
8193 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8196 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8198 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8200 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8202 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8204 * tabular.C (asciiPrintCell): use string(size, char) instead of
8207 * sgml.C (openTag): fix order of arguments to string constructor
8210 * lyxfunc.C (dispatch): use boost.format
8212 * lots of files: change "c" -> 'c'
8214 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8216 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8218 2002-11-25 Angus Leeming <leeming@lyx.org>
8220 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8222 * lyx_main.C (init): compile fix.
8224 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8226 * lyx_cb.C (start): boost.formatify
8227 do not include <iostream>
8229 * lengthcommon.C: ws only
8231 * boost-inst.C,BoostFormat.h: add more explict instantations
8233 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8235 * lots of files: handle USE_BOOST_FORMAT
8237 2002-11-21 John Levon <levon@movementarian.org>
8239 * pspell.C: fix compile
8241 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8243 * lyxfunc.C (dispatch): use boost::format
8247 * lyxfont.C (stateText): use boost::format
8249 * lyx_main.C (LyX): use boost::format
8251 (queryUserLyXDir): ditto
8254 (typedef boost::function): use the recommened syntax.
8256 * importer.C (Import): use boost::format
8258 * debug.C (showLevel): use boost::format
8260 * converter.C (view): use boost::format
8265 * bufferview_funcs.C (currentState): use boost::format
8267 * bufferlist.C (emergencyWrite): use boost::format
8269 * buffer.C (readLyXformat2): use boost::format
8270 (parseSingleLyXformat2Token): ditto
8272 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8274 * LaTeX.C (run): use boost::format
8276 * Chktex.C (scanLogFile): use boost::format
8278 * BufferView_pimpl.C (savePosition): use boost::format
8279 (restorePosition): ditto
8280 (MenuInsertLyXFile): ditto
8282 * BoostFormat.h: help file for explicit instation.
8284 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8286 * tabular.C (latex): Support for block alignment in fixed width
8289 2002-11-17 John Levon <levon@movementarian.org>
8291 * BufferView_pimpl.C:
8293 * lyxfunc.C: split filedialog into open/save
8295 2002-11-08 Juergen Vigna <jug@sad.it>
8297 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8298 by my last patch (hopefully).
8300 2002-11-08 John Levon <levon@movementarian.org>
8309 * toc.C: ParConstIterator, and use it (from Lars)
8311 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8313 * lyxtextclass.[Ch]: revise and add doxygen comments
8315 2002-11-07 John Levon <levon@movementarian.org>
8317 * text.C: fix progress value for spellchecker
8319 * toc.C: fix navigate menu for insetwrap inside minipage
8321 * paragraph_funcs.C: added FIXME for suspect code
8323 2002-11-07 John Levon <levon@movementarian.org>
8325 * BufferView_pimpl.C: fix redrawing of insets
8328 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8330 * text2.C (updateCounters): fix bug 668
8332 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8334 * text3.C (dispatch): Do not make the buffer dirty when moving the
8337 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8339 * vc-backend.C: STRCONV
8342 * text2.C (setCounter): STRCONV
8344 * paragraph.C (asString): STRCONV
8346 * lyxlength.C (asString): STRCONV
8347 (asLatexString): ditto
8349 * lyxgluelength.C (asString): STRCONV
8350 (asLatexString): ditto
8352 * lyxfunc.C (dispatch): STRCONV
8355 * lyxfont.C (stateText): STRCONV
8357 * importer.C (Import): STRCONV
8359 * counters.C (labelItem): STRCONV
8360 (numberLabel): ditto
8361 (numberLabel): remove unused ostringstream o
8366 * bufferview_funcs.C (currentState): STRCONV
8368 * buffer.C (readFile): STRCONV
8369 (asciiParagraph): ditto
8370 (makeLaTeXFile): ditto
8372 * Spacing.C (writeEnvirBegin): STRCONV
8374 * LaTeXFeatures.C (getLanguages): STRCONV
8375 (getPackages): ditto
8377 (getBabelOptions): ditto
8378 (getTClassPreamble): ditto
8379 (getLyXSGMLEntities): ditto
8380 (getIncludedFiles): ditto
8384 (scanAuxFile): ditto
8387 * LString.h: add the STRCONV macros
8389 * BufferView_pimpl.C (savePosition): STRCONV
8390 (restorePosition): ditto
8391 (MenuInsertLyXFile): ditto
8393 * vc-backend.C (scanMaster): change from submatch[...] to
8396 * funcrequest.C: include config.h
8398 * factory.C: include config.h
8400 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8402 * box.C: include config.h
8404 * LaTeX.C (scanAuxFile): change from submatch[...] to
8408 2002-10-25 Angus Leeming <leeming@lyx.org>
8410 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8412 * ispell.[Ch] (setError): new method.
8413 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8414 Use setError() insetead of goto END.
8416 * lyx_cb.C (AutoSave): move out child process into new class
8419 2002-10-30 John Levon <levon@movementarian.org>
8421 * text3.C: make start appendix undoable
8423 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8425 * lyxlength.C (inPixels): Fix returned value.
8427 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8430 2002-10-24 Angus Leeming <leeming@lyx.org>
8432 * lyxgluelength.h: no need to forward declare BufferParams
8433 or BufferView, so don't.
8435 2002-10-21 John Levon <levon@movementarian.org>
8437 * BufferView.C: menuUndo ->undo, redo
8439 * BufferView.h: document, remove dead, make some methods private
8441 * paragraph_funcs.h:
8442 * paragraph_funcs.C:
8443 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8448 * sgml.C: move sgml open/close tag into sgml.C
8450 * bufferview_funcs.h: unused prototype
8453 * lyxfunc.C: remove unused
8456 * text.C: remove unused
8458 2002-10-21 John Levon <levon@movementarian.org>
8462 * BufferView_pimpl.h:
8463 * BufferView_pimpl.C: fix mouse wheel handling based on
8464 patch from Darren Freeman
8466 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8468 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8470 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8472 * lyxlength.C (inPixels): Fix hanfling of negative length.
8473 Fix LyXLength::MU case.
8475 2002-10-16 John Levon <levon@movementarian.org>
8477 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8479 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8481 * converter.C (view): add support for $$i (file name) and $$p
8482 (file path) for the viewer command. If $$i is not specified, then
8483 it is appended to the command (for compatibility with old syntax)
8485 2002-10-14 Juergen Vigna <jug@sad.it>
8487 * undo_funcs.C (textHandleUndo): alter the order in which the
8488 new undopar is added to the LyXText, as we have to set first
8489 the right prev/next and then add it as otherwise the rebuild of
8490 LyXText is not correct. Also reset the cursor to the right paragraph,
8491 with this IMO we could remove the hack in "redoParagraphs()".
8493 2002-10-09 Angus Leeming <leeming@lyx.org>
8495 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8496 to turn off an optimisation if a new inset is to be inserted.
8498 2002-10-11 André Pönitz <poenitz@gmx.net>
8500 * lyxtext.h: make some functions public to allow access
8501 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8503 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8505 * text3.C (dispatch): when changing layout, avoid an infinite loop
8508 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8510 * lyxrc.C (read): treat a viewer or converter command of "none" as
8513 * MenuBackend.C (expandFormats): for an update, also allow the
8514 formats that are not viewable
8516 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8517 script if it is newer than the lyxrc.defaults in user directory
8519 2002-10-07 André Pönitz <poenitz@gmx.net>
8521 * text.C: Vitaly Lipatov's small i18n fix
8523 2002-09-25 Angus Leeming <leeming@lyx.org>
8525 * ispell.h: doxygen fix.
8527 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8529 * buffer.h (readFile): Add a new argument to the method, to allow
8530 reading of old-format templates.
8532 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8534 * toc.C (getTocList): Get TOC from InsetWrap.
8536 2002-09-16 John Levon <levon@movementarian.org>
8538 * lyxfunc.C: check tabular for cut/copy too
8540 2002-09-12 John Levon <levon@movementarian.org>
8545 * factory.C: add header
8547 * paragraph_funcs.h:
8548 * paragraph_funcs.C: cleanup
8550 2002-09-11 John Levon <levon@movementarian.org>
8552 * PrinterParams.h: odd/even default to true
8554 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8556 * PrinterParams.h: update printer parameters for new xforms dialog
8558 2002-09-11 Angus Leeming <leeming@lyx.org>
8560 * lyxserver.C (read_ready): re-write to make it more transparent
8561 and to make it work in coherent fashion under Tru64 Unix.
8563 2002-09-11 André Pönitz <poenitz@gmx.net>
8567 * text3.C: implement LFUN_WORDSEL
8569 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8571 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8572 make floatlist_ a boost::shared_ptr<FloatList>
8574 * lyxtextclass.C: include FloatList.h
8575 (LyXTextClass): initialize floatlist_
8576 (TextClassTags): add TC_NOFLOAT
8577 (Read): match "nofloat" to TC_NOFLOAT and use it.
8578 (readFloat): modify call to floatlist_
8582 * FloatList.[Ch] (FloatList): remove commented out float
8584 (erase): new function
8586 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8588 * MenuBackend.C (expandToc): fix crash when there is no document
8591 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8593 * many files: Add insetwrap.
8595 2002-09-09 John Levon <levon@movementarian.org>
8597 * text2.C: remove confusing and awkward depth wraparound
8599 2002-09-09 John Levon <levon@movementarian.org>
8601 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8604 * buffer.C: remove getIncludeonlyList()
8607 * lyxfunc.C: remove headers
8609 2002-09-09 Juergen Vigna <jug@sad.it>
8611 * text.C (getColumnNearX): fix form Michael this is most
8612 probably a cut&paste bug.
8614 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8616 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8618 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8619 references, ws changes.
8621 * text2.C (init): update counters after init
8622 (insertParagraph): no need to set counter on idividual paragraphs.
8623 (setCounter): access the counters object in the textclass object
8624 on in the buffer object.
8625 (updateCounters): ditto
8627 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8628 shared_ptr<Counters> to avoid loading counters.h in all
8630 (LyXTextClass): initialize ctrs_
8631 (TextClassTags): add TC_COUNTER, and ...
8632 (Read): use it here.
8633 (CounterTags): new tags
8634 (readCounter): new function
8635 (counters): new funtion
8636 (defaultLayoutName): return a const reference
8638 * counters.C (Counters): remove contructor
8639 (newCounter): remove a couple of unneeded statements.
8640 (newCounter): simplify a bit.
8641 (numberLabel): some small formatting changes.
8643 * buffer.[Ch]: remove all traces of counters, move the Counters
8644 object to the LyXTextClass.
8646 2002-09-06 Alain Castera <castera@in2p3.fr>
8648 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8649 package to set the horizontal alignment on fixed width columns.
8652 * lyx_sty.h: added tabularnewline macro def.
8654 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8656 2002-09-06 John Levon <levon@movementarian.org>
8658 * LyXAction.C: tooltips for sub/superscript
8660 * MenuBackend.C: a bit more verbose
8662 * lyxfunc.C: tiny clean
8664 * undo_funcs.C: document undo_frozen
8666 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8668 * counters.C (Counters): add missing algorithm counter.
8670 * text2.C (setCounter): lookup the counter with layouts latexname
8671 instead of by section number.
8672 (setCounter): use a hackish way to lookup the correct enum
8674 a float name->type change
8675 reset enum couners with counter name directly instead of depth value.
8677 * counters.C (Counters): remove the push_backs, change to use the
8678 float type not the float name.
8679 (labelItem): remove unused string, float name->type change
8681 * counters.h: don't include vector, loose the enums and sects vectors
8683 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8685 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8686 (Read): add float->TC_FLOAT to textclassTags
8687 (Read): and handle it in the switch
8688 (readFloat): new function
8690 * FloatList.C (FloatList): comment out the hardcoded float
8693 * lyxlayout.h: ws change.
8695 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8697 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8699 2002-09-03 Angus Leeming <leeming@lyx.org>
8701 * BufferView_pimpl.h: qualified name is not allowed in member
8702 declaration: WorkArea & Pimpl::workarea() const;
8704 * factory.C: added using std::endl directive.
8706 * text3.C: added using std::find and std::vector directives.
8708 2002-08-29 André Pönitz <poenitz@gmx.net>
8711 * text2.C: remove unused member number_of_rows
8714 * BufferView2.C: remove file, move contents to...
8715 * BufferView.C: ... here
8717 * BufferView_pimpl.C:
8718 * factory.C: move more inset creation to factory
8720 * vspace.C: avoid direct usage of LyXText, ws changes
8723 don't provide direct access to WorkArea, use two simple
8724 acessors haveSelction() and workHeight() instead
8727 2002-08-29 John Levon <levon@movementarian.org>
8729 * BufferView_pimpl.C (dispatch): do not continue when
8732 2002-08-28 André Pönitz <poenitz@gmx.net>
8734 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8737 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8739 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8741 * buffer.C: increment LYX_FORMAT to 221
8743 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8744 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8746 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8748 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8750 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8752 * factory.C (createInset): use LyXTextClass::floats
8754 * MenuBackend.C (expandFloatListInsert):
8755 (expandFloatInsert):
8758 * text2.C (setCounter):
8760 * LaTeXFeatures.C (useFloat):
8761 (getFloatDefinitions):
8763 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8765 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8766 floatlist_, with accessor floats().
8768 * FloatList.h: remove global FloatList
8770 2002-08-26 André Pönitz <poenitz@gmx.net>
8772 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8776 * BufferView_pimpl.C:
8777 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8779 2002-08-25 John Levon <levon@movementarian.org>
8781 * LyXAction.C: fix margin note description
8783 2002-08-24 John Levon <levon@movementarian.org>
8787 * bufferview_funcs.C:
8789 * undo_funcs.C: cleanups
8791 * lyxfunc.C: disable CUT/COPY when no selection
8793 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8795 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8796 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8798 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8799 Add backward compatibility to "mono", "gray" and "no".
8801 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8803 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8804 (and file_format >= 200).
8806 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8808 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8810 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8812 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8814 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8816 * BufferView_pimpl.C:
8823 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8824 inset and code to make it work with the paragraph code. The inset
8825 can be anywhere in the paragraph, but will only do the expected
8826 thing in LaTeX if the layout file contains the parameter line
8828 (or more generally, a nonzero value) for that layout.
8830 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8832 * paragraph.h: remove the declaration of undefined counters class
8835 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8837 * text2.C (setCounter): fixed enumeration mis-count as reported by
8838 Dr. Richard Hawkins.
8840 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8842 * paragraph_funcs.h: remove some unneeded includes
8844 * text.C (backspace): pasteParagraph now in global scipe
8846 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8847 (pasteSelection): ditto
8849 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8850 * paragraph_funcs.C (pasteParagraph): ... here
8852 2002-08-20 André Pönitz <poenitz@gmx.net>
8854 * commandtags.h: new LFUNs for swapping/copying table row/colums
8857 * lyxfunc.C: support for new lfuns
8859 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8862 * buffer.[Ch]: remove NO_COMPABILITY stuff
8864 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8866 * boost.C (throw_exception): new file, with helper function for
8867 boost compiled without exceptions.
8872 * ParameterStruct.h:
8873 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8875 * bufferlist.C (emergencyWriteAll): use boost bind
8877 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8879 * text.C: include paragraph_funcs.h
8880 (breakParagraph): breakParagraph is now in global scope
8882 * paragraph_funcs.[Ch]: new files
8884 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8887 * buffer.C: include paragraph_funcs.h
8888 (insertStringAsLines): breakParagraph is now in global scope
8890 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8893 * CutAndPaste.C: include paragraph_funcs.h
8894 (cutSelection): breakParagraphConservative is now in global scope
8895 (pasteSelection): ditto
8897 * buffer.h: declare oprator== and operator!= for
8898 Buffer::inset_iterator
8900 * bufferlist.C (emergencyWrite): don't use fmt(...)
8902 * text3.C: add using std::endl
8904 * BufferView.C (moveCursorUpdate): remove default arg
8906 2002-08-20 André Pönitz <poenitz@gmx.net>
8908 * buffer.[Ch]: move inline functions to .C
8911 * BufferView_pimpl.C:
8913 * buffer.[Ch]: use improved inset_iterator
8916 * paragraph.[Ch]: write one paragraph at a time
8918 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8920 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8921 style if style is not specified.
8923 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8925 * text2.C (setCounter): when searching for right label for a
8926 caption, make sure to recurse to parent insets (so that a caption
8927 in a minipage in a figure float works) (bug #568)
8929 2002-08-20 André Pönitz <poenitz@gmx.net>
8931 * text3.C: new file for LyXText::dispatch() and helpers
8933 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8935 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8937 2002-08-19 André Pönitz <poenitz@gmx.net>
8940 * text.C: new LyXText::dispatch()
8942 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8944 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8946 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8948 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8951 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8953 * Makefile.am: use $(variables) instead of @substitutions@
8955 2002-08-15 André Pönitz <poenitz@gmx.net>
8958 * BufferView_pimpl.C: streamlining mathed <-> outer world
8962 * LyXAction.C: remove unused LFUN_MATH
8964 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8966 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8968 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8970 * paragraph.C (Paragraph): reformat a bit
8971 (cutIntoMinibuffer): use builtin InsetList function instad of
8975 * buffer.C: include boost/bind.hpp, add using std::for_each
8976 (writeFileAscii): use ParagraphList iterators
8977 (validate): use for_each for validate traversal of paragraphs
8978 (getBibkeyList): use ParagraphList iterators
8979 (resizeInsets): use for_each to resizeInsetsLyXText for all
8981 (getParFromID): use ParagraphList iterators
8983 * BufferView2.C (lockInset): use paragraph list and iterators
8985 2002-08-14 John Levon <levon@movementarian.org>
8987 * lyxserver.C: remove spurious xforms include
8989 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8991 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8993 2002-08-13 André Pönitz <poenitz@gmx.net>
8996 * lyxfunc.C: further cleaning
8998 2002-08-13 André Pönitz <poenitz@gmx.net>
9000 * funcrequest.h: new constructor
9002 * funcrequest.C: move stuff here from .h
9005 * BufferView_pimpl.C:
9008 * lyxfunc.C: subsequent changes
9010 * lyxfunc.h: new view() member function
9012 * lyxfunc.C: subsequent changes
9014 2002-08-13 Angus Leeming <leeming@lyx.org>
9017 * BufferView_pimpl.C:
9025 changes due to the changed LyXView interface that now returns references
9026 to member variables not pointers.
9028 2002-08-13 Angus Leeming <leeming@lyx.org>
9030 * WordLangTuple (word, lang_code): return references to strings,
9035 * lyxtext.h: forward-declare WordLangTuple.
9040 * text.C: #include "WordLangTuple.h".
9043 * text.C: (selectNextWordToSpellcheck): constify return type.
9045 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9051 * paragraph_pimpl.h:
9054 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9056 Made updateCounter always count from start of buffer, and removed
9057 second argument (par).
9058 Reverted floats number display to '#'. Perhaps I'll try again when the
9059 code base is sanitized a bit.
9061 2002-08-12 Angus Leeming <leeming@lyx.org>
9063 * buffer.[Ch] (getLabelList): constify.
9065 2002-08-07 André Pönitz <poenitz@gmx.net>
9067 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9069 * funcrequest.h: extension to keep mouse (x,y) position
9071 2002-08-12 Juergen Vigna <jug@sad.it>
9073 * BufferView2.C (insertErrors): forbid undo when inserting error
9076 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9078 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9080 * ParagraphList.[Ch]: new files
9082 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9084 * BufferView2.C (lockInset): ParagraphList changes
9087 * bufferlist.C: ditto
9091 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9093 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9094 unused class variable counter_,
9096 * paragraph.[Ch] (getFirstCounter): delete unused function
9098 * counters.C: include LAssert.h
9099 (reset): add a new function with no arg, change other version to
9100 not have def. arg and to not allow empty arg.
9102 * text2.C (setCounter): remove empty arg from call to Counters::reset
9104 2002-08-11 John Levon <levon@movementarian.org>
9106 * Makefile.am: add WordLangTuple.h
9108 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9110 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9111 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9113 * insets/insettext.C: InsetList changes
9115 * graphics/GraphicsSupport.C (operator()): InsetList changes
9117 * toc.C (getTocList): InsetList changes
9119 * paragraph_pimpl.[Ch]: InsetList changes
9121 * paragraph.[Ch]: InsetList changes
9123 * buffer.C (inset_iterator): InsetList changes
9124 (setParagraph): ditto
9125 * buffer.h (inset_iterator): ditto
9126 * iterators.C (operator++): ditto
9127 * iterators.h: ditto
9129 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9131 * InsetList.[Ch]: new files, most InsetList handling moved out of
9134 * BufferView2.C (removeAutoInsets): InsetList changes
9136 (ChangeInsets): ditto
9138 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9140 * paragraph_pimpl.h (empty): new function
9142 * paragraph.[Ch] (empty): new function
9144 * other files: use the new Paragraph::empty function
9146 2002-08-09 John Levon <levon@movementarian.org>
9148 * lyxtext.h: remove unused refresh_height
9150 2002-08-09 John Levon <levon@movementarian.org>
9157 * paragraph.C: move sgml char escaping out of paragraph
9160 * paragraph.C: remove id setter
9164 * paragraph_pimpl.C: remove dead tex_code_break_column
9166 * bufferview_funcs.C: small cleanup
9168 * lyxfunc.C: remove dead proto
9170 * lyxtext.h: make some stuff private. Remove some dead stuff.
9172 * lyxgluelength.C: make as[LyX]String() readable
9174 2002-08-08 John Levon <levon@movementarian.org>
9179 * ToolbarDefaults.C:
9182 * toc.C: lyxaction cleanup
9184 2002-08-08 John Levon <levon@movementarian.org>
9186 * BufferView2.C: small cleanup
9189 * lyxfind.C: move unnecessary header into the .C
9191 2002-08-08 John Levon <levon@movementarian.org>
9193 * funcrequest.h: just tedious nonsense
9196 * lyx_main.C: cleanups
9199 * vspace.C: remove dead header lyx_main.h
9201 2002-08-07 Angus Leeming <leeming@lyx.org>
9204 * paragraph_pimpl.h:
9205 Forward declare class Counters in paragraph.h by moving the ctrs member
9206 variable into Paragraph::Pimpl.
9207 (counters): new method, returning a reference to pimpl_->ctrs.
9209 * text2.C: ensuing changes.
9211 2002-08-07 John Levon <levon@movementarian.org>
9213 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9215 * BufferView_pimpl.C: announce X selection on double/triple
9218 * lyx_main.C: use correct bool in batch dispatch
9220 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9222 2002-08-07 André Pönitz <poenitz@gmx.net>
9224 * funcrequest.h: new class to wrap a kb_action and its argument
9227 * BufferView_pimpl[Ch]:
9231 * lyxrc.C: subsequent changes
9234 2002-08-07 John Levon <levon@movementarian.org>
9236 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9237 document options change.
9239 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9244 * makefile.am: move counters functionality over from
9245 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9247 2002-08-06 John Levon <levon@movementarian.org>
9249 * WordLangTuple.h: new file for word + language code tuple
9260 * BufferView2.C: use WordLangTuple
9263 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9265 2002-08-06 John Levon <levon@movementarian.org>
9267 * lyx_main.C: fix cmdline batch handling
9269 2002-08-06 André Pönitz <poenitz@gmx.net>
9271 * lyxrc.C: set default for show_banner to true
9273 2002-08-06 John Levon <levon@movementarian.org>
9275 * pspell.C: fix a crash, and allow new aspell to work
9277 2002-08-06 John Levon <levon@movementarian.org>
9280 * kbmap.C: small cleanup
9283 * vspace.C: add const
9285 2002-08-05 John Levon <levon@movementarian.org>
9287 * LyXAction.C: back to tabular-insert
9289 2002-08-04 John Levon <levon@movementarian.org>
9292 * BufferView.C: cosmetic change
9294 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9304 * BufferView2.C: purge all "Lyx" not "LyX" strings
9307 * lyxcursor.C: attempt to add some documentation
9312 * ToolbarDefaults.C:
9313 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9314 merge with LFUN_TABULAR_INSERT
9321 * pspell.C: split up i/pspell implementations into separate
9322 files, many cleanups
9324 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9326 * text2.C: some cleanup
9328 * lyxfunc.C: don't check for isp_command == "none" any more, it
9329 didn't make any sense
9331 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9336 * makefile.am: move counters functionality over
9337 from text2.C/paragraph.[Ch] to counters.[Ch], and
9339 2002-08-02 John Levon <levon@movementarian.org>
9341 * buffer.C: s/lyxconvert/lyx2lyx/
9343 2002-08-02 Angus Leeming <leeming@lyx.org>
9345 * lyxlex.C: revert John's change as it breaks reading of the user
9348 2002-08-02 Angus Leeming <leeming@lyx.org>
9350 * importer.C (Import):
9351 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9352 changes due to LyXView::view() now returning a boost::shared_ptr.
9354 2002-08-02 John Levon <levon@movementarian.org>
9356 * lyxlex.C: small cleanup
9358 2002-08-02 John Levon <levon@movementarian.org>
9360 * text2.C (status): small cleanup, no logic change
9362 2002-08-01 John Levon <levon@movementarian.org>
9365 * buffer.C (writeFile): don't output alerts, caller
9369 * lyx_cb.C: from above
9371 * lyxfunc.C: allow to open non-existent files
9373 2002-07-31 John Levon <levon@movementarian.org>
9375 * lyxserver.C: don't let incidental errors get
9378 2002-07-30 John Levon <levon@movementarian.org>
9380 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9382 2002-07-30 John Levon <levon@movementarian.org>
9385 * lyxserver.C: remove I/O callback too
9387 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9389 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9392 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9394 * many files: strip,frontStrip -> trim,ltrim,rtrim
9396 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9398 * PrinterParams.h: remove extern containsOnly, and include
9399 support/lstrings.h instead.
9401 * LaTeX.C (scanAuxFile): modify because of strip changes
9403 * buffer.C (makeLaTeXFile): ditto
9404 * bufferparams.C (writeFile): ditt
9405 * lyxfont.C (stateText): ditto
9406 * lyxserver.C (read_ready): ditto
9407 * vc-backend.C (scanMaster): ditto
9409 * BufferView_pimpl.h: ws changes
9411 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9413 2002-07-26 André Pönitz <poenitz@gmx.net>
9415 * kb_sequence.C: remove unnedred usings
9417 2002-07-26 Juergen Vigna <jug@sad.it>
9419 * lyxfind.C (LyXReplace): we have to check better if the returned
9420 text is not of theLockingInset()->getLockingInset().
9422 2002-07-25 Juergen Vigna <jug@sad.it>
9424 * lyxfind.C (LyXReplace): don't replace if we don't get the
9427 * undo_funcs.C (createUndo): remove debugging code.
9429 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9431 * buffer.C (parseSingleLyXformat2Token): Use default placement
9432 when reading old floats.
9434 * FloatList.C (FloatList): Change the default placement of figure
9435 and tables to "tbp".
9437 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9439 * MenuBackend.C: using std::max
9441 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9443 * MenuBackend.C (expandToc):
9444 (expandToc2): code moved from xforms menu frontend. It is now
9445 generic and TOCs are transparent to menu frontends.
9447 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9449 * toc.C (getTocList): protect against buf=0
9451 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9452 Menu as first parameter. Now, this calls itself recursively to
9453 expand a whole tree (this will be useful for TOC handling)
9454 (expandFloatInsert): remove 'wide' version of floats
9456 * MenuBackend.h (submenuname): returns the name of the submenu.
9457 (submenu): returns the submenu itself, provided it has been
9458 created by MenuBackend::expand
9460 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9462 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9463 insets which have noFontChange == true. (bug #172)
9465 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9467 * BufferView_pimpl.C: add connection objects and use them...
9470 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9472 * MenuBackend.C (expandLastfiles):
9475 (expandFloatListInsert):
9476 (expandFloatInsert):
9477 (expand): split expand in parts
9479 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9481 * lyx_gui.C: use lyx_gui::exit()
9483 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9485 * LyXAction.C: show the failing pseudo action
9487 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9489 * buffer.C (readFile): Run the lyxconvert script in order to read
9492 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9496 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9498 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9502 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9504 2002-07-22 Herbert Voss <voss@lyx.org>
9507 * lyxlength.[Ch]: add support for the vertical lengths
9509 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9511 * toc.[Ch]: std:: fixes
9513 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9515 * lyxrc.C: do not include lyx_main.h
9517 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9523 * BufferView2.C: include "lyxlex.h"
9526 * bufferparams.h: do not #include "lyxlex.h"
9528 * lyxtextclasslist.C (Add): remove method
9529 (classlist): renamed to classlist_
9531 * paragraph_pimpl.C:
9535 * bufferview_funcs.C:
9540 * toc.C (getTocList): use BufferParams::getLyXTextClass
9542 * toc.C (getTocList): use InsetFloat::addToToc
9544 * toc.[Ch]: new files, containing helper functions to handle table
9547 * lyxfunc.C (dispatch): no need to remove spaces around command
9549 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9550 first command of the sequence; it is not very clever, but I do not
9551 have a better idea, actually
9553 * LyXAction.C (LookupFunc): make sure to remove space at the
9554 beginning and end of the command
9556 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9558 * MenuBackend.C (getMenubar): new method: return the menubar of
9560 (read): treat differently reading of menu and menubar (in
9561 particular, the menubar has no name now)
9562 (Menu::menubar): remove
9564 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9567 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9569 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9570 a bibitem inset in a RTL paragraph.
9572 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9574 * paragraph_pimpl.C: constify
9576 * BufferView_pimpl.C:
9578 * lyxfunc.C: fix dispatch in a nicer way
9580 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9582 * lyxfunc.C (dispatch):
9583 * BufferView_pimpl.C:
9584 * BufferView_pimpl.h:
9586 * BufferView.h: rename Dispatch() to dispatch()
9588 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9590 * lyxlayout.C (Read): honor DependsOn tag
9592 * lyxlayout.[Ch] (depends_on): new method
9594 * version.C.in: update lyx_docversion
9596 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9598 * paragraph.C (validate): remove from here...
9599 * paragraph_pimpl.C (validate): ... and move here
9600 (isTextAt): make it const
9602 * buffer.C (getLists): ws cleanup
9604 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9606 * language.C (read): Use iso8859-1 encoding in latex_lang
9607 (this prevents LyX from crashing when using iso10646-1 encoding).
9609 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9611 * text2.C (toggleInset): if cursor is inside an inset, close the
9612 inset and leave cursor _after_ it
9614 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9616 * lyxfunc.C: move minibuffer completion handling out of here
9618 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9620 * BufferView_pimpl.C:
9621 * LaTeX.C: fix dispatch calls
9623 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9625 * text.C (drawChars): Fix Arabic text rendering.
9627 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9631 * lyxfunc.C: remove message-push/pop
9635 * lyxfunc.C: rationalise some code by removing verboseDispatch
9636 in favour of a bool argument to dispatch()
9638 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9640 * lyx_main.C (init): make sure to read symlinks as absolute paths
9642 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9645 * lyxfunc.C: no need for commandshortcut to be a member
9647 2002-07-15 André Pönitz <poenitz@gmx.net>
9649 * converter.C: add support for $$s (scripts from lib/scripts dir)
9650 * lyx_main.C: white space
9652 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9656 * lyxrc.C: remove second exit confirmation
9658 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9663 * BufferView_pimpl.h:
9664 * BufferView_pimpl.C:
9665 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9667 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9669 * MenuBackend.C (expand): add numeric shortcuts to document menu
9671 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9673 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9675 * lyxfont.C (setLyXFamily):
9682 * buffer.C (asciiParagraph): use ascii_lowercase
9684 2002-07-15 Mike Fabian <mfabian@suse.de>
9686 * lyxlex_pimpl.C (search_kw):
9687 * lyxlex.C (getLongString):
9688 * converter.h (operator<):
9689 * converter.C (operator<):
9690 * buffer.C (parseSingleLyXformat2Token):
9692 * ToolbarDefaults.C (read):
9693 * MenuBackend.C (checkShortcuts):
9695 * LColor.C (getFromGUIName):
9696 (getFromLyXName): use the compare_ascii_no_case instead of
9697 compare_no_case, because in turkish, 'i' is not the lowercase
9698 version of 'I', and thus turkish locale breaks parsing of tags.
9700 2002-07-16 Angus Leeming <leeming@lyx.org>
9702 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9703 now takes a Buffer const & argument.
9705 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9707 * BufferView.C (resize): check there's a buffer to resize
9709 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9711 * lyxfunc.C: remove dead code
9714 * lyxserver.C: use lyx_guii::set_read_callback
9716 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9718 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9719 an inset in a RTL paragraph.
9721 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9723 * lyxfunc.C: repaint after a font size update
9725 2002-07-15 André Pönitz <poenitz@gmx.net>
9727 * lyxlength.C: inBP should be able to return negative values
9729 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9731 * lyxfunc.C: use lyx_gui::update_fonts()
9733 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9735 * lyxfunc.C: use lyx_gui::update_color()
9737 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9743 * lyxrc.C: remove file->new asks for name option, and let
9744 buffer-new take an argument
9746 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9748 * BufferView_pimpl.C: remove unneeded extra repaint()
9750 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9752 * LyXAction.C: allow command-sequence with NoBuffer
9754 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9756 2002-07-10 Angus Leeming <leeming@lyx.org>
9758 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9760 2002-07-09 Angus Leeming <leeming@lyx.org>
9762 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9764 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9766 * lengthcommon.h: whitespace
9768 * lyxfunc.C: update scrollbar after goto paragraph
9770 * lyxtext.h: factor out page break drawing, and fix it so
9771 page break/added space paints as selected nicely
9773 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9775 * BufferView_pimpl.C: add FIXMEs, clean up a little
9777 2002-07-09 André Pönitz <poenitz@gmx.net>
9779 * lyxfont.[Ch]: support for wasy symbols
9781 2002-07-08 André Pönitz <poenitz@gmx.net>
9783 * BufferView_pimpl.C: apply John's patch for #93.
9785 2002-07-05 Angus Leeming <leeming@lyx.org>
9787 * BufferView_pimpl.C (buffer): generate previews if desired.
9789 * LColor.h: add "preview" to the color enum.
9791 * LColor.C (LColor): add a corresponding entry to the items array.
9793 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9796 2002-07-05 Angus Leeming <leeming@lyx.org>
9798 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9799 The body of the code is now in the method that is passed an ostream &
9800 rather than a file name.
9801 Pass an additional only_preamble parameter, useful for the forthcoming
9804 2002-07-03 André Pönitz <poenitz@gmx.net>
9806 * lyxfunc.C: simplify getStatus() a bit for math stuff
9808 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9810 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9812 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9814 * text.C (changeRegionCase): do not change case of all the
9815 document when region ends at paragraph end (bug #461)
9817 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9819 * paragraph.C (startTeXParParams):
9820 (endTeXParParams): add \protect when necessary
9822 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9824 * BufferView_pimpl.C (workAreaExpose): remove warning
9826 2002-06-27 Angus Leeming <leeming@lyx.org>
9828 * Makefile.am: add lyxlayout_ptr_fwd.h.
9830 2002-06-26 André Pönitz <poenitz@gmx.net>
9832 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9834 2002-06-25 Angus Leeming <leeming@lyx.org>
9836 * lyxfunc.C (dispatch): Comment out the call to
9837 grfx::GCache::changeDisplay. The method no longer exists now that the
9838 pixmap generation part of the graphics loader has been moved into
9841 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9843 * text2.C: layout as layout
9845 * text.C: layout as layout
9847 * tabular.C (OldFormatRead): layout as layout
9849 * paragraph_pimpl.C (TeXDeeper): layout as layout
9850 (realizeFont): layout as layout
9852 * paragraph.C (writeFile): layout as layout
9853 (validate): layout as layout
9854 (getFont): layout as layout
9855 (getLabelFont): layout as layout
9856 (getLayoutFont): layout as layout
9857 (breakParagraph): layout as layout
9858 (stripLeadingSpaces): layout as layout
9859 (getEndLabel): layout as layout
9860 (getMaxDepthAfter): layout as layout
9861 (applyLayout): layout as layout
9862 (TeXOnePar): layout as layout
9863 (simpleTeXOnePar): layout as layout
9864 (TeXEnvironment): layout as layout
9865 (layout): layout as layout
9866 (layout): layout as layout
9868 * lyxtextclass.C (compare_name): new functor to work with
9869 shared_ptr, layout as layout
9870 (Read): layout as layout
9871 (hasLayout): layout as layout
9872 (operator): layout as layout
9873 (delete_layout): layout as layout
9874 (defaultLayout): layout as layout
9876 * lyxlayout_ptr_fwd.h: new file
9878 * lyxlayout.C (Read): layout as layout
9880 * lyx_cb.C (MenuInsertLabel): layout as layout
9882 * bufferlist.C (newFile): layout as layout
9884 * buffer.C (readLyXformat2): layout as layout
9885 (parseSingleLyXformat2Token): layout as layout
9886 (insertStringAsLines): layout as layout
9887 (asciiParagraph): layout as layout
9888 (latexParagraphs): layout as layout
9889 (makeLinuxDocFile): layout as layout
9890 (simpleLinuxDocOnePar): layout as layout
9891 (makeDocBookFile): layout as layout
9892 (simpleDocBookOnePar): layout as layout
9893 (getLists): layout as layout
9895 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9897 * CutAndPaste.C (cutSelection): layout as layout
9898 (pasteSelection): layout as layout
9899 (SwitchLayoutsBetweenClasses): layout as layout
9901 * BufferView_pimpl.C (Dispatch): layout as layout
9902 (smartQuote): layout as layout
9904 * BufferView2.C (unlockInset): layout as layout
9906 2002-06-24 André Pönitz <poenitz@gmx.net>
9908 * lyxfunc.C: fix #487
9910 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9914 * lyxfunc.C: remove display_shortcuts, show_banner
9916 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9918 * Buffer_pimpl.C: oops, update on resize
9920 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9927 * BufferView.C: use repaint()
9929 * BufferView_pimpl.h:
9930 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9931 as it's a clearer description. Remove superfluous
9934 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9936 * text.C: fix bug 488. Not ideal, but getting
9937 getWord() to work properly for the insets that
9938 matter is more difficult ...
9940 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9942 * BufferView_pimpl.C:
9945 * lyxfunc.C: remove the six million index lyxfuncs to just
9946 one, and DTRT (bug 458)
9948 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9952 * BufferView_pimpl.h:
9953 * BufferView_pimpl.C: clean up resize() stuff,
9954 and unnecessary updateScreen()s
9956 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9960 * BufferView_pimpl.h:
9961 * BufferView_pimpl.C:
9964 * minibuffer.C: remove focus management of workarea,
9965 not needed. Use screen's greyOut()
9967 2002-06-17 Herbert Voss <voss@lyx.org>
9969 * converter.C: (convert) do not post a message, when converting
9970 fails, let the calling function decide what to do in this case
9972 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9974 * lyxfunc.C: tidy up a little
9976 2002-06-16 <alstrup@diku.dk>
9978 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9979 Got rid of FORMS_H_LOCATION include. Now we are
9982 2002-06-15 LyX Development team <lyx@rilke>
9984 * buffer.[Ch] (sgmlOpenTag):
9985 (sgmlCloseTag): Added support for avoiding pernicious mixed
9986 content. Return number of lines written.
9989 (makeDocBookFile): Fixed calls to sgml*Tag.
9990 Simple white space clean.
9992 (simpleDocBookOnePar): Simple white space clean.
9994 * tabular.[Ch] (docBook): Renamed to docbook and got another
9995 argument to related with the pernicious mixed content.
9997 (docbookRow): Fixed calls for docbook inset method.
9999 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10001 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10002 so it's X11 independent.
10006 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10008 2002-06-15 Lyx Development team <lyx@electronia>
10010 * intl.h: Renamed getTrans to getTransManager.
10012 2002-06-14 Angus Leeming <leeming@lyx.org>
10014 * Makefile.am: nuke forgotten stl_string_fwd.h.
10016 2002-06-12 Angus Leeming <leeming@lyx.org>
10018 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10020 2002-06-13 Angus Leeming <leeming@lyx.org>
10023 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10025 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10027 * kbmap.C (getiso): add support for cyrillic and greek
10029 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10033 * BufferView_pimpl.h:
10034 * BufferView_pimpl.C: move bogus scrolling logic
10037 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10040 * BufferView_pimpl.C: view->resize() change
10042 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10044 * BufferView_pimpl.C: topCursorVisible
10047 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10051 * lyx_gui.C: move to frontends/
10055 * lyx_main.C: changes from above
10057 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10064 * lyx_main.C: minor tidy
10066 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10068 * BufferView_pimpl.h:
10069 * BufferView_pimpl.C:
10071 * BufferView.C: make painter() const,
10074 * BufferView2.C: use screen() accessor
10077 * lyx_main.C: some minor cleanup
10079 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10081 * BufferView_pimpl.h:
10082 * BufferView_pimpl.C: remove enter/leaveView,
10085 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10090 * BufferView_pimpl.h:
10091 * BufferView_pimpl.C: only construct screen once,
10094 * lyxrc.C: remove pointless comment
10096 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10099 * BufferView.C: remove active() and belowMouse()
10101 * BufferView_pimpl.h:
10102 * BufferView_pimpl.C: use workarea() not workarea_,
10103 and make it use a scoped_ptr instead
10105 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10107 * lyx_gui.C: add debug message on BadWindow
10109 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10111 * sp_spell.C: fdopen is not part of the C++ standard.
10113 * paragraph.C (InsetIterator): use >= instead of ==
10115 2002-06-07 Angus Leeming <leeming@lyx.org>
10117 Fixes needed to compile with Compaq cxx 6.5.
10118 * BufferView_pimpl.C:
10125 * lyxtextclasslist.C:
10130 all c-library variables have been moved into namespace std. Wrap
10131 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10136 Add a using std::abs declaration.
10138 * kbmap.h (modifier_pair):
10139 * paragraph.h (InsetTable, InsetList):
10140 * lyxfont.h (FontBits):
10141 type definition made public.
10143 * bufferlist.C (emergencyWriteAll): the compiler complains that
10144 there is more than one possible lyx::class_fun template to choose from.
10145 I re-named the void specialisation as lyx::void_class_fun.
10147 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10149 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10150 the compiler is is unable to find tostr in write_attribute.
10152 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10154 * buffer.C (sgmlError): hide #warning
10156 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10158 * xtl/*: get rid of xtl, which is not in use anyway
10160 * LyXAction.C (init):
10161 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10162 were unimplemented xtl experimentation
10164 2002-06-04 André Pönitz <poenitz@gmx.net>
10166 * lyxfunc.C: disable array operation on simple formulae
10168 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10170 * converter.C: constify a bit
10172 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10174 * lyx_gui.C: check xforms version correctly
10176 2002-04-30 Herbert Voss <voss@lyx.org>
10178 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10181 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10183 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10184 attempt to register it with a VCS)
10186 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10188 * lyx_main.C (init): honor variables LYX_DIR_13x and
10191 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10195 * lyx_main.C: fix a crash on bad command line,
10196 and give a useful exit status on error
10198 * lyxfunc.C (doImport): allow -i lyx to work
10200 2002-03-30 André Pönitz <poenitz@gmx.net>
10202 * lyxfunc.C: mathed font changes
10204 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10219 * trans_mgr.h: srcdocs, and some minor cleanups
10221 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10223 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10224 call getFont all the time)
10226 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10228 * switch from SigC signals to boost::signals
10230 2002-05-29 André Pönitz <poenitz@gmx.net>
10232 * paragraph_pimpl.C (getChar): don't call size() too often...
10234 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10236 * paragraph_pimpl.C (insertChar): do not try to update tables when
10237 appending (pos == size())
10239 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10240 in order to reduce drastically the number of comparisons needed to
10241 parse a large document
10243 2002-05-29 André Pönitz <poenitz@gmx.net>
10249 * textclasslist.[Ch]:
10250 * sp_ispell.h: whitespace change
10252 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10254 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10255 lyxaction directly now.
10257 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10261 * lyxvc.C: remove unused headers
10263 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10270 * undo_funcs.C: some cleanups. Use shared_ptr
10271 and a template for the undo stacks.
10273 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10275 * BufferView_pimpl.h:
10276 * BufferView_pimpl.C:
10283 * text2.C: use key_state/mouse_state
10285 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10287 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10290 * chset.C: change include order
10291 (loadFile): use boost regex and get rid of LRegex and LSubstring
10293 * Makefile.am (BOOST_LIBS): new variable
10294 (lyx_LDADD): use it
10296 * LaTeX.C: change include order.
10297 (scanAuxFile): use boost regex and get rid of LRegex and
10301 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10306 * FontInfo.C: moved to frontends/xforms/
10309 * FontLoader.C: moved into frontends for GUIIzation
10314 * lyxfunc.C: changes from above
10316 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10318 * LColor.C: remove spurious X include
10320 * BufferView_pimpl.C:
10325 * text2.C: move font metrics to frontends/
10327 2002-05-24 Juergen Vigna <jug@sad.it>
10329 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10330 setting the undo_cursor.
10332 * ParagraphParameters.h: include local includes first.
10334 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10336 * BufferView_pimpl.C:
10337 * BufferView_pimpl.h:
10341 * screen.C: move WorkArea into frontends/
10347 * BufferView2.C: move LyXScreen into frontends/
10351 * lyx_gui.C: move lyxlookup into frontends/xforms/
10353 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10356 * BufferView_pimpl.C:
10366 * bufferview_funcs.C:
10379 * vc-backend.C: move LyX/XFormsView into frontends/
10381 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10393 * text2.C: move Painter to frontends/
10395 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10397 * buffer.C: comment out some some code that depend upon lyx_format
10400 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10401 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10403 * buffer.h (NO_COMPABILITY): turn off compability
10405 * ColorHandler.C: include scoped_array.hpp
10407 * font.C: Use more specific smart_ptr header.
10410 * ShareContainer.h: ditto
10411 * lyx_main.h: ditto
10413 * FontInfo.h: ditto
10414 * BufferView_pimpl.h: ditto
10415 * ColorHandler.h: ditto
10417 * kbmap.C (defkey): change call to shared_ptr::reset
10419 2002-05-21 Juergen Vigna <jug@sad.it>
10421 * buffer.C (insertErtContents): fix to insert ert asis if it is
10422 non empty. Skip it completely if it contains only whitespaces.
10424 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10426 * BufferView_pimpl.C:
10427 * BufferView2.C: clear selection on paste (bug 393)
10429 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10431 * DepTable.C: include ctime
10433 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10435 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10437 2002-05-14 Juergen Vigna <jug@sad.it>
10439 * text.C (breakParagraph): fixed function to honor the keepempty
10440 layout in the right maner and also to permit the right breaking
10441 algorithm on empty or non empyt keepempty paragraphs.
10443 * paragraph.C (breakParagraph): we have to check also if the par
10444 is really empty (!size()) for isempty otherwise we do the wrong
10447 2002-05-10 Juergen Vigna <jug@sad.it>
10449 * buffer.[Ch] : The following are only changes to the ert
10450 compatibility read reading old LaTeX layout and font stuff and
10451 convert it to ERTInsets.
10453 * buffer.h: added isErtInset().
10455 * buffer.C (struct ErtComp): add a fromlayout bool to check
10456 if we're inside a LaTeX layout.
10457 (isErtInset): new helper function.
10458 (insertErtContents): look for other ert insets before this one
10459 and insert the contents there, so that we don't have subsequent
10460 ERT insets with nothing between them. This way we create only one
10461 inset with multiple paragraphs. Also check if we don't insert only
10462 spaces ' ' as they are ignored anyway afterwards in the .tex file
10463 so if we have only spaces we will ignore this latex part in the
10465 (parseSingleLyXformat2Token \\layout): better compatibility when
10466 reading layout-latex stuff.
10467 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10469 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10470 stuff after reading the inset only get the information back from
10473 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10475 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10477 * LaTeXFeatures.C (getBabelOptions): New method.
10479 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10481 * BufferView_pimpl.C (Dispatch): work around missing argument for
10484 2002-05-08 Juergen Vigna <jug@sad.it>
10486 * text.C (leftMargin): handle paragraph leftindent.
10488 * paragraph.C (writeFile): write the new \\leftindent tag.
10489 (validate): handle leftindent code.
10490 (TeXEnvironment): handle paragraphleftindent code again.
10492 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10494 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10495 for paragrap_extra indent code and new token \\leftindent.
10496 (latexParagraphs): handle the leftindent as environment.
10498 * ParameterStruct.h: added leftindent support.
10500 * ParagraphParameters.C (leftIndent): added support functions for
10501 the paragraph left indent.
10503 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10506 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10508 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10511 * text.C (computeBidiTables): No bidi in insetERT.
10513 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10516 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10518 * version.C.in: pre 5
10520 2002-05-02 José Matos <jamatos@fep.up.pt>
10521 * buffer.C (makeDocBookFile): white space changes, add newline to
10523 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10525 * tabular.C (docBook): fix typo.
10527 2002-05-03 Juergen Vigna <jug@sad.it>
10529 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10530 change in LyXText as we can not be sure it was not freed.
10531 (drawOneRow): remove unused code.
10533 * text.C (drawInset): redo the calculation of the need_break_row as
10534 it could have a row which was already freed.
10535 (draw): look at the return value of drawInset and return false if
10536 it also returned false.
10537 (paintRowText): look at the return value of draw and return false if
10538 it also returned false.
10540 * lyxtext.h: added bool return type to drawInset() and draw() so that
10541 if we have a change in the row so that the rowbreak has to be redone
10542 we abort drawing as it will be called again.
10544 2002-05-02 Juergen Vigna <jug@sad.it>
10546 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10547 a change in the maintext also if we're inside an inset.
10548 (Dispatch): set the cursor again after a break line and after the
10549 screen has been updated as it could be we're in a different row.
10551 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10552 to set the cursor behind the pargraph with > size().
10553 (setCursor): check also for the same paragraph when checking where
10554 to put the cursor if we have a NFR inset.
10556 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10557 parts of layout read further up as it still was in the wrong
10560 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10562 * screen.C (drawFromTo): change sine fullRebreak always return
10565 * buffer.C (parseSingleLyXformat2Token): reindent some
10567 * BufferView_pimpl.C (update): change since fullRebreak always
10569 (Dispatch): git rid of the last hardcoded "Standard"s.
10571 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10573 * text2.[Ch] (fullRebreak): make it return void now that we always
10576 2002-04-30 Juergen Vigna <jug@sad.it>
10578 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10579 ert compatibility check for "latex" layout.
10581 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10583 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10584 minipages: use col% instead of p%, and also use the current font.
10585 (makeLaTeXFile): Fix use babel condition.
10586 (parseSingleLyXformat2Token): Correct font when reading old floats.
10588 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10590 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10591 inserting list of floats.
10593 2002-04-25 Herbert Voss <voss@lyx.org>
10595 * MenuBackend.C (expand): don't add the graphics extensions to the
10598 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10600 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10601 non-existing layout, do not complain if it was the default layout
10602 of the original class (bug #342)
10604 2002-04-24 Juergen Vigna <jug@sad.it>
10606 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10607 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10609 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10611 * buffer.C (getBibkeyList): If using \bibliography, return the
10612 option field with the reference itself. Enables us to provide natbib
10613 support when using \bibliography.
10615 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10617 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10619 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10620 natbib is provided by the LaTeX class.
10622 2002-04-23 Juergen Vigna <jug@sad.it>
10624 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10627 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10629 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10631 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10633 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10634 ensuremath around textordmasculine, textordfeminine and
10637 2002-04-19 Juergen Vigna <jug@sad.it>
10639 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10640 reinitializing the buffer otherwise row-dimensions may be wrong.
10641 (update): reset also the selection cursors if they do exits otherwise
10642 their x/y positions may be wrong.
10644 * text2.C (cursorDown): don't enter the inset if we came from a row
10645 above and are one row over the inset.
10647 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10648 really leaving an inset.
10650 2002-04-18 Juergen Vigna <jug@sad.it>
10652 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10653 of the selected paragraph does not have the selected layout also if
10656 * text2.C (setLayout): fixed bug which did not change last selected
10659 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10660 changed the read and substituted \\end_float with \\end_inset!
10662 * BufferView_pimpl.C (cursorPrevious):
10663 (cursorNext): fixed to make it work with rows heigher than the work
10664 area without moving the cursor only the draw of the row.
10665 (workAreaMotionNotify): fix jumping over high rows.
10667 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10669 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10672 2002-04-16 Juergen Vigna <jug@sad.it>
10674 * text2.C (setCursor): set also the irow().
10675 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10677 (cursorDown): support for locking an inset if the x_fix value goes
10678 inside it. That way I can transverse insets too with cursor up/down.
10680 * lyxrow.h: added irow helper function same as other (i) functions.
10682 * BufferView_pimpl.C (cursorPrevious):
10683 (cursorNext): fixed for insets!
10685 2002-04-15 Juergen Vigna <jug@sad.it>
10687 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10688 position otherwise it is wrong in some cases.
10690 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10691 inside the inset before the call.
10693 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10695 * buffer.[Ch] (getBibkeyList): make it const.
10697 2002-04-12 Juergen Vigna <jug@sad.it>
10699 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10701 * text2.C (getCursorX): new helper function
10702 (setCursor): compute also ix_
10703 (setCursorFromCoordinates): set also ix.
10705 * lyxcursor.h: added ix_ and helper functions.
10707 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10709 * buffer.C (insertStringAsLines): dont break paragraph if the this
10710 paragraph is inside an inset which does not permit it!
10712 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10713 also with no chars on this paragraph.
10714 (paintRowText): only paint stuff if it's inside the workarea!
10716 * paragraph.C (breakParagraph): honor keepempty flag and break the
10717 paragraph always below not above.
10719 * BufferView2.C (unlockInset): update the paragraph layout on inset
10720 unlock as we changed paragraph in such a case.
10722 * lyxfind.C (LyXFind): clear the former selection if not found!
10724 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10725 again called in insertChar().
10727 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10728 an inset which uses the whole row!
10729 (rightMargin): ditto.
10730 (insertChar): force a rebreak if we inserted an inset!
10732 2002-03-28 Herbert Voss <voss@lyx.org>
10734 * lyxlength.[Ch]: add inBP() to get the right PS-point
10735 units (BigPoint). With inPixels we have rounding errors
10737 2002-04-11 Juergen Vigna <jug@sad.it>
10739 * text2.C (setCursorFromCoordinates): set iy to the right value.
10740 (setCursor): add check if row->previous exists!
10742 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10743 an old float_type as this was the case in the old code!
10745 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10747 * BufferView2.C (showLockedInsetCursor): use iy
10748 (fitLockedInsetCursor): ditto
10750 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10751 locked insets as there we have the right value now.
10753 * lyxcursor.C: added iy_ variable and iy functions to set to the
10754 baseline of cursor-y of the locked inset.
10756 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10757 (setCursor): fixed for insets which need a full row.
10759 * text.C (rowLastPrintable): don't ignore the last space when before
10760 an inset which needs a full row.
10761 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10762 as last character of a row when before a inset which needs a full row.
10764 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10766 * version.C.in: update date
10768 * text2.C (fullRebreak): try to always return true and see what
10771 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10773 * MenuBackend.C (expand): use Floating::listName
10775 * FloatList.C (FloatList): add listName argument to the built-in
10778 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10779 text associated with the float.
10781 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10783 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10785 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10787 * ShareContainer.h: add a couple of missing typenames.
10789 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10791 * lyxrc.C (getDescription): use _() correctly rather than N_().
10793 2002-03-28 Herbert Voss <voss@lyx.org>
10795 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10796 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10798 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10800 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10801 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10803 2002-03-29 Juergen Vigna <jug@sad.it>
10805 * lyxfunc.C (dispatch): add a missing fitCursor call.
10807 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10808 it was scrolled by a cursor move, so return the bool status.
10810 * BufferView.C (fitCursor): return the bool flag also to the outside
10811 world as this is needed.
10813 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10815 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10816 call the edit() as it is not needed (and wrong) IMO.
10817 (workAreaButtonPress): set the screen_first variable before evt.
10818 unlock the inset as this may change screen_first and then we have
10819 a wrong y position for the click!
10821 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10823 * MenuBackend.C (expand): another translation that I missed
10825 2002-03-28 Juergen Vigna <jug@sad.it>
10827 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10829 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10831 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10833 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10835 * MenuBackend.C (expand): fix export/view/update when there is no
10838 2002-03-27 Herbert Voss <voss@lyx.org>
10840 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10843 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10845 * bufferview_funcs.C (currentState): only show paragraph number
10846 for is DEVEL_VERSION is set.
10848 * lyxfunc.C (dispatch): put warning in INFO channel
10850 * MenuBackend.C (expand): translate the name of floats
10852 * FloatList.C (FloatList): mark the float names for translation
10854 * converter.C (convert): use LibScriptSearch
10856 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10858 * MenuBackend.C (defaults): fix default menu (we might as well get
10861 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10863 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10866 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10868 * lyxvc.C: reorder includes.
10870 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10872 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10875 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10877 * CutAndPaste.C: change layouts earlier on paste
10878 to avoid crashing when calling getFont()
10880 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10882 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10885 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10887 * WorkArea.C: remove 'Pending' debug message.
10889 * most files: ws cleanup
10891 * buffer.[Ch]: ws changes
10893 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10895 2002-03-21 Juergen Vigna <jug@sad.it>
10897 * tabular.C (SetMultiColumn): collapse also the contents of the
10898 cells and set the last border right. Added a Buffer const * param.
10900 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10902 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10905 2002-03-19 Juergen Vigna <jug@sad.it>
10907 * text2.C (clearSelection): reset also xsel_cache.
10909 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10910 where it needs to be called (John tells us to do so too :)
10911 (selectionLost): reset sel_cache.
10913 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10915 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10917 * text2.C (setCursorIntern): put debuging code in INSETS channel
10919 2002-03-19 André Pönitz <poenitz@gmx.net>
10921 * lyxfunc.C: tiny whitespace change
10923 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10925 * ToolbarDefaults.C (init):
10926 * LyXAction.C (init):
10928 * BufferView_pimpl.C (Dispatch):
10929 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10931 2002-03-19 Allan Rae <rae@lyx.org>
10933 * exporter.C (Export): removeAutoInsets before doing anything else.
10934 While I've just introduced a dependency on BufferView this really is
10935 the best place to clean the buffer otherwise you need to cleanup in
10936 a dozen places before calling export or cleanup in a dozen functions
10939 * converter.C (runLaTeX):
10940 (scanLog): Better handling of removeAutoInsets and screen updates.
10942 * lyxfunc.C (dispatch): small whitespace changes
10944 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10946 * WorkArea.C (C_WorkAreaEvent): return a value.
10947 (event_cb): return 1 if we handled the event, 0 otherwise.
10949 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10951 2002-03-18 Juergen Vigna <jug@sad.it>
10953 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10954 (GetAdditionalWidth): ditto.
10955 (RightLine): ditto.
10958 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10959 inset if we're there actually (probably not used right now but this
10960 is the direction to go for unifying code).
10961 (paste): disable code to clear the selection.
10963 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10964 inside an InsetText and move the check further up as it is in the
10967 * text2.C (pasteSelection): set a selection over the pasted text.
10969 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10971 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10972 and libgraphics to build on Cygwin.
10974 2002-03-15 Juergen Vigna <jug@sad.it>
10976 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10977 inserting an Inset into the paragraph. I know this is not the best
10978 fix but we already use current_view in CutAndPaste so we will remove
10979 all of it's using at the same time.
10981 * buffer.C (sgmlError): deactivated function till it is rewritten in
10982 the right mode, now it can create problems.
10984 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10985 before accessing it.
10987 2002-03-14 Juergen Vigna <jug@sad.it>
10989 * undo_funcs.C (textHandleUndo): do the right thing when updating
10990 the inset after the undo/redo.
10992 * text2.C (setCursor): just some testcode for #44 not ready yet.
10994 * undo_funcs.C (textHandleUndo): set the next() and previous()
10995 pointers of the paragraph to 0 before deleting otherwise we have
10996 problems with the Paragraph::[destructor].
10998 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10999 on a paragraph insertion.
11001 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11003 * buffer.C (asciiParagraph): use += operator for char append to
11006 * paragraph.C (getFontSettings): compare >= not just >
11007 (highestFontInRange): ditto
11010 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11012 * paragraph.C: change several algorithm to be more appripriate for
11013 the problem domain. This is lookip in FontList and in the InsetList.
11015 2002-03-13 André Pönitz <poenitz@gmx.net>
11018 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11020 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11025 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11027 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11029 * Painter.C (display): anon helper function, adjust code for this
11031 (pixmap): remove function.
11033 * Painter.h: remove private display variable.
11035 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11037 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11039 * WorkArea.[Ch]: remove figinset_canvas cruft.
11041 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11043 * lyxtextclass.C (operator): add one item cache optimization.
11045 * bufferlist.h: doxy changes
11047 * bufferlist.C: ws changes
11049 * DepTable.[Ch] (ext_exist): place const in the right spot.
11051 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11053 (workAreaExpose): call resizeInsets when the with BufferView changes.
11054 (Dispatch): adjust for protectedBlank removal
11055 (specialChar): call updateInset if the insert went ok.
11057 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11058 specialChar instead.
11060 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11062 * BufferView.h: doxy change
11064 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11066 * lyxtextclass.C (operator[]): remove non-const version
11067 (defaultLayout): remove non-const version
11069 2002-03-12 Juergen Vigna <jug@sad.it>
11071 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11072 did resize the LyXText too.
11074 * buffer.C (readLyXformat2): set layout information on newly allocated
11077 * tabular.C (OldFormatRead): set layout information on the paragraph.
11079 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11081 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11083 2002-03-11 Juergen Vigna <jug@sad.it>
11085 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11087 (resizeCurrentBuffer): force also the insets to resize themselfes.
11088 (moveCursorUpdate): fixed up for InsetText.
11090 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11093 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11094 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11095 value of Dialogs::tooltipsEnabled().
11096 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11098 2002-03-08 Juergen Vigna <jug@sad.it>
11100 * BufferView_pimpl.C (updateInset): update inset inside inset also
11101 if it isn't inside theLockingInset().
11103 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11105 * buffer.C (asciiParagraph): redo some of the word and line length
11107 (getLists): look for Caption instead of caption.
11109 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11111 * buffer.C (Buffer): initialize niceFile to true
11113 (makeLinuxDocFile):
11114 (makeDocBookFile): make sure niceFile is true on exit
11116 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11118 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11120 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11122 * LyXSendto.C: remove.
11123 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11124 * lyx_gui.C: remove now-redundant comment.
11125 * ColorHandler.h: remove forward declaration of class WorkArea.
11126 * lyxfunc.C: remove #include "WorkArea.h".
11128 2002-03-07 Juergen Vigna <jug@sad.it>
11130 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11131 got moved away with the DEPM and also set the inset_owner always
11132 right which before could have been omitted.
11134 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11136 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11137 wanted layout is not found.
11139 2002-03-07 Juergen Vigna <jug@sad.it>
11141 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11143 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11145 * paragraph.C (breakParagraph): use default layout not layout of
11147 (Paragraph): clear ParagraphParameters.
11149 2002-03-06 Juergen Vigna <jug@sad.it>
11151 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11152 otherwise it would not be a valid lenght. Fixed a special case in
11153 the minipage compatibility read where we end the document with a
11156 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11157 was set as it could be 0 for InsetTexts first entry.
11159 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11161 * paragraph.C (writeFile): if layout is empty write out
11162 defaultLayoutName().
11164 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11165 file without named layout we set layout to defaultLayoutName().
11167 2002-03-06 Juergen Vigna <jug@sad.it>
11169 * CutAndPaste.C (copySelection): set layout for new paragraph.
11171 * text.C (prepareToPrint): leave ERT inset left aligned
11172 (leftMargin): don't indent paragraphs inside ERT insets
11174 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11176 * paragraph.C (breakParagraph): dont call clear do the work manually
11178 * paragraph.[Ch] (clear): remove function
11180 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11182 * paragraph.C (Paragraph): dont call clear, the work has already
11185 * lyxtextclass.C (operator): assert if n is empty
11187 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11188 work manually instead.
11190 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11192 * BufferView_pimpl.C: protect selectionLost against text == 0
11194 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11196 * text.C (breakParagraph): fix a setting layout to '0' problem.
11198 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11200 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11201 final location of file, for the included files, and graphics.
11203 2002-03-05 Juergen Vigna <jug@sad.it>
11205 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11207 2002-03-04 Juergen Vigna <jug@sad.it>
11209 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11211 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11212 last column of multicolumn cells.
11213 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11215 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11217 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11218 file if it doesn't go to a temporary file.
11220 * buffer.C (sgmlOpenTag):
11221 (sgmlCloseTag): remove extra newline insertion.
11223 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11225 * text.C (getRowNearY): comment out debug msg
11227 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11229 * text2.C: first -> first_y
11231 * text.C (getRowNearY): add some attemts at a possible
11232 optimization, not working.
11234 * tabular.[Ch]: add BufferParams to several function so that newly
11235 created paragraph can be initialized to he default layotu for the
11238 * tabular-old.C (ReadOld): add buf->params to call of Init
11240 * screen.C: rename text->first to text->first_y
11242 * paragraph.C (breakParagraph): always set layout in the broken
11245 * lyxtextclass.C (Read): remove lowercase
11248 (delete_layout): ditto
11250 * lyxtext.h: rename first -> first_y
11252 * lyxlayout.C (Read): remove lowercase
11255 (obsoleted_by): ditto
11257 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11259 * buffer.C (insertErtContents): add params are to InsetERT
11260 (parseSingleLyXformat2Token): add code to check if a paragraphs
11261 layout really exist.
11262 (parseSingleLyXformat2Token): add params to several inset
11264 (asciiParagraph): remove lowercase, do the layout comparisons with
11267 * BufferView_pimpl.C (cursorNext): first -> first_y
11268 (resizeCurrentBuffer): first -> first_y
11269 (updateScrollbar): first -> first_y
11270 (scrollCB): first -> first_y
11271 (workAreaMotionNotify): first -> first_y
11272 (workAreaButtonPress): first -> first_y
11273 (checkInsetHit): first -> first_y
11274 (cursorPrevious): first -> first_y
11275 (cursorNext): first -> first_y
11276 (Dispatch): add buffer_->params to severl inset contructors
11278 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11280 * lyxlayout.C (Read): remove some debug info that I forgot.
11282 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11283 clean up the code slightly.
11284 (makeLinuxDocFile): ditto
11285 (makeDocBookFile): ditto
11287 * text2.C: layout as string
11289 * text.C: layout as string
11291 * paragraph_pimpl.C: layout as string
11293 * paragraph.[Ch]: layout as string
11295 * lyxtextclasslist.[Ch]: layout as string
11297 * lyxtextclass.[Ch]: layout as string
11299 * lyxtext.h: layout as string
11301 * lyxlayout.[Ch]: layout as string
11303 * lyx_cb.C: layout as string
11305 * bufferview_funcs.C: layout as string
11307 * bufferparams.C: layout as string
11309 * buffer.C: layout as string
11311 * LyXView.[Ch]: layout as string
11313 * LaTeXFeatures.[Ch]: layout as string
11315 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11317 * BufferView_pimpl.C: change current_layout to string, remove
11322 (workAreaButtonRelease): layout as string
11324 * BufferView2.C (unlockInset): adjust
11326 * vspace.C (asLatexCommand): use an explict temp variable.
11328 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11330 * Makefile.am: use FRONTEND_*
11332 2002-03-01 Juergen Vigna <jug@sad.it>
11334 * tabular.C (SetWidthOfMulticolCell): changed to something better
11335 I hope but still work in progress.
11336 (recalculateMulticolumnsOfColumn): renamed function from
11337 recalculateMulticolCells as it is more appropriate now.
11338 (SetWidthOfCell): calculate multicols better.
11340 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11342 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11344 * lyxfunc.C (processKeySym): print sequence also if it is
11345 `deleted' (complete)
11347 * kbsequence.C (print): print sequence even if it is deleted
11348 (complete would be a better word, actually).
11350 * lyxfunc.C (dispatch): print complete options after a prefix key
11352 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11354 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11356 * text2.C (setCharFont): eliminate setCharFont code duplication.
11358 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11360 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11361 LFUN_TABULAR_FEATURE (bug #177)
11363 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11365 * Makefile.am: remove figure.h
11367 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11369 * Bufferview_pimpl.C:
11381 * text2.C: remove #include "lyx_gui_misc.h".
11383 * LaTeX.C: added #include <cstdio>
11385 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11387 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11388 that the paragraph following this one can have.
11390 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11392 * vspace.C (asLatexCommand): fix bogus gcc warning
11394 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11396 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11398 * text2.C (setLayout): get rid of redundant code
11400 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11402 * text2.C (incDepth): make sure depth cannot be increased beyond
11405 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11407 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11408 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11410 * PainterBase.h (image):
11411 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11412 a LyXImage const *.
11414 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11418 * BufferView_pimpl.C:
11419 * BufferView_pimpl.h:
11439 * sp_spell.C: remove fig inset, and the crap house of
11440 cards that follows it
11442 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11447 * os2_errortable.h:
11448 * nt_defines.h: move .h into support/
11450 * vms_defines.h: remove
11452 * WorkArea.C: add space in debug output
11456 * buffer.C: add WITH_WARNINGS
11460 * bufferlist.C: s/retrive/retrieve/, add docs
11469 * chset.C: add docs
11471 * lyxgui.C: add ID to X error handler
11473 * lyxtestclass.c: fix typo
11475 2002-02-26 Juergen Vigna <jug@sad.it>
11477 * tabular_funcs.C (write_attribute): changed so that some default
11478 attributes are not written at all.
11479 (getTokenValue): set default values before trying to read the
11480 value so we have the return value always set as default if we don't
11481 find the token we search for.
11483 * tabular.C (Write): write bools as bools not as strings!
11485 2002-02-22 Juergen Vigna <jug@sad.it>
11487 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11488 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11490 * text.C (leftMargin): don't add an indent for paragraphs inside
11491 tabular cells (fix #208).
11493 2002-02-21 José Matos <jamatos@fep.up.pt>
11495 * tabular.C (docBook): fixed support for long tables.
11497 2002-02-20 Juergen Vigna <jug@sad.it>
11499 * text2.C (getFont): get the drawing font of the Inset if this
11500 paragraph is inside an inset (only important for InsetERT for now).
11502 * buffer.C (insertErtContents): use new lanugage params in ERT
11505 * CutAndPaste.C: commenting out seemingly uneeded code.
11507 2002-02-19 Allan Rae <rae@lyx.org>
11509 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11510 Iterators might be simple to use but they also get invalidated.
11511 (removeAutoInsets): renamed saved cursor tracking variables and added
11512 some comments to clarify what everything does.
11514 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11521 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11522 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11525 * vc-backend.h: remove #include "support/syscall.h"
11529 * converter.C: rearrange #includes in Lars' approved fashion.
11531 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11532 forward declare class Timeout in the header file.
11534 * XFormsView.C: changes due to the above.
11536 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11537 similar to LyXView.
11539 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11540 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11542 2002-02-18 José Matos <jamatos@fep.up.pt>
11544 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11547 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11549 * a lot of small ws changes
11550 * add a lot of using std::XXX
11551 * use std construcs some places where approp.
11552 * use some exisint stuff from lyxfunctional where approp.
11553 * Make file changes to use partial linking (lets test this now...)
11555 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11559 remove #include "support/syscontr.h" as it's redundant. Always has been.
11567 change Systemcalls::System to Systemcalls::Wait and
11568 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11569 No change of functionality, just reflects the stripped down Systemcalls
11572 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11574 * debug.[Ch]: add a GRAPHICS type to the enum.
11576 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11578 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11580 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11583 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11585 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11586 match the changes below.
11588 * text2.C (toggleInset): if there is not editable inset at cursor
11589 position, try to see if cursor is _inside_ a collapsable inset
11592 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11594 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11595 document menu has a nice checkbox
11597 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11599 * lyxlength.C (asLatexString): change PW to output as percent of
11602 * lengthcommon.C: change '%' to 't%'
11604 * lyxfunc.C (dispatch): a few comments from Martin
11606 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11610 * BufferView_pimpl.h:
11611 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11614 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11616 * vspace.C (inPixels): fix compiler warning
11618 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11620 * lyxfunc.C (getStatus): fix status message for disabled commands.
11622 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11624 * BufferView_pimpl.C: fix crash on close buffer
11625 during selection (#227)
11627 2002-01-27 Herbert Voss <voss@lyx.org>
11629 * buffer.C: link old Figure to new graphic inset
11631 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11633 * FontLoader.C (getFontinfo): Change the latex font names in order
11634 to match the names of type1inst.
11636 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11638 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11640 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11641 (extchanged): ditto
11643 (remove_files_with_extension): ditto
11644 (remove_file): ditto
11647 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11648 document is smaller than the work area height. Do not initialize
11649 static variables to 0.
11651 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11653 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11655 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11656 LFUN_LAYOUT_PARAGRAPHS.
11658 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11659 tabular. It is possible to provide a possible cell, which will
11660 typically be the actcell from the corresponding insettabular
11662 * lyxfunc.C (getStatus): small cleanup; disable
11663 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11666 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11668 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11670 * paragraph.C (startTeXParParams):
11671 (endTeXParParams): new methods. The LaTeX code to
11672 start/end paragraph formatting
11673 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11674 empty (fixes bug #200)
11676 * vspace.C (inPixels): adapt to the change below
11677 (inPixels): [later] more cleanups (remove unused variables)
11679 * lyxlength.C (inPixels): change to use a width and a height as
11682 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11684 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11685 Replaced with \paperwidth
11687 * DepTable.C (insert): add std:: qualifier
11689 2002-01-18 Allan Rae <rae@lyx.org>
11691 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11694 * text.C (drawInset): Turned out I didn't know enough about how
11695 rebreaking worked. This fixes most of the redraw problems. I see
11696 an occasional cursor trail when a line is broken now and the cursor
11697 placement can seem out by a few pixels also after a rebreak.
11699 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11701 * buffer.C (parseSingleLyXformat2Token): update because minipage
11702 width is now a LyXLength
11704 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11706 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11709 2002-01-17 Juergen Vigna <jug@sad.it>
11711 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11713 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11714 is set correctly and the inset is updated correctly.
11716 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11718 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11719 the beginning of the loop.
11721 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11723 * lyxrc.C: improve help for use_scalable_fonts
11725 2002-01-17 Allan Rae <rae@lyx.org>
11727 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11729 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11731 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11732 make sure to set their inset_owner to the right value (bug #171)
11734 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11737 * DepTable.C: Implement mtime checking to reduce time spent doing
11740 2002-01-16 Juergen Vigna <jug@sad.it>
11742 * tabular.C (GetAdditionalHeight): one of error fixed.
11744 * lyxrc.C (output): small fix in writing use_pspell.
11746 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11748 * sp_base.h: #include LString.h
11750 2002-01-16 Allan Rae <rae@lyx.org>
11752 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11753 Can someone check this please?
11755 * text.C (drawInset): It was possible that p.row would be removed by
11756 breakAgainOneRow upsetting a few other settings. There may be another
11757 small tweak possible by setting need_break_row = 0 when p.row has been
11758 removed but I don't know enough about the logic here.
11760 2002-01-15 Allan Rae <rae@lyx.org>
11762 * text.C (insertChar): removed conditional truism.
11764 * BufferView2.C (removeAutoInsets): More tweaks.
11765 cur_par_prev could be a stray pointer. Check for trailing empty line
11766 in case last line was cur_par and only had an error inset on it.
11768 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11770 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11773 * vc-backend.C (most methods):
11774 * exporter.C (Export):
11775 * converter.C (convert):
11777 * LyXSendto.C (SendtoApplyCB):
11778 * lyxfunc.C (dispatch):
11782 * lyx_cb.C (AutoSave):
11784 * BufferView_pimpl.C (MenuInsertLyXFile):
11785 * buffer.C (runChktex): use Buffer::filePath().
11787 * buffer.h: rename filename to filename_; rename filepath to
11788 filepath_ and make it private
11789 (filePath): new method
11791 * buffer.C (writeFile): use fileName()
11794 * lyx_main.C (init): fix starting of LyX when the binary is a
11795 link from so,ewhere else.
11797 * minibuffer.C: include <cctype> for isprint
11799 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11801 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11802 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11803 name clash with InsetCollapsable's width function.
11805 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11807 * lastfiles.C: include <iterator>
11809 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11811 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11814 * buffer.C (makeLaTeXFile): ditto.
11815 Also make loop operation more transparent.
11817 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11819 * ToolbarDefaults.C: remove trailing comma closing namespace.
11821 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11823 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11826 * trans.C (Load): comment out unused variable, allowed.
11828 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11830 * minibuffer.[Ch] (append_char): new method to recieve input from the
11831 drop-down completion browser. If a key was pressed, then recieve this
11832 char and append it to the existing string.
11833 (peek_event): modify the positioning data passed to the completion
11834 browser so that it can be placed above the minibuffer rather than below.
11835 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11837 * LyXAction.C (init): alloe error-next for readonly documents.
11839 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11842 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11844 * bufferlist.C (readFile): create the buffer _after_ checking that
11847 * lyxfunc.C (verboseDispatch): fix handling of arguments
11849 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11851 * lyxrc.C: use string::erase() instead of initializing to "".
11854 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11856 * BufferView_pimpl.h:
11857 * BufferView_pimpl.C:
11860 * text2.C: tell X when we have made a selection for copying
11862 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11864 * BufferView_pimpl.C (MenuInsertLyXFile):
11865 * lyxfunc.C (menuNew):
11867 (doImport): add shortcuts to directory buttons
11869 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11872 * lyxfunc.C (setStatusMessage):
11873 (getStatusMessage): new methods
11874 (getStatus):use setStatusMessage instead of setErrorMessage
11875 (dispatch): when function is disabled, set error message here
11876 [instead of in getStatus previously]
11878 * BufferView_pimpl.C (workAreaButtonRelease): update
11879 toolbar/menubar here too.
11881 2002-01-13 Allan Rae <rae@lyx.org>
11883 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11884 Now seems indestructible. Remaining task is to audit all other
11885 code affected by deleteEmptyParagraphMechanism. One small quirk
11886 left is that an empty document with an error in the preamble can
11887 be made to report an error but no error box appears. I don't know
11889 (removeAutoInsets): Improved comments.
11891 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11894 * Thesaurus.C: update for Aiksaurus 0.14
11896 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11898 * text2.C (firstParagraph): removed member function, all uses
11899 replaces with ownerParagraph
11900 (redoParagraphs): here
11901 (updateInset): here
11902 (toggleAppendix): here
11903 * BufferView2.C (insertErrors): here
11904 (setCursorFromRow): here
11906 2002-01-13 Allan Rae <rae@lyx.org>
11908 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11909 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11910 There is still a way to segfault this although you may have to do this
11911 multiple times: Have an InsetERT with an unknown command in it.
11912 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11913 <down-arrow>, <Enter> again, View->DVI, BANG!
11915 * text2.C (setCursor):
11916 (deleteEmptyParagraphMechanism):
11917 * lyxtext.h (setCursor):
11918 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11919 Making use of the return value may help fix other bugs.
11921 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11923 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11925 * LyXView.C (updateMenubar): call MenuBar::update here
11926 (updateToolbar): but not here
11927 (showState): do not update toolbar/menubar
11929 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11930 should need to care about that.
11932 * lyxfunc.C (verboseDispatch): simplify a bit
11933 (getStatus): have a version which takes a pseudoaction, and
11934 another which requires a (kb_action,string).
11936 * LyXAction.C (retrieveActionArg): make it work also when action
11937 is not a pseudo-action.
11938 (getActionName): simplify a bit
11941 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11943 * lyxfunc.C (verboseDispatch): new families of methods with
11944 several ways to specify a command and a bool to indicate whether
11945 the command name and shortcut should be displayed in minibuffer
11946 (eventually, we could extend that to a finer bitmask like
11947 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11948 (dispatch): the pristine dispatch command which just, well,
11949 dispatchs! Note it still sets its result to minibuffer; I'm not
11952 * lyxfunc.h: remove setHintMessage
11954 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11956 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11958 * BufferView_pimpl.C (specialChar): delete new inset if we have
11959 not been able to insert it.
11961 * kbmap.C: revert to using int instead of kb_action, since all we
11962 are dealing with is pseudo-actions.
11964 * LyXAction.C (searchActionArg): change to return int instead of
11965 kb_action, since the result is a pseudoaction.
11967 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11969 * buffer.C (insertErtContents): Fix (partially) the font bug.
11971 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11973 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11974 as the other one is broken on my machine!
11976 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11979 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11981 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11983 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11984 reflect their actual use. Provide compatibility code for older lyxrc
11987 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11989 change names of popup font variables in line with the changes to lyxrc.C
11991 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11993 * buffer.C (asciiParagraph): avoid outputing a word twice after
11996 * lyxrc.C (getDescription): document that document_path and
11997 template_path can be empty.
11999 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12001 * LaTeXFeatures.C (getMacros):
12002 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12004 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12006 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12008 (getPackages): rename feature "floats" to "float". Use an array to
12009 iterate over 'simple' features (i.e. just a \usepackage). Add
12010 handling of "amsmath" (renamed from "amsstyle").
12012 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12014 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12017 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12019 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12020 FuncStaus::FuncStatus & FuncStaus::some_method().
12022 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12024 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12025 of the func_satus stuff. Edited and massaged in various ways by
12028 * lyxfunc.C (getStatus): use FuncStatus
12030 2002-01-08 Juergen Vigna <jug@sad.it>
12032 * text.C (nextBreakPoint): use function Inset::isChar().
12034 * paragraph.C (TeXOnePar): use function
12035 Inset::forceDefaultParagraphs.
12037 * buffer.C (latexParagraphs): use function
12038 Inset::forceDefaultParagraphs.
12040 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12042 * lyx_gui.C (init): set the style of the menu popups to
12043 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12045 2002-01-07 Juergen Vigna <jug@sad.it>
12047 * text.C (setHeightOfRow): small fix
12048 (prepareToPrint): don't look at alignment if we don't have the place
12051 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12053 * box.C: New file. Move the Box methods and functions out of box.h,
12054 following Lars' suggestion.
12056 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12058 * box.h: #include "support/LOstream.h", needed for inlined function.
12061 * lyxtextclasslist.C: added some using std declarations.
12063 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12065 * box.h: make signed dimensions to allow insets wider than
12066 the screen (bug #162)
12068 * BufferView_pimpl.C: add some insetHit debug
12070 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12072 * vc-backend.C: add FIXME
12074 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12076 * lyxfunc.C (getStatus): enable code for showing math font status
12079 2002-01-07 Juergen Vigna <jug@sad.it>
12081 * text.C (nextBreakPoint): removed debug output not needed anymore.
12083 2002-01-06 Juergen Vigna <jug@sad.it>
12085 * text.C (nextBreakPoint): fixed up this function we had this bug
12086 since ever but now hopefully we break row better.
12087 (insertChar): we have to check if an inset is the next char as it
12088 could now happen that a large inset is causing a break.
12090 2002-01-05 Juergen Vigna <jug@sad.it>
12092 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12093 if it doesn't like to be drawed.
12095 2002-01-04 Juergen Vigna <jug@sad.it>
12097 * BufferView2.C (lockInset): forgot to set a cursor.
12099 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12101 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12103 * FormMathsPanel.C:
12106 * form_maths_panel.C:
12107 * form_maths_panel.h:
12108 * form_maths_panel.fd: implemented sub- and super- buttons in math
12111 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12112 (or ^ space) to be used as in TeX (req'd by André).
12114 * lyxfunc.C: Allow ^ and _ again to be used both as
12115 super/subscript (mathed) and as themselves (in text).
12117 2002-01-03 Allan Rae <rae@lyx.org>
12119 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12120 "LyX" or the filename of the current buffer if it has one. This is a
12121 modified form of John Levon's patch.
12123 * XFormsView.C (setWindowTitle): also set icon title.
12125 * LyXView.h (setWindowTitle): signature changed.
12126 * XFormsView.h (setWindowTitle): ditto.
12128 2002-01-02 Juergen Vigna <jug@sad.it>
12130 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12132 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12134 * screen.C (topCursorVisible): introduce a temp var for
12135 text->cursor.row(), handle the case where this row is null. (kindo
12138 * text2.C (setCursor): add a couple of asserts.
12140 * paragraph.h (inset_iterator): add -> operator
12142 * paragraph.[Ch] (autoDeleteInsets): remove member function
12144 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12145 cursor pos correctly and handle inset deletion by itself.
12146 (insertErrors): move iterator declaration out of for expression
12148 * lyxtextclass.C: add <algorithm>
12150 * Makefile.am: added the new files to sources, removed layout.C
12152 * layout.C: removed file
12154 * layout.h: remove LYX_DUMMY_LAYOUT
12156 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12160 * lyxtextclass.[Ch]:
12161 * lyxtextclasslist.[Ch]: new files
12163 * include order changes to a lot of files, also changes because of
12166 2001-12-27 Juergen Vigna <jug@sad.it>
12168 * buffer.C (asciiParagraph): more fixes.
12170 * tabular.C (ascii): make ascii export support export of only the
12171 data separated by a column-delimiter.
12172 (ascii): better support for ascii export.
12174 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12176 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12178 * tabular_funcs.C: use a "using std::getline" instead of the
12179 previous fix from Angus (necessary for cxx + lyxstring)
12181 2001-12-24 Juergen Vigna <jug@sad.it>
12183 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12185 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12186 problems. First check a minipage also if we have some ert-contents
12187 (not only on par->size(), second set the right depth of the paragraph
12188 on the relink to the root-paragraph-list!
12190 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12191 which then did not anymore update the main paragraphs on undo/redo!
12193 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12195 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12196 code. Support all font-changing funcs (even those which are not in
12197 menu currently). Support for reporting font settings in
12198 mathed (disabled until Andre provides a function on mathed's side).
12200 * func_status.h (toggle): small helper function to set toggle
12203 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12205 * tabular_funcs.C: getline -> std::getline
12207 2001-12-21 Juergen Vigna <jug@sad.it>
12209 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12210 accessed and could be 0 (I couldn't generate this but it seems
12213 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12215 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12216 * tabular_funcs.h: here and include iosfwd
12218 2001-12-20 Juergen Vigna <jug@sad.it>
12220 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12221 inside inset but undo_par was.
12223 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12225 * Thesaurus.C: always include <config.h> in sources.
12229 * box.h: do not include <config.h> in header files
12231 * text.C (paintLastRow): remove unused variable
12233 * text.C (transformChar):
12235 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12237 * Painter.C (text):
12238 * font.C (width): rewrite to use uppercase() instead of
12241 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12243 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12245 * lyxfind.C: clean up of find failure position change
12247 2001-12-20 Juergen Vigna <jug@sad.it>
12249 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12251 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12252 (TeXRow): added to LaTeX a single tabular row.
12253 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12254 (Latex): simplified and finally good LT-h/f support.
12255 (various_functions): just small adaptions for LT-h/f support.
12257 * tabular_funcs.[hC]: added and moved here all not classfunctions
12260 2001-12-19 Juergen Vigna <jug@sad.it>
12262 * tabular.[Ch]: better support for longtabular options (not finished
12265 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12267 * text.C (paintLastRow): use the label font instead of the font of
12268 the last character to compute the size of *_BOX. This makes more
12269 sense and avoids a crash with empty paragraphs.
12270 Use Painter::rectangle to draw EMPTY_BOX.
12272 2001-12-19 Juergen Vigna <jug@sad.it>
12274 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12275 the paragraphs if the replaced paragraph is not the first one!
12276 Tried to delete not used paragraphs but does not work yet so for
12277 now it's inside #ifdef's and by default off!
12279 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12281 * MenuBackend.C: include "lyx_main.h" instead of declaring
12282 lastfiles (actually was declared as LastFiles* instead of a
12285 2001-12-17 Juergen Vigna <jug@sad.it>
12287 * tabular.C (AppendColumn): applied John's fix
12289 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12293 * BufferView_pimpl.h:
12294 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12297 * box.h: new start of class for above
12299 * lyxfunc.C: ignore space-only minibuffer dispatches.
12300 Show the command name when it doesn't exist
12302 * minibuffer.C: don't add empty lines to the history
12304 * minibuffer.C: add a space on dropdown completion
12306 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12308 * text.C: fix line above/below drawing in insets
12310 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12312 * lyxlength.C (LyXLength): Initialize private variables.
12314 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12316 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12317 when inserting error insets.
12319 2001-12-13 Juergen Vigna <jug@sad.it>
12321 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12322 actually sometimes the before-paragraph.
12323 (setUndo): don't clear the redostack if we're not actually undoing!
12325 2001-12-06 Juergen Vigna <jug@sad.it>
12327 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12328 and fixed redoing of main paragraph, so we can use it now ;)
12330 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12332 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12334 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12337 2001-12-13 André Pönitz <poenitz@gmx.net>
12340 * undo_func.C: minor cleanup
12342 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12344 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12345 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12346 font in urw-fonts package which is marked as -urw-fontspecific and
12347 does not work (incidentally, changing the encoding in the
12348 fonts.dir of this package to -adobe-fontspecific fixes the
12351 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12352 is a crash when undoing first paragraph (Juergen, please take a
12353 look). THis does not mean the undo fix is wrong, just that it
12356 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12357 the (Paragraph*) version when needed instead of duplicating the
12360 * text.C (workWidth): use Inset::parOwner to find out where the
12361 inset has been inserted. This is a huge performance gain for large
12362 documents with lots of insets. If Inset::parOwner is not set, fall
12363 back on the brute force method
12365 * paragraph_pimpl.C (insertInset):
12366 * paragraph.C (Paragraph):
12367 (cutIntoMinibuffer): set parOwner of insets when
12368 inserting/removing them
12370 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12372 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12378 * mathed/formulabase.C:
12379 * mathed/math_cursor.[Ch]:
12380 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12383 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12385 * lyxlength.[Ch] (operator!=): new function
12387 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12389 * text.C (workWidth): use Inset::parOwner to find out where the
12390 inset has been inserted. This is a huge performance gain for large
12391 documents with lots of insets. If Inset::parOwner is not set, fall
12392 back on the brute force method
12394 * paragraph_pimpl.C (insertInset):
12395 * paragraph.C (Paragraph):
12396 (cutIntoMinibuffer): set parOwner of insets when
12397 inserting/removing them
12399 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12401 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12403 * tabular-old.C (getTokenValue):
12404 * tabular.C (getTokenValue):
12405 (write_attribute): new versions for LyXLength
12406 (everywhere): adjust the use of widths
12408 * tabular.h: change the type of widths from string to LyXLength
12410 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12412 * paragraph.C: fixed missing line number count when exporting
12413 Environments to LaTeX file
12415 * buffer.C: added informational message for checking line numbers.
12417 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12419 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12420 paragraph, do the 'double space' part, but not the 'empty
12423 * text.C (workWidth): small optimization
12424 (getLengthMarkerHeight): use minimal size for negative lengths.
12426 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12428 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12430 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12432 2001-12-11 André Pönitz <poenitz@gmx.net>
12435 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12437 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12439 * text2.C: keep selection on a setFont()
12441 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12443 * lyx_cb.C: another bv->text misuse, from insert label
12445 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12448 * kbsequence.C: re-instate nmodifier mask
12450 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12452 * lyx_main.h: make lyxGUI private.
12454 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12456 * lyxfind.C: place the cursor correctly on failed search
12458 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12460 * text.C (getLengthMarkerHeight): for small heights, the arrows
12461 are not always on top/bottom of the text
12462 (drawLengthMarker): smaller arrows; take the left margin in
12463 account; draw also vfills.
12465 (paintLastRow): remove special code for vfill and standard spaces,
12466 since everything is handled in drawLengthMarker now.
12468 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12470 * buffer.C (insertErtContents): try to handle font and language
12471 interaction a bit better.g
12473 * ColorHandler.C (updateColor): change the hash to cover the whole
12474 LColor enum, ws cleanup
12475 (getGCLinepars): ditto
12476 (getGCLinepars): only lookup in the linecache once.
12478 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12480 * iterators.C (operator++): Make the iterator more robust
12482 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12484 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12486 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12489 * text.C: better added space drawing
12491 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12494 * BufferView2.C: fix layout combo update on inset unlock
12496 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12498 * Makefile.am: don't compile unused files
12500 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12504 * LyXAction.C: remove old LFUN_LAYOUTNO
12506 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12508 * paragraph_pimpl.h:
12509 * paragraph_pimpl.C: isTextAt() doesn't need font param
12511 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12514 * lyxlex.C: little cleanup
12516 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12518 * BufferView_pimpl.C: fix insertAscii for insets
12520 2001-12-05 Juergen Vigna <jug@sad.it>
12522 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12523 set the right font on the "multi" paragraph paste!
12525 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12531 * lyxlength.C: remove out-commented code.
12533 * BufferView_pimpl:
12547 * vc-backend.C: change "while(" to "while ("
12549 * lyxlength.[Ch]: add zero function to check if length is zero or
12551 * lyxgluelength.C: use it
12553 2001-12-05 Allan Rae <rae@lyx.org>
12555 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12556 Works for 2.95.3, from what I understand of Garst's reports this should
12557 work for other g++ versions. We're screwed if the abs(int) definition
12558 changed between bugfix releases of gcc.
12560 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12562 * text.C: fix chapter label offset !
12564 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12567 * text.C: fix hfill at end of line, clean up
12569 2001-12-04 Juergen Vigna <jug@sad.it>
12571 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12572 that we force an update of the inset and it's owners if neccessary.
12574 2001-12-03 Juergen Vigna <jug@sad.it>
12576 * text.C (rowLast): simplified code
12578 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12580 * lyxfunc.C: fix show options on timeout
12582 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12584 * screen.C (topCursorVisible): scroll half a page when the cursor
12585 reached top of bottom of screen
12587 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12589 * minibuffer.C: deactivate on loss of focus
12591 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12593 * vspace.[Ch] (operator!=): add operator.
12595 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12597 * BufferView_pimpl.C: refuse to open an inset when
12598 there's a selection.
12600 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12602 * BufferView_pimpl.C: allow to click on RHS of full row insets
12604 2001-11-30 Juergen Vigna <jug@sad.it>
12606 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12607 insets for undo reasons.
12609 2001-11-28 André Pönitz <poenitz@gmx.net>
12611 * vspace.[Ch]: cosmetical changes
12613 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12623 * kbsequence.C: part re-write of old kb code
12626 * WorkArea.C: remove Lgb_bug_find_hack
12628 2001-11-30 José Matos <jamatos@fep.up.pt>
12630 * buffer.C (makeDocBookFile): add a comment to point a hack.
12631 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12632 Fixed a double write of labels.
12634 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12637 * LaTeX.h Fixed bug in LaTeX class where it would not
12638 re-run latex if no depfiles were changed, but the .dvi was removed.
12640 2001-11-28 André Pönitz <poenitz@gmx.net>
12642 * all the files from the change on 2001/11/26:
12643 use lyx::layout_type instead of LyXTextClass::size_type
12644 use lyx::textclass_type instead of LyXTextClassList::size_type
12646 2001-11-29 Juergen Vigna <jug@sad.it>
12648 * text.C: added support for paragraph::isFreeSpacing()
12650 * buffer.C: same as above
12652 * paragraph.h: inserted isFreeSpacing() function to enable
12653 FreeSpacing inside InsetERT.
12655 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12656 of the paragraph's in the cut/copy buffer to 0!
12658 * text2.C (removeRow): remove the assert as it can!
12660 * lyxtext.h: added helper function firstRow returning firstrow and
12661 made firstrow private again.
12663 * BufferView2.C (lockInset): don't relock if we're already locked!
12665 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12666 the only paragraph.
12667 (removeRow): added Assert::(firstrow)
12669 * debug.C: forgot to add INSETTEXT here.
12671 2001-11-28 Juergen Vigna <jug@sad.it>
12673 * sp_spell.C (initialize): changed error text to more general
12674 spellchecker command use (not only ispell!)
12676 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12678 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12680 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12682 * vspace.C: initialise lyxgluelength on failure
12684 2001-11-28 Allan Rae <rae@lyx.org>
12686 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12687 declaration & definition that looks like a function declaration.
12689 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12691 * BufferView2.C (copy):
12692 (copyEnvironment): do not clear the selection when doing a copy.
12694 * text.C (paintFirstRow): compilation fix
12696 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12698 * tabular.C (Latex): correct line count when writing latex.
12700 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12702 * paragraph_pimpl.h:
12703 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12706 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12710 * LColor.C: change vfillline->added_space
12712 * text.C: add markers and text for added space
12714 * vspace.C: fix comment
12716 2001-11-28 André Pönitz <poenitz@gmx.net>
12718 * paragraph.C: whitespace changes
12719 * all the other files from the change on 2001/11/26:
12720 change *::pos_type into lyx::pos_type
12722 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12724 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12725 language of the document when inserting error insets.
12727 2001-11-26 André Pönitz <poenitz@gmx.net>
12729 * BufferView_pimpl.[Ch]:
12737 * paragraph_pimpl.[Ch]:
12740 * text2.C: reduce header dependencies, introduce type for positions
12742 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12744 * <various>: change to use Alert.h
12746 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12748 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12749 when encountering an unknown token.
12750 (readLyXformat2): Show an error message if there were unknown tokens.
12752 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12755 * BufferView_pimpl.C:
12759 * text2.C: use par->isInset()
12761 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12763 * paragraph_pimpl.h:
12764 * paragraph_pimpl.C: cleanup
12766 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12768 * text2.C (removeRow):
12769 * text.C (setHeightOfRow): remove useless (and costly) call to
12772 2001-11-20 Allan Rae <rae@lyx.org>
12774 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12775 Now need Inset*::checkInsertChar() to return true for appropriate
12776 cases so that the characters in the minibuffer will actually be
12779 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12781 * text.C: change the order of the includes.
12782 (workWidth): initialize it at once.
12783 (workWidth): make maxw unsigned
12784 (setHeightOfRow): remove unused variable (inset)
12785 (selectSelectedWord): remove unused variable (inset)
12786 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12788 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12790 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12791 server is not running.
12793 (closeConnection): add debug info when server is disabled.
12795 * ColorHandler.C (getGCForeground): send debug message to GUI
12798 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12800 * kbmap.C (bind): modify because return conventions of
12801 kb_sequence::parse have changed.
12803 * kbsequence.C (parse): only ignore spaces and not any stupid
12804 control character. This avoids tests like s[i] <= ' ', which are
12805 guaranteed to fail with 8bit characters and signed chars.
12806 Change return code to string::npos when there have been no error
12807 (0 was a bad idea when error is at first character)
12809 2001-11-14 José Matos <jamatos@fep.up.pt>
12812 * buffer.C (simpleDocBookOnePar): removed unused argument.
12814 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12816 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12817 insets which are part of a word. Paragraph::isLetter takes care of
12818 that now. Use Paragraph::isInset to identify insets.
12819 (selectSelectedWord): do not test for hyphenation break.
12821 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12822 that protected spaces are considered as spaces.
12824 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12827 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12830 * lyxserver.C: fix it. and small cleanup.
12832 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12834 * BufferView_pimpl.C: use inline helpers
12837 * LaTeXFeatures.C: fix typos
12840 * Spacing.C: move spacing_string into class
12842 * ToolbarDefaults.C: move stuff into namespace anon
12844 * layout.h: update enum
12846 * lyxfunc.C: use better debug
12848 * minibuffer.h: fix typo
12852 * WorkArea.C: add and use Debug::WORKAREA
12856 * text2.C: code re-organisation, inline helpers
12858 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12860 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12861 std::vector.empty().
12863 2001-11-09 Allan Rae <rae@lyx.org>
12865 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12866 '\n's after tables. Tabular and ERT inset work now makes this no
12869 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12872 * minibuffer.C: fix crash, improve drop-down completion
12874 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12877 * lyxserver.C: invalidate fd's when doing endPipe()
12879 2001-11-08 José Matos <jamatos@fep.up.pt>
12881 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12882 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12885 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12887 2001-11-07 José Matos <jamatos@fep.up.pt>
12890 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12893 * buffer.C (sgmlOpenTag):
12894 * buffer.C (sgmlCloseTag): removed debug info.
12896 * buffer.h (sgmlOpenTag):
12897 * buffer.h (sgmlCloseTag): made public.
12899 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12901 * buffer.C (saveParamsAsDefaults):
12902 * lyx_cb.C (MenuLayoutSave): remove
12904 * LyXAction.C (init):
12906 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12908 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12910 * buffer.C (setPaperStuff): removed from here...
12912 * bufferparams.C (setPaperStuff): ... and moved there.
12914 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12918 * XFormsView.C: add support for drop-down completion
12920 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12922 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12925 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12927 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12930 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12932 * lyx_main.C: change ref to known bugs
12934 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12936 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12937 to work around older babel problems.
12939 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12941 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12943 2001-10-24 Juergen Vigna <jug@sad.it>
12945 * tabular-old.C (ReadOld): below variable changes reflected.
12947 * tabular.[Ch]: added ltType struct for longtable header/footer
12948 defines and changed all instances where they are used. Added
12949 future support for double top/bottom rows.
12951 2001-10-24 José Matos <jamatos@fep.up.pt>
12953 * buffer.h (docbookHandleCaption):
12954 * buffer.C (docbookHandleCaption): removed unused function.
12955 (makeDocBookFile): moved docbook supported version to v4.1.
12957 2001-10-24 José Matos <jamatos@fep.up.pt>
12960 * tabular.C (docbookRow): new function to export docbook code of a row.
12961 (DocBook): now honors the longtable flags.
12963 2001-10-23 José Matos <jamatos@fep.up.pt>
12966 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12967 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12969 * buffer.C (makeLinuxDocFile):
12970 (makeDocBookFile): reworked the preamble, more clean, and with
12971 support for lyx defined entities. Changed the document declaration
12972 to be more XML friendly.
12974 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12975 if we need to output XML that should be done with a filter.
12977 2001-10-22 Juergen Vigna <jug@sad.it>
12979 * sp_pspell.h (class PSpell): add alive function needed in the
12980 controller to see if the spellchecker could be started.
12982 2001-10-22 Juergen Vigna <jug@sad.it>
12984 * buffer.C (insertStringAsLines): modify the font for inserting
12985 chars in certain conditions by calling checkInsertChar(font).
12987 2001-10-19 Juergen Vigna <jug@sad.it>
12989 * text.C (workWidth): use getRow instead of wrong algorithm.
12990 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12992 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12997 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12999 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13001 * text.C (workWidth): do not search for the exact row when
13002 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13003 optimization for big documents.
13005 2001-10-18 Juergen Vigna <jug@sad.it>
13007 * text.C (workWidth): new function with added Inset * parameter.
13009 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13011 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13013 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13014 change return type of getColumnNearX.
13017 * text.C (changeRegionCase): use uppercase/lowercase instead of
13020 (rightMargin): simplify code by factoring out the uses of
13025 (appendParagraph): use Paragraph::size_type
13027 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13029 * vspace.C (asLatexString): add a missing break
13031 2001-10-15 Herbert Voss <voss@perce.de>
13033 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13035 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13037 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13040 2001-10-10 André Pönitz <poenitz@gmx.net>
13042 * lyxfunc.C: removed greek_kb_flag.
13044 2001-10-10 Herbert Voss <voss@perce.de>
13046 * lyx_main.C: delete global string help_lyxdir.
13048 2001-10-09 Herbert Voss <voss@perce.de>
13050 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13052 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13054 * lyx_main.C: added global string help_lyxdir.
13056 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13058 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13060 * lyxrc.C (set_font_norm_type): support iso8859-4
13062 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13064 * LaTeX.C (deplog): add another regex for MikTeX
13066 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13068 * lyxrc.C (set_font_norm_type): support iso8859-3
13070 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13072 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13074 * LaTeXFeatures.C: remove special case of french and index
13076 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13077 before \begin{document}). This solves several incompatibilities.
13079 2001-10-03 Garst Reese <reese@isn.net>
13081 * lyx_cb.C: change CheckTex error msg.
13083 2001-10-03 José Matos <jamatos@fep.up.pt>
13085 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13087 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13089 * .cvsignore: update
13091 * lyx_main.C (commandLineVersionInfo): use new style version info.
13093 * buffer.C (writeFile):
13095 (makeLinuxDocFile):
13096 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13098 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13100 * version.h: update to use stuff in version.C
13102 * version.C.in: new file. Contains version information determined
13103 at compile time. This is a merging of version.h and
13106 2001-10-03 Juergen Vigna <jug@sad.it>
13108 * BufferView_pimpl.C (update): don't change "dirty" status in
13111 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13113 * WorkArea.C (c-tor): re-position version string slightly.
13115 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13117 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13118 revert to previous code.
13120 WorkArea.[Ch]: (show, destroySplash): methods removed.
13122 WorkArea.C: rework code so that it's an amalgam of the codes before and
13123 after the splash screen was moved to WorkArea.
13125 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13128 * vspace.C (inPixels):
13131 * buffer.C (insertStringAsLines):
13132 (asciiParagraph): fix types to be large enough
13134 * lyxlex_pimpl.h: change member status from short to int
13136 * layout.h: fix type of endlabeltype
13139 * kbsequence.C (parse): change return type to string::size_type
13141 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13144 * Bullet.C (bulletSize):
13145 (bulletEntry): do not use short ints as parameters
13147 * BufferView2.C (insertLyXFile): change a char to an int.
13149 * WorkArea.C (WorkArea): remove unneeded floats in computation
13151 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13153 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13155 * paragraph.C (asString): Do not ignore newline/hfill chars when
13156 copying to the clipboard.
13158 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13160 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13161 after a multi-line inset.
13163 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13165 * paragraph.C (validate): Set NeedLyXFootnoteCode
13167 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13169 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13170 and decrease-error to decrease.
13172 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13174 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13175 it more readable (should be equivalent)
13177 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13179 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13181 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13183 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13184 of a cursor (row, etc.) after a character has been deleted
13185 (deleteEmptyParagraphMechanism): call the method above on _all_
13186 cursors held by the LyXText when a double space has been
13189 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13191 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13193 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13195 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13196 background. Use greyOut() and the new show() methods to toggle between
13197 the foreground and background. Add code to remove the splash after
13198 its initial showing.
13200 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13201 (create_forms): no longer call Dialogs::showSplash.
13203 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13205 * .cvsignore: add version_info.h
13207 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13209 * version_info.h.in: new file
13211 * Makefile.am: add version_info.h.in
13213 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13214 version_info.h instead of VERSION_INFO
13216 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13218 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13219 The ERT inset now returns string().
13221 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13223 * lyxtext.h, text.C (selectNextWord): renamed as
13224 selectNextWordToSpellcheck.
13226 * text.C (selectNextWordToSpellcheck): Modified to not select
13227 words inside an ERT inset.
13229 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13231 * lyx_cb.C (MenuLayoutSave): change a bit the question
13233 * sp_base.h: include <sys/types.h>
13235 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13237 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13239 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13241 * several files: fix typos in user-visible strings
13243 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13245 * text2.C (pasteSelection): do not set the selection, since it
13246 will be cleared later. Actually, the intent was to fix the way the
13247 selection was set, but I figured rmoving the code was just as good.
13249 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13251 * FontLoader.C (available): Check if font is available without
13254 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13256 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13258 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13260 * lyxrc.[Ch]: added display_graphics variable and associated code.
13262 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13264 * bufferparams.C (hasClassDefaults): new method. Returns true if
13265 the buffer parameters correspond to known class defaults
13267 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13269 * XFormsView.C (show): set minimum size to the main window.
13271 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13273 * text2.C (copySelection):
13275 * lyxfind.C (LyXReplace):
13276 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13277 LyXText::selectionAsString.
13279 * paragraph.C (asString): add "label" argument to the second form
13281 * text2.C (selectionAsString): add "label" argument and pass it to
13282 Paragraph::asString.
13284 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13286 * lyx_main.C (commandLineHelp): remove version information
13288 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13290 * lyx_main.C: add -version commandline option
13292 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13294 * paragraph.h: make the optional constructor arg required instead.
13295 some modifications to other files because of this.
13297 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13299 * lyxserver.C (C_LyXComm_callback): make it static
13301 * lyx_main.C (error_handler): make it static
13303 * lyx_gui.C (LyX_XErrHandler): make it static
13305 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13307 * WorkArea.C: make the extern "C" methods static.
13309 * Makefile.am (lyx_LDADD): simplify
13311 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13313 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13314 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13316 * LyXAction.C (init):
13317 * lyxfunc.C (dispatch): associated code removal.
13319 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13321 * lyxfont.h (isSymbolFont): shut off warning
13323 * text.C (setHeightOfRow):
13324 (getVisibleRow): fix crash with empty paragraphs which have a
13327 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13329 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13332 2001-09-04 José Matos <jamatos@fep.up.pt>
13335 * tabular.C (docbook): rename docBook method to docbook.
13337 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13339 * Makefile.am: add dependencies to main.o.
13341 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13343 * FontLoader.C (available): Return false if !lyxrc.use_gui
13345 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13347 * FontInfo.C (query):
13348 * converter.C (view):
13349 * importer.C (Import):
13350 * exporter.C (Export): Can not -> cannot.
13352 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13354 * BufferView_pimpl.C: allow to create index inset even if
13357 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13359 * buffer.C (getLists): replace boost::tie code with an explicit pair
13360 as boost::tie can break some compilers.
13362 * iterators.h: Added a std:: declaration to the return type of
13365 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13367 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13370 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13372 * iterators.[Ch]: New files. Provide paragraph iterators.
13374 * buffer.C (changeLanguage): Use paragraph iterators.
13375 (isMultiLingual): ditto
13377 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13379 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13381 * FontLoader.C: Support for cmr font.
13383 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13385 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13386 (available): New method.
13388 * FontInfo.C (getFontname): Use scalable fonts even when
13389 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13392 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13394 * converter.C (Formats::view): reverted! Incorrect fix.
13396 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13398 * converter.C (Formats::view): only output the -paper option
13399 if the dvi viewer is xdvi, thereby fixing bug #233429.
13401 2001-08-23 Herbert Voss <voss@perce>
13403 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13405 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13407 * Spacing.h (Spacing): Set space to Default on in the default
13410 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13412 * vc-backend.h (RCS::versionString): add RCS to version
13413 (CVS::versionString): add CVS to version
13415 * vc-backend.C (scanMaster): do not add CVS to version.
13416 (scanMaster): do not add RCS to version
13418 * lyxvc.C (versionString): new method
13420 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13422 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13424 * Spacing.C (set): initialize fval
13426 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13428 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13431 2001-08-16 Juergen Vigna <jug@sad.it>
13433 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13435 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13437 * BufferView_pimpl.C:
13440 * text2.C: setParagraph takes linespacing now
13442 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13444 * LyxAction.C: add internal LFUN_CITATION_INSERT
13446 * LyXView.C: actually apply fix
13448 * bufferlist.C: fix open non-existent file
13450 * lyxfind.C: fix indentation
13452 * lyxfunc.C: remove unneeded assert, fix typo
13454 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13456 * MenuBackend.C: use "Floatname List"
13458 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13460 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13461 when converting LaTeX layout to insetERT.
13462 Generate a non-collapsed float when reading old float
13464 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13466 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13469 2001-08-13 Juergen Vigna <jug@sad.it>
13471 * text.C (fill): return 0 instead of 20 as this seems to be the more
13474 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13476 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13479 2001-08-13 Juergen Vigna <jug@sad.it>
13481 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13483 (SearchBackward): comment out the unlocking of the inset_owner this
13484 should not be needed!
13486 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13488 * Many files: Remove inherit_language, and add latex_language
13490 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13491 collapsible insets.
13493 2001-08-10 Juergen Vigna <jug@sad.it>
13495 * text.C (prepareToPrint): fixed hfill-width in draw!
13497 * BufferView2.C (selectLastWord): save the selection cursor as this
13498 now is cleared in the function LyXText::clearSelection!
13500 2001-08-08 Juergen Vigna <jug@sad.it>
13502 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13503 BACKSPACE type functions.
13505 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13506 is only cutted from the document but not put in the cut-buffer, where
13507 still the old stuff should be.
13509 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13511 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13513 * tabular.C (SetWidthOfCell): fixed special case where the width
13515 (LeftLine): handle '|' in align_special.
13517 (LeftAlreadyDrawed): ditto
13518 (SetWidthOfCell): ditto
13520 2001-08-07 Juergen Vigna <jug@sad.it>
13522 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13524 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13526 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13527 * lyxlex.[hC]: ditto
13529 2001-08-06 Juergen Vigna <jug@sad.it>
13531 * text.C (getVisibleRow): fix up row clearing a bit.
13533 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13535 * minibuffer.C: make sure the X server sees the changes in the input.
13537 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13539 * paragraph.C (getFont): split into...
13540 (getLabelFont): this
13541 (getLayoutFont): and this
13542 * paragraph_pimpl.C (realizeFont): calling this
13544 * text2.C (getFont): split into...
13545 (getLayoutFont): this
13546 (getLabelFont): and this
13547 (realizeFont): all three calling this
13549 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13552 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13554 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13556 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13558 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13559 layouts from the Quote inset insertion.
13561 2001-08-03 Juergen Vigna <jug@sad.it>
13563 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13565 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13566 only if status not is already CHANGED_IN_DRAW (second level).
13568 * text.C (draw): don't set the need_break_row when inside an
13571 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13573 * buffer.C (parseSingleLyXformat2Token): handle more latex
13576 * bufferview_funcs.[hC]: change function names to
13577 begin with small char, adjust other files.
13579 2001-08-02 André Pönitz <poenitz@gmx.net>
13582 BufferView_pimpl.C: remove broken special code for math-greek
13584 2001-08-02 Juergen Vigna <jug@sad.it>
13586 * BufferView_pimpl.C (update): redone this function so that we
13587 update the text again if there was a CHANGE_IN_DRAW.
13589 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13590 (drawFromTo): added a new internal bool which is used by draw() and
13592 (general): some cursor drawing problems fixed.
13594 2001-08-01 Juergen Vigna <jug@sad.it>
13596 * lyxfind.C (LyXFind): fixed
13597 (SearchForward): ditto
13598 (SearchBackward): ditto
13600 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13601 spurius drawing of the cursor in the main area.
13603 * text2.C (status): small fix which could lead to a segfault!
13604 (clearSelection): remove unneeded BufferView param.
13606 2001-08-01 André Pönitz <poenitz@gmx.net>
13608 * lyxfunc.C: small change due to changed mathed interface
13610 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13612 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13614 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13616 * lyxfunc.c: fail gracefully if file doesn't exist
13621 * BufferView_pimpl.C: IsDirWriteable() proto changed
13623 * LyXView.C: fix updateWindowTitle() to store the last title
13625 2001-07-31 Juergen Vigna <jug@sad.it>
13627 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13628 the font (wrong since using of Paragraph::highestFontInRange).
13630 * paragraph.C (highestFontInRange): added a default_size parameter.
13632 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13633 (setHeightOfRow): reformat
13635 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13637 * converter.[hC] + affected files: move to (inital-char)lowercase
13640 * ParagraphParameters.C (ParagraphParameters): remove commented code
13642 * PainterBase.[Ch]: remove commented code
13644 * LaTeXFeatures.h: add "bool floats" for float.sty
13646 * LaTeXFeatures.C (LaTeXFeatures): init floats
13647 (require): handle float
13648 (getPackages): do it with floats
13650 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13652 * BufferView_pimpl.C (Dispatch): improve handling of
13653 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13655 * commandtags.h: #include lyxfont.h here temporarily to avoid
13658 * bufferlist.h: include LString.h here.
13660 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13662 * text2.C (getStringToIndex): new method.
13664 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13666 * *: Reduced header file dependencies all over.
13668 2001-07-30 Baruch Even <baruch@lyx.org>
13670 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13672 2001-07-29 Baruch Even <baruch@lyx.org>
13674 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13676 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13678 * ParameterStruct.h (endif): add a default constructor to make
13679 sure that all variables is initialized.
13681 * ParagraphParameters.C (ParagraphParameters): adjust
13683 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13685 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13686 index; also, check that there is something to index, and that it
13687 does not span over several paragraphs.
13688 (doubleClick): use WHOLE_WORD_STRICT for double click.
13690 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13692 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13695 2001-07-26 Baruch Even <baruch@lyx.org>
13697 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13698 an InsetFig figure, backwards compatible reading of old figure code.
13700 2001-07-27 Juergen Vigna <jug@sad.it>
13702 * text2.C: font.realize function adaption.
13704 * text.C (draw): add a warnings lyxerr text if needed.
13706 * layout.C: font.realize function adaption.
13708 * language.C: add inherit_language and implement it's handlings
13710 * bufferview_funcs.C (StyleReset): remove language parameter from
13711 font creation (should be language_inherit now).
13713 * bufferparams.C (writeFile): handle ignore_language.
13715 * paragraph.C (getFontSettings): the language has to be resolved
13716 otherwise we have problems in LyXFont!
13718 * lyxfont.C (lyxWriteChanges): added document_language parameter
13719 (update): removed unneeded language parameter
13721 * paragraph.C (validate): fixed wrong output of color-package when
13722 using interface colors for certain fonts in certain environments,
13723 which should not seen as that on the final output.
13725 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13727 * BufferView_pimpl.C:
13732 * LyXAction.C: add thesaurus support
13735 * lyxfind.C: add "once" parameter, for thesaurus, to not
13736 move to the next match
13738 2001-07-26 Juergen Vigna <jug@sad.it>
13740 * lyxfont.C (realize): honor ignore_language too!
13743 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13745 * text.C (draw): one place more for ignore_language to not draw
13748 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13750 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13752 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13754 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13755 the minipage conversion problem.
13757 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13759 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13762 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13764 * BufferView.h: don't forward declare WorkArea
13766 * BufferView.C: don't include WorkArea.h
13768 2001-07-25 André Pönitz <poenitz@gmx.net>
13772 * lyxfunc.C: new LFUN 'math-space'
13774 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13776 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13778 * text2.C (toggleInset): call open/close
13780 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13782 * lyxfunc.C (dispatch): add debug for the disabled case
13784 * font.C (buttonText): make similar to rectText
13786 * buffer.C (readInset): comment out parsing of insetlist and
13789 * PainterBase.C (rectText): small correction
13791 * BufferView_pimpl.C: comment out insettheorem and insetlist
13792 * LyXAction.C: ditto
13793 * commandtags.h: ditto
13795 2001-07-24 Juergen Vigna <jug@sad.it>
13797 * text.C (draw): honor the ignore_language.
13799 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13801 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13803 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13806 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13808 * lyxtext.h: remove unused (and unimplemented) methods
13810 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13812 * text.C (getVisibleRow): honor background color
13815 * Painter.h: remove default color argument for fillRectangle
13817 * text.C (backgroundColor): new method
13819 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13821 * text.C (getVisibleRow): adjust
13823 * font.[Ch] (rectText): new method, metrics
13824 (buttonText): new method, metrics
13826 * PainterBase.[hC]: make rectText and buttonText always draw and take
13829 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13831 * ToolbarDefaults.C (read):
13832 * MenuBackend.C (read): allow escaping in all strings
13834 * BufferView_pimpl.C (insertAndEditInset): new method.
13835 (Dispatch): use insertAndEditInset whenever appropriate.
13837 * BufferView_pimpl.C (insertNote): removed
13839 * BufferView_pimpl.C (smartQuote): new method, moved from
13840 BufferView; if an insetquote cannot be inserted, insert a '"'
13843 * BufferView2.C: remove insertCorrectQuote();
13845 * lyxfunc.C (getStatus): Add support for all remaingin
13846 inset-insert lfuns.
13848 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13850 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13851 command (necessary to pass " as parameter of self-insert.
13853 * text.C (selectWordWhenUnderCursor):
13854 (selectWord): add word_location parameter
13855 (selectWordWhenUnderCursor): same + remove special code for word
13857 (selectNextWord): use kind() to guess type of insetspecialchar,
13860 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13861 (insertErtContents): create ert insets as collapsed.
13862 (readInset): better compatibility code for Info inset.
13864 2001-07-20 Juergen Vigna <jug@sad.it>
13866 * lyxfunc.C (dispatch): use always LyXFind now!
13868 * text2.C (init): add a reinit flag so that the LyXText can be
13869 reinited instead of deleted and reallocated (used in InsetText).
13871 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13877 2001-07-18 Juergen Vigna <jug@sad.it>
13879 * text.C (selectNextWord): handle insets inside inset by calling
13880 always the bv->text functions so that we can go up the_locking_inset!
13882 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13883 in strange locations when inside an inset!
13885 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13886 handling to include insets.
13888 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13890 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13892 * LyXAction.C (init):
13894 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13895 LIGATURE_BREAK, since the name is so stupid.
13897 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13899 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13902 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13904 * sp_form.[Ch]: remove.
13906 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13908 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13911 * src/buffer.C (readInset): ditto.
13913 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13915 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13916 menuSeparator(), endOfSentenceDot(), ldots() and
13917 hyphenationPoint(), which are therefore removed.
13918 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13920 * LyXAction.C (init):
13921 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13923 * paragraph.C (getWord): removed.
13925 * BufferView_pimpl.C (Dispatch): use last word or selection for
13926 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13928 * lyx_main.C (queryUserLyXDir): do not ask before creating
13929 user_dir, except if it has been named explicitely.
13931 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13933 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13934 a document of zero size.
13936 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13938 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13939 approriately in the c-tor and in require().
13940 (getPackages): output the appropriate LaTeX for natbib support.
13942 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13943 variables "use_natbib" and "use_numerical_citations" when reading the
13945 (readInset): read the various natbib cite commands.
13946 (validate): white-space change.
13948 * bufferparams.[Ch]: new variables "bool use_natbib" and
13949 "bool use_numerical_citations".
13950 (writeFile): output them in the LyX file.
13952 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13954 * lyxfunc.C (getStatus): add support for all the inset insertion
13957 * text2.C (insertInset):
13958 * paragraph.C (insetAllowed):
13959 * BufferView_pimpl.C (insertInset): update to take in account the
13960 renaming of insertInsetAllowed
13962 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13964 * text2.C (getInset): new method. returns inset at cursor position.
13966 * BufferView_pimpl.C (Dispatch): changes because of this.
13968 * LyXAction.C (init): rename open-stuff to inset-toggle.
13970 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13972 * text2.C (toggleInset): renamed from openStuff; use
13975 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13977 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13979 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13981 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13983 * buffer.C (readLyXformat2): Add filename to the error dialog
13985 2001-07-18 Juergen Vigna <jug@sad.it>
13987 * tabular.C (GetCellNumber): put an assert here instead of the check!
13989 2001-07-17 Juergen Vigna <jug@sad.it>
13991 * BufferView_pimpl.C (toggleSelection): adapted too.
13993 * text.C (selectNextWord): adapted for use with insets.
13994 (selectSelectedWord): ditto
13996 2001-07-17 Juergen Vigna <jug@sad.it>
13998 * sp_spell.C (PSpell): fix initialitation order.
14000 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14002 * paragraph.C: spacing
14004 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14006 * sp_spell.C: repair language selection for pspell
14008 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14010 * lyxfunc.h: change more methods to begin with lower char.
14012 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14014 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14015 for unknown layouts.
14017 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14019 * buffer.C (readLyXformat2): Generate an error dialog if there are
14022 2001-07-16 Juergen Vigna <jug@sad.it>
14024 * sp_spell.C: always compile ISpell part.
14026 * lyxrc.C: added use_pspell entry and it's handling.
14028 2001-07-13 Juergen Vigna <jug@sad.it>
14030 * sp_spell.C: removed double includes.
14032 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14034 Consistent use of Lsstream.h:
14035 * Lsstream.h: added using std::stringstream for consistencies sake.
14037 * buffer.C: removed using std::stringstream
14039 * lyxfont.C (stateText):
14040 * paragraph.C (asString):
14041 * text.C (selectNextWord, selectSelectedWord):
14042 * text2.C (setCounter):
14043 * vspace.C (asString, asLatexString):
14044 std::ostringstream -> ostringstream.
14046 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14048 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14049 * commandtags.h: add LFUN_HELP_ABOUTLYX
14050 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14052 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14054 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14056 * lyx_gui_misc.C: remove spellchecker
14057 * lyxfunc.C: showSpellchecker
14059 * sp_ispell.h: added
14060 * sp_pspell.h: added
14061 * sp_spell.C: added
14062 * sp_form.[Ch]: removed
14063 * spellchecker.[Ch]: removed
14065 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14067 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14069 (simpleTeXSpecialChars): Simply print the input character without
14070 any special translation if pass_thru is set.
14072 * layout.h: Added bool pass_thru to layout class for being able to
14073 implement pass through of a paragraph for Literate Programming.
14075 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14076 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14077 * layout.C (Read): add "passthru" to list of layout tags and add
14078 code to set the pass_thru boolean when it is read.
14080 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14082 * trans_decl.h: remove allowed from KmodInfo
14084 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14085 remove allowed code
14088 * paragraph_pimpl.C (erase): use boost::prior
14090 * Painter.C (text): use data() instead of c_str() when length is
14092 * WorkArea.C (putClipboard): ditto
14093 * font.h (width): ditto
14095 * BufferView2.C: use it-> instead of (*it). for iterators
14097 * paragraph_pimpl.C: ditto
14098 * paragraph.C: ditto
14099 * minibuffer.C: ditto
14100 * language.C: ditto
14102 * encoding.C: ditto
14103 * counters.C: ditto
14104 * converter.C: ditto
14106 * Variables.C: ditto
14107 * TextCache.C: ditto
14108 * MenuBackend.C: ditto
14109 * LyXAction.C: ditto
14111 * FloatList.C: ditto
14112 * DepTable.C: ditto
14113 * ColorHandler.C (LyXColorHandler): ditto
14115 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14117 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14119 * text2.C (openStuff): reintroduce this method (which had been
14120 nuked in NEW_INSETS frenzy).
14122 * lyxfunc.C (Dispatch): when an action has not been handled, use
14123 its name in the error message, not its number.
14125 * paragraph.C (inInset): change method name to begin with lowercase.
14128 * text2.C: updates because of this.
14130 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14132 * ToolbarDefaults.C (add): add spaces in error message
14134 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14136 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14137 (readLyXformat2): rename return_par to first_par, use lyxlex's
14138 pushToken and remove the manual push handling.
14139 (parseSingleLyXformat2Token): add another ert comp. variable:
14140 in_tabular, rename return_par to first_par. handle newlines better
14142 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14144 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14146 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14148 * text2.C (getParFromID): removed
14150 * buffer.C (getParFromID): new method moved form lyxtext.
14151 * BufferView2.C (insertErrors): adjust
14152 (setCursorFromRow): adjust
14153 * BufferView_pimpl.C (restorePosition): adjust
14154 * lyxfunc.C (Dispatch): adjust
14155 * undo_funcs.C (textUndo): adjust
14157 (textHandleUndo): adjust
14158 (textHandleUndo): adjust
14160 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14162 * buffer.C: up' the LYX_FORMAT
14164 * lyxfont.h: turn NO_LATEX on as default
14166 * buffer.C (insertErtContents): new methods of tex style compability.
14167 (parseSingleLyXformat2Token): use it several places.
14168 * tabular.C (OldFormatRead): and here
14170 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14172 * text2.C: remove some commented code.
14175 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14176 * trans.C: changes because of the above.
14178 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14180 * text2.C (setCounter): Fix counters bug with bibliography layout.
14182 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14184 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14185 own member functions
14186 (simpleTeXSpecialChars): ditto
14188 2001-07-06 Juergen Vigna <jug@sad.it>
14190 * a lot of files: changed the access to LyXText::status and the
14191 call of undo-functions.
14193 * undo.[Ch]: added a inset_id to the undo informations.
14195 * undo_funcs.[Ch]: added and moved here all undo functions.
14197 * lyxtext.h: give the status enum a weight, made status_ a private
14198 variable and made accessor functions for it, removed the whole bunch
14199 of undo-functions as they are now in their own file, make some
14200 functions publically available. Added function ownerParagraph with
14203 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14204 made InInset() a const function, added getParFromID() function.
14206 * buffer.[Ch]: added const version for inset_iterator functions,
14207 added getInsetFromID() function.
14209 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14210 changed undo functions for new version.
14212 2001-07-05 Juergen Vigna <jug@sad.it>
14214 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14215 unknow mechanism does not call the proper constructor but only this
14216 one also if I request the other!?
14218 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14220 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14222 * text2.C (LyXText): use initialization lists.
14224 * lyxtext.h (Selection): initialize set_ and mark_
14225 (init): remove method
14227 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14229 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14231 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14233 * screen.[Ch]: change method names to begin with lowercase
14235 * BufferView_pimpl.C (updateScrollbar): simplify further and
14236 hopefully make it a bit faster.
14238 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14240 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14241 calling directly xforms functions.
14243 * Painter.C (Painter):
14244 * lyx_cb.C (MenuWrite):
14245 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14248 * lyx_gui.C: remove bogus guiruntime extern declaration.
14250 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14252 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14254 (redoDrawingOfParagraph): ditto
14255 (redoParagraphs): ditto
14256 (cutSelection): don't create a object for CutAndPaste use the
14257 static method directly
14258 (pasteSelection): ditto
14260 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14263 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14265 * modifications to some other files because of this.
14267 * Makefile.am (lyx_SOURCES): add XFormsView
14269 * XFormsView.[Ch]: new files
14271 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14272 the main window. Move the gui dependent stuff to XFormsView
14274 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14276 * tabular.C (GetCellInset): update cur_cell also in the row/col
14277 version of this function.
14279 * lyxfunc.C: no need to include figure_form.h here.
14285 * lyxvc.C: no need to include forms.h here.
14287 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14289 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14291 * lyxfunc.C (Dispatch):
14293 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14294 constructor argument.
14296 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14298 * paragraph.C (Paragraph): dont't clear, and just set layout.
14299 (makeSameLayout): use params's copy contructor.
14301 * ParagraphParameters.[Ch] (makeSame): delete method
14303 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14305 * Variables.[Ch]: fix indentation, rename set to isSet
14307 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14309 * lyxfunc.C (Dispatch): fix typo
14311 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14313 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14316 * bufferlist.C: include assert.h for emergencyWrite().
14318 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14320 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14321 give up at last (bug #425202) !
14323 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14329 * spellchecker.C: strip spellchecker options and bring up
14330 preferences tab instead
14332 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14334 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14335 the istringstream constructor
14337 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14339 * paragraph.C (getLayout): fix return value
14341 * paragraph.h: do not declare getLayout as inline.
14343 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14345 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14347 * lyxcursor.h (operator<): new func
14348 (operator>): new func
14349 (operator>=): new func
14350 (operator<=): new func
14352 * text.C (changeCase): use selection.start and selection.end
14353 (changeRegionCase): require from to be <= to. Require par to be a
14356 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14358 2001-06-27 Juergen Vigna <jug@sad.it>
14360 * text.C (cursorLeftOneWord): changed to return the cursor and added
14361 overlay with BufferView * parameter which calls this one.
14363 (selectWord): use new getWord function.
14364 (changeCase): renamed from changeWordCase as and extended to work
14365 also on selections.
14367 * lyxtext.h: added enum word_location
14369 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14370 changeCase as this operates now also on selections.
14372 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14374 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14376 * many files: send debug output to Debug::INFO instead of
14379 * converter.C (View):
14381 (Move): send debug output to Debug::FILES instead of console.
14383 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14385 * lyxfunc.C (getStatus): use func_status
14387 * func_status.h: new header, describing the results of
14388 LyXFunc::getStatus;
14390 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14393 2001-06-25 The LyX Project <jug@sad.it>
14395 * buffer.C (sgmlOpenTag):
14397 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14399 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14401 * text2.C: remove some dead code
14403 * tabular.C (GetCellInset): store the last cell checked (gotten)
14405 * tabular.h: add the helper for the speedup
14407 * lyxtext.h: remove some dead code
14409 2001-06-26 The LyX Project <Asger>
14411 * paragraph.C: Change export to LaTeX of alignment to
14412 \begin{center} and family for better roundtrip work with reLyX.
14414 * Tune the math drawing a bit.
14416 2001-06-25 The LyX Project <Asger>
14418 * LColor.C (LColor): New color for math background. New color
14421 2001-06-25 The LyX Project <jug@sad.it>
14423 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14425 * lyxfunc.C (Open):
14426 * bufferlist.C (newFile): do not restrict to files ending with
14429 * BufferView_pimpl.C (MenuInsertLyXFile):
14431 2001-06-24 The LyX Project <jug@sad.it>
14433 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14436 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14438 * lyxtext.h: rename most methods to begin with a small char.
14439 Lots of changes because of this.
14441 * paragraph.C (Paragraph): do not call fitToSize
14442 (erase): call Pimpl::erase
14443 (insertChar): call Pimpl::insertChar
14444 (insertInset): call Pipl::insertInset
14445 (breakParagraph): do not call fitToSize
14446 (breakParagraphConservative): do not call fitToSize
14447 (fitToSize): remove method
14449 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14451 2001-06-24 The LyX Project <Asger>
14453 * Fix Qt compilation^2
14455 2001-06-24 The LyX Project <jug@sad.it>
14457 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14458 depthHook(getDepth()-1).
14461 * ParagraphParameters.h:
14462 * ParameterStruct.h: change type of depth to unsigned int ==
14463 depth_type. Many adaptations to other files before of that.
14465 2001-06-24 The LyX Project <Asger>
14467 * Fix Qt compilation.
14469 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14471 * paragraph.h: renamed several methods to begin with small letter.
14472 several changes to many parts of the code because of this.
14474 2001-06-23 The LyX Project <jug@sad.it>
14476 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14477 rewritten to discard all double spaces when KeepEmpty is off
14478 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14479 to only handle newlines but not fiddle with spaces and friends.
14481 * lyxfunc.C (MenuNew): when doing 'new from template', use
14482 template_path as default directory
14484 2001-06-23 The LyX Project <Asger>
14486 * Clean-up of header file includes all over
14487 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14489 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14491 * paragraph.h: renamed from lyxparagraph.h
14493 2001-06-23 Asger <lyx@violet.home.sad.it>
14495 * Buffer.h: Removed Buffer::resize
14496 * BufferList.h: Removed BufferList::resize
14497 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14498 the document lazily when we change the width, or the font settings.
14500 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14502 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14504 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14506 * buffer.h: remove out of date comment
14508 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14511 * screen.C: fix "theoretical" GC leak
14513 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14515 * LaTeX.C (scanAuxFile):
14516 (deplog): remove trailing \r when reading stream (useful under
14519 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14521 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14522 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14523 and BufferView::theLockingInset(Inset*), so should use them and not
14524 access bv_->text->the_locking_inset directly.
14526 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14528 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14531 * tex-defs.h: remove old unused file
14533 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14535 * BufferView_pimpl.C: fix typo, remove minibuffer message
14536 when buffer has loaded
14538 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14540 * lyxfunc.C (Dispatch): use stringstream
14541 (MenuNew): use stringstream
14542 (Open): use stringstream
14544 * importer.C (Import): use stringstream
14546 * bufferview_funcs.C (CurrentState): use stringstream
14548 * LaTeX.C (run): use stringstream
14550 * BufferView_pimpl.C (savePosition): use stringstream
14551 (restorePosition): use stringstream
14552 (MenuInsertLyXFile): use stringstream
14554 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14567 * vspace.C: removed // -*- C++ -*- as first line.
14570 * version.h: added // -*- C++ -*- as first line.
14572 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14574 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14576 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14579 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14581 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14584 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14586 * gettext.C: include LString.h even when --disable-nls is on.
14588 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14590 * converter.h (Get): changed argument type from int to
14591 FormatList::size_type to avoid unnecessary conversion.
14593 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14596 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14598 * gettext.h: include LString.h even when --disable-nls is on.
14600 2001-06-07 Juergen Vigna <jug@sad.it>
14602 * text.C (BreakAgain): subst spaces with tabs.
14604 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14605 (resizeInsetsLyXText): set force on resizeLyXText.
14607 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14609 * gettext.h (gettext_init):
14610 (locale_init): use a real definition instead of a macro
14612 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14614 * Bufferview_pimpl.C:
14616 * LColor.C: further lcolor tidies
14618 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14620 * BufferView_pimpl.C (updateScrollbar): simplify.
14622 * BufferView2.C: don't include insets/insetinfo.h, change
14623 prototype for insertInset and call the Pimpl version. let
14624 updateInset call Pimpl version.
14626 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14627 gotoInset to BufferView::Pimpl
14629 2001-06-01 Juergen Vigna <jug@sad.it>
14631 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14632 inside a LockingInset (is the update needed at all?).
14634 2001-05-31 Juergen Vigna <jug@sad.it>
14636 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14637 here not the old one otherwise how should we compare it afterwards
14640 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14645 * FontInfo.C: bring C functions into global namespace when
14648 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14650 * LString.h: make sure config.h has been loaded before LString.h.
14652 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14653 (one for each char read by EatLine!).
14655 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14658 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14660 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14661 to the same as the par we break from
14663 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14665 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14667 * MenuBackend.C (expand): also create menu entries for wide
14668 versions of the floats.
14670 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14672 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14674 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14675 frontends/Makefile.am
14681 * tabular.C (getTokenValue): add std::
14683 * tabular-old.C (getTokenValue): add std::
14684 (getTokenValue): ditto
14685 (getTokenValue): ditto
14687 * screen.C (ToggleSelection): adjust
14689 * lyxtext.h: put selection cursors inside a Selection struct.
14691 * lyxfunc.C (moveCursorUpdate): adjust
14693 * lyxfont.C (latexWriteStartChanges): add std::
14695 * lyxfind.C: adjust
14697 * font.h: delete with(char const *, LyXFont const &)
14699 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14701 * FontInfo.C (getFontname): add std::
14703 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14704 (workAreaButtonPress): adjust
14705 (tripleClick): adjust
14707 (moveCursorUpdate): adjust
14710 * BufferView2.C (gotoInset): adjust
14712 2001-05-30 Juergen Vigna <jug@sad.it>
14714 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14715 to check pspell I add this as default as I now have new pspell
14716 libraries and they seem to use this.
14718 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14720 * text2.C (CutSelection): make the cursor valid before the call to
14723 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14725 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14726 relied on 0 terminated strings and other horrors. Bug found due to
14727 the new assert in lyxstring!
14729 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14732 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14734 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14737 * lyxfunc.C (processKeySym): change method of getting to the
14740 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14741 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14742 * BufferView_pimpl.[Ch]: here as private methods.
14744 2001-05-28 Juergen Vigna <jug@sad.it>
14746 * text.C (SetHeightOfRow): added the update() call again as it is
14747 needed to initialize inset dimensions!
14749 2001-05-16 Juergen Vigna <jug@sad.it>
14751 * text2.C (SetCharFont): Add new function with BufferView * and
14752 bool toggleall parameters for setting insets internal fonts.
14753 (SetFont): Freeze the undo as we may change fonts in Insets and
14754 all this change should be inside only one Undo!
14756 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14757 setting font's in insets as for them we have the SetFont function!
14759 2001-05-15 Juergen Vigna <jug@sad.it>
14761 * text2.C (ClearSelection): to be sure we REALLY don't have any
14764 * tabular.C (TeXCellPreamble): fixed the left border problem for
14767 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14769 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14772 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14774 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14775 LFUN_BREAKPARAGRAPH.
14777 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14778 help test to "internal only", similar for LFUN_INSERT_URL
14780 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14781 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14782 auto_region_delete and deadkeys.
14784 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14787 * LColor.C: remove some dead entries, tidy a little
14789 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14791 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14793 (Dispatch): implement LFUN_ESCAPE
14795 * commandtags.h: add LFUN_ESCAPE
14797 * LyXAction.C (init): add entry for LFUN_ESCAPE
14799 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14800 Remove commented code.
14801 (insertNote): moved here
14802 (open_new_inset): moved here
14804 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14807 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14809 * kbmap.C (findbinding): clean it up and make it work correctly.
14811 * lyx_main.C (init): do not pass argc and argv as parameters
14813 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14815 * buffer.C: fix path for OS/2 & Win32
14819 * lyx_main.C: Added os:: class.
14821 * os2_defines.h: update
14823 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14825 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14826 better by trying again with reduced state.
14828 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14830 * lyxrc.C (read): print error about invalid key sequence only when
14831 debugging (because not all latinX keysyms are known to some X
14834 * kbsequence.C (getiso): add a few std:: qualifiers
14835 (getiso): comment out extra return statement.
14837 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14839 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14841 (Dispatch): enhance the accent inset a bit. (not perfect)
14843 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14845 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14847 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14849 * bufferlist.C (emergencyWrite): fix assert() call
14851 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14853 * text.C (InsertChar): Added trivial patch to only send the "you
14854 can not do multiple spaces this way" message once during a
14857 2001-05-08 Baruch Even <baruch@lyx.org>
14859 * Makefile.am: Changed order of libraries to get LyX to link properly
14860 with the gnome frontend.
14862 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14864 * LaTeXFeatures.h: add a std:: qualifier
14866 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14868 * paragraph.C (String): use stringstream
14870 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14872 * paragraph.C (writeFile): remove footflag arg
14874 * buffer.C (makeLaTeXFile): use stringstream
14875 (latexParagraphs): remove footnot gurba
14877 * LaTeXFeatures.C (getPackages): use stringstream
14878 (getMacros): likewise
14879 (getTClassPreamble): likewise
14880 (getFloatDefinitions): new method
14882 * paragraph.C (writeFile): reindent
14885 * WorkArea.h: revert the xpos + etc changes.
14887 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14889 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14891 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14892 (pasteSelection): likewise
14893 * text2.C (CreateUndo): likewise
14895 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14897 * minibuffer.C (peek_event): temporarily reduce the functionality
14898 of the minibuffer (to allow args on lfuns)
14900 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14901 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14903 * buffer.C (readInset): add compability reading of old float
14904 lists, add reading of new style float list.
14905 (readInset): avoid reevaluation of inscmd.getCmdName()
14906 (getLists): reindent
14908 * MenuBackend.C (MenuItem): implement parsing of
14909 md_floatlistinsert and md_floatinsert.
14910 (expand::LastFiles): move initalizaton of iterators out of loop,
14911 avoid reevaluation.
14912 (expand::Documents): introduce typdedef vector<string> Strings,
14914 (expand::ExportFormats): introduce typedef vector<Format const *>
14915 Formats, and use it.
14916 (expand): implement FloatListInsert and FloatInsert.
14918 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14919 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14920 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14922 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14924 (Dispatch::LFUN_FLOAT_LIST): implement
14926 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14928 * LaTeX.C (run): Fix problem with --export code.
14930 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14932 * BufferView.[Ch] (workarea): removed.
14933 (getClipboard) new method; wrapper for workarea()->getClipboard()
14935 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14938 * WorkArea.h (width, height, xpos, ypos): These methods all
14939 returned the dimensions of the work_area sub-area of WorkArea,
14940 resulting in a position error if the WorkArea were resized. Now
14941 return the dimensions of the entire WorkArea.
14943 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14945 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14947 * LaTeX.C (deplog): correct the syntax of regex reg1
14949 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14951 * undo.C: remove !NEW_INSETS cruft
14953 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14955 * text2.C: remove !NEW_INSETS cruft
14957 * text.C: remove !NEW_INSETS cruft
14959 * tabular.C: remove !NEW_INSETS cruft
14961 * spellchecker.C: remove !NEW_INSETS cruft
14963 * lyxtext.h: remove !NEW_INSETS cruft
14965 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14967 * lyxfunc.C: remove !NEW_INSETS cruft
14969 * lyxfind.C: remove !NEW_INSETS cruft
14971 * lyx_cb.C: remove !NEW_INSETS cruft
14973 * figureForm.C: remove !NEW_INSETS cruft
14975 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14977 * buffer.[Ch]: remove !NEW_INSETS cruft
14979 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14981 * CutAndPaste.C: remove !NEW_INSETS cruft
14983 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14985 * BufferView2.C: remove !NEW_INSETS cruft
14987 * BufferView.h: remove !NEW_INSETS cruft
14989 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14991 * Lsstream.h: include LString.h before the sstream headers to
14992 fix problem with gcc 2.95.3 and lyxstring
14994 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14996 * lyx_main.C: add using directives when needed for C functions
14997 declared in std:: namespace.
14999 2001-04-27 Juergen Vigna <jug@sad.it>
15001 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15002 (SetHeightOfRow): comment out the update call should not be needed!
15004 2001-04-13 Juergen Vigna <jug@sad.it>
15006 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15007 (LyXTabular): tried to minimize operator= operations (and realized
15008 hopfully Lars wish).
15010 2001-04-27 Juergen Vigna <jug@sad.it>
15012 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15014 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15016 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15018 * buffer.C (readInset): hack to make listof algorithm work
15020 * BufferView_pimpl.C: hack to make listof algorithm work
15022 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15024 * LyXAction.C: removed all !NEW_INSETS cruft
15025 (init): moved lfun_item in method
15027 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15029 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15031 * BufferView2.C (theLockingInset): white space.
15033 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15035 * minibuffer.C: include <iostream>
15037 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15039 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15041 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15043 * text.[Ch] (TransposeChars): new method
15045 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15047 * call message directly through LyXView instead of through LyXFunc
15048 * BufferView2.C: adjust
15049 * BufferView_pimpl.C: adjust
15050 * FontLoader.C: adjust
15052 * bufferview_funcs.C: adjust
15053 * converter.C: adjust
15054 * figureForm.C: adjust
15055 * importer.C: adjust
15057 * lyx_gui_misc.C: adjust
15058 * lyxfunc.C: adjust
15061 + more files in subdirs
15063 * lyxparagraph.h (size): move up int file
15066 * adjust all uses of Assert to lyx::Assert.
15068 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15069 lyxfunctional in namespace lyx
15070 * layout.C (hasLayout): ditto
15073 (delete_layout): ditto
15074 (NumberOfClass): ditto
15075 * converter.C (GetFormat): ditto
15080 * bufferlist.C (getFileNames): ditto
15081 (emergencyWriteAll): ditto
15084 * MenuBackend.C (hasSubmenu): ditto
15087 * BufferView_pimpl.C (getInsetByCode): ditto
15089 2001-04-18 Juergen Vigna <jug@sad.it>
15091 * vspace.C (asLatexString): fixed the 100% problem.
15093 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * lyxfunc.C (Dispatch):
15097 * minibuffer.h: add a few std:: qualifiers
15099 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15101 * minibuffer.[Ch]: reimplement so that commands is initiated and
15102 run from lyxfunc, simplified som handling, and made the completion
15103 and history code for complete. wip.
15105 * lyxfunc.C (processKeySym): call message
15106 (miniDispatch): new temporary method
15107 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15108 (LFUN_MESSAGE): implement
15109 (LFUN_MESSAGE_PUSH): implement
15110 (LFUN_MESSAGE_POP): implement
15111 (initMiniBuffer): the initial/defualt minibuffer message.
15113 * lyxfont.[Ch]: inline some more getters
15115 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15117 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15119 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15120 (AutoSave): use LFUN_MESSAGE
15121 (Reconfigure): ditto
15123 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15125 * figureForm.C: use LFUN_MESSAGE
15127 * converter.C (runLaTeX): use LFUN_MESSAGE
15129 * bufferview_funcs.C: use LFUN_MESSAGE
15131 (changeDepth): ditto
15133 * bufferparams.h: use boost::
15135 * bufferlist.h: inherit privately from noncopyable
15137 * bufferlist.C (loadLyXFile): remove some commented code.
15139 * buffer.C (runChktex): use LFUN_MESSAGE
15141 * ShareContainer.h: inherit privately from noncopyable
15143 * ParagraphParameters.[hC] (depth): inline it.
15145 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15147 (message): new method
15148 (messagePush): ditto
15149 (messagePop): ditto
15150 (show): init minibuffer
15151 (showState): direct call
15153 * LaTeX.[Ch]: inherit privately from noncopyable
15154 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15155 instead of WriteStatus.
15157 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15159 * BufferView_pimpl.C (buffer): don't init minibuffer
15160 (workAreaButtonPress): use LFUN_MESSAGE
15161 (workAreaButtonRelease): ditto
15162 (savePosition): ditto
15163 (restorePosition): ditto
15164 (MenuInsertLyXFile): ditto
15165 (workAreaExpose): don't init minibuffer
15166 (update): remove commented code, simplify
15168 * BufferView2.C (openStuff): use LFUN_MESSAGE
15169 (toggleFloat): ditto
15172 (copyEnvironment): ditto
15173 (pasteEnvironment): ditto
15178 (updateInset): remove some commented code
15180 * lastfiles.h: inherit privately from noncopyable
15183 * lyx_main.h: ditto
15185 * lyxlex_pimpl.h: ditto
15187 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15188 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15189 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15191 * LyXAction.h: inherit privately from noncopyable, add methods
15192 func_begin, func_end, returning iterators to the func map.
15194 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15195 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15196 (func_begin): new method
15197 (func_end): new method
15199 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15201 (copySelection): ditto
15202 (pasteSelection): ditto
15204 * BufferView.C: whitespace change
15205 * BufferView.h: inherit privately from noncopyable
15207 2001-04-16 Allan Rae <rae@lyx.org>
15209 * tabular-old.C (l_getline):
15210 * spellchecker.C (sc_check_word):
15211 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15212 an unrecognised preprocessor directive. So ensure they're wrapped.
15214 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15216 * src/exporter.C (Export): Give an error message when path to file
15219 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15221 * LaTeX.C (deplog): Always check that foundfile exists.
15223 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15226 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15228 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15230 * tabular.[Ch] (getLabelList): implement new method
15232 * minibuffer.h: comment ouf setTiimer
15234 * minibuffer.C (ExecutingCB): constify res
15235 (peek_event): constify s
15236 (Set): constify ntext
15237 (Init): constify nicename
15239 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15241 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15242 (savePosition): use two params to Minibuffer::Set
15243 (restorePosition): ditto
15245 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15247 * lyx_main.C: include language.h
15249 * Makefile.am (lyx_main.o): add language.h
15251 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15257 * CutAndPaste.C: include gettext.h
15259 * lyxfont.h: remove old hack with ON and OFF.
15262 * lyxfont.h: do not include language.h...
15267 * bufferview_funcs.C:
15273 * paragraph.C: ... but do it here instead
15275 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15277 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15279 * tabular.C: small reformat
15281 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15284 (BreakParagraph): ditto
15285 (SetOnlyLayout): ditto
15288 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15291 * lastfiles.C: removed most using decl, add std:: where needed
15293 * buffer.C: ws changes
15295 * MenuBackend.C (class compare_format): put into anon namespace
15296 (expand): constify label, names, action, action2
15299 * text.C (SingleWidth): constify font
15300 (IsBoundary): constify rtl2
15301 (GetVisibleRow): constify ww
15303 * LaTeX.C (deplog): constify logfile
15305 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15307 (workAreaExpose): constify widthChange, heightChange
15309 * lyxrow.C (par): moved
15312 * lyxrow.h: as inlines here
15314 * lyxfont.h (shape): moved from lyxfont.C
15315 (emph): moved from lyxfont.C
15317 * lyxfont.C (LyXFont): use initialization list for all
15319 (shape): move to lyxfont.h as inline
15320 (emph): move to lyxfont.h as inline
15323 2001-04-04 Juergen Vigna <jug@sad.it>
15325 * vspace.C: had to include stdio.h for use of sscanf
15327 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15330 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15331 independent of xforms.
15333 2001-04-02 Juergen Vigna <jug@sad.it>
15335 * spellchecker.C: fixed namespace placing!
15337 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15339 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15340 the LyXParagraph * is 0.
15342 2001-03-29 Juergen Vigna <jug@sad.it>
15344 * vspace.C: added support for %, c%, p%, l%.
15345 (stringFromUnit): added helper function.
15346 (asLatexString): changed to give right results for the %-values.
15348 * buffer.C: convert the widthp in a width%.
15350 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15352 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15355 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15356 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15358 * lyx_cb.[Ch]: see above.
15360 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15364 * lyx.[Ch]: replaced by figure_form.[Ch].
15368 * lyxfunc.C: changed headers associated with above changes.
15370 2001-03-27 Juergen Vigna <jug@sad.it>
15372 * BufferView_pimpl.C: set the temporary cursor right!
15374 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15376 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15378 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15380 * LString.h: removed "using std::getline"!
15382 * BufferView_pimpl.C (Dispatch): changes due to changes in
15383 InsetInclude::Params.
15385 * buffer.C (tag_name): removed redundant break statements as they were
15386 producing lots of warnings with my compiler.
15388 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15390 * LString.h: add "using std::getline" when using the real <string>.
15392 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15394 * buffer.C: removed bitset usage.
15395 PAR_TAG moved to an anonymous name space.
15396 (tag_name): new funtion, also in the anonymous namespace.
15397 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15398 (makeDocBookFile): clean code. Completed transition from string arrays
15400 (SimpleDocBookOnePar): code clean.
15402 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15404 * tabular.C: add some comments.
15406 2001-03-22 Juergen Vigna <jug@sad.it>
15408 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15409 compatibility read a bit and fixed bug with minipage in different
15412 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15414 * buffer.C (pop_tag): removed.
15415 (push_tag): removed.
15416 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15417 array replaced with vector. Added support for CDATA sections.
15418 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15420 (makeDocBookFile): XML conformant declaration of CDATA section,
15421 fixed bug related to <emphasis> in the first paragraph char.
15422 (sgmlOpenTag): exclude empty tags.
15423 (sgmlCloseTag): ditto.
15425 * buffer.h (pop_tag): removed.
15426 (push_tag): removed.
15428 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15430 * language.h (Languages): added size_type and size().
15432 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15434 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15435 response on compability reading of minipages. One probliem is that
15436 the old usage of minipages was «flertydig»
15438 * several files here and in subdirs: don't use static at file
15439 scope use anon namespaces instead.
15441 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15443 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15444 LaTeX output. This is necessary for Literate document
15447 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15449 * buffer.C: insert hfill when needed.
15451 * tabular.C (l_getline): use string::erase, small whitespace change.
15453 * BufferView_pimpl.C: try the anon namespace.
15454 * WorkArea.C: ditto
15456 2001-03-16 Juergen Vigna <jug@sad.it>
15458 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15459 otherwise it won't open options-dialogs.
15461 * buffer.C: honor pextraWidth(p) on converting minipages.
15463 * tabular.C (l_getline): changed the functions to strip trailing \r.
15465 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15467 * BufferView_pimpl.C:
15468 * minibuffer..C: added "using SigC::slot" declaration.
15470 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15472 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15478 * paragraph.C: ditto
15480 * lyxtext.h: NO_PEXTRA
15482 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15484 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15485 * ParameterStruct.h: ditto
15486 * ParagraphParameters.h: ditto
15487 * lyxparagraph.h: ditto
15489 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15491 * buffer.C: add compability for minipage alignment.
15492 (latexParagraphs): remove unwanted pextra check.
15494 * several files: remove CXX_WORKING_NAMESPACES
15496 * buffer.C (pop_tag): tie is in namespace boost
15498 * BufferView.h: noncopyable is in namespace boost
15500 * lyx_main.h: ditto
15503 * lastfiles.h: ditto
15504 * bufferlist.h: ditto
15505 * ShareContainer.h: ditto
15507 * LyXAction.h: ditto
15510 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15512 * Merging changes from BRANCH_MVC back into HEAD.
15514 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15516 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15518 * BufferView_pimpl.C: change from intl.C
15522 * Makefile.am: move combox.*
15528 * intl.C: remove dialog (covered by prefs)
15530 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15532 * lyxfunc.C (Dispatch): removed redundant break statement.
15534 2001-03-14 Juergen Vigna <jug@sad.it>
15536 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15538 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15540 * buffer.C: add hack to fix compability reading of minipages.
15542 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15544 * buffer.C (getLists): Cleanup.
15546 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15548 * lyxfont.C (update): don't honor toggleall on font size.
15550 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15554 * Makefile.am: moved to frontends/xforms/
15558 * BufferView_pimpl.C: changes for moved mathpanel
15560 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15562 * gettext.h: fix gettext_init() in --disable-nls
15564 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15566 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15568 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15571 * lyx.h: strip external form
15573 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15575 * BufferView_pimpl.C: add comment, destroySplash()
15577 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15579 * BufferView_pimpl.C:
15583 * lyxfunc.C: use re-worked insetinclude
15585 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15587 * buffer.C: add using std::stringstream.
15589 * lyx_cb.C: readd using std::ios.
15591 * buffer.C: add using std::map.
15593 * BufferView_pimpl.C: add using std::vector.
15595 * ShareContainer.h: add std:: to swap.
15597 * buffer.h: add some typedefs
15598 * buffer.C (getLists): use them
15599 (getLists): renamed from getTocList.
15600 add a counter for the different float types and use it in the
15602 (getLists): use the same counter for the NEW_INSETS and the "non"
15605 * lyx_cb.h: remove unused items, includes, using etc.
15607 * ShareContainer.h: remove some commented code, add more comments
15608 and "documentation".
15610 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15612 * buffer.C (getTocList): make the list also when NEW_INSETS is
15615 * buffer.h: remove TocType
15617 * buffer.C (getTocList): change to return a map<string,
15618 vector<TocItem> >, implement for dynamic number of list.
15620 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15621 * text2.C (PasteSelection): adjust
15622 * CutAndPaste.C (pasteSelection): adjust
15624 * FloatList.C (FloatList): update from the new_insets branch.
15625 * Floating.[Ch]: ditto
15626 * LaTeXFeatures.C: ditto
15628 * lyxlex_pimpl.C: ditto
15630 * paragraph.C (Last): remove when NEW_INSETS is defined.
15632 * other file: changes because of the above.
15634 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15636 * lyxparagraph.h: rename next to next_, previous to previous_,
15637 make them private for NEW_INSETS. Rename Next() to next(),
15638 Previous() to previous().
15640 * other files: changes because of the above.
15642 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15645 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15648 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15650 * main.C (main): pass lyx_localedir to gettext_init().
15652 * gettext.h: remove locale_init and gettext_init macros
15654 * gettext.C (locale_init): new function
15655 (gettext_init): new function
15657 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15660 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15662 * Moved credits to frontends:
15663 * credits.[Ch]: removed
15664 * credits_form.[Ch]: removed
15665 * lyx_gui_misc.C: remove credits stuff
15668 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15670 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15672 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15673 unneeded destructor.
15675 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15676 a standalone pointer again.
15678 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15680 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15686 * ToolbarDefaults.C:
15695 * BufferView_pimpl.C: use new file dialog in GUII
15698 * lyx_cb.C: remove LayoutsCB to Toolbar
15700 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15702 * ShareContainer.h (get): add std:: qualifier
15704 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15706 * ShareContainer.h: define a proper ShareContainer::value_type
15707 type (and use typename to please compaq cxx)
15709 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15711 * lyxparagraph.h: move serveral local vars to
15712 ParameterStruct/ParagraphParameters., use ShareContainer in
15713 FontTable., make vars in FontTable private and add getter and
15716 * paragraph.C: changes because of the above.
15718 * lyxfont.h: remove copy constructor and copy assignment. (the
15719 default ones is ok), move number inside FontBits. move inlines to
15722 * lyxfont.C: add number to initializaton of statics, move several
15723 inlines here. constify several local vars. some whitespace
15724 cleanup. Dont hide outerscope variables.
15726 * Spacing.h: add two new constructors to match the set methods.
15728 * ShareContainer.h: new file, will perhaps be moved to support
15730 * ParameterStruct.h: new file
15732 * ParagraphParameters.h: new file
15734 * ParagraphParameters.C: new file
15736 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15737 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15739 * BufferView_pimpl.C: ParagraphParameter changes.
15740 * buffer.C: Likewise.
15741 * bufferview_funcs.C: Likewise.
15742 * text.C: Likewise.
15743 * text2.C: Likewise.
15745 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15747 * lyxfind.C (LyXReplace): do not redefine default argument in
15749 (IsStringInText): ditto
15750 (SearchForward): ditto
15751 (SearchBackward): ditto
15753 2001-03-06 Juergen Vigna <jug@sad.it>
15755 * lyxfind.C (IsStringInText): put parentes around expressions.
15757 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15759 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15761 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15763 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15765 * stl_string_fwd.h: add comment
15767 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15770 * tabular.C: remove unused DocBook methods
15776 killed DO_USE_DEFAULT_LANGUAGE
15778 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15780 * lyx_gui.C: do not include language.h.
15782 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15783 arguments in function implementation.
15785 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15787 * BufferView_pimpl.C: add <ctime>
15789 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15791 * BufferView_pimpl.C: add using std::find_if
15793 2001-02-27 José Matos <jamatos@fep.up.pt>
15795 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15798 2001-02-11 José Matos <jamatos@fep.up.pt>
15800 * buffer.C (makeDocBookFile): command styles now have a parameter as
15801 "title" by default.
15803 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15805 * layout_forms.[Ch]: removed
15806 * lyx_cb.[Ch]: out character
15807 * lyx_gui.C: out character
15808 * lyx_gui_misc.C: out character
15809 * bufferview_funcs.C: : out character,
15810 added toggleall as parameter in ToggleAndShow
15812 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15814 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15816 * text2.C (SetCurrentFont): Disable number property at boundary.
15818 2001-02-26 Juergen Vigna <jug@sad.it>
15820 * lyxfunc.C (getStatus): added a string argument override function so
15821 that this is correctly called from LyXFunc::Dispatch if it contains a
15822 do_not_use_argument which is used!
15823 (Dispatch): added check for "custom" export and call appropriate func.
15825 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15827 * lyxrc.C: Add language_command_local, language_use_babel and
15828 language_global_options.
15830 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15832 * buffer.C (makeLaTeXFile): Use language_use_babel and
15833 language_global_options.
15835 2001-02-23 Juergen Vigna <jug@sad.it>
15837 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15838 which works with LyXText and putted it inside BufferView. Here now we
15839 only call for that part the BufferView::Dispatch() function.
15841 * BufferView.C (Dispatch): added.
15843 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15844 functions which needs to use a LyXText over from LyXFunc.
15845 (MenuInsertLyXFile): added
15846 (getInsetByCode): added
15847 (moveCursorUpdate): added
15848 (static TEXT): added
15850 2001-02-22 Juergen Vigna <jug@sad.it>
15852 * BufferView_pimpl.C (update): call a status update to see if LyXText
15855 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15857 * vc-backend.C (revert): implement for CVS
15858 (getLog): implement for CVS
15860 2001-02-20 Juergen Vigna <jug@sad.it>
15862 * text2.C (ClearSelection): added BufferView param for inset_owner call
15864 * lyxfunc.C (TEXT): added this function and use it instead of
15865 directly owner->view()-text of getLyXText().
15867 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15869 * src/layout_forms.C: out preamble
15870 * src/layout_forms.h: out preamble
15871 * src/lyx_cb.C: out preamble
15872 * src/lyx_cb.h: out preamble
15873 * src/lyx_gui.C: out preamble
15874 * src/lyx_gui_misc.C: out preamble
15875 * src/lyxfunc.C: connect with guii preamble
15877 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15879 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15881 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15883 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15884 whether to run bibtex.
15886 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15888 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15890 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15892 * Makefile.am (lyx_SOURCES): removed bibforms.h
15894 * vspace.h: doxygen
15896 * text.C (GetVisibleRow): make several local vars const
15898 * tabular.C: small cleanup.
15900 * lyxserver.C (callback): use compare instead of strncmp
15902 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15903 inlines to after class or to paragraph.C
15905 * lyxfont.h: remove friend operator!=
15907 * converter.h: move friend bool operator< to non friend and after
15910 * combox.h: small cleanup
15912 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15913 to inlines after class def.
15915 * buffer.C (pop_tag): use string operations instead of strcmp
15917 * bmtable.c: doxygen, small cleanup
15919 * LaTeX.h: remove friend operator==
15921 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15933 * BufferView_pimpl.C:
15934 * BufferView.[Ch]: remove cruft
15936 2001-02-14 Juergen Vigna <jug@sad.it>
15938 * lyxfunc.C: removed #if 0 unused code
15940 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15942 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15944 * text2.C (SetSelection): added a BufferView * parameter
15946 2001-02-13 Juergen Vigna <jug@sad.it>
15948 * lyxfunc.C (Dispatch): fixed protected blank problem.
15949 * BufferView2.C (protectedBlank): added LyxText * parameter.
15951 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15952 (AppendColumn): same as above for column_info.
15954 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15955 (moveCursorUpdate): use a LyXText param for support of InsetText.
15957 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15958 (tripleClick): ditto
15960 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15962 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15964 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15966 * text2.C (SetSelection): set correct update status if inset_owner
15967 (ToggleFree): ditto
15969 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15971 * tabular.C: remove some commented code.
15973 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15975 * BufferView_pimpl.C: call hideSplash()
15977 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15980 * bibforms.h: remove
15983 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15984 add LFUN_CHILD_CREATE
15986 * counters.h: fix tiny typo
15991 * lyx.C: move splash to frontends/xforms/
15993 * lyx_gui_misc.C: move Include and Bibform to frontends
15995 * lyxvc.h: clarify comment
15997 * vspace.C: tiny housekeeping
15999 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16001 * text.C (PrepareToPrint): RTL Fix.
16003 * paragraph.C (GetUChar): New method.
16004 (String): Use GetUChar.
16006 * buffer.C (asciiParagraph): Use GetUChar.
16008 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16010 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16012 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16015 * buffer.C: rename to getLogName(), handle
16016 build log / latex log nicely
16018 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16021 * MenuBackend.h: remove support for reference menuitem type.
16023 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16025 * BufferView_pimpl.C: housekeeping
16026 * BufferView_pimpl.h:
16031 * minibuffer.h: move Timeout GUI-I
16033 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16035 * lyxrc.C (read): Update converters data-structures.
16037 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16039 * LaTeX.h (operator!=): add operator != for Aux_Info
16041 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16043 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16045 * LaTeXLog.C: deleted, useful code moved to Buffer
16048 * buffer.C: new function getLatexLogName()
16054 * lyxfunc.C: use frontends for LaTeX and VC logs
16056 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16058 * LaTeX.h: yet another std:: that Allan forgot.
16060 * Variables.C (set): renamed from isset(), because this clashes
16061 with some HP-UX macros (grr).
16063 2001-02-06 Allan Rae <rae@lyx.org>
16065 * LaTeX.h: Another bug fix. Missing std:: this time.
16067 2001-02-04 Allan Rae <rae@lyx.org>
16069 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16070 floats problem. I've left it commented out because it's not quite
16071 correct. It should also test that the current object is a table or
16072 figure inset. But I haven't gotten around to figuring out how to do
16073 that. I *think* it'll be something like: "table" == inset.type()
16075 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16078 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16080 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16081 all the citation/databases/styles in the auxilary file.
16082 (run): Rerun latex if there was a babel language error.
16084 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16086 * text.C (Backspace): Preserve the font when changing newline char
16088 (BreakParagraph): If the cursor is before a space, delete the space.
16090 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16092 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16094 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16095 new argument (code).
16096 (ChangeCitationsIfUnique): New method.
16098 * paragraph.C (GetPositionOfInset): Handle bibkey.
16100 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16102 * BufferView_pimpl.h: change type of Position::par_pos to
16103 LyXParagraph::size_type.
16105 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16107 * BufferView_pimpl.C (savePosition, restorePosition): Write
16108 messages to minibuffer.
16110 2001-01-28 José Matos <jamatos@fep.up.pt>
16112 * buffer.C (makeDocBookFile): adds support for document language.
16113 A silly restriction on the name of LatexCommand types where removed.
16114 Added support for CDATA sections, allows to chars unescaped, used
16115 among others in code, to avoid escape < and >.
16117 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16119 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16120 saved positions instrad of a stack. Furthermore, a position is
16121 stored using paragraph id/paragraph position.
16123 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16124 Remove LFUN_REF_BACK.
16126 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16128 * converter.C (dvipdfm_options): New method.
16130 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16132 * vspace.C (isValidLength): Fix for empty input string.
16134 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16136 * LyXAction.C (init): change description of LFUN_FIGURE to
16139 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16141 * LaTeX.C: add using directive
16143 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16145 * MenuBackend.C (expand): Fix the sorting of the formats.
16147 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16149 * lyx_main.C: tiny error message fix
16151 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16153 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16154 calling fl_initialize(). This fixes the problem with ',' as
16155 decimal separator in text files.
16157 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16159 * trans.C (process): Fix the keymap bug.
16161 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16163 * LaTeX.C (scanAuxFiles): New method. Provides support for
16164 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16165 (scanLogFile) Scan for "run BibTeX" messages.
16167 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16168 OT1 font encoding. Also, load the aecompl package if the ae
16171 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16173 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16175 * texrow.C (increasePos): turn two error messages into debug
16178 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16180 * LaTeX.C (scanAux): Handle the \@input macro.
16181 (runBibTeX): Use scanAux().
16183 * language.C (latex_options_): New field.
16185 * LaTeXFeatures.C (getMacros): Add language macros.
16187 * buffer.C (makeLaTeXFile): Small fix.
16189 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16191 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16193 * text2.C: add a using directive.
16195 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16200 * lyxfunc.C: kill LyXBell.
16202 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16204 * text.C (IsBoundary): Remove the error message
16206 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16208 * lyxrc.C (setDefaults): Correct initialization value for
16211 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16213 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16216 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16217 and GotoNextNote().
16219 * src/LyXAction.C: Added reference-next.
16221 * text.C (InsertChar): Use contains instead of strchr.
16223 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16225 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16227 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16228 alignment commands (when needed).
16230 * text.C (InsertChar): Add ':' to number separator chars.