1 2004-10-24 José Matos <jamatos@lyx.org>
3 * paragraph.[Ch] (getFirstWord): new function to get the first
4 word. Useful for description.
5 (simpleDocBookOnePar): remove depth argument, add another that
6 says where to start the paragraph.
8 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
9 use the new functions to fix cleanly the support for descriptions.
11 2004-10-24 José Matos <jamatos@lyx.org>
13 * buffer.C (makeLinuxDocFile, makeDocBookFile):
14 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
15 * output_linuxdoc.C (linuxdocParagraphs):
16 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
17 add buffer as argument.
19 2004-10-24 José Matos <jamatos@lyx.org>
21 * output_docbook.C (makeEnvironment, searchEnvironment): place
22 CDATA inside paragraphs and fix scope for listitems.
24 2004-10-24 José Matos <jamatos@lyx.org>
26 * output_docbook.C: remove using statement for stack.
28 2004-10-23 José Matos <jamatos@lyx.org>
30 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
31 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
32 docbook. The new scheme is recursive and makes use of iterators, the
33 same as latex export works.
34 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
35 directly with the paragraph contents. This code was moved up to
36 output_docbook.C (docbookParagraphs).
37 * sgml.C (openTag, closeTag): removed unneeded newlines.
38 (closeEnvTags) removed.
40 2003-10-23 André Pönitz <poenitz@gmx.net>
42 * undo.C (textUndoOrRedo):
43 * dociterator.C (asDocIterator): work around crash
45 * cursor.C (getStatus): replace ASSERT by more verbose error message
46 and manual correction of the problem. Should increase stability
47 while providing more sensible information.
49 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
51 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
53 * bufferlist.C (previous, next): new methods
56 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
58 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
60 * buffer.C (makeDocBookFile): add dsssl stylesheet control
63 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
65 * messages.C (Pimpl): strip off translation context information
67 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
70 the cursor is correct (bug 1694)
72 2004-10-13 José Matos <jamatos@lyx.org>
74 * output_docbook.C (docbookParagraphs): fix closing tags in the
77 2004-10-09 José Matos <jamatos@lyx.org>
79 * buffer.C: format up to 237.
80 * bufferparams.C (write): use tostr to convert booleans to strings.
82 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
84 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
86 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
88 * LaTeX.C: implement use of babel language in xindy.
90 2004-10-05 José Matos <jamatos@lyx.org>
92 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
93 Add new translators to help reading and writing the lyx file.
95 2004-10-05 José Matos <jamatos@lyx.org>
97 * ParagraphParameters.C (read):
98 * text.C (readParToken): replace nexToken by more appropriate lex
101 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
103 * LaTeX.C (runMakeIndex):
104 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
105 (usually 'makeindex') configurable.
107 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
108 with a variable rather than with a number.
110 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
112 * output_latex.C (TeXOnePar): make sure font setting is the first
113 thing that gets output (and the last at the end). Should fix bug
116 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
118 * pch.h: use proper signal include
120 * LaTeX.h: Use preferred calling of Boost.Signal
123 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
125 * pch.h: dont include <boost/function/function0.hpp>
127 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
129 * paragraph_pimpl.h: remove usage of ShareContainer
131 * paragraph_pimpl.C: remove initialization of ShareContainer.
133 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
137 * BufferView.C (putSelectionAt): change the semantics when
138 backwards == true: now, this just swaps cursor and anchor wrt the
141 * BufferView.h (putSelectionAt): add some documentation
143 * lyxfind.C (findBackwards): rewrite using while(). In particular,
144 make sure backwardChar is done at least once (to avoid getting
146 (findNextChange): use putSelectionAt in the forward direction
147 (operator()): use Paragraph::isWord
149 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
151 * Spacing.C (set): c_str fix
153 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
155 * lyx_cb.C (Reconfigure): quote the name of configure script in
156 case it contains spaces
158 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
162 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
163 (BOOST_LIBS): use top_buildir when looking for the file
165 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
167 * pch.h: do not use include boost/format.hpp, multiple symbols
168 will result (gcc bug)
171 2004-08-23 José Matos <jamatos@lyx.org>
173 * bufferparams.C (readToken): fix reading of the author field.
175 2004-08-20 José Matos <jamatos@lyx.org>
177 * lyxrc.C: remove support/translator.h inclusion since it is not used.
179 2004-08-20 José Matos <jamatos@lyx.org>
181 * lyxlex.[Ch] (findToken): remove function.
183 * ParagraphParameters.C (findToken):
184 * bufferparams.C (findToken): replace call for previous function
185 with local copy. This local function has one more argument, the
186 read string argument.
188 2004-08-16 José Matos <jamatos@lyx.org>
190 * ParagraphParameters.C (write):
191 * Spacing.C (writeFile):
192 * bufferparams.C (writeLaTeX):
193 * lyx_cb.C (Reconfigure):
194 * paragraph.C (write):
195 * tabular.C (write): remove unnecessary space at end of line.
198 2004-08-16 José Matos <jamatos@lyx.org>
200 * text.C (readParagraph): remove debug message.
202 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
204 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
207 * output_plaintext.C (asciiParagraph): set depth correctly
209 * outputparams.h: add member depth
211 * paragraph_funcs.C (ownerPar): remove.
213 * text2.C (setCounter): remove first_pit; comment out some
214 non-working code that uses ownerPar
216 * BufferView.C (getParentLanguage): remove. Not used anymore, and
219 2004-08-16 José Matos <jamatos@lyx.org>
221 * text.C (readParToken, readParagraph, read): report all unknown tokens.
222 For the same level of importance use the same chanel to report problems.
223 (read): add code to deal with \begin_body and \end_body.
226 2004-08-15 José Matos <jamatos@lyx.org>
228 * lyxlex.C (getString): fix comment, buffer::readBody is now
231 * tex-strings.C (string_papersize): Default -> default,
232 Custom -> custom, for consistency with other options.
234 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
238 * Makefile.am: support pch
240 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
242 * text.C (readParToken): remove the static LyXFont variable and
243 pass it as a parameter instead. This fixes a nasty bug where an
244 inset will be inserted with a bad font in some situations
245 (readParagraph): adapt
247 * text2.C (setCounter): reduce number of calls to pars_[pit]
249 * text.C (singleWidth): add an assert, fix a test
251 * rowpainter.C (paintText): reduce number of calls to singleWidth
253 * paragraph.C (isHfill):
256 2004-08-14 André Pönitz <poenitz@gmx.net>
261 * lyxtext.h (several functions): use a Paragraph & argument
264 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * metricsinfo.h: add a new field ltr_pos to PainterInfo
268 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
270 * text.C (singleWidth): remove useless test
272 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
274 * tabular.h: remove bogus comments
276 * tabular.C (getDescentOfRow):
277 (isPartOfMultiColumn): add assertions
279 * lyxlength.C (inPixels): remove #warning
281 2004-08-14 André Pönitz <poenitz@gmx.net>
283 * paragraph.h: inline getChar()
285 * BufferView.h: remove unused declarations
287 2004-08-14 José Matos <jamatos@lyx.org>
289 * Buffer.[Ch] (readDocument): new name for old readBody.
290 * Buffer.C: new file format, new keywords: \begin_document,
291 \begin_header, \begin_body, \end_body.
293 * bufferparams.C (readToken): replace all calls to lex.nextToken
294 by lex.next(). Do the same to eatLine except where really needed.
296 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
297 line when writing to the lyx file.
299 * output_plaintext.C (asciiParagraph): fix Bibliography style
302 * text.C (read): fix end of file handling.
304 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * MenuBackend.C (Menu::operator[]): new method to access
307 individual menu items
308 (Menu::hasFunc): new method. search for an item that corresponds
310 (MenuBackend::specialMenu): new method
311 (MenuBackend::expand): if a special menu has been set, skip
312 entries whose func() appears in this menu
314 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
316 * text3.C: use Debug::DEBUG a bit more
318 * text.C (leftMargin): try to simplify a tiny bit change var x to
319 l_margin. Dont output the wide margins always.
320 (rightMargin): no margin in inner texts
322 * rowpainter.h (nestMargin): new func
323 (changebarMargin): new func
324 (rightMargin): new func
326 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
330 * factory.C (createInset): modify setDrawFrame
332 * cursor.C: use Debug::DEBUG a bit more
334 2004-08-14 André Pönitz <poenitz@gmx.net>
337 * Makefile.am: new files to accomodate an 'external' (x,y)-position
338 cache for all insets in (at least partially) visible (top-level)
341 * BufferView_pimpl.C: reset external coord cache before every update.
342 This means the coord cache only contains valid entries.
344 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
347 * BufferView_pimpl.C (getInsetByCode): move function out of class
348 and change in to a template in anon namespace. Also fix to do what
351 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
354 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
356 (breakParagraph): rename par to par_offset and use a local
357 reference. Add code to keep the language over a rebreak.
358 (breakParagraphConservative): rename par to par_offset, use a
360 (mergeParagraph): ditto
362 (isFirstInSequence): ditto
363 (outerFont): rename pit to par_offset
365 * paragraph.C: ws change
370 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
375 * paragraph.C (simpleTeXOnePar): when we have a \item with
376 optional argument, enclose the argument with curly brackets (in
377 case it contains a closing square bracket)
381 * text3.C (checkInsetHit): constify
383 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
385 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
388 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
390 Fix toggling of collapsable insets with the mouse (bug 1558)
392 * lyxfunc.C (dispatch): adapt to LCursor changes
394 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
395 make sure that dispatch is not invoked twice
397 * cursor.C (needsUpdate): new method
398 (dispatch): return void
399 (result): new method, to access the DispatchResult of the cursor.
401 2004-08-13 José Matos <jamatos@lyx.org>
403 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
405 2004-08-13 André Pönitz <poenitz@gmx.net>
407 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
409 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
412 2004-08-12 André Pönitz <poenitz@gmx.net>
414 * text3.C: take out the 'cursor right' form insertInset and only
415 do it in those places when it is really needed. Fixes crash on
418 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
420 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
422 * BufferView_pimpl.C (setBuffer): initialize the current font of
423 the underlying LyXText
425 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * kbsequence.C (print): use UI native formatting for menu
430 * text.C (insertChar): call Paragraph::insertChar with a font
433 * paragraph.C (insertInset, insertChar): the version that takes a
434 LyXFont argument is now a wrapper around the other one (the
435 opposite used to be true).
437 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
438 argument. Font setting is done in Paragraph now.
440 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
442 * outputparams.h: add new members intitle and lang.
444 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
445 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
447 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
449 * text3.C (dispatch): remove special handling of button 4 and 5,
450 it is now taken care of in the frontend code.
452 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
454 * Spacing.h: add <string> (STLPort compile fix)
456 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
458 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
460 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
462 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
465 * converter.C (showMessage): inherit from unary_function, make
468 * buffer.C (writeFile): initialize retval
470 * InsetList.h: rename private variable list to list_
471 * InsetList.[Ch]: adjust accordingly.
473 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
475 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
476 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
477 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
478 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
479 * ParagraphParameters.C, LaTeXFeatures.C: replace
480 "support/std_sstream.h" with <sstream>
482 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
484 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
485 * lyxsocket.C (LyXServerSocket): ditto
486 (serverCallback): ditto
488 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
490 * LaTeXFeatures.C: check release date when loading jurabib.
492 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
494 * lyxserver.C (startPipe): call register_socket_callback
495 (endPipe): call unregister_socket_callback
497 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
499 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
500 (LyXServerSocket): register the callback
501 (LyXServerSocket): unregister the callback
502 (fd): delete function
503 (serverCallback): improve error checking and setup the callbacks.
504 (dataCallback): change arg to fd.
505 (writeln): new func (copied fro the client socket) used for server
507 (LyXDataSocket): simplify
508 (~LyXDataSocket): close ann unregiser callback
509 (server): delete function
510 (fd): delete function
511 (readln): small changes, improve some std::string usage
512 (writeln): constify a bit
514 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
516 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
519 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
521 * BufferView_pimpl.C (setBuffer): set the layout combox value only
522 after it has been populated
524 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
526 * text2.C (insertInset): move cursor when inserting inset.
528 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
530 * kbmap.C (findbindings): a couple of new methods. returns a
531 container of kb_sequence objects. The real work is done by the
532 private recursive version
533 (printbindings): uses findbindings to print out a bracketed list
534 of bindings (renamed from findbinding).
536 * MenuBackend.C (binding): use kb_keymap::findbindings
538 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
540 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
542 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
544 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
546 * paragraph.C (isWord): return true on insets that report
549 * text.C (getWord): use Paragraph::isWord to decide what is in a
550 word and what is not; fix bug 1609.
552 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
554 * tex-strings.C: add "none" to string_paperpackages[], fixes
555 off-by-one-error in the paperpackage selection.
558 * tex-strings.[Ch]: char const * string[n]
559 -> char const * const string[]
561 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
563 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
564 command, return early.
566 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
568 * debug.h: add DEBUG to enum and fix size of ANY.
570 * debug.C: add support for Debug::DEBUG
571 (showTags): cast errorTags.level to unsigned int
573 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
574 (redoCurrentBuffer): ditto
575 (updateScrollbar): ditto
576 * cursor.C (dispatch): ditto
577 * text2.C (setLayout): ditto
579 (updateCounters): ditto
581 (deleteEmptyParagraphMechanism): ditto
583 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
585 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
586 annotations to cleanup the Makefile slightly.
588 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
590 * lyxrc.C: do not set user_email to a default value but use empty
591 instead. The entry used to be translated, which does not work
592 since at the point where lyxrc is constructed there is no
593 translation service available
595 * messages.C (getLocaleDir): remove and use directly
596 lyx_localedir() instead
598 2004-06-02 Angus Leeming <leeming@lyx.org>
600 Fix crash caused by dereferencing null pointer 'exportdata' in
601 OutputParams by creating a new ExportData variable on the heap,
602 storing it in a boost::shared_ptr.
603 The crash was triggered when generating an Instant Preview
604 of an external inset.
606 * Makefile.am: add outputparams.C
608 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
609 (c-tor): allocate memory to it.
611 * exporter.C (c-tor): associated changes.
613 2004-06-01 Angus Leeming <leeming@lyx.org>
615 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
616 contains data before calling isInset(0). (Bug 1513.)
618 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
620 * exporter.C (checkOverwrite): new method
621 * exporter.C (copyFile): new method
622 * exporter.C (Export): copy referenced files to the document dir
623 * exporter.[Ch]: new class ExportedFile
624 * exporter.[Ch]: new class ExportData. Contains currently the
625 names of referenced external files
626 * outputparams.h: add exportdata member.
628 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
630 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
633 2004-05-19 Angus Leeming <leeming@lyx.org>
638 * lyxfunc.C: small changes due to the introduction of namespace
639 lyx::frontend and the moving of namespace biblio to lyx::biblio.
641 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
643 * text3.C (dispatch): supress update when only moving the cursor
644 * cursor.C (selHandle): remove commented code
646 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
648 * paragraph.C (startTeXParParams): correct column count
649 * CutAndPaste.C (pasteSelection): remove const_cast
650 * output_docbook.C (docbookParagraphs): remove const_cast
651 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
652 const_cast and return ParagraphList::const_iterator
653 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
654 * output_plaintext.C (writeFileAscii): remove const_cast
655 * paragraph.[Ch] (simpleTeXOnePar): make const
656 * paragraph_funcs.C (outerPar): use const iterators
657 * paragraph_pimpl.C (validate): use const iterators
658 * text.C (setHeightOfRow): use const iterators
660 2004-05-17 Angus Leeming <leeming@lyx.org>
663 * LyXAction.C (init): new LFUN_INSET_REFRESH.
665 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
666 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
667 if the citation engine has changed.
669 2004-05-14 José Matos <jamatos@lyx.org>
671 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
672 if the textclass does not provide it. Have it different for sgml and
674 support the language of document.
675 * output_docbook.C (docbookParagraphs):
676 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
677 first anchor as the id of the paragraph, remove special case code.
678 * sgml.C (escapeChar): escape only < & >.
680 2004-05-14 Angus Leeming <leeming@lyx.org>
682 * bufferparams.h: move biblio::CiteEngine enum here to minimize
683 dependencies on src/frontends/controllers/biblio.h. Define a
684 CiteEngine_enum wrapper class to enable the enum to be forward
687 2004-05-12 Angus Leeming <leeming@lyx.org>
689 * buffer.C: up LYX_FORMAT to 234.
690 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
691 use_numerical_citations with a single biblio::CiteEngine cite_engine
693 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
695 2004-05-13 José Matos <jamatos@lyx.org>
698 * converter.C (Converter, readFlags): add xml member.
699 * outputparams.h: add XML flavor.
700 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
702 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
704 * lyxfunc.C (dispatch):
705 (getStatus): fix handling of LFUN_SEQUENCE
707 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
709 * debug.C (showLevel): do not forget the end-of-line marker
711 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
713 * kbmap.C (read): do not stop parsing a bind file when an error
716 2004-04-29 Angus Leeming <leeming@lyx.org>
721 * text2.C: wrap a bunch of #warning statements
722 inside #ifdef WITH_WARNINGS blocks.
724 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
726 * buffer.C: increment format to 233.
728 2004-04-28 Angus Leeming <leeming@lyx.org>
730 * BufferView_pimpl.C:
733 s/updateToolbar()/updateToolbars()/
734 s/Toolbar.h/Toolbars.h/
736 2004-04-28 Angus Leeming <leeming@lyx.org>
738 * BufferView.[Ch] (c-tor):
739 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
740 No longer passes these data to the WorkArea generator.
742 2004-04-28 Angus Leeming <leeming@lyx.org>
744 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
746 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
748 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
750 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
752 * output_latex.C (TeXEnvironment): make sure that there is a line
753 break before \end{foo} for the last paragraph of a document
754 (TeXOnePar): if the paragraph is at the end of the document (or
755 inset) and the language has to be reset, then make sure that the
756 line break is _before_ the language command, not after (fixes bug
757 1225); also make sure that the language reset command is the first
758 thing after the paragraph (to ensure proper nesting of
759 environments and thus fix bug 1404)
761 2004-04-21 John Levon <levon@movementarian.org>
764 * ToolbarBackend.C: make "name" be a programmatic name
765 and a gui_name field.
767 * lyxfunc.C: display the minibuffer on M-x
769 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
771 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
774 2004-04-19 Angus Leeming <leeming@lyx.org>
776 * BufferView_pimpl.C (setBuffer): changed preview interface.
778 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
781 2004-04-19 John Levon <levon@movementarian.org>
783 * BufferView_pimpl.C:
784 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
786 2004-04-05 Angus Leeming <leeming@lyx.org>
788 * text.C (redoParagraphs): add call to updateCounters(), thereby
789 fixing the missing "Figure #:" label from the caption of a
792 2004-04-13 Angus Leeming <leeming@lyx.org>
794 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
795 cursor is clicked out of an inset.
797 2004-04-13 Angus Leeming <leeming@lyx.org>
799 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
800 than an InsetOld one.
802 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
804 * format.[Ch]: add editor to Format
805 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
806 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
808 2004-04-08 André Pönitz <poenitz@gmx.net>
810 * metricsinfo.h: remove PainterInfo::width member
812 2004-04-08 Angus Leeming <leeming@lyx.org>
814 * lyx_sty.C (boldsymbol_def): modify so that it outputs
815 "\providecommand" rather than "\newcommand", thereby preventing
816 clashes with packages that define "\boldsymbol" themselves.
819 2004-04-08 Angus Leeming <leeming@lyx.org>
821 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
822 thereby squashing an unnecessary warning.
824 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
826 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
829 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
831 * BufferView.C (setCursor): call redoParagraph (some insets could
833 (putSelectionAt): remove the 'double update' trick
835 * BufferView_pimpl.C (fitCursor): call refreshPar
836 (workAreaDispatch): remove an uneeded update call
837 (dispatch): remove some manual update calls
839 * cursor.[Ch]: remove cached_y_, updatePos
840 (selHandle): set noUpdate when appropriate
842 * lyxfunc.C (dispatch): track if we need an update
844 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
846 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
847 (paintSelection): cheap optimization, do not call cursorX when not
849 (paintPars): change signature
852 (paintTextInset): adjust
856 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
858 * lengthcommon.C: compilation fix: remove explicit array size from
859 unit_name[] and friends
861 2004-04-05 Angus Leeming <leeming@lyx.org>
863 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
865 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
866 present only for the preferences dialog.
867 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
869 2004-04-05 Angus Leeming <leeming@lyx.org>
871 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
872 to enable the frontends to export changes to lyxrc correctly.
874 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
876 2004-04-07 André Pönitz <poenitz@gmx.net>
878 * cursor.[Ch] (selClear, adjust): remove math
880 * cursor_slice.C: more agressive assert
883 * BufferView_pimpl.C: rework mouse event dispatch
890 2004-04-05 André Pönitz <poenitz@gmx.net>
892 * cursor.[Ch] (valign, halign...): remove unneeded functions
894 2004-04-05 Angus Leeming <leeming@lyx.org>
896 * lyxlength.[Ch] (unit_name et al.): const-correct.
898 2004-04-05 Angus Leeming <leeming@lyx.org>
900 * BufferView_pimpl.C:
909 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
911 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
913 * text3.C (getStatus): add LFUN_BEGINNINGBUF
915 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
917 * lyxfind.C: add a couple of inTexted() tests + other small fixes
918 * BufferView_pimpl.[Ch] (getStatus)
919 * BufferView.[Ch] (getStatus): add
920 * lyxfunc.C (getStatus): move lfuns handled in
921 BufferView::dispatch to te function above
922 * Cursor.C (setSelection): set selection() = true
924 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
926 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
928 2004-03-31 Angus Leeming <leeming@lyx.org>
930 * lyxfunc.C (dispatch): Fall through to the generic
931 Dialogs::show("preamble").
933 2004-03-31 Angus Leeming <leeming@lyx.org>
935 * lyxfunc.C (dispatch): Fall through to the generic
936 Dialogs::show("spellchecker").
938 2004-03-31 Angus Leeming <leeming@lyx.org>
940 * lyxfunc.C (getStatus, dispatch): changed invocation of the
943 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
948 * insetiterator.[Ch]:
953 * undo.[Ch]: s/DocumentIterator/DocIterator/g
955 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
957 * BufferView.C (setCursor, putSelectionAt): call edit to open the
958 insets where we are putting the cursor.
960 2004-03-31 Angus Leeming <leeming@lyx.org>
963 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
965 * lyxrc.[Ch] (read, write): overloaded member functions taking
966 a std::[io]stream arguments.
968 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
970 2004-03-31 Angus Leeming <leeming@lyx.org>
972 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
973 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
975 * lyxtextclass.C (load): if the text class couldn't be loaded, then
976 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
978 2004-03-31 Angus Leeming <leeming@lyx.org>
980 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
981 the LFUN_ALL_INSETS_TOGGLE code.
983 2004-03-30 Angus Leeming <leeming@lyx.org>
985 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
986 has died. Fall through to the generic Dialogs::show("document").
988 2004-03-30 Angus Leeming <leeming@lyx.org>
991 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
992 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
994 * lyxfunc.C (getStatus, dispatch): define the actions for these
995 lfuns. Little more than a cut and pste job from ControlDocument.C
997 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
999 2004-03-30 Angus Leeming <leeming@lyx.org>
1002 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1003 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1005 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1006 open/closed state of ollapsable insets. Usage:
1008 all-inset-toggle <state> <name>, where
1009 <state> == "open" || "closed" || "toggle" and
1010 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1012 * lyxtext.h, text2.C (toggleInset): removed.
1014 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1015 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1016 now passes LFUN_INSET_TOGGLE to the found inset.
1018 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1019 is now invoked as "all-insets-toggle toggle branch".
1021 2004-03-30 Angus Leeming <leeming@lyx.org>
1025 * pariterator.[Ch]: added/corrected header blurb.
1027 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1029 * dociterator.[Ch]: add an inset_ member
1030 (backwardPos): implemented
1031 (backwardPos, forwardPos): use inset_ when the stack is empty.
1032 (doc_iterator_begin, doc_iterator_end): implemented
1033 * pariterator.[Ch]: adjust, add begin, end
1034 * insetiterator.[Ch]: adjust, add begin, end
1038 * BufferView_pimpl.C:
1039 * CutAndPaste.C: adjust
1041 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1043 * buffer.C: increment file format to 232.
1044 * LaTeXFeatures.C: add bibtopic package.
1045 * bufferparams.[Ch]: param \use_bibtopic.
1047 * lyxrc.[Ch]: add lyxrc bibtex_command
1048 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1050 * buffer.C: increment file format to 231.
1052 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1054 * dociterator.C: implement forwardPar
1055 * iterators.[Ch]: remove, replaced by
1056 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1058 * BufferView_pimpl.C:
1061 * bufferview_funcs.C:
1067 * Makefile.am: adjust
1069 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1071 * CutAndPaste.C (pasteSelection): fix 2 crashes
1072 (eraseSelection): fix a crash
1073 * paragraph_funcs.C: remove a warning
1075 2004-03-28 Angus Leeming <leeming@lyx.org>
1078 * LyXAction.C (init): new LFUN_PRINT.
1080 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1082 2004-03-27 Angus Leeming <leeming@lyx.org>
1085 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1087 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1089 2004-03-27 Angus Leeming <leeming@lyx.org>
1091 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1092 insetlist always contains non-null pointers to insets.
1094 2004-03-26 Angus Leeming <leeming@lyx.org>
1096 * src/BufferView_pimpl.C:
1097 * src/CutAndPaste.C:
1100 * src/output_plaintext.C:
1101 * src/outputparams.h:
1102 * src/paragraph_funcs.C:
1106 * src/frontends/controllers/ControlErrorList.C:
1107 * src/frontends/gtk/FileDialogPrivate.C:
1108 * src/frontends/gtk/GPainter.C:
1109 * src/frontends/gtk/GToolbar.C:
1110 * src/frontends/qt2/QRef.C:
1111 * src/mathed/math_scriptinset.C: squash compiler warnings.
1113 2004-03-26 Angus Leeming <leeming@lyx.org>
1115 * ispell.C (LaunchIspell::start):
1116 * lyx_cb.C (AutoSaveBuffer::start):
1117 invoke run(DontWait) rather than runNonBlocking().
1119 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1121 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1123 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1125 * kbsequence.C (print): adjust
1127 * kbmap.C (printKeySym): rename and change signature
1128 (printKey): use LyXKeySym::print()
1130 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1132 * undo.C: add using std::advance to compile for stlport
1134 2004-03-24 Angus Leeming <leeming@lyx.org>
1136 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1137 it leads to a crash when no buffer is present.
1139 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1140 Martin Vermeer <martin.vermeer@hut.fi>
1142 * lyxfunc.C (dispatch):
1143 * bufferparams.C (readToken): use the new LColor::setColor
1145 * LColor.[Ch] (setColor): new version that takes two strings as
1146 argument and creates a new color entry if necessary
1148 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1150 * buffer.C (makeLaTeXFile): if the main latex file that is
1151 processed is usually a subdocument of some master, then pretend
1152 for a while that it is actually the master
1154 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1156 * buffer.C (getLabelList):
1157 (getBibkeyList): use getMasterBuffer()
1158 (getMasterBuffer): new method. Returns the main document in the
1159 case where one is using included documents.
1161 2004-03-25 André Pönitz <poenitz@gmx.net>
1165 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1167 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1169 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1170 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1172 * ParameterStruct.h: merge with ParagraphParameters
1174 * lyxtext.h: remove LyXText::parOffset() and getPar()
1176 * text3.C: Remove all 'manual' update calls. We do now one per user
1177 interaction which is completely sufficient.
1181 * BufferView_pimpl.C:
1182 * FontIterator.[Ch]:
1184 * ParagraphParameters.[Ch]:
1189 * cursor_slice.[Ch]:
1196 * output_docbook.[Ch]:
1197 * output_latex.[Ch]:
1198 * output_linuxdoc.[Ch]:
1199 * output_plaintext.[Ch]:
1201 * paragraph_funcs.[Ch]:
1202 * paragraph_pimpl.[Ch]:
1210 * frontends/controllers/ControlDocument.C:
1211 * frontends/controllers/ControlErrorList.C:
1212 * frontends/controllers/ControlSpellchecker.C:
1215 * insets/insetbase.h:
1216 * insets/insetbibitem.C:
1217 * insets/insetbox.C:
1218 * insets/insetbranch.C:
1219 * insets/insetcaption.C:
1220 * insets/insetcharstyle.C:
1221 * insets/insetcharstyle.h:
1222 * insets/insetcollapsable.C:
1223 * insets/insetcollapsable.h:
1224 * insets/insetert.C:
1225 * insets/insetfloat.C:
1226 * insets/insetfoot.C:
1227 * insets/insetmarginal.C:
1228 * insets/insetnote.C:
1229 * insets/insetoptarg.C:
1230 * insets/insettabular.C:
1231 * insets/insettext.C:
1232 * insets/insettext.h:
1233 * insets/insetwrap.C:
1234 * mathed/math_mboxinset.C:
1235 * mathed/math_nestinset.C:
1236 * mathed/math_scriptinset.C:
1237 * mathed/math_scriptinset.h:
1240 2004-03-24 Angus Leeming <leeming@lyx.org>
1242 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1243 deal with any child processes that have finished but are waiting to
1244 communicate this fact to the rest of LyX.
1246 2004-03-24 Angus Leeming <leeming@lyx.org>
1248 64-bit compile fixes.
1250 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1251 (c-tor): pass lyx::pos_types rather than ints.
1253 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1256 * text.C (Delete): compile fix.
1257 (getPar): ensure that function declaration is the same as that in
1260 2004-03-23 Angus Leeming <leeming@lyx.org>
1262 * ispell.C (LaunchIspell):
1263 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1264 a boost::shred_ptr rather than a std::auto_ptr.
1266 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1268 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1269 handle LFUN_FILE_INSERT_*
1271 * lyxrc.C (setDefaults, getDescription, output, read):
1272 * lyxrc.h: remove ps_command
1274 2004-03-22 Angus Leeming <leeming@lyx.org>
1276 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1277 Ensure that error_handler is processed once only and that all data
1278 is saved before attempting to output any warning messages.
1280 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1282 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1284 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1286 2004-03-19 André Pönitz <poenitz@gmx.net>
1288 * cursor.[Ch] (reset): take main text inset as argument
1290 * BufferView: adjust
1291 * BufferView_pimpl.C: adjust
1293 * paragraph.[Ch]: fix completely broken operator=()
1295 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1297 * LColor.C (getFromLyXName): make sure that the color name is used
1300 2004-03-17 Angus Leeming <leeming@lyx.org>
1303 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1305 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1306 dialog and to kill a forked process.
1308 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1310 * text2.C (setCursorFromCoordinates): fix font problem
1312 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1314 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1315 bogus "rebuild cursor" code
1317 2004-03-11 André Pönitz <poenitz@gmx.net>
1319 * buffer.[Ch]: use InsetText instead of LyXText as container for
1322 * dociterator.[Ch]: drop the BufferView * member which is not needed
1323 anymore after the change to buffer.C
1325 * paragraph_funcs.C:
1329 * BufferView_pimpl.[Ch]:
1331 * cursor_slice.[Ch]: adjust
1333 * text3.C: fix bug in mathDispatch
1335 2004-03-08 André Pönitz <poenitz@gmx.net>
1337 * undo.[Ch]: use 'StableDocumentIterator' as base for
1340 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1343 * bufferparams.[Ch]: add jurabib support and param.
1345 * LaTeX.C: add FIXME/comment.
1347 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1349 * buffer.C: increment file format to 230.
1351 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1353 * cursor.C (dispatch): avoid infinite loops
1355 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1357 * rowpainter.C (paintSelection): fix x coordinates
1359 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1361 * text.C (rowBreakPoint): fix breaking before displayed insets
1363 2004-03-01 André Pönitz <poenitz@gmx.net>
1365 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1367 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1371 * BufferView_pimpl.C:
1379 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1385 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1386 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1388 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1390 * Bidi.[Ch] (computeTables): const correctness
1391 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1392 fill_hfill, fill_label_hfill and x from Row
1393 * lyxtext.h: prepareToPrint returns a RowMetrics
1394 * rowPainter.C: adjust
1395 * text.C (prepareToPrint): use width, not textWidth. adjust
1396 (redoParagraphInternal, cursorX): adjust
1397 * text2.C (getColumnNearX): adjust
1398 (init): put a default value to the top LyXText::width
1400 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1402 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1404 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1406 * lyxtext.h: add FontIterator class
1408 * text.C (FontIterator, operator*, operator->, operator++): add
1409 (rowBreakPoint, setRowWidth): adjust (fixing a
1412 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1414 * BufferView_pimpl.C (workAreaDispatch): allow also
1415 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1417 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1419 * text.C (rowBreakPoint): fix a bug showing with very large insets
1421 2004-02-25 André Pönitz <poenitz@gmx.net>
1424 * cursor.[Ch]: move some mathed specific code to mathed
1426 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1428 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1429 use_tempdir in preferences
1430 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1432 * lyx_main.C: ensure that tempdir is valid
1433 * lyxlex.h: correct typo
1434 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1435 * paragraph.[Ch] (isMultiLingual): make const
1436 * cursor.[Ch] (openable): make const
1438 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1440 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1442 2004-02-20 André Pönitz <poenitz@gmx.net>
1444 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1446 * cursor.[Ch]: prepare for localized getStatus()
1452 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1454 2004-02-20 André Pönitz <poenitz@gmx.net>
1456 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1458 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1460 * text2.C (setCursorFromCoordinates): switch to absolute coords
1462 (cursorDown): adjust
1463 * text3.C (dispatch): adjust
1465 2004-02-16 André Pönitz <poenitz@gmx.net>
1467 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1470 * cursor_slice.[Ch]: remove unneeded acessor function
1472 * lyxtext.h: rename rtl() to isRTL()
1480 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1482 * rowpainter.C (paintSelection): coord fix
1484 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1486 * Spacing.C: compile fix
1488 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1490 * cursor.C (dispatch): restore current_ before returning
1492 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1494 * text2.C (cursorUp, cursorDown): fix coords
1497 2004-02-12 André Pönitz <poenitz@gmx.net>
1502 * text3.C: add LCursor & parameter to most cursor movement functions
1503 remove usage of LyXText::cursorRow() and cursorPar()
1505 * cursor.[Ch]: add textRow() needed members
1508 * BufferView_pimpl.C:
1511 * BufferView_pimpl.C: adjust
1513 2004-02-11 André Pönitz <poenitz@gmx.net>
1517 * BufferView_pimpl.C: shift undo/redo handling
1519 * cursor.[Ch]: fix mathed crash
1522 * lyxtext.h: move selectionAsText to LCursor
1530 * rowpainter.C: fix excessive drawing
1532 2004-02-06 André Pönitz <poenitz@gmx.net>
1535 * BufferView_pimpl.[Ch]:
1536 * text3.C: move some text specific LFUN handling
1538 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1540 * text3.C (checkInsetHit): adjust coords
1541 * text2.C (getColumnNearX): adjust coords
1542 (edit): adjust coords
1543 * text.C (getRowNearY): add two asserts
1545 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1548 * format.C: add using std::distance to compile on gcc 2.95/stlport
1550 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1552 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1554 2004-02-04 André Pönitz <poenitz@gmx.net>
1556 * BufferView.[Ch] (insertInset):
1557 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1562 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1564 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1565 on the default clause of the switch
1566 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1567 wasn't catched by LCursor::dispatch
1569 2004-02-03 André Pönitz <poenitz@gmx.net>
1572 * cursor.[Ch]: some additional asserts
1574 * undo.[Ch]: remove LyXText dependency in interface
1578 * lyxtext.h (firstPar, lastPar): remove dead functions
1583 * paragraph.[Ch]: adjust
1585 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1587 * lyxfind.C (find): fix argument order in call to ::find
1589 2004-02-02 André Pönitz <poenitz@gmx.net>
1591 * cursor.[Ch]: remove direct access to anchor
1593 * text.C: remove findText() hack
1595 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1597 * iterators.[Ch] (lockPath): remove in favour of...
1598 * BufferView.[Ch] (setCursor): this addition
1599 * BufferView.C (putSelectionAt): adjust
1600 * undo.C (performUndoOrRedo): adjust
1601 * lyxfunc.C (dispatch): adjust
1603 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1605 * iterators.C (lockPath): add a missing slice
1606 * undo.C (performUndoOrRedo): remove redundant positioning code
1608 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1610 * vc-backend.C (scanMaster): ";" -> ';'
1612 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1614 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1615 std::binary_function
1617 * lyxtextclass.C (compare_name): rename to...
1618 (LayoutNamesEqual): ...this
1620 * lyxlex_pimpl.C (compare_tags): inherit from
1621 std::binary_function, put back into anon namespace
1623 * lyxfind.C (MatchString): inherig from std::binary_function
1624 (findChange): use empty() istead of !size()
1626 * format.C (FormatNamesEqual): new functor
1633 * converter.C (compare_Converter): rename to...
1634 (ConverterEqual): ...this, and fixup a bit.
1635 (getConverter): use it, and make function const
1636 (getNumber): use it, and make function const
1640 * bufferlist.C: add using boost::bind
1642 * MenuBackend.C (MenuNamesEqual): new functor
1643 (hasMenu): use it, and make function const
1644 (hasSubmenu): use nested bind to get rid of compare_memfun.
1646 2004-01-30 André Pönitz <poenitz@gmx.net>
1648 * BufferView_pimpl.C:
1651 * cursor_slice.[Ch]:
1654 * paragraph_funcs.C:
1655 * paragraph_funcs.h:
1659 * text3.C: move some of the edit(x,y) handling to the insets
1660 some coordinate changes.
1662 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1664 * text.C: add using statements for std::advance and std::distance
1666 * paragraph.C: add using statement for std::distance
1668 * lyxfind.C: add using statement for std::advance
1670 * cursor.C (region): remove std:: from swap
1671 (openable): use nucleus in stead of operator->
1673 * BufferView.C: add using statements for std::distance and std::swap
1675 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1677 * iterators.C: Remove the pimple, move the needed structures to
1678 the header file. Create accessor for the positions stack.
1679 (asPosIterator): remove function
1681 * PosIterator.C (PosIterator): move constructors to top of file
1682 (PosIterator): reimplement the constructor taking a ParIterator in
1684 (setFrom): new function
1685 (operator!=): inline it
1687 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1689 * lyxfind.C (replaceAll): use std::advance
1691 * iterators.h: inherit from std::iterator.
1693 * PosIterator.C (advance, distance): remove
1694 * PosIterator.h: interit from std::iterator.
1696 2004-01-26 André Pönitz <poenitz@gmx.net>
1699 * BufferView_pimpl.[Ch]:
1703 * bufferview_funcs.C:
1713 * output_linuxdoc.C:
1714 * output_plaintext.C:
1716 * paragraph_funcs.[Ch]:
1717 * paragraph_pimpl.[Ch]:
1723 * text3.C: more IU: dumps most of the rest of the mathcursor
1724 implementation into cursor.[Ch]; "globalize" a bit of it.
1726 2004-01-25 Angus Leeming <leeming@lyx.org>
1728 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1730 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1732 * LaTeXFeatures.h: add nice_ and nice() const
1733 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1735 2004-01-20 André Pönitz <poenitz@gmx.net>
1738 * BufferView_pimpl.C:
1740 * bufferview_funcs.C:
1742 * cursor_slice.[Ch]:
1753 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1754 LCursor and mathcursor parts to LCursor and InsetBase.
1756 2004-01-15 André Pönitz <poenitz@gmx.net>
1758 * cursor_slice.[Ch]: add a few covienience functions
1760 * funcrequest.[Ch]: remove BufferView * member
1762 * BufferView_pimpl.C:
1769 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1771 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1773 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1774 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1776 2004-01-13 André Pönitz <poenitz@gmx.net>
1779 * lyxtext.h: hide cursor and selection anchor behind accessor function
1782 * BufferView_pimpl.[Ch]:
1784 * bufferview_funcs.C:
1794 * cursor_slice.[Ch]: some integer type changes for inset unification
1796 * lyxcursor.[hC]: remove, it's CursorSlice now.
1799 * BufferView_pimpl.[Ch]:
1800 * bufferview_funcs.C:
1806 * textcursor.[Ch]: adjust
1808 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1810 * text2.C (undoSpan): add and use
1811 * text.C (breakParagraph): use undoSpan (fix bug 578)
1814 2004-01-08 Angus Leeming <leeming@lyx.org>
1816 * BufferView_pimpl.C (MenuInsertLyXFile):
1817 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1818 * lyxfunc.C (menuNew, open, doImport):
1819 FileFilterList change to the FileDialog open and save functions.
1821 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1823 * ShareContainer.h: make isEqual and isUnique adaptable
1825 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1827 2004-01-07 Angus Leeming <leeming@lyx.org>
1830 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1832 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1834 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1835 functions replacing find, replace and replaceAll.
1837 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1838 LFUN_WORDFIND(FORWARD|BACKWARD).
1840 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1842 * text.C (breakParagraph): remove an outdated #warning
1844 2004-01-07 André Pönitz <poenitz@gmx.net>
1846 * lyxfind.C: somewhat clearer logic
1848 * text.C: prevent crash in cursorX on unitialized row cache
1850 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1852 * lyxcursor.[Ch] (operator>): add
1853 * textcursor.C (selStart, selEnd): use std::min and std::max
1855 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1857 * Chktex.C: include boost/format.hpp
1859 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1861 * InsetList.C: replace functor MathcIt with adaptable functor
1863 (insetIterator): modify accordingly
1865 * BranchList.h: move the BranchNamesEqual functor here from...
1866 * BranchList.C: ... to here
1868 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1870 (add): replace a finding loop with std::find_if.
1872 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1874 * output_docbook.C: moving LatexParam functionality into
1877 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1879 * buffer.C: increment format to 229.
1881 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1884 * lyx_sty.[Ch]: remove minipageindent_def
1890 * text3.C: remove LFUN_INSET_MINIPAGE
1892 2003-12-28 Angus Leeming <leeming@lyx.org>
1894 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1896 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1898 * text2.C (setParagraph): fix off-by-one crash
1900 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1902 * output_docbook.C: header stuff for AGU
1904 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1906 * text2.C (redoCursor): remove
1909 * BufferView_pimpl.C: remove calls to redoCursor and
1910 setCursor(cursor.par(), cursor.pos()) all around
1912 2003-12-15 Angus Leeming <leeming@lyx.org>
1914 * buffer.C: up the format to 228.
1916 2003-12-15 André Pönitz <poenitz@gmx.net>
1918 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1923 * BufferView_pimpl.C:
1932 2003-12-15 Angus Leeming <leeming@lyx.org>
1934 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1935 than getFromGUIName to manipulate the color.
1937 2003-12-14 Angus Leeming <leeming@lyx.org>
1939 * BranchList.[Ch]: minimize the API.
1940 (Branch::getBranch, getColor): now return a 'const &'.
1941 (Branch::setSelected) now returns a bool set to true if the
1942 selection status changes.
1943 (BranchList::clear, size, getColor, setColor, setSelected,
1944 allBranches, allSelected, separator): removed.
1945 (BranchList::find): new functions, returning the Branch with
1947 (BranchList::add, remove): return a bool indicating that
1948 the operation was successful.
1950 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1951 new InsetBranch::isBranchSlected member function.
1953 * LColor.[Ch]: mimimize the API.
1954 (fill): renamed as addColor and made private.
1955 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1956 versions of these functions taking a string arg have been removed.
1958 * bufferparams.C (readToken):
1959 * lyxfunc.C (dispatch):
1960 * lyxrc.C (read): changes due to the altered BranchList and
1963 * factory.C (createInset, readInset): changes due to altered
1966 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1969 * lyxfunc.C: remove insetminipage. "minipage-insert"
1970 now produces a frameless minipage box inset.
1972 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1974 * textcursor.[Ch] (selStart,selEnd): add new methods
1975 remove selection::start, end, use LyXCursor::operator<
1976 * lyxcursor.[Ch] (operator<): add
1977 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1978 * BufferView.[Ch] (unsetXSel): add
1979 * text2.C (clearSelection): use unsetXSel,adjust
1982 * rowpainter.C: adjust
1983 * bufferview_funcs.C (put_selection_at): adjust
1985 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1987 * BufferView_pimpl.C: small coord. correction
1989 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1991 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1992 dragging over the splash screen.
1994 2003-12-11 Angus Leeming <leeming@lyx.org>
1996 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1997 as it is now handled in LyXText::dispatch.
1999 * text3.C (doInsertInset): remove a level of nesting.
2001 2003-12-11 Angus Leeming <leeming@lyx.org>
2003 * factory.C (createInset): changes due to the changed interface to
2004 InsetCommandMailer::string2params.
2006 2003-12-10 Angus Leeming <leeming@lyx.org>
2008 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2009 'dialog-show-new-inset <inset name>'
2011 2003-12-10 Angus Leeming <leeming@lyx.org>
2013 * buffer.C: up the format to 227.
2015 * factory.C: the box inset is now identified simply by 'Box'.
2017 2003-12-10 Angus Leeming <leeming@lyx.org>
2019 * buffer.C: up the format to 226.
2021 * factory.C: the note inset is now identified simply by 'Note'.
2023 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2025 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2026 when a pit is enough. Standarize a couple of loops.
2028 2003-12-05 Angus Leeming <leeming@lyx.org>
2030 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2031 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2032 data to the re-worked "log" dialog.
2034 2003-12-03 André Pönitz <poenitz@gmx.net>
2040 * paragraph_funcs.C:
2042 * text2.C: use Inset::getText instead of Inset::getParagraph
2044 2003-12-03 André Pönitz <poenitz@gmx.net>
2048 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2049 InsetText::read() as LyXText::read()
2051 2003-12-02 Angus Leeming <leeming@lyx.org>
2053 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2054 type. Add a comment in the implementation that the function uses
2055 the stream's bad() function rather than fail() as the std::streams
2058 2003-12-02 André Pönitz <poenitz@gmx.net>
2060 * lyxlex.[Ch]: make interface more similar to std::stream
2062 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2064 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2066 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2068 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2070 * vspace.[Ch]: remove VSpace::NONE
2072 2003-12-01 André Pönitz <poenitz@gmx.net>
2075 * lyxtext.h: move ParagraphList member to LyXText
2076 rename LyXText::ownerParagraphs to LyXText::paragraph
2079 * bufferview_funcs.C:
2089 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2091 * undo.C: fix cursor positioning
2093 2003-12-01 John Levon <levon@movementarian.org>
2095 * BufferView_pimpl.C: fix a crash on exit with
2098 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2100 * BranchList.C: fix setSelected() method.
2102 2003-11-28 André Pönitz <poenitz@gmx.net>
2104 * ParagraphParameters.[Ch]:
2105 * ParameterStruct.h: remove space above/below from Paragraph to
2108 * BufferView_pimpl.C:
2114 * paragraph_funcs.C:
2120 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2122 * factory.C: Syntax change for CharStyles
2124 2003-11-28 André Pönitz <poenitz@gmx.net>
2129 * buffer.[Ch]: move LyXText member
2131 2003-11-28 André Pönitz <poenitz@gmx.net>
2133 * BufferView.[Ch]: make LyXText * text a private member
2135 * BufferView_pimpl.C:
2146 * output_plaintext.C: cleanup
2148 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2151 * lyxtextclass.[Ch]: parametrize SGML document header
2153 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2156 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2159 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2161 * text2.C (setFont): rework using PosIterator (no more recursive)
2162 (setCharFont): no more needed
2163 (setLayout): no more selection cursors fiddling (done by redoCursor)
2164 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2165 destroy remaining ones)
2167 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2169 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2171 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2174 * text3.C: adjust + re-allow multi par depth changes
2175 * textcursor.C: simplify a bit
2177 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2183 * src/output_docbook.C:
2184 * src/output_latex.C:
2189 * src/text2.C: Introducing a number of tags parametrizing various
2190 XML formats that we may want to support
2192 2003-11-25 André Pönitz <poenitz@gmx.net>
2194 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2196 * lyxtext.h (leftMargin/rightMargin): simplify interface
2203 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2205 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2206 master file to any child files. Fixes bug 546.
2208 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2210 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2212 2003-11-24 André Pönitz <poenitz@gmx.net>
2214 * rowpainter.C: simplification
2216 * text2.C (updateCounters): remove call to redoParagraph on
2217 changed labels as this is far too expensive.
2219 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2221 * converter.C (convert): fix a crash: this function gets
2222 called with buffer == 0 from importer code.
2224 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2226 * text3.C (cursorPrevious): make sure that we do not compare
2227 iterators form different containers.
2230 * rowpainter.C (paintSelection): make sure that we do not compare
2231 iterators from different containers.
2233 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2234 iterators from different ParagraphList containers.
2237 * text2.C (LyXText): change order of initialization slightly
2238 (operator=): new function. copy all variables except cache_par_
2239 (moveUp): make sure that we do not compare iterators from
2240 different ParagraphList constainers.
2243 * text.C (firstPar): new function
2244 (lastPar): new function
2245 (endPar): new function
2247 * lyxtext.h: move things around and group public functions, public
2248 variables, private functions, private variables
2250 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2252 * factory.C: change call to InsetERT constructor to avoid
2253 additional invocation of method status
2254 * text2.C (toggleInset): remove redundant update() call
2255 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2256 instead of a Bufferview pointer
2258 2003-11-21 André Pönitz <poenitz@gmx.net>
2260 * rowpainter.C: simplification
2262 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2264 * text3.C (dispatch): make possible to extend a word/row selection
2267 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2269 * lyxtext.h: x0_,y0_ -> xo_,yo_
2270 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2271 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2272 * rowpainter.C (paintRows): paint full paragraphs
2274 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2276 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2279 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2281 * lyxtext.h: add x0_, y0_
2282 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2283 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2285 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2287 * text2.C (setCursorIntern): move the x_target update here *
2288 * text3.C: change some bv() to true/false in calls to
2289 cursorUp/Down/Right/Left
2290 * cursor.C: use helper function.
2292 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2294 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2295 * paragraph_funcs.[Ch]: correct comment
2296 * rowpainter.C: do not paint selections away from bv->cursor()
2297 Fix a long standing selection painting bug.
2298 * text3.C: generalize mouse-selection code to LyXTexts other that
2300 * textcursor.C: do not use y coords if we can use par offsets
2302 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2304 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2305 cursor position after e.g. inset insert)
2307 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2309 * lyxfind.C (replace): adjust to locking removal + some
2312 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2314 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2317 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2320 * output_docbook.C: XML sanitation: new layout
2321 parameters InnerTag and CommandDepth
2323 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2325 * BufferView_pimpl.C:
2327 * text3.C: Fix the insertion and modification of button-style
2330 2003-11-13 André Pönitz <poenitz@gmx.net>
2332 * InsetList.[Ch]: remove deleteLyXText
2334 * paragraph.[Ch]: cache beginOfBody position
2339 * text3.C: remove superfluous update() calls
2343 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2345 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2346 * BufferView.C (fitLockedInsetCursor): remove
2347 * cursor.[Ch] (getDim): add
2348 * text.C (getRowNearY): add faster version
2349 * text3.C: remove some update calls
2351 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2363 * text3.C: The Character Style /XML short element patch.
2365 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2368 * factory.C: Small step to solving 'unable to insert some insets'
2371 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2373 * cursor.[Ch] (updatePos): new function for updating the y
2374 position of the tip inset
2375 * bufferview_funcs.C (put_selection_at):
2376 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2378 2003-11-11 André Pönitz <poenitz@gmx.net>
2380 * text.C: remove big comment on invalid Paragraph pointers as it is
2383 2003-11-11 André Pönitz <poenitz@gmx.net>
2385 * text_funcs.[Ch]: merge with ...
2393 * Makefile.am: remove text_funcs.[Ch]
2395 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2397 * cursor.C (getPos): return absolute cached y coord
2399 * BufferView_pimpl.C (fitCursor): new simplistic code
2400 (workAreaDispatch): add a fitCursor call
2402 2003-11-10 André Pönitz <poenitz@gmx.net>
2405 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2407 2003-11-10 André Pönitz <poenitz@gmx.net>
2409 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2410 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2411 indicate that the cursor needs to leave an inset
2413 * lyxtext.h: remove inset locking
2415 * cursor.[Ch]: re-implement functionality provided by inset locking
2418 * BufferView_pimpl.[Ch]:
2420 * bufferview_funcs.[Ch]:
2432 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2434 * PosIterator.[Ch]: replace the stack with a vector, add inset
2436 * iterators.[C]: adjust
2438 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2440 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2442 * paragraph_funcs.C (readParToken): put the correct id in the
2443 error item, not the id of the top paragraph
2445 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2447 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2448 * bufferview_funcs.C (put_selection_at): use the above
2450 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2452 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2454 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2456 * output_linuxdoc.h:
2457 * output_plaintext.h:
2459 * output_docbook.h: add #include statements
2461 2003-11-05 José Matos <jamatos@lyx.org>
2463 * output_docbook.[Ch]:
2464 * output_latex.[Ch]:
2465 * output_linuxdoc.[Ch]:
2466 * output_plaintext.[Ch]: New files for output formats.
2467 * output.[Ch]: New file for helper functions.
2470 * paragraph_funcs.[Ch]: output functions moved to new files.
2472 * outputparams.h: rename of latexrunparams.h
2480 * paragraph_funcs.[Ch]:
2481 * paragraph_pimpl.[Ch]:
2482 * tabular.[Ch]: rename ascii to plaintext
2483 and LatexRunParams to OutputParams.
2485 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2487 * iterators.[Ch] (text): require bv argument
2488 * undo.C (recordUndo):
2489 * lyxfunc.C (dispatch):
2490 * bufferview_funcs.C (put_selection_at): adjust
2492 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2494 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2496 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2498 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2501 2003-11-04 André Pönitz <poenitz@gmx.net>
2503 * cursor.[Ch]: restructure
2506 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2508 * iterators.[Ch] (asCursor): remove
2510 * lfuns.h: remove LFUN_INSET_EDIT
2516 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2518 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2520 * lyxfind.[Ch]: complete overhaul
2521 * BufferView_pimpl.C:
2523 * paragraph.[Ch] (insert): add
2525 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2529 * text.C: remove dead spellcheck code
2531 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2533 * dispatchresult.h: add a val setter
2535 * cursor.C (dispatch): use a tempvar for data_[i]
2537 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2539 * PosIterator.[Ch]: compile fix
2541 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2543 * text.C (cursorPar): deactivate the cursor cache
2545 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2547 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2549 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2551 * text3.C (dispatch): adjust for new DisptchResult semantics.
2553 * lyxfunc.C (dispatch): handle update when return from
2554 Cursor::dispatch, adjust for new DispatchResult semantics.
2556 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2557 DispatchResult(true) mean to not update. Add class functions for
2558 setting dispatched and update, as well as reading.
2560 * cursor.C (dispatch): don't handle update here
2562 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2564 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2565 * trans_mgr.C: adjust
2567 * paragraph_funcs.C (readParToken): exception safety
2569 * lyxvc.h: store the vcs pointer in a scoped_ptr
2572 * lyxsocket.C (serverCallback): exception safety
2574 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2576 * ispell.C (clone): make it return a auto_ptr
2578 * factory.C (createInset): exception safety
2579 (readInset): exception safety
2581 * bufferlist.C (newBuffer): exception safety
2583 * Thesaurus.C (Thesaurus): use initialization for aik_
2585 * MenuBackend.C (expandToc): exception safety.
2587 2003-11-03 André Pönitz <poenitz@gmx.net>
2591 * bufferview_funcs.C: remove getInsetFromId()
2594 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2600 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2602 * PosIterator.C (distance, advance): new
2603 * bufferview_funcs.[Ch] (put_selection_at): new
2604 * iterators.[Ch] (lockPath): new
2606 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2608 * iterators.[Ch] (asPosIterator): added
2609 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2610 * PosIterator.[Ch]: added
2612 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2616 * cursor.C (dispatch):
2617 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2619 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2620 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2621 contructor, add a class function dispatched. Remove operator>=
2623 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2625 * debug.C: only use the default constructor for debugstream
2628 * main.C (main): include debug.h and setup the lyxerr streambuf
2631 2003-10-31 José Matos <jamatos@lyx.org>
2633 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2635 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2636 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2637 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2638 * paragraph_pimpl.C (simpleTeXSpecialC):
2639 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2640 add LatexRunParams argument.
2642 * exporter.C (Export): change call accordingly.
2644 * latexrunparams.h: add new member to take care of the other backends.
2645 2003-10-30 José Matos <jamatos@lyx.org>
2647 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2648 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2649 factorise code for paragraph output.
2651 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2654 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2656 * text3.C (dispatch):
2657 * lyxfunc.C (dispatch):
2658 * cursor.C (dispatch):
2659 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2661 * dispatchresult.h: make the dispatch_result_t ctor explicit
2663 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2666 * buffer.C: small refactoring of docbook stuff
2668 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2670 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2673 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2676 operator dispatch_result_t, and operators for == != and >=
2678 * cursor.C (dispatch): adjust for operator dispatch_result_t
2679 removal. comment out call to update
2681 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2683 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2691 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2694 * dispatchresult.h: new file, DispatchResult broken out of
2697 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2699 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2701 * text.C (rowBreakPoint): put a hack inside #if 0
2703 2003-10-28 André Pönitz <poenitz@gmx.net>
2707 * paragraph_funcs.C:
2710 * text2.C: general cleanup (lots of small stuff)
2712 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2714 * text2.C (cursorEnd): simple fix to the "end key goes to one
2715 before the end on last row" bug
2717 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2719 * text.C (backspace): fix the "zombie characters"
2721 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2723 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2725 2003-10-27 André Pönitz <poenitz@gmx.net>
2727 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2729 * factory.C: handle new InsetPagebreak, InsetLine
2731 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2732 and move handling into new InsetPagebreak, InsetLine
2734 * BufferView_pimpl.C:
2736 * ParagraphParameters.C:
2737 * ParameterStruct.h:
2742 * paragraph_funcs.C:
2743 * paragraph_pimpl.C:
2749 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2752 * lyxrow_funcs.[Ch]:
2758 * text3.C: remove lastPos uses in favour of Row::endpos
2760 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2762 * undo.C (performUndoOrRedo): fix two crashes by setting a
2763 cursor by hand and reordering some calls. Use bv->lockInset instead
2764 of inset->edit because the latter loses cursor information
2766 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2768 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2770 (rowBreakPoint): fix width. change point to point + 1.
2771 Add a missing check.
2773 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2776 * lyxfunc.C: fix (at least partly) the problems
2777 with the Nav menu and headers inside branch insets
2780 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2782 * paragraph.C (getChar): add strong asserts
2784 * lyxrow_funcs.C (lastPos): remove hideous hack
2786 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2787 (fill): adjust to that (avoid an infinite loop)
2789 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2791 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2793 2003-10-23 André Pönitz <poenitz@gmx.net>
2795 * RowList_fwd.h: change list<> to vector<> to gain speed
2796 after suggestion from Alfredo
2798 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2800 * lyxtext.h: move the bidi stuff from here...
2803 * Bidi.[Ch]: ... to here
2805 2003-10-23 André Pönitz <poenitz@gmx.net>
2808 * text.C (isLastRow, isFirstRow): new functions
2810 * paragraph.h: new width cache member
2812 * rowpainter.C: replace RowList::iterator with Row & where possible
2814 * lyxfunc.C: replace several view()->text with a single call
2816 * toc.C: fix 'unused' warning
2818 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2820 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2821 when woring with stream::pos_type
2822 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2824 2003-10-22 André Pönitz <poenitz@gmx.net>
2827 * text.C: use Row & instead of RowList::iterator
2829 * lyxrow.h: rename end() to endpos()
2835 2003-10-22 Angus Leeming <leeming@lyx.org>
2837 * buffer.[Ch] (fully_loaded): new member function, returning true
2838 only when the file has been loaded fully.
2839 Used to prevent the premature generation of previews and by the
2840 citation inset to prevent computation of the natbib-style label.
2842 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2843 templates are all set up.
2845 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2847 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2849 * text.C: fixed an "oops" in the "is a bit silly"
2852 2003-10-21 André Pönitz <poenitz@gmx.net>
2854 * FuncStatus.[Ch]: small stuff, whitespace
2856 * lyxfont.[Ch]: operator<<() for debug reasons
2860 * lyxtext.h: whitespace, spelling
2862 * paragraph.C: naming of variables
2865 * text2.C: small stuff
2868 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2870 * text.C: (1) finish off the inset display() work;
2871 (2) fix the "is a bit silly" bug (accessing char
2874 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2876 * text.C: re-introduce display() for insets, fixing the
2877 various bugs (stretch of line above, math inset
2880 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2882 * text.C (rightMargin): remove spurious semicolon
2884 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2887 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2889 * text3.C: fix one crash due to wrong cursor def
2891 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2893 * vc-backend.C (scanMaster): make the regex static
2895 * LaTeX.C (scanAuxFile): make the regexs static
2897 * text3.C (doInsertInset, dispatch, dispatch):
2898 * text2.C (cursorUp, cursorDown):
2899 * text.C (selectNextWordToSpellcheck):
2900 * BufferView_pimpl.C (dispatch):
2901 * lyxfunc.C (dispatch): localDispatch -> dispatch
2903 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2905 * lyxsocket.C: include <cerrno>
2907 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2909 * lyxfunc.C (dispatch): remove textcache stuff
2911 * bufferlist.C (release): remove textcache stuff
2914 * TextCache.C: delete file
2915 * TextCache.h: delete file
2917 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2919 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2920 delete of the bv_->text.
2921 (resizeCurrentBuffer): remove texcache stuff
2922 (workAreaResize): ditto
2924 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2926 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2929 2003-10-16 André Pönitz <poenitz@gmx.net>
2936 * text3.C: speed up by storing y positions per paragraph plus per-row
2937 offset instead of having a 'full' y position in the row.
2939 2003-10-15 André Pönitz <poenitz@gmx.net>
2943 * undo.[Ch]: make undo aware of inner insets
2945 2003-10-14 Angus Leeming <leeming@lyx.org>
2947 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2948 static member functions LyX::ref() and LyX::cref.
2949 (lastfiles): new accessor functions for the new lastfiles_ member var.
2950 (addLyXView, views_): add a new LyXView to the list of views_.
2951 (updateInset): loop over all LyXViews to call their own updateInset
2952 member function, returning a pointer to the Buffer owning the inset.
2954 * BufferView_pimpl.C (loadLyXFile):
2955 * MenuBackend.C (expandLastfiles):
2956 * bufferlist.C (MenuWrite, QuitLyX):
2957 lastfiles is no longer a global variable.
2958 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2960 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2961 static function. Access through LyX::cref().emergencyCleanup().
2963 2003-10-14 André Pönitz <poenitz@gmx.net>
2965 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2967 * undo.[Ch]: restoring part of 'undo in insets'
2970 * undo_funcs.[Ch]: merge with undo.[Ch]
2972 * tabular.C: small cleansing stuff
2974 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2976 * paragraph_funcs.C (readParToken): report unknown insets as error
2977 boxes. Use the outer paragraph as location (also for unknown
2980 * factory.C (readInset): do not abort on reading an unknown inset.
2981 Eat it and return 0.
2983 2003-10-13 Angus Leeming <leeming@lyx.org>
2985 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2987 * lyxrc.C: displayTranslator is now a function,
2988 declared in GraphicsTypes.h.
2990 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2992 * format.C: new placeholder $$a to pass the socket address.
2994 * bufferlist.[Ch]: new function getBufferFromTmp.
2996 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2997 files in the temporary dir.
2999 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3001 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3003 * Makefile.am: add lyxsocket.[Ch].
3005 * lyx_main.C (error_handler): handle SIGPIPE.
3007 2003-10-13 André Pönitz <poenitz@gmx.net>
3009 * BufferView_pimpl.C:
3014 * undo_funcs.[Ch]: use paroffset_type instead of
3015 ParagraphList::iterators to prevent multiple conversion
3016 (and get a more robust interface)
3018 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3020 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3022 * text3.C (dispatch): ditto
3024 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3026 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3027 move the onlyfile, use onlyfile instead of foundfile in a couple
3030 * DepTable.C (update): flush the error stream a bit more
3032 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3034 * lyxserver.C (callback): adjust
3036 * lyxfunc.C (getStatus): add a missing brace in commented code
3037 (ensureBufferClean): reindent
3038 (dispatch): delete version taking a string
3040 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3042 * LaTeX.C (deplog): move found file handlig from here...
3043 (handleFoundFile): .. to new function here.
3044 (deplog): make sure to discover several files mentioned on the
3047 2003-10-10 André Pönitz <poenitz@gmx.net>
3054 * text3.C: fix some of the tabular crashes
3056 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3058 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3060 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3062 2003-10-09 André Pönitz <poenitz@gmx.net>
3064 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3067 * BufferView_pimpl.C:
3068 * bufferview_funcs.C:
3079 * undo_funcs.C: adjust
3081 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3083 * text2.C (incrementItemDepth): new function, use a backtracking
3084 algorithm to discover the correct item depth.
3085 (resetEnumCounterIfNeeded): new function, use a backtracking
3086 algorithm to discover if counter reset is needed.
3087 (setCounter): use them. Simplify a bit. Add different labels for
3088 different item depths for itemize.
3090 * paragraph.C (Paragraph): remove initialization of enumdepth
3093 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3094 enumerate and itemize. Change the type of itemdepth to signed char.
3096 2003-10-08 André Pönitz <poenitz@gmx.net>
3098 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3103 * tabular.[Ch]: fix crash after 'row-insert'
3105 2003-10-08 Angus Leeming <leeming@lyx.org>
3107 Fix doxygen warnings.
3109 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3110 Remove CutAndPaste:: prefix from header file declaration.
3112 * LColor.h (fill): remove LColor:: prefix from declaration.
3114 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3115 use lyx::depth_type rather than Paragraph::depth_type so that
3116 header file and .C file match.
3118 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3120 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3121 * aspell.C: \file aspell_local.C -> \file aspell.C
3122 * gettext.C: \file gettext.C -> \file src/gettext.C
3123 * gettext.h: \file gettext.h -> \file src/gettext.h
3124 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3125 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3126 * text.C: \file text.C -> \file src/text.C
3128 * toc.C: move comment so that doxygen is not confused.
3130 2003-10-07 Angus Leeming <leeming@lyx.org>
3132 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3134 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3137 * aspell_local.h: add forgotten std::string's.
3139 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3146 * text3.C: The Box patch. Fancybox support, minipage, parbox
3148 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3154 * ParagraphParameters.h:
3164 * lyxtextclasslist.h:
3167 * paragraph_pimpl.C:
3168 * textcursor.h: add <string> and other small fixes to make Lars'
3169 std::string patch compile with STLport.
3171 2003-10-06 Angus Leeming <leeming@lyx.org>
3173 * LColor.h: Add missing #include <string>.
3175 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3177 * All most all file in all subdirs: Make <string> be the prefered
3178 way of getting to std::string, add using declarations.
3180 2003-10-06 André Pönitz <poenitz@gmx.net>
3182 * metricsinfo.C: initialize LyXFont before changing attribute.
3183 (fixes the 'math in \emph is upright' bug)
3185 2003-10-06 André Pönitz <poenitz@gmx.net>
3187 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3189 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3192 * paragraph_pimpl.C: Small fixes to build using STLport
3194 2003-10-02 André Pönitz <poenitz@gmx.net>
3197 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3199 2003-10-01 André Pönitz <poenitz@gmx.net>
3201 * factory.C: assert early
3203 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3205 * lyx_main.C: remove the global debug object
3207 * debug.h: adjust for new debugstream
3209 * debug.C: adjust for new debugstream and keep the global debug
3212 2003-09-22 Angus Leeming <leeming@lyx.org>
3214 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3215 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3216 an incomplete class LyXFont.
3218 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3220 * factory.C: bug fix in branches
3222 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3224 * lyxfunc.C (processKeySym): adjust
3226 (dispatch): change arg name from ev to func, adjust
3227 (sendDispatchMessage): ditto
3229 * lyx_main.C (defaultKeyBindings): adjust keybindings
3230 (deadKeyBindings): ditto
3232 * kbsequence.C (addkey): return a FuncRequest
3234 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3236 * kbmap.C (bind): take a FuncRequest as arg, adjust
3239 (defkey): change to take a FuncRequest as arg, adjust
3240 (findbinding): take a FuncRequest as arg, adjust.
3242 * funcrequest.h (operator=): added
3244 * funcrequest.C (FuncRequest): default kb_action changed from
3245 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3247 * buffer.C (dispatch): simplify
3248 (dispatch): adjust to take a FuncRequest as arg, adjust
3250 * boost.C (assertion_failed): change assertion message slightly
3252 * ToolbarBackend.C (read): simplify
3254 * MenuBackend.C (binding): adjust call to findbinding, add a
3255 message if no binding is found.
3257 (expandToc): correct by adding a empty FuncRequest
3259 * LyXAction.C: include <boost/assert.hpp>
3260 (isPseudoAction): delete function
3261 (LookupFunc): change name to...
3262 (lookupFunc): this. change return type to FuncRequest.
3263 (getActionName): take kb_action as arg, simplify
3264 (funcHasFlag): add an assert, simplify.
3266 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3268 * toc.C (action): return a FuncRequest, simplify
3270 * lyxfunc.C (processKeySym): adjust
3271 (getStatus): delete version that takes an int.
3273 (dispatch): delete version that takes action as int
3275 (sendDispatchMessage): simplify and adjust
3277 * funcrequest.C (getArg): take unsigned int as arg
3279 * ToolbarBackend.C (read): adjust
3280 (add): delete version that takes func as a string.
3281 (getIton): take a FuncRequest as arg
3283 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3286 * MenuBackend.C (MenuItem): add a new construct that only takes a
3287 Kind, simplify the constructor use for submenus.
3289 (expandLastfiles): adjust
3290 (expandDocuments): adjust
3291 (expandFormats): adjust
3292 (expandFloatListInsert): adjust
3293 (expandFloatInsert): adjust
3294 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3296 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3297 Remove class variables lyx_pseudo_map and lyx_arg_map
3299 * LyXAction.C (searchActionArg): delete function
3300 (getPseudoAction): delete function
3301 (retrieveActionArg): delete function
3302 (LookupFunc): make it return kb_action, simplify.
3303 (getActionName): simplify
3305 * factory.C (createInset): fix new bug
3307 2003-09-19 Angus Leeming <leeming@lyx.org>
3309 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3310 masterFilename_ parameter in the include inset.
3312 * factory.C (createInset): changes due to the changes to InsetInclude.
3314 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3316 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3318 2003-09-18 Angus Leeming <leeming@lyx.org>
3321 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3322 Inset::fillWithBibKeys.
3323 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3325 2003-09-18 Angus Leeming <leeming@lyx.org>
3327 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3329 (ctor): pass and store a 'Buffer const &'
3330 (buffer): new member function.
3332 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3333 '*this' to the LaTeXFeatures ctor.
3335 2003-09-18 Angus Leeming <leeming@lyx.org>
3341 * text.C: rename EnumLColor as LColor_color.
3343 2003-09-18 Angus Leeming <leeming@lyx.org>
3345 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3346 remove #include "insets/insetbase.h" from cursor.h.
3348 2003-09-18 Angus Leeming <leeming@lyx.org>
3350 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3351 InsetOld_code to remove #include "inset.h".
3353 * iterators.C: add #include "insets/inset.h"
3355 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3357 * BufferView.C: remove more locking stuff that apparently doesn't
3358 do anything sensible.
3360 2003-09-16 André Pönitz <poenitz@gmx.net>
3363 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3366 2003-09-16 Angus Leeming <leeming@lyx.org>
3368 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3370 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3373 * paragraph.h: remove #include "lyxfont.h". Forward declare
3376 2003-09-16 Angus Leeming <leeming@lyx.org>
3378 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3379 of support/textutils.h.
3380 (isWord): move the contents of support/textutils.h's IsWordChar here.
3386 * text2.C: add #include "paragraph.h".
3389 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3391 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3397 * LaTeX.C: use namespace alias for lyx::support::os
3399 2003-09-16 Angus Leeming <leeming@lyx.org>
3402 * bufferview_funcs.C:
3405 * paragraph_pimpl.C:
3407 * text.C: add #include "LColor.h".
3409 2003-09-16 Angus Leeming <leeming@lyx.org>
3411 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3412 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3414 Store the FontBits::color variable as an int rather than as an
3415 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3418 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3419 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3420 string calls together.
3422 * lyxrc.C: add #include "LColor.h".
3424 2003-09-15 Angus Leeming <leeming@lyx.org>
3426 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3429 2003-09-15 Angus Leeming <leeming@lyx.org>
3431 * LColor.h: add an EnumLColor wrapper for LColor::color.
3433 * lyxfont.[Ch] (color, setColor, realColor):
3434 * lyxtext.h, text.C (backgroundColor):
3435 pass EnumLColor args to/from the functions, rather than LColor::color
3439 * lyxtext.h: forward declare EnumLColor.
3441 * lyx_main.C: add #include "LColor.h".
3443 2003-09-15 Angus Leeming <leeming@lyx.org>
3445 * .cvsignore: add lyx-gtk.
3447 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3452 * ParagraphParameters.C
3456 * bufferview_funcs.C
3466 * vc-backend.C: remove usage of STRCONV
3468 2003-09-15 Angus Leeming <leeming@lyx.org>
3470 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3471 explicitly define the color passed to the painter.
3473 2003-09-15 Angus Leeming <leeming@lyx.org>
3475 * bufferparams.C (BufferParams): reorder member initializers to avoid
3478 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3480 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3481 * text.C (updateRowPositions): remove an unusual nop
3483 2003-09-12 André Pönitz <poenitz@gmx.net>
3485 * BufferView_pimpl.C:
3494 * Counters.[Ch]: finish the 'automatic counters' job
3496 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3498 * aspell.C: include <boost/assert.cpp> (compile fix)
3500 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3502 * boost.C (assertion_failed): use lyx::support::abort instead of
3505 2003-09-10 Angus Leeming <leeming@lyx.org>
3507 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3508 with their _fwd progeny.
3510 2003-09-09 Angus Leeming <leeming@lyx.org>
3512 134 files throughtout the source tree: replace 'using namespace abc;'
3513 directives with the appropriate 'using abc::xyz;' declarations.
3515 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3517 * boost.C (emergencyCleanup): moved here from LAssert.c
3518 (assertion_failed): new function, called by BOOST_ASSERT
3520 * several files: change Assert to BOOST_ASSERT
3522 2003-09-09 Angus Leeming <leeming@lyx.org>
3524 * buffer.[Ch]: Add an Impl class and move Buffer's member
3525 variables into it. As a result move several header files out of
3528 Add header files to lots of .C files all over the tree as a result.
3530 2003-09-09 Angus Leeming <leeming@lyx.org>
3532 * buffer.[Ch]: make Buffer's member variables private. Add
3535 Lots of changes all over the tree as a result.
3537 2003-09-08 Angus Leeming <leeming@lyx.org>
3539 * graph.C: #include <config.h>.
3541 2003-09-08 Angus Leeming <leeming@lyx.org>
3545 * BufferView_pimpl.C:
3574 * toc.C: remove redundant using directives.
3576 2003-09-07 Angus Leeming <leeming@lyx.org>
3578 * LaTeXFeatures.h: remove #include "support/types.h".
3579 * ToolbarBackend.h: remove #include <algorithm>.
3580 * changes.h: remove #include <ctime>.
3581 * debug.h: remove #include <iosfwd>.
3582 * graph.h: remove #include "support/std_string.h".
3583 * lyx_main.h: remove #include <csignal>.
3584 * lyxlex_pimpl.h: remove #include <fstream>.
3585 * sgml.h: remove #include <algorithm>, <utility>.
3586 * toc.h: remove #include "support/std_ostream.h".
3587 Add #include <iosfwd>.
3589 2003-09-07 Angus Leeming <leeming@lyx.org>
3591 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3593 * converter.h: forward declare LatexRunParams.
3594 * encoding.h: remove #include "lyxrc.h".
3595 * lyxtext.h: remove #include "LColor.h".
3596 * lyxtextclass.h: remove #include "support/types.h".
3597 * trans.h: remove #include "tex-accent.h".
3598 * trans_mgr.h: remove #include "tex-accent.h".
3599 * insets/inset.h: remove #include "support/types.h", <vector>.
3600 * insets/insetcollapsable.h: remove #include "LColor.h".
3601 * insets/insetinclude.h: remove #include "dimension.h".
3602 * insets/insetlatexaccent.h: remove #include "dimension.h".
3603 * insets/insetoptarg.h:: remove #include "insettext.h".
3604 * insets/insettext.h: remove #include "dimension.h",
3605 <boost/shared_ptr.hpp>
3607 * insets/renderers.h: add #include "dimension.h".
3608 * insets/updatableinset.h: add #include "support/types.h".
3610 * many .C files: Associated changes.
3612 2003-09-06 Angus Leeming <leeming@lyx.org>
3614 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3615 one, inside testInvariant.
3617 * PrinterParams.C: new file.
3618 * PrinterParams.[Ch]: move the function bodies out of line.
3620 2003-09-06 Angus Leeming <leeming@lyx.org>
3622 * ParagraphParameters.h: forward declare ParameterStruct rather than
3623 including its header file.
3624 (depth): moved out-of-line.
3626 2003-09-06 Angus Leeming <leeming@lyx.org>
3628 * BufferView_pimpl.h:
3631 * lyxfunc.h: forward declare LyXKeySym rather than
3632 #include "frontends/LyXKeySym.h".
3634 * BufferView_pimpl.C:
3637 * lyxfunc.C: associated changes.
3639 2003-09-06 Angus Leeming <leeming@lyx.org>
3641 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3642 As a result, can remove the #include "insets/inset.h" from BufferView.h
3644 2003-09-06 Angus Leeming <leeming@lyx.org>
3646 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3647 As a result, can remove the #include "insets/inset.h" from BufferView.h
3649 2003-09-06 Angus Leeming <leeming@lyx.org>
3655 * bufferview_funcs.C:
3656 * BufferView_pimpl.C:
3661 * ParagraphParameters.C:
3666 * frontends/controllers/ControlDocument.C:
3667 * insets/insetcaption.C: rearrange the #includes into some sort of
3670 * buffer.h: remove #includes ErrorList.h, undo.h
3672 2003-09-06 Angus Leeming <leeming@lyx.org>
3674 * support/types.h: add a 'depth_type' typedef, used to store the
3675 nesting depth of a paragraph.
3678 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3679 defining explicitly.
3682 * paragraph_funcs.h:
3683 * ParagraphParameters.h:
3684 * sgml.h: use lyx::depth_type rather than Paragraph or
3685 ParameterStruct's depth_type.
3688 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3691 * BufferView_pimpl.C:
3693 * ParagraphParameters.C:
3696 * bufferview_funcs.C:
3703 * frontends/LyXView.C:
3704 * frontends/controllers/ControlDocument.C:
3705 * frontends/controllers/ControlErrorList.C:
3706 * insets/insetbibitem.C:
3707 * insets/insetbranch.C:
3708 * insets/insetcaption.C:
3709 * insets/insetcollapsable.C:
3710 * insets/insetenv.C:
3711 * insets/insetert.C:
3712 * insets/insetfloat.C:
3713 * insets/insetfoot.C:
3714 * insets/insetfootlike.C:
3715 * insets/insetnewline.C:
3716 * insets/insetquotes.C:
3717 * insets/insettabular.C:
3718 * insets/insettext.C:
3719 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3721 * frontends/controllers/ControlChanges.C: #include "changes.h".
3723 2003-09-06 Angus Leeming <leeming@lyx.org>
3725 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3726 than #including paragraph.h.
3729 * RowList.h: deleted. Superfluous.
3739 * insets/insettext.h: use ParagraphList_fwd.h rather than
3742 * paragraph.h: don't forward declare ParagraphList.
3745 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3746 rather than ParagraphList.h. paragraph.h is still needed for the
3747 Paragraph::depth_type parameters.
3749 * textcursor.h: enable it to compile stand-alone in light of the
3752 * bufferview_funcs.C:
3764 * frontends/controllers/ControlParagraph.C:
3765 * frontends/controllers/ControlTabular.C:
3766 * insets/insetmarginal.C:
3767 * insets/insetminipage.C:
3768 * insets/insetnote.C:
3769 * insets/insetoptarg.C: add header files needed to compile again.
3771 2003-09-06 Angus Leeming <leeming@lyx.org>
3773 * RowList_fwd.h: new file, forward-declaring Row rather than
3774 #including lyxrow.h.
3779 * insets/insettext.h: use it instead of RowList.h
3781 * bufferview_funcs.C:
3788 * text3.C: #include "RowList.h".
3790 2003-09-05 Angus Leeming <leeming@lyx.org>
3792 * factory.C (createInset):
3793 * vspace.C (c-tor): replace sscanf call with an istringstream.
3794 * ispell.C: re-add missing HP/UX headers.
3795 * lyxserver.C: re-add missing os2 headers.
3797 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3806 * text3.C: re-add missing system headers, needed for 2.95.2.
3808 2003-09-05 Angus Leeming <leeming@lyx.org>
3810 Changes most place everywhere due to the removal of using directives
3811 from support/std_sstream.h.
3813 2003-09-05 Angus Leeming <leeming@lyx.org>
3815 Replace LString.h with support/std_string.h,
3816 Lsstream.h with support/std_sstream.h,
3817 support/LIstream.h with support/std_istream.h,
3818 support/LOstream.h with support/std_ostream.h.
3820 Changes resulting throughout the tree.
3822 2003-09-05 Angus Leeming <leeming@lyx.org>
3824 * sgml.h: ensure that the header file can be compiled stand-alone.
3825 * *.C: strip out redundant #includes. (320 in total.)
3827 2003-09-04 Angus Leeming <leeming@lyx.org>
3829 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3830 here (from getPackages).
3832 * debug.[Ch]: add a new EXTERNAL tag.
3834 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3836 * text2.C (cursorEnd): simplify
3838 (getColumnNearX): adjust
3840 * text.C (computeBidiTables): adjust
3843 * rowpainter.C (paintChars): adjust
3844 (paintSelection): adjust
3845 (paintChangeBar): adjust
3848 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3850 (numberOfSeparators): adjust
3852 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3858 * text3.C: Restricts the mouse click functionality
3859 of insets like bibtex, include, toc and floatlist to the visible
3860 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3861 up the dialogs. Cursor has to be in front of the inset (i.e.
3862 start of row) for this to function.
3864 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3866 * bufferview_funcs.C (currentState): output row information
3868 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3870 * bufferview_funcs.C (currentState): output paragraph position
3872 2003-09-04 Angus Leeming <leeming@lyx.org>
3874 * FloatList.h: move out #include "Floating.h".
3875 * LaTeX.h: move out #include "DepTable.h".
3876 * LyXAction.h: move out #include "funcrequest.h".
3877 * buffer.h: move out #include "author.h", "iterators.h".
3878 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3879 * lyx_main.h: move out #include "errorlist.h".
3880 * lyxfunc.h: move out #include "FuncStatus.h".
3881 * lyxtext: move out #include "lyxcursor.h".
3882 * paragraph_pimpl.h: move out #include "counters.h".
3884 2003-09-03 Angus Leeming <leeming@lyx.org>
3886 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3887 preamble_snippets list, enabling us to add snippets to the preamble
3888 only if the snippet was not there already.
3890 2003-09-04 Angus Leeming <leeming@lyx.org>
3892 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3894 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3896 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3899 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3901 * BranchList.C: point fix, earlier forgotten
3903 2003-09-02 Angus Leeming <leeming@lyx.org>
3905 * box.C (contains): renamed from 'contained' after a fantastic
3908 2003-09-02 John Levon <levon@movementarian.org>
3914 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3916 2003-09-02 John Levon <levon@movementarian.org>
3918 * text2.C: simplification of cursorEnd(), including partial
3921 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3923 * buffer.C (readFile): add a space
3925 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3927 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3929 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3931 * buffer.C (readFile): new function, take a filename and a
3932 ParagraphList::iterator
3934 (readFile): adjust, make it private. don't use setStream, make
3935 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3936 always contain the filename.
3938 * BufferView.C (insertLyXFile): simplify and make it work for
3941 2003-08-30 John Levon <levon@movementarian.org>
3943 * Makefile.am: fix dist (from Kayvan)
3945 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3947 * most files: change to use const Buffer refs
3949 2003-08-27 André Pönitz <poenitz@gmx.net>
3951 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3952 on top of ownerPar().
3954 2003-08-27 John Levon <levon@movementarian.org>
3956 * funcrequest.C: properly initialise POD members
3958 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3960 * lyxtext.h (top_y): move top_y from here
3965 * BufferView_pimpl.[Ch]: to here
3966 * frontends/screen.C:
3967 * insets/insettabular.C:
3968 * insets/insettext.C: adjust
3969 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3971 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3974 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3976 2003-08-26 André Pönitz <poenitz@gmx.net>
3978 * paragraph_func.[Ch] (outerPar): new function
3981 * paragraph_funcs.C:
3982 * paragraph_funcs.h:
3983 * paragraph_pimpl.C:
3984 * text2.C: remove Inset::par_owner
3986 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3991 * text2.C: eliminates the needFullRow/display() stuff
3992 altogether, putting the logic in metrics/draw in the insets.
3994 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3996 * text2.C (redoParagraphInternal, redoParagraphs):
3997 * text.C (redoParagraph): add a call to updateRowPositions at the
3998 end of each 'metrics-like' call. Remove all others.
3999 (getRow): remove the 'y-computing' version.
4000 (getRowNearY): do not compute nor return the real y. Solve the
4001 'y < 0' problem and simplify.
4003 2003-08-22 Angus Leeming <leeming@lyx.org>
4005 * *.[Ch]: clean-up of licence and author blurbs.
4006 Also move config.h out of a few .h files and into a few .C files.
4008 2003-08-22 André Pönitz <poenitz@gmx.net>
4010 * lyxrow.[Ch]: add x_ and *fill_ members
4015 * text2.C: adjust/remove prepareToPrint() calls
4017 2003-08-22 André Pönitz <poenitz@gmx.net>
4019 * lyxrow.[Ch]: add end_ member
4021 * lyxrow_funcs.C: use LyXRow::end_
4023 * lyxtext.h (singleWidth): add LyXFont parameter
4026 * text2.C: adjust LyXText::singleWidth() calls
4028 * text.C (redoParagraph): simplify row breaking logic
4031 2003-08-19 André Pönitz <poenitz@gmx.net>
4033 * funcrequest.C: initialize button_ member
4036 * rowpainter.[Ch]: interface consolidation
4038 2003-08-18 André Pönitz <poenitz@gmx.net>
4041 * BufferView_pimpl.C:
4043 * paragraph_funcs.C:
4045 * text3.C: remove LyXScreen::draw() and fitCursor calls
4047 * BranchList.h: remove spurious semicolons
4049 * MenuBackend.C: fix branchlist related crash
4051 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4059 * bufferparams.[Ch]:
4063 * text3.C: implements the 'branch inset'
4064 idea. This allows the output of various versions of a document
4065 from a single source version, selectively outputing or suppressing
4066 output of parts of the text.
4067 This implementation contains a 'branch list editor' in a separate
4068 tab of the document settings dialog. Branches are user definable
4069 and have a "display colour" to distinguish them on-screen.
4071 ColorHandler was somewhat cleaned up.
4072 (1) make possible a dynamically growing LColor list by allowing
4073 the graphic context cache to grow along (vector);
4074 (2) eliminate an IMHO unnecessary step in colour allocation.
4076 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4078 * BufferView_pimpl.C: compile fix
4080 2003-08-15 André Pönitz <poenitz@gmx.net>
4082 * rowpainter.C: remove extra metrics calls
4084 * lyxtext.h: merge the two constructors into a single one,
4085 pass reference to owner's par list
4087 * BufferView_pimpl.C:
4091 2003-08-15 André Pönitz <poenitz@gmx.net>
4093 * lyxrow_funcs.[Ch]:
4096 * paragraph_funcs.C:
4101 * text_funcs.C: split LyXText::rowlist_ into individual
4102 Paragraph::rows_ chunks
4105 * BufferView_pimpl.[Ch]:
4108 * text3.C: remove toggleSelection()
4110 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4112 * bufferlist.C: beautify two alerts (shorter text of buttons)
4113 * buffer.C: Remove redundant ' ' from message
4115 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4116 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4117 rename VALIGN_CENTER to VALIGN_MIDDLE
4119 2003-08-11 André Pönitz <poenitz@gmx.net>
4121 * lyxtext.h (getPar):
4122 * text.C: new function
4124 2003-08-11 André Pönitz <poenitz@gmx.net>
4127 * tracer.[Ch]: remove unneeded files
4129 * InsetList.[Ch]: remove resizeInsetsLyXText()
4134 * text3.C: merge insertParagraphs() and appendParagraph()
4135 remove breakAgain(), update()
4137 * BufferView_pimpl.[Ch]:
4138 * bufferview_funcs.[Ch]:
4142 * tabular.C: adjust after text & InsetList changes.
4144 2003-08-08 André Pönitz <poenitz@gmx.net>
4146 * text.C (insertChar, backspace): replace rowlist fiddling
4147 with rebreak of full par
4150 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4151 checkParagraph, updateInset): removed
4153 2003-08-07 André Pönitz <poenitz@gmx.net>
4156 * text3.C: merge some LFUN handlers, remove dead code
4158 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4160 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4162 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4164 * text2.C (DEPM): fix part of bug 1255 and 1256
4166 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4168 * BufferView_pimpl.C (workAreaDispatch): change to use
4169 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4170 that are no mouse related.
4172 2003-08-05 André Pönitz <poenitz@gmx.net>
4175 * BufferView_pimpl.[Ch]:
4176 * bufferview_funcs.C:
4178 * text3.C: rip out "deep update"
4180 * textcursor.[Ch] (last_sel_cursor): remove unused member
4182 2003-08-04 André Pönitz <poenitz@gmx.net>
4185 * BufferView_pimpl.[Ch]:
4186 * ParagraphParameters.C:
4187 * bufferview_funcs.C:
4193 * text3.C: replace "complicated" BufferView::update(...) calls with
4196 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4198 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4200 * Makefile.am (lyx_SOURCES): add paper.h
4202 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4204 * Makefile.am: move things around so that both lyx-qt and
4205 lyx-xforms can be built (according to --with-frontend). Then lyx
4206 is a symbolic link to lyx-[firstfrontend]
4208 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4210 * Always use std::endl with lyxerr
4212 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4214 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4216 2003-08-01 André Pönitz <poenitz@gmx.net>
4219 * BufferView_pimpl.[Ch]:
4221 * text3.C: merge BufferView::repaint() and BufferView::update()
4223 2003-08-01 José Matos <jamatos@lyx.org>
4225 * buffer.[Ch]: file_format is no longer a buffer data element.
4227 2003-08-01 André Pönitz <poenitz@gmx.net>
4232 * text2.C: make redoParagraph more independent of current cursor
4234 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4236 * text2.C: remove unneeded members
4238 2003-07-30 André Pönitz <poenitz@gmx.net>
4240 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4242 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4243 create a single function...
4245 * paragraph_funcs.C (moveItem): ... here.
4248 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4250 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4252 * LColor.[Ch]: Add comment and greyedout logical colors.
4254 2003-07-30 André Pönitz <poenitz@gmx.net>
4256 * tabular.C: don't use Assert too heavily. This crashes where it
4259 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4261 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4262 is disabled (bug 1232)
4264 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4266 * factory.C: limited 'arg' scope
4268 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4270 * factory.C: fixed Note submenu issues
4272 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4274 * factory.C: submenu for Note/Comment/Greyedout
4276 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4279 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4281 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4284 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4285 greyedout. Patch provided by Jürgen Spitzmüller.
4287 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4289 * kbmap.C (read): fix error message when reading bind files
4291 2003-07-29 Angus Leeming <leeming@lyx.org>
4293 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4294 certainly does not do what it purports to do. I am doing it, and
4295 us, a favour by killing it.
4297 2003-07-28 José Matos <jamatos@lyx.org>
4299 * buffer.C (readBody, do_writeFile):
4300 * paragraph.C(readParagraph): \end_document replaces \the_end.
4302 2003-07-29 André Pönitz <poenitz@gmx.net>
4305 * BufferView_pimpl.[Ch]:
4309 * textcursor.[Ch]: remove toggleToggle & Co
4311 2003-07-28 José Matos <jamatos@fep.up.pt>
4313 * buffer.C (readParagraph):
4314 * params_func (readParToken, readParagraph):
4315 * paragraph.C (write): \layout -> \begin_layout.
4317 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4319 * lyxlex_pimpl.C (setFile): clean up slightly.
4321 * bufferparams.h: add compressed var
4323 * buffer_funcs.C (readFile): adjust for LyXLex change
4324 (newFile): ditto + simplify
4326 * buffer.C (writeFile): handle writing of compressed files
4328 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4329 Check if the file is compressed and set a bufferparm if so.
4331 * Makefile.am (lyx_LDADD): remove explicit -lz
4333 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4335 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4336 makeDocBookFile): put the real LyX version in the first line of
4340 * version.C.in: remove lyx_docversion
4342 * tabular.C (write_attribute): add a template-based version to
4343 write enums properly
4345 2003-07-28 André Pönitz <poenitz@gmx.net>
4350 * text3.C: use doubles again for x-coordinates. They are needed.
4352 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4354 * messages.C (getLocaleDir): use lyx_localedir()
4356 * lyxlex_pimpl.C (setFile): compress stuff
4358 * buffer.C (writeFile): add some compression stuff
4359 (do_writeFile): new func, dont call expliti close... will this
4362 * Makefile.am (lyx_LDADD): add -lz
4364 2003-07-28 José Matos <jamatos@fep.up.pt>
4366 * buffer.C: increment file format.
4367 * paragraph_funcs (readParagraph, readParToken):
4368 * paragraph.C (readParagraph): add \end_layout.
4370 2003-07-27 Angus Leeming <leeming@lyx.org>
4372 * Makefile.am: remove special casing for configure-time setting of
4373 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4375 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4376 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4378 2003-07-26 André Pönitz <poenitz@gmx.net>
4380 * paragraph_func.[Ch]:
4381 * paragraph.C (realizeFont): inline it whereever it is used
4386 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4389 2003-07-26 André Pönitz <poenitz@gmx.net>
4393 * text2.C: get rid of LyXText::need_break_row
4395 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4397 * toc.[Ch]: put namespace toc inside namespace lyx
4399 * MenuBackend.C (expandToc2): adjust for lyx::toc
4402 * lyxfunc.C (dispatch): adjust for lyx::find
4404 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4405 lyx::find instead. Reorganize a bit.
4406 (LyXReplace): rename to replace
4407 (LyXFind): rename to find
4409 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4412 2003-07-26 André Pönitz <poenitz@gmx.net>
4414 * text.C (setHeightOfRow): restrict scope of temporary variable
4416 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4417 code (never has been used?)
4419 2003-07-27 Asger Alstrup <alstrup@local>
4421 * text.C (fill): Optimise algorithm to exploit that we can reuse
4422 the LyXFont for many characters.
4423 (setHeightOfRow): Same thing.
4424 (rowBreakPoint): Same thing.
4426 2003-07-26 Asger Alstrup <alstrup@local>
4428 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4430 * text.C (singleWidth): Spurious font copying in hot-spot
4431 singleWidth avoided. Reorder tests for arabic for efficiency.
4433 * text.C (fill): handle empty paragraphs better.
4435 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4438 * encoding.h: add includes
4440 * lyxrc.C: remove reading of bind files
4442 * lyx_main.C (init): setup bindings and menus only if we have a
4445 * kbmap.C (read): new method. Do the actual reading of bind
4448 * converter.C (dvipdfm_options):
4451 (output): adapt PAPER_* enums.
4453 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4455 * bufferparams.h: remove paper-related enums from there
4457 * paper.h: New file. A trivial header file to hold paper-related
4458 enums. It should later expand to contain many paper-related
4461 * lyxrc.C: declare extern displayTranslator
4463 2003-07-27 José Matos <jamatos@fep.up.pt>
4465 * tabular.[Ch] (linuxdoc): add support for tables and figures
4468 2003-07-27 José Matos <jamatos@fep.up.pt>
4470 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4471 consistency in both functions.
4472 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4474 2003-07-26 Asger Alstrup <alstrup@local>
4476 * rowpainter.C (paintRows): Change algorithm to work directly on
4477 the insets rather than asking every character in the document
4478 whether its an inset.
4480 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4482 * buffer.C (openFileWrite): factorize some code
4484 2003-07-26 Angus Leeming <leeming@lyx.org>
4487 * lyx_main.[Ch]: replace occurances of system_tempdir with
4490 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4492 * rename Inset to InsetOld
4494 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4496 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4497 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4498 which I think is a bit clearer. EDIT is gone, since it was
4499 premature optimisation, and broken for mathed anyway.
4500 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4501 with cursor positioning in insets as well (math insets still do not
4502 work, but that's a different story anyway.) It mysteriously
4503 crashes sometimes with undo in the first paragraph, but I'm fairly
4504 confident that this is a compiler bug.
4506 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4508 * paragraph.C (Paragraph): adjust for new clone return type
4510 (copyIntoMinibuffer): ditto
4512 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4514 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4515 by not having a special case, and always doing a full rebreak of
4516 the document after undo.
4518 2003-07-23 Angus Leeming <leeming@lyx.org>
4520 * factory.C (createInset): InsetExternal::setParams now takes a
4523 2003-07-23 Angus Leeming <leeming@lyx.org>
4525 * factory.C (createInset): changed interface to the external and
4526 graphics mailers' string2params functions.
4528 2003-07-23 Angus Leeming <leeming@lyx.org>
4530 * factory.C (createInset): pass a
4531 Buffer const * parameter to InsetExternalMailer's string2params.
4533 2003-07-22 John Levon <levon@movementarian.org>
4535 * Thesaurus.h: include the right aiksaurus header
4537 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4539 * MenuBackend.C (expand): check menu shortcuts unconditionally
4541 2003-07-21 Angus Leeming <leeming@lyx.org>
4543 * factory.C (createInset): pass a
4544 buffer_path parameter to InsetGraphicsMailer's string2params.
4546 2003-07-21 Angus Leeming <leeming@lyx.org>
4548 * BufferView_pimpl.C (buffer):
4551 * lyxfunc.C (dispatch):
4552 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4553 rather than the grfx shortcut.
4555 2003-07-21 André Pönitz <poenitz@gmx.net>
4557 * rowpainter.C: remove unused variables
4560 * tabular_funcs.h: move to tabular.C
4561 * Makefile.am: adjust
4563 * tabular.[Ch]: basic optical cleaning
4565 * author.h: pass references, not values
4567 2003-07-18 André Pönitz <poenitz@gmx.net>
4575 * text3.C: two-phase drawing for InsetText and InsetTabular
4576 some float -> int changes.
4578 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4580 * lyx_main.C: fix the fix
4582 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4584 * lyx_main.C: fix a crash in batch mode if no files specified
4587 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4589 * format.[Ch] (papersize): moved to BufferParams
4590 * converter.[Ch] (dvips_options): moved to BufferParams
4591 (dvipdfm_options): moved to anon namespace
4592 * bufferparams.[Ch]: added above functions.
4594 2003-07-17 André Pönitz <poenitz@gmx.net>
4598 * text2.C: don't call inset->update() anymore
4600 * metricsinfo.[Ch]: add convenience constructor
4602 2003-07-16 André Pönitz <poenitz@gmx.net>
4607 * text2.C: replace the LyXCursor::irow_ member with
4608 on-demand computation of the value
4610 2003-07-16 John Levon <levon@movementarian.org>
4612 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4614 2003-07-15 André Pönitz <poenitz@gmx.net>
4617 * text2.C: remove no more needed refresh_row
4619 2003-07-15 André Pönitz <poenitz@gmx.net>
4624 * text3.C: refresh_status tristate -> need_update bool
4626 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4628 * lyxtext.h (init): remove reinit argument (act as if always true)
4629 * text2.C: adjust to that
4631 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4633 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4634 * text3.C: use it to delete selections in some cases
4635 (bugs 441, 673, 702, 954).
4637 2003-07-14 André Pönitz <poenitz@gmx.net>
4639 * rowpainter.[Ch]: reduce interface
4641 2003-07-14 André Pönitz <poenitz@gmx.net>
4643 * BufferView_pimpl.C:
4644 * text2.C: adjust after removing unused BufferView * argument
4646 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4648 * text2.C (init): fix a crash fired on resize
4650 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4652 * buffer.[Ch]: added new closing signal
4653 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4654 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4655 BufferView::Pimpl via the closing the signal
4657 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4659 * buffer.[Ch]: take out all bv-related from buffer
4661 * BufferView_pimpl.[Ch]: connect to new signals
4662 * CutAndPaste.C: removed useless asserts
4663 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4666 * lyxfunc.C: moved view-related funciontality from vc here
4667 * paragraph.C: removed outdated comments
4670 2003-07-10 André Pönitz <poenitz@gmx.net>
4672 * BufferView_pimpl.C:
4676 * text2.C: remove InsetText::InnerCache, clean up consequences
4678 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4680 * ispell.C: fix two typos in error messages
4682 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4684 * Extend Note inset to other forms of annotation like Comment
4685 and Greyedout. Right button click gives dialog.
4687 Files modified or added (+):
4691 * ControlNote.[Ch] +
4693 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4694 frontends/controllers
4698 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4700 * aspell.C: add missing namespace lyx::support
4702 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4704 * BufferView.[Ch] (newFile): Add
4705 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4706 * LaTeX.[Ch] (message): added this signal and use it
4707 * buffer.[Ch] (busy, message): added these signals and use them
4708 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4712 * importer.C: use buffer signals instead of direct bv calling
4713 * lyx_cb.[Ch] (ShowMessage): removed
4716 * paragraph_funcs.C:
4717 * text2.C: use buffer signals
4719 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4721 * introduce namespace lyx::graphics
4723 2003-07-02 André Pönitz <poenitz@gmx.net>
4725 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4727 2003-07-01 André Pönitz <poenitz@gmx.net>
4734 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4735 text*.C to text_func.C
4737 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4739 * introduce namespace lyx::support
4741 2003-06-30 André Pönitz <poenitz@gmx.net>
4746 * text.C: re-enable --with-included-string
4748 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4750 * textcursor.C: add <config.h>
4752 * text.C (getWord): remove const from word_location arg
4754 * lyxvc.C (getLogFile): fix const type order
4756 * lyxtext.h: remove const from word_location arg, add arg name
4758 * lyxlayout.h: currect type on labeltype.
4760 * importer.C: correct \file
4762 * converter.C (intToFormat): use std:: on ret val, ws changes
4764 * bufferlist.h: correct \file
4766 * buffer.C (makeLinuxDocFile): fix const type order
4767 (makeDocBookFile): ditto
4768 (fillWithBibKeys): use std:: on stdlib args.
4770 * CutAndPaste.C: fix authors.
4771 (availableSelections): use std:: on return vector
4773 2003-06-27 André Pönitz <poenitz@gmx.net>
4775 * BufferView_pimpl.C:
4776 * bufferview_funcs.C:
4784 * text3.C: remove LyXCursor::row_ member
4787 * text.C: rename fullRebreak() to partialRebreak() and implement
4788 a fullRebreak() that really bereks fully
4790 * textcursor.h: new struct for cursor-related data
4792 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4794 * lyx_main.C (LyX): get full path of document loaded on the
4797 2003-06-26 André Pönitz <poenitz@gmx.net>
4799 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4800 remove unused/broken operator>,<,>=.
4802 * text.C: remove only use of broken operator<= in an Assert().
4804 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4806 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4807 moved errorlist_.clear to showErrorList
4809 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4811 * converter.C (scanLog, runLaTeX):
4812 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4813 move the bv->showErrorList call to the callers
4814 * lyxfunc.C: i.e. here...
4816 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4817 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4818 namespace, the second to...
4819 * buffer_funcs (BufferFormat, parseErrors): added
4820 * errorlist.C (ErrorList(TeXErrors const &)): removed
4822 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4824 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4826 2003-06-24 "Garst R. Reese" <reese@isn.net>
4830 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4832 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4834 * version.C.in: change docversion to 1.4
4836 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4838 * buffer.C: fix a bug just introduced
4840 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4842 * buffer.[Ch]: added the parseError signal and use it, removed
4844 * BufferView.[Ch] (addError): moved to ...
4845 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4846 to the Buffer::parseError signal to catch (guess what) parse errors
4847 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4849 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4851 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4852 ability to create a buffer and to return an existing one from
4853 the list. Moved these functions to...
4854 * buffer_funcs.[Ch]: added
4855 * BufferView.[Ch] (loadLyXFile): added
4856 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4857 job removed from bufferlist::loadLyXFile.
4858 * buffer.C (setReadOnly): make it work without view
4859 (i.e added an if (users))
4861 2003-06-19 Angus Leeming <leeming@lyx.org>
4864 * LyXAction.C (init):
4865 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4866 with LFUN_DIALOG_SHOW <name> <data>.
4868 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4870 * CutAndPaste.C (availableSelections): small compilation fix for
4871 ancient (gcc 2.9x) compilers
4873 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4875 * text3.C (cursorNext): add tmp var
4877 * text2.C (updateCounters): for function calling out of for clause
4878 (replaceSelectionWithString): ditto
4879 (insertStringAsParagraphs): ditto
4880 (getColumnNearX): add tmp var
4881 (setCursorFromCoordinates): add tmp var
4882 (cursorDownParagraph): add tmp var
4883 (deleteEmptyParagraphMechanism): add tmp var
4885 * text.C (insertChar): add tmp var
4887 * rowpainter.C (paintDepthBar): add tmp var
4889 * CutAndPaste.C (availableSelections): potentially check all
4890 paragraphs in a cut to fill the shown strings.
4892 2003-06-18 André Pönitz <poenitz@gmx.net>
4894 * kbmap.[Ch]: use vector<> instead of list<>
4896 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4898 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4899 pasteSelection with index
4901 * text2.C (pasteSelection): modify, call pasteSelection with index
4903 * paragraph.C (asString): reimplement version with no interval to
4904 call the one with interval.
4906 * lyxtext.h: add index arg to pasteSelection
4908 * MenuBackend.C (MenuItem): handle PasteRecent
4909 (Menu::read::Menutags): add md_pasterecent
4911 (expandPasteRecent): new function
4914 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4916 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4918 (availableSelections): new function
4920 2003-06-17 Angus Leeming <leeming@lyx.org>
4922 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4924 2003-06-17 Angus Leeming <leeming@lyx.org>
4927 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4929 * lyxfunc.C (dispatch): invoke it.
4931 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4933 * iterators.C (operator++, ParPosition): reintroduce some
4934 const_cast for the benefit of older compilers.
4936 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4938 * text3.C (dispatch): do not modify clipboard when doing
4939 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4940 LFUN_DELETE_SKIP on a selection selection
4942 2003-06-16 André Pönitz <poenitz@gmx.net>
4948 * tabular.[Ch]: IU of clone() and getLabelList();
4950 2003-06-13 André Pönitz <poenitz@gmx.net>
4952 * tabular.h: compactification
4954 2003-06-12 André Pönitz <poenitz@gmx.net>
4958 * tabular_funcs.h: some renaming plus whitespace
4960 2003-06-12 André Pönitz <poenitz@gmx.net>
4963 * BufferView_pimpl.C:
4969 * toc.C: Return a Paragraph & for ParIterator::operator*()
4971 2003-06-11 John Levon <levon@movementarian.org>
4975 * ToolbarBackend.C: add "Toolbars" section and
4978 2003-06-10 Angus Leeming <leeming@lyx.org>
4981 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4983 * lyxfunc.C (dispatch): invoke it.
4985 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4987 * main.C: protect <ios> with HAVE_IOS
4988 (main): protect sync_with_stdio with HAVE_IOS
4990 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4992 * text2.C (cutSelection): adjust
4993 (pasteSelection): adjust
4995 * messages.C: handle get of empty string
4997 * main.C (main): use sync_with_stdio(false)
4999 * lyxfunc.C (dispatch): adjust
5001 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5002 (WriteAs): remove unneeded BufferView arg.
5004 * bufferparams.h: use correct types on papersize, papersize2 and
5007 * bufferparams.C (readToken): adjust for type
5008 (writeLaTeX): add missing cases to switch.
5010 * bufferlist.C (quitWriteBuffer): adjust
5013 * buffer.C (asciiParagraph): remove some commented code.
5015 * CutAndPaste.C: remove current_view extern variable.
5016 (cutSelection): add BufferParams arg.
5017 (eraseSelection): add BufferParams arg.
5018 (pasteSelection): add Buffer const & arg
5020 2003-06-07 John Levon <levon@movementarian.org>
5023 * paragraph_funcs.C:
5024 * paragraph_pimpl.C:
5028 * paragraph.C: allow InsetERT to freely space lines,
5029 and some consolidation of code
5031 2003-06-06 José Matos <jamatos@fep.up.pt>
5033 * buffer.C (makeDocBookFile): fix bug #821
5035 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5037 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5039 2003-06-04 Angus Leeming <leeming@lyx.org>
5041 * buffer.C: bump format to 224.
5043 2003-06-05 André Pönitz <poenitz@gmx.net>
5045 * text2.C (redoParagraphs): remove two const_cast<>
5047 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5049 * ParagraphList.h: remove last remnants of NO_STD_LIST
5051 2003-06-03 Angus Leeming <leeming@lyx.org>
5053 * factory.C (createInset): small change to the way InsetExternal's params
5056 2003-06-04 André Pönitz <poenitz@gmx.net>
5058 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5060 * paragraph_pimpl.h:
5061 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5063 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5065 * undo_funcs.C: make some simple cases of undo work again
5067 2003-06-03 John Levon <levon@movementarian.org>
5069 * ispell.C: HPUX doesn't have sys/select.h
5072 2003-06-03 John Levon <levon@movementarian.org>
5074 * CutAndPaste.C: update tabular and include inset
5079 * paragraph.C: remove owningBuffer(), don't pass Buffer
5082 * factory.C: insetGraphicsParams changed
5084 2003-06-02 John Levon <levon@movementarian.org>
5090 * text3.C: remove insetparent
5092 2003-06-02 John Levon <levon@movementarian.org>
5095 * buffer.C: fix inset_iterator.end(), move out of line
5098 2003-06-01 John Levon <levon@movementarian.org>
5100 * text3.C: use a proper cut/paste when doing inset
5101 insert (from Jürgen Spitzmüller)
5103 2003-06-01 John Levon <levon@movementarian.org>
5105 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5107 2003-05-30 André Pönitz <poenitz@gmx.net>
5109 * rowpainter.C: unify second drawing phase
5111 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5113 * trans_mgr.C: remove one case of current_view
5115 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5117 * paragraph_funcs.h: remove paragraph.h include
5119 * paragraph.h: delete NO_STD_LIST stuff
5121 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5123 * buffer.h: remove paragraph.h include
5125 * ParagraphList.C: delete file
5127 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5129 * toc.C (getTocList): adjust
5131 * paragraph_pimpl.C (validate): adjust
5133 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5135 * paragraph.C (Paragraph): adjust
5136 (getPositionOfInset): use const_iterator, adjust
5137 (bibitem): use const_iterator, adjust
5138 (setInsetOwner): adjust
5140 * iterators.C (operator++): adjust
5142 * InsetList.[Ch]: Replace selfmade iterator with standard
5143 vector::iterator also introduce const_iterator. Remove getPos,
5144 getInset and setInset from InsetTable. Adjust accordingly.
5146 * BufferView.C (lockInset): adjust
5147 (ChangeInsets): adjust
5149 * tabular.[Ch]: delete commented same_id functions
5151 2003-05-28 John Levon <levon@movementarian.org>
5153 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5155 2003-05-28 André Pönitz <poenitz@gmx.net>
5157 * metricsinfo.[Ch]: remove 'fullredraw' member
5159 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5161 * lyxtextclass.C (operator): remove caching.
5163 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5167 * text2.C (cursorBottom): adjust
5168 (setCounter): use ParagraphList::find, adjust
5170 * text.C (workWidth): use ParagraphList::find, adjust
5172 * lyxcursor.C (LyXCursor): adjust
5174 * buffer.C (inset_iterator): adjust
5176 * ParagraphList.h: make iterator(value_type) private, make
5177 ParagraphList a friend of iterator.
5179 * ParagraphList.C (find): new function
5181 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5183 2003-05-27 André Pönitz <poenitz@gmx.net>
5185 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5187 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5189 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5191 2003-05-26 John Levon <levon@movementarian.org>
5193 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5195 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5197 * remove same_id from function signatures, adjust.
5199 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5203 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5205 * paragraph.C (Paragraph): get rid of same_ids parameter
5207 * ParagraphList.C (insert): adjust
5210 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * paragraph_funcs.C (breakParagraph): adjust
5213 (breakParagraphConservative): adjust
5215 * buffer.C (readParagraph): adjust
5217 * ParagraphList.C (insert): take a reference instead of a pointer
5220 * paragraph.[Ch] (id): new function
5222 * bufferlist.C (newFile): adjust
5224 * ParagraphList.C (ParagraphList): adjust
5226 (push_back): take a reference instead of a pointer.
5228 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5230 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5233 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5234 set else use old code.
5236 * ParagraphList.C: remove all NO_NEXT code and only compile this
5237 code of NO_STD_LIST is set.
5239 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5241 * BufferView_pimpl.C:
5251 * graphics/GraphicsConverter.C:
5252 * graphics/PreviewLoader.C: header adjustment
5254 2003-05-23 Angus Leeming <leeming@lyx.org>
5256 * LaTeXFeatures.[Ch] (useBabel): new method.
5257 * bufferparams.C (writeLaTeX): use it.
5259 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5261 * ParagraphList.h (set): remove unused function.
5263 2003-05-23 André Pönitz <poenitz@gmx.net>
5266 * BufferView_pimpl.C:
5270 * undo_funcs.C: setUndo reworked
5272 * iterators.[Ch]: add access to topmost ParagraphList
5274 * lyxtext.[Ch] (workWidth): add a const
5276 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5278 * texrow.[Ch] (increasePos): remove function
5279 * exporter.C (export): removed unused var and outdated comment
5281 2003-05-23 Angus Leeming <leeming@lyx.org>
5283 * latexrunparams.h: rename fragile as moving_arg.
5284 * paragraph.C (simpleTeXOnePar): ditto.
5285 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5287 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5289 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5291 (textUndoOrRedo): comment out a currently unused var.
5293 * paragraph.h (NO_NEXT): enable NO_NEXT
5295 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5297 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5299 * exporter.C (Export): adjust for removeAutoInsets removal.
5301 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5303 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5305 * BufferView.[Ch] (removeAutoInsets): delete function
5307 2003-05-22 Angus Leeming <leeming@lyx.org>
5309 * latexrunparams.h: add a free_spacing variable.
5311 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5312 to pass moving_arg, as the data is stored in runparams.fragile.
5314 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5315 to Inset::latexOptional or to simpleTeXOnePar.
5317 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5318 free_spacing arg to Inset::latexOptional.
5320 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5323 2003-05-22 Angus Leeming <leeming@lyx.org>
5325 * latexrunparams.h: add fragile and use_babel variables.
5327 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5328 * buffer.C (makeLaTeXFile): store this returned value in
5329 runparams.use_babel, thus passing it to the inset::latex methods.
5331 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5332 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5334 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5335 longer has a fragile arg, as it is stored in runparams.fragile.
5337 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5338 moving_arg parameter as the data is stored in runparams.fragile.
5340 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5341 a fragile parameter as the data is stored in runparams.fragile.
5343 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5345 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5347 2003-05-22 Angus Leeming <leeming@lyx.org>
5349 * latexrunparams.h: add a 'bool nice' which defaults to false.
5351 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5352 now encapsulated within runparams.
5354 * bufferlist.C (updateIncludedTeXfiles):
5355 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5357 2003-05-22 Angus Leeming <leeming@lyx.org>
5359 * latexrunparams.h: new file containing struct LatexRunParams.
5360 * Makefile.am: add new file.
5362 * LaTeX.[Ch] (c-tor, run):
5363 * buffer.[Ch] (makeLaTeXFile):
5364 * bufferlist.[Ch] (updateIncludedTeXfiles):
5365 * converter.C (convert, scanLog):
5366 * converter.[Ch] (runLaTeX):
5367 * exporter.C (Export):
5368 * paragraph.[Ch] (simpleTeXOnePar):
5369 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5370 * paragraph_funcs.[Ch] (latexParagraphs):
5371 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5372 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5373 pass around a LatexRunParams parameter.
5375 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5377 * paragraph.[Ch]: remove unused constructor
5379 * ParagraphList.C (erase): new function, taking two iterators
5381 2003-05-22 André Pönitz <poenitz@gmx.net>
5383 * undo_funcs.C: remove duplicated code
5385 * iterator.[Ch]: operator=
5387 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5389 * tabular.C (SetMultiColumn): ws changes
5391 * rowpainter.C (paintFirst): get rid of a ->previous
5393 * lyx_cb.C (getPossibleLabel): parlist simplification
5395 * BufferView.C (ChangeInsets): simplify slightly.
5397 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5399 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5400 * lfuns.h: new LFUN_SPACE
5401 * lyxfunc.C: protected space has a new lfun
5402 * paragraph_funcs.C: read new space insets
5404 * factory.C: handle new space insets
5406 2003-05-22 André Pönitz <poenitz@gmx.net>
5409 * BufferView_pimpl.C:
5412 * undo_funcs.C: return a ParIterator from getParFromID.
5414 * iterators.[Ch]: add two const's
5416 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5418 * toc.C (getTocList): adjust
5420 * iterators.[Ch]: rework for parlist
5422 * buffer.C (par_iterator_begin): adjust
5423 (par_iterator_end): adjust
5425 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5427 * BufferView.C (removeAutoInsets): adjust
5428 (ChangeInsets): adjust
5430 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5432 * text.C (top_y): fix bug 1110
5434 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5436 * errorlist.[Ch]: added
5439 * BufferView_pimpl.C:
5440 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5443 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5445 * Makefile.am: ensure that lyx is relinked upon changes to the
5446 various "convenience" libs.
5448 2003-05-20 Angus Leeming <leeming@lyx.org>
5450 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5451 files are compiled in alphabetical order again.
5453 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5455 2003-05-19 Angus Leeming <leeming@lyx.org>
5457 * gettext.[Ch]: remove "char const * _(char const *)".
5459 2003-05-19 André Pönitz <poenitz@gmx.net>
5461 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5470 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5472 2003-05-19 André Pönitz <poenitz@gmx.net>
5476 * lyxtextclass.[Ch]:
5478 * paragraph_funcs.[Ch]:
5480 * text3.C: more insetenv work
5482 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5484 * ParagraphParameters.C (params2string): small bug fixed
5486 2003-05-16 André Pönitz <poenitz@gmx.net>
5489 * bufferview_funcs.C: patch from Kornel Benko to prevent
5490 crash when _(...) is called twice in a statement
5492 2003-05-16 André Pönitz <poenitz@gmx.net>
5499 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5501 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5503 * lyx_main.C (init): remove spurious static_cast
5505 2003-05-14 André Pönitz <poenitz@gmx.net>
5507 * BufferView.C: fix format string
5509 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5511 * BufferView.[Ch] (insertErrors): removed
5512 * BufferView.[Ch] (showErrorList): added
5513 * buffer.C (runChkTeX):
5514 * converter.C (scanLog): call showErrorList instead of inserterrors
5516 2003-05-13 André Pönitz <poenitz@gmx.net>
5518 * BufferView_pimpl.C:
5520 * bufferview_func.C:
5527 * tabular_funcs.h: tostr() from its own header
5529 * ParagraphParameters.C:
5534 * text3.C: STRCONV()
5536 2003-05-12 André Pönitz <poenitz@gmx.net>
5539 * BufferView_pimpl.C:
5543 * ParagraphParameters.C:
5547 * bufferview_funcs.C:
5560 * paragraph_funcs.C:
5564 * text3.C: boost::format -> bformat all over the place
5567 2003-05-09 André Pönitz <poenitz@gmx.net>
5569 * LColor.[Ch]: Pimpl the #include <map> away
5571 2003-05-09 John Levon <levon@movementarian.org>
5573 * bufferlist.C: never remove emergency saves
5575 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * Makefile.am: better lib building
5579 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5581 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5583 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5584 (simpleTeXSpecialChars): adjust
5585 (simpleTeXSpecialChars): adjust
5586 * paragraph.C (simpleTeXOnePar): adjust
5587 * buffer.C (makeLaTeXFile): adjust
5589 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5591 * text2.C (changeDepth): parlist cleanup
5592 (getColumnNearX): ditto
5594 * rowpainter.C (getLabelFont): parlist cleanup
5596 * bufferlist.C (newFile): parlist cleanup
5598 * CutAndPaste.C (eraseSelection): parlist cleanup
5600 * BufferView_pimpl.C (trackChanges): parlist cleanup
5603 * BufferView.C (lockInset): parlist cleanup.
5604 (ChangeInsets): ditto
5606 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5608 * CutAndPaste.h: Update file header.
5610 * CutAndPaste.C: Update file header.
5611 Store the parts cut out of the Document in a limited_stack.
5612 (copySelection): adjust
5613 (pasteSelection): new function, takes the index in the limited stack.
5614 (nrOfParagraphs): adjust
5615 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5616 simplify error inset insertion.
5617 (checkPastePossible): adjust
5619 2003-05-06 John Levon <levon@movementarian.org>
5621 * text2.C: don't cast wrap inset to float
5623 2003-05-05 André Pönitz <poenitz@gmx.net>
5626 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5628 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5629 few naked Paragraph *.
5631 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5633 * bufferparams.C: Output warning if a document with missing
5634 TeX document class is loaded
5635 * exporter.C: Disable TeX exports if the document class is missing
5638 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5639 isTeXClassAvailable()
5641 2003-05-03 John Levon <levon@movementarian.org>
5644 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5645 explicit cursor show/hide
5647 * BufferView_pimpl.h:
5648 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5649 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5651 * lyxfunc.C: hide cursor before dispatching.
5656 * text3.C: remove explicit cursor hides
5658 2003-05-02 André Pönitz <poenitz@gmx.net>
5660 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5663 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5666 * text2.C: tiny whitespace
5668 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5670 * undo_funcs.C: almost only ws changes.
5672 * ParagraphList.C (splice): just return if pl is empty.
5674 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5676 * ParagraphList.C (splice): new function.
5678 * CutAndPaste.C (pasteSelection): use it
5680 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * CutAndPaste.C (pasteSelection): remove the last next and
5683 previous from this file.
5685 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5687 * CutAndPaste.C (pasteSelection): more clean up, user proper
5688 ParagraphList functions for pasteing.
5690 * ParagraphList.C (insert): new function, three arg insert
5692 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5694 * ParagraphList.C (insert): new function, three arg insert
5696 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5699 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5701 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5703 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5705 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5707 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5709 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5710 (copySelection): clean up a bit.
5711 (pasteSelection): use make_pair
5713 * ParagraphList.C (ParagraphList): implement copy constructor
5714 (operator=): implement, base on copy constructor.
5717 * paragraph.C (erase): return a bool
5719 * paragraph_pimpl.C (erasePos): remove function, move contents...
5720 (erase): ... here. Return a bool.
5721 (erase): call erase instead of erasePos.
5723 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5725 * ParagraphList.h: define PitPosPair
5726 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5727 ParagraphList, fix a bug on pasting multiple pars
5728 * text2.C: change interface to C&P
5730 2003-04-30 André Pönitz <poenitz@gmx.net>
5732 * undo_func.C: revert part of yesterday's patch 2
5734 2003-04-30 John Levon <levon@movementarian.org>
5736 * LColor.C: s/tabular/table/
5738 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5740 * text3.C (dispatch): do not convert iterator -> pointer
5741 * undo_funcs.C (setCursorParUndo): ditto
5742 * text_funcs.C (transposeChars): ditto
5744 * text2.C (setLayout): ws changes only
5746 * text.C (breakParagraph): do not convert iterator -> pointer
5748 (acceptChange): ditto
5749 (rejectChange): ditto
5754 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5757 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5759 * text3.C (gotoInset): YABG (yet another bad getChar)
5761 2003-04-29 André Pönitz <poenitz@gmx.net>
5763 * paragraph.h: make operator= private unimplemented as long as
5766 * ParagraphList.C: whitespace
5769 * paragraph_pimpl.[Ch]:
5770 * paragraph_funcs.C:
5772 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5775 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5777 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5779 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5780 * paragraph.[Ch] (erase):
5781 * paragraph_pimpl.[Ch] (erase): change return type and value
5782 * text2.C (cutSelection): some rework
5784 2003-04-28 John Levon <levon@movementarian.org>
5786 * bufferlist.C: changes for unsaved changes dialog
5788 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5790 * bufferlist.C (newFile): set language (messages_) for new
5793 * buffer.C (readFile): ws changes only.
5795 2003-04-28 André Pönitz <poenitz@gmx.net>
5800 * BufferView_pimpl.C:
5801 * BufferView.C: getParFromID related ParagraphList::iterator changes
5803 2003-04-28 André Pönitz <poenitz@gmx.net>
5805 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5808 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5810 * messages.C: remove one more localedir class variable.
5812 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5814 * messages.C (getLocaleDir): singleton generation function
5816 (Messages): add a default constructor.
5818 * main.C (main): do not setup localedir here, do not call
5821 * gettext.C (_): use it.
5822 (gettext_init): delete funciton
5824 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5826 * gettext.C (getLyXMessages): new singleton generating function.
5828 * buffer.C (updateDocLang): adjust
5830 * Makefile.am (messages.o): add target
5831 (main.o): remove target
5833 2003-04-27 John Levon <levon@movementarian.org>
5838 * lyxvc.C: specify cancel button in Alert::prompt
5840 2003-04-26 John Levon <levon@movementarian.org>
5845 * LyXAction.C: add LFUN_INSET_SETTINGS
5847 * lyxfunc.C: don't enable tabular-feature when there's
5848 just any locking inset
5850 2003-04-26 John Levon <levon@movementarian.org>
5852 * bufferlist.C: re-add Cancel to buffer close question
5854 * lyxfunc.C: fix import UI a bit
5856 2003-04-25 John Levon <levon@movementarian.org>
5858 * gettext.C: remove the broken asserts for now
5860 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5862 * messages.C: make case where setlocale cannot comply work better.
5864 * buffer.C (updateDocLang): new function
5865 (changeLanguage): use it
5868 * text2.C (setCounter): use B_ a bit.
5870 * lyxlayout.C (Read): be sure to trim the label strings.
5872 * messages.C (Messages): fix typo in comment
5874 * buffer.C (readFile): set message_ after file is loaded.
5875 (makeDocBookFile): remove double return
5876 (changeLanguage): reset message_ upon language change.
5877 (B_): new func, use this to get translated buffer strings.
5879 * main.C: add myself and Jean Marc as authors.
5881 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5883 * messages.[hC]: pimplify Messages, and three different pimpls to be
5884 used in different circumstances.
5886 * gettext.[Ch]: change for use with new message code.
5888 2003-04-24 André Pönitz <poenitz@gmx.net>
5890 * factory.C: support for eqref
5892 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5894 * messages.[Ch]: add missing char
5896 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5898 * messages.[Ch]: New files
5900 2003-04-18 John Levon <levon@movementarian.org>
5904 * BufferView_pimpl.C:
5908 * text2.C: remove layout-copy/paste (bug 778)
5910 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5912 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5914 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5916 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5917 if they succeed. Act accordingly.
5919 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5921 * text2.C (setCharFont): adjust
5922 (setCounter): adjust
5923 (insertStringAsLines): adjust
5925 * text.C (leftMargin): adjust
5926 (setHeightOfRow): adjust
5928 * rowpainter.C (paintFirst): adjust
5931 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5933 (isFirstInSequence): ditto
5934 (getEndLabel): ditto
5937 * paragraph.C (getParLanguage): comment out some hard stuff.
5939 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5941 (simpleDocBookOnePar): ditto
5942 (makeDocBookFile): use ParagraphList::iterator
5944 * CutAndPaste.C (pasteSelection): adjust
5946 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5948 * text2.C (getFont): adjust
5949 (getLayoutFont): adjust
5950 (getLabelFont): adjust
5952 * paragraph_funcs.C (TeXOnePar): adjust
5954 * buffer.C (simpleLinuxDocOnePar): adjust
5955 (simpleDocBookOnePar): adjust
5957 * CutAndPaste.C (pasteSelection): adjust
5959 * BufferView.C (getEncoding): adjust
5961 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5963 2003-04-16 John Levon <levon@movementarian.org>
5965 * lyxfind.C: use parlist stuff for search/changes
5967 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5969 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5971 * text2.C (deleteEmptyParagraphMechanism): adjust
5973 * text2.[Ch] (ownerParagraph): delete func (both of them
5975 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5977 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5979 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5981 * ParagraphList.C: prepare for NO_NEXT
5983 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5985 * text2.C (getFont): adjust
5986 (getLayoutFont): adjust
5987 (getLabelFont): adjust
5989 * paragraph.C (getFont): adjust
5990 (getLabelFont): adjust
5991 (getLayoutFont): adjust
5993 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5995 2003-04-15 John Levon <levon@movementarian.org>
5999 * lyx_main.C: handle Include in .ui files
6001 2003-04-15 John Levon <levon@movementarian.org>
6003 * MenuBackend.C: make the doc files length shorter
6006 * ToolbarBackend.C: handle toolbar placement flags,
6009 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6011 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6014 * paragraph_funcs.C (TeXOnePar): adjust
6016 * paragraph.C (getLabelFont): add outerfont arg, adjust
6017 (getLayoutFont): ditto
6018 (simpleTeXOnePar): adjust
6020 * paragraph_pimpl.C (realizeFont): delete func
6022 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6024 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6025 row argument, constify cur argument.
6027 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6029 * text2.C (getFont): adjust
6030 (getLayoutFont): adjust
6031 (getLabelFont): adjust
6033 * paragraph_funcs.C (TeXOnePar): adjust
6034 (outerFont): new func...
6035 (realizeFont): ...moved out from here, changed this to facilitate
6038 * paragraph.C (getFont): take outerfont as arg, adjust
6039 (simpleTeXOnePar): add outerfont arg, adjust
6041 * buffer.C (simpleLinuxDocOnePar): adjust
6042 (simpleDocBookOnePar): adjust
6044 * CutAndPaste.C (pasteSelection): adjust
6046 * BufferView.C (getEncoding): adjust
6048 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6050 * text2.C (setCharFont): adjust
6051 (setCounter): adjust
6053 * text.C (leftMargin): adjust
6054 (setHeightOfRow): adjust
6056 * rowpainter.C (paintFirst): adjust
6059 * paragraph_pimpl.C (realizeFont): adjust
6061 * paragraph.C (isFirstInSequence): move from here...
6062 * paragraph_funcs.C (isFirstInSequence): ...to here
6064 * paragraph.C (outerHook): move from here...
6065 * paragraph_funcs.C (outerHook): ...to here
6067 * paragraph.C (depthHook): move from here...
6068 * paragraph_funcs.C (depthHook): ...to here
6070 * paragraph.C (getEndLabel): move from here...
6071 * paragraph_funcs.C (getEndLabel): ...to here
6073 * text2.C (realizeFont): move from here...
6074 * paragraph_funcs.C (realizeFont): ...to here
6076 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6078 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6080 2003-04-14 Angus Leeming <leeming@lyx.org>
6082 * LColor.[Ch]: scrap LColor mathcursor.
6084 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6086 * lyxlex.[Ch] (text): delete function
6087 * trans.C (Load): adjust
6088 * paragraph_funcs.C (readParToken): adjust
6090 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6092 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6093 vector<char> instead of a char[].
6095 * lyxlex_pimpl.C (getString): adjust
6097 (lex): use getString
6101 * lyxlex.C (text): use pimpl_->getString()
6105 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6107 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6108 (makeFontEntriesLayoutSpecific): temp var for par.size()
6109 (setLayout): temp var for ownerParagraphs().end()
6110 (fullRebreak): temp var for rows().end()
6111 (selectionAsString): temp var for boost::next(startpit), realize
6112 that the while really is a regular for loop.
6113 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6114 setCursor in one place.
6115 (setParagraph): temp vr for ownerParagraphs().end()
6116 (updateCounters): make the while loop a for loop
6117 (cutSelection): temp var for ownerParagraphs().end()
6118 (updateInset): make the do {} while() a regular for loop
6119 (getCursorX): use temp vars
6120 (setCurrentFont): use temp vars
6121 (getColumnNearX): use temp vars
6123 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6125 * text.C (transformChar): use temp var for getChar
6126 (computeBidiTables): use temp var for row->par()
6127 (fill): move temp vars for row->par() and pit->layout() earlier in
6129 (labelFill): use temp var for row->par()
6130 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6131 asc and desc, realize that pit never changes and that firstpit is
6132 just a duplicate and not needed. Exchange rit->par() with pit in a
6134 (breakAgain): use a temp var for boost::next(rit)
6135 (breakAgainOneRow): ditto
6136 (breakParagraph): use a temp var for rows().begin()
6137 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6138 (cursorRightOneWord): use temp var for cursor.par() and
6139 cursor.pos(), remove usage of tmpcursor.
6140 (cursorLeftOneWord): use temp var for cursor.par() and
6141 cursor.pos() only set cur at end of function.
6143 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6145 * text.C, text2.C: exchange all usage of Paragraph::next with
6146 boost::next(ParagraphList::iterator)
6148 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6150 * text2.C (cursorTop): simplify implementation
6151 (cursorBottom): ditto
6152 (setParagraph): use ParagraphList::iterator
6153 (setCurrentFont): adjust
6154 (getColumnNearX): adjust
6155 (cursorRight): adjust
6156 (cursorLeft): remove usage of Paragraph::previous
6157 (cursorUpParagraph): ditto
6158 (deleteEmptyParagraphMechanism): slight cleanup
6160 * text.C (isBoundary): take a Paragraph const & instead of a
6162 (addressBreakPoint): ditto
6163 (leftMargin): remove usage of Paragraph::previous.
6164 (setHeightOfRow): ditto
6165 (cursorLeftOneWord): ditto
6166 (selectNextWordToSpellcheck): ditto
6169 (breakParagraph): remove one usage of Paragraph::next
6170 (redoParagraph): ditto
6171 (acceptChange): ditto
6172 (insertChar): adjust
6173 (rowBreakPoint): adjust
6175 * bufferview_funcs.C (toggleAndShow): adjust
6177 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6179 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6180 methods to access it.
6182 * text.C: Added updateRowPositions to compute all row positions.
6183 Make top_y and getRowNearY() to use the cached y position
6185 2003-04-11 John Levon <levon@movementarian.org>
6187 * text.C (rowBreakPoint): reintroduce the labelEnd
6188 checks, code copied from the row fill stuff. Deep voodoo.
6190 * text.C (fill): add a comment and debugging for the
6193 2003-04-11 John Levon <levon@movementarian.org>
6195 * text.C: make sure fullrow insets get wrapped to the next line,
6196 even when they're in a manual label
6198 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6200 * text2.C (insertParagraph): make it take ParagraphList::iterator
6202 (setLayout): make it return ParagraphList::iterator
6203 (redoParagraphs): ditto
6205 (checkParagraph): ditto
6207 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6209 * text2.C: adjust several funcs.
6210 (realizeFont): take a ParagraphList::iterator as arg.
6211 (getLayoutFont): ditto
6212 (getLabelFont): ditto
6213 (setCharFont): ditto
6215 * text.C: adjust several funcs.
6217 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6219 * text.C (selectNextWordToSpellcheck): don't accidentally
6222 2003-04-10 John Levon <levon@movementarian.org>
6224 * ToolbarBackend.C (getIcon): special handling for
6227 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6229 * text2.C (cursorRight): a getChar assert fixed
6231 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6233 * text2.C (getFont): change to take a ParagraphList::iterator
6234 instead of Paragraph*
6235 Adjust several functions.
6237 * text.C (transformChar): change to take a ParagraphList::iterator
6238 instead of Paragraph*
6239 (singleWidth): ditto
6240 Adjust several functions.
6242 * rowpainter.C: adjust several functions
6243 * rowpainter.h:store a ParagraphList::iterator and not a
6247 2003-04-09 John Levon <levon@movementarian.org>
6252 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6253 and the "help" bits as well
6255 2003-04-09 John Levon <levon@movementarian.org>
6258 * ToolbarBackend.C: allow multiple toolbars
6260 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6262 * undo_funcs.C (setCursorParUndo): adjust
6264 * text_funcs.C (transposeChars): adjust
6266 * text3.C (gotoNextInset): adjust
6269 * text2.C (setLayout): adjust
6270 (changeDepth): adjust
6272 (redoParagraphs): adjust
6273 (selectionAsString): adjust
6274 (setParagraph): adjust
6275 (insertInset): adjust
6276 (cutSelection): adjust
6277 (copySelection): adjust
6278 (pasteSelection): adjust
6279 (insertStringAsLines): adjust
6280 (updateInset): adjust
6281 (setCursor): change to take a ParagraphList::iterator parameter
6282 (setCursorIntern): change to take a ParagraphList::iterator parameter
6283 (setCurrentFont): adjust
6284 (cursorLeft): adjust
6285 (cursorRight): adjust
6286 (deleteEmptyParagraphMechanism): adjust
6288 * text.C (breakParagraph): adjust
6289 (insertChar): adjust
6290 (acceptChange): adjust
6291 (rejectChange): adjust
6292 (selectNextWordToSpellcheck): adjust
6293 (changeCase): adjust
6297 * lyxfind.C (SearchForward): adjust
6298 (SearchBackward): adjust
6299 (nextChange): adjust
6301 * lyxcursor.C (par): adjust
6303 * lyxcursor.h: store a ParagraphList::iterator instead of a
6306 * lyx_cb.C (getPossibleLabel): adjust
6308 * bufferview_funcs.C (toggleAndShow): adjust
6310 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6313 * BufferView.C (removeAutoInsets): adjust
6314 (lockedInsetStoreUndo): adjust
6316 2003-04-09 John Levon <levon@movementarian.org>
6318 * ToolbarBackend.C: try icon without argument
6319 if with argument fails
6321 2003-04-08 John Levon <levon@movementarian.org>
6324 * ToolbarBackend.C: add getIcon(), handle tooltip,
6325 and change from "Icon" to "Item".
6327 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6329 * BufferView.C (lockInset): another bad getchar crunched
6331 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6333 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6336 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6338 * lyxfind.C (searchForward, searchBackwards): bug 782
6340 2003-04-07 John Levon <levon@movementarian.org>
6342 * paragraph.C: remove dead comment
6344 * text.C: remove troublesome depth-fiddling code
6345 in leftMargin() and rightMargin() (bug 1017)
6347 * text.C: fix breaking of rows in nested lists
6350 * text2.C (updateCounters): fix up depth values
6353 2003-04-07 John Levon <levon@movementarian.org>
6355 * BufferView_pimpl.C: clear message when doc finishes resizing,
6356 and after a mouse event
6358 * lyxfunc.C: clear message after exiting inset
6360 2003-04-07 John Levon <levon@movementarian.org>
6362 * bufferview_funcs.C: show math status not outside
6363 status in the statusbar
6365 2003-04-07 John Levon <levon@movementarian.org>
6367 * lyxfunc.C: note status changed after a depth change
6369 2003-04-04 Angus Leeming <leeming@lyx.org>
6371 * LaTeX.h: move AuxInfo operator==, != out of line.
6372 Remove LaTeX virtual destructor; nothing derives from it.
6373 Move operator()() out of public area and rename it startscript().
6374 Change protected for private.
6376 2003-04-04 Angus Leeming <leeming@lyx.org>
6379 * text2.C: remove unneeded #includes.
6381 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6383 * text2.C (dEPM): fix the heigth of the next row
6385 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6387 * text.C: squashed an invalid getChar requester + some ws changes
6389 2003-04-03 John Levon <levon@movementarian.org>
6391 * bufferview_funcs.h:
6392 * bufferview_funcs.C:
6395 * text2.C: make getStatus work for the env depth lfuns
6397 2003-04-03 John Levon <levon@movementarian.org>
6399 * bufferview_funcs.h:
6400 * bufferview_funcs.C:
6403 * text2.C: parlistize decDepth(), by merging it with incDepth()
6405 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6407 * lyxrow.h: store a ParagraphList::iterator instead of a
6408 Paragraph* and adjust other class functions to suit.
6410 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6413 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6415 * text2.C (setCursor): do not anchor to cursor row for the time being
6417 2003-04-02 John Levon <levon@movementarian.org>
6424 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6426 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * paragraph.h: make ParagraphList and ParagraphList::iterator
6429 friends of Paragraph.
6431 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6433 * ParagraphList.C: Use the private next_ and previous_ from
6436 2003-04-01 John Levon <levon@movementarian.org>
6440 * Makefile.am: rename, remove defaults gunk
6443 * MenuBackend.C: remove defaults gunk
6446 * Languages.C: remove defaults gunk
6449 * lyx_main.C: error out if files couldn't be found.
6451 2003-04-02 John Levon <levon@movementarian.org>
6453 * text2.C: make incDepth() use parlist
6455 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6457 * undo_funcs.C (firstUndoParagraph): adjust
6459 * text3.C (gotoInset): adjust
6460 (dispatch): adjust, and rewrite loop.
6462 * text2.C (init): adjust, and rewrite loop.
6463 (redoParagraphs): adjust
6464 (updateInset): adjust, and rewrite loop.
6465 (deleteEmptyParagraphMechanism): adjust
6467 * tabular.C (LyXTabular): adjust
6468 (SetMultiColumn): adjust
6471 * lyxtext.[Ch] (ownerParagraph): delete function
6472 (ownerParagraphs): new function returns a ParagraphList.
6474 * BufferView.C (removeAutoInsets): adjust
6475 (insertErrors): adjust
6476 (setCursorFromRow): adjust
6478 2003-04-01 Angus Leeming <leeming@lyx.org>
6480 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6483 2003-04-02 John Levon <levon@movementarian.org>
6489 * text_funcs.C: make transposeChars a free function
6491 * lyxrow_funcs.C: remove wrong comment
6493 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6496 * rowpainter.C: adjust
6501 * lyxrow_funcs. [Ch]: new files
6503 * lyxrow.[Ch]: remove next and previous pointers
6504 (next,previous): remove accessor functions
6505 (isParEnd): move to lyxrow_funcs
6506 (lastPos): move to lyxrow_funcs
6507 (nextRowIsAllInset): move to lyxrow_funcs
6508 (lastPrintablePos): move to lyxrow_funcs
6509 (numberOfSeparators): move to lyxrow_funcs
6510 (numberOfHfills): move to lyxrow_funcs
6511 (numberOfLabelHfills): move to lyxrow_funcs
6512 (hfillExpansion): move to lyxrow_funcs
6516 * bufferview_funcs.C (toggleAndShow): adjust
6518 * RowList.h: Remove class RowList from file leave just a
6521 * RowList.C: delete file
6523 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6526 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6528 * text3.C (cursorPrevious): adjust
6529 (cursorNext): adjust
6532 * text2.C (redoHeightOfParagraph): adjust
6533 (redoDrawingOfParagraph): adjust
6536 * text.C (breakParagraph): adjust
6537 (insertChar): adjust
6540 * rowpainter.C (RowPainter): adjust
6541 (leftMargin): simplify and adjust
6542 (most rowpainter functions): adjust.
6544 * rowpainter.h: store the row as RowList::iterator not as Row*
6546 * lyxcursor.C (row): taka RowList::iterator as arg
6549 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6552 2003-04-01 Angus Leeming <leeming@lyx.org>
6554 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6555 stuff like bool Bool.
6557 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6559 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6562 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6564 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6567 * lyxtext.h (rows): drop one version and leve a const variant that
6568 returns a RowList::iterator.
6570 2003-03-31 Angus Leeming <leeming@lyx.org>
6572 * text.C (fill): ensure that the signature is the same as that in the
6575 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6577 * text2.C (redoParagraphs): adjust
6578 (updateCounters): adjust
6579 (checkParagraph): adjust
6580 (getColumnNearX): adjust and reformat a bit.
6582 * text.C (top_y): adjust
6584 (leftMargin): adjust
6585 (prepareToPrint): adjust
6587 (getRowNearY): adjust
6589 * lyxtext.h: make rowlist_ mutable.
6591 * RowList.h: add const_iterator
6592 * RowList.C: adjust for RowList::const_iterator.
6594 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6597 2003-03-31 John Levon <levon@movementarian.org>
6600 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6602 * lyx_main.C: set default fonts from using lyx_gui funcs
6604 * exporter.C: pdf_mode moved from lyxrc
6607 * lyxfunc.C: changes from above
6609 2003-03-31 John Levon <levon@movementarian.org>
6611 * lyx_main.C: fix to the last fix
6613 2003-03-31 John Levon <levon@movementarian.org>
6615 * bufferlist.C: "Load original" -> "Load Original"
6621 * format.C: more Alert cleanups
6623 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6625 * text2.C (removeParagraph): make it take a RowList::iterator as
6627 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6628 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6630 * text.C (anchor_row): make it take a RowList::iterator as arg,
6632 (computeBidiTables): make it take a const reference to Row instead
6633 of Row pointer, adjust.
6634 (leftMargin): make it take a RowList::iterator as arg, adjust.
6635 (rowBreakPoint): adjust
6636 (breakAgainOneRow): make it take a RowList::iterator as arg,
6638 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6640 * bufferview_funcs.C (toggleAndShow): adjust
6642 2003-03-30 John Levon <levon@movementarian.org>
6646 * boost-inst.C: moved to support
6648 * several files: changes as a result
6650 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6652 * text2.C (LyXText): adjust.
6654 (removeRow): make it take a RowList::iterator as arg, adjust.
6655 (fullRebreak): adjust
6656 (deleteEmptyParagraphMechanism): adjust
6657 (clearPaint): adjust
6660 * text.C (top_y): adjust
6661 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6662 (breakAgain): make it take a RowList::iterator as arg, adjust.
6663 (breakParagraph): adjust
6664 (insertChar): adjust
6667 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6668 need_break_row, and refresh_row.
6670 * text3.C (dispatch): adjust
6672 * text2.C (checkParagraph): adjust
6674 (setCursorFromCoordinates): adjust
6676 * text.C (top_y): adjust
6678 (getRow): make it return a RowList::iterator, adjust
6679 (getRowNearY): make it return a RowList::iterator, adjust
6681 * text2.C (init): adjust
6682 (insertRow): remove function
6683 (insertParagraph): adjust
6684 (redoParagraphs): adjust
6685 (fullRebreak): adjust
6686 (updateCounters): adjust
6688 * text.C (top_y): rewrite to use RowList iterators.
6690 (setHeightOfRow): rewrite to sue RowList iterators.
6691 (appendParagraph): adjust
6692 (breakAgain): adjust
6693 (breakAgainOneRow): adjust
6694 (breakParagraph): adjust
6696 (getRowNearY): adjust, and remove commented code.
6698 * lyxtext.h (firstRow): delete function
6699 (lastRow): delete function
6700 (rows): new function (const and non-const versions.)
6701 (insertRow): delete function
6703 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6705 2003-03-29 John Levon <levon@movementarian.org>
6707 * BufferView_pimpl.C: always update scrollbar top
6708 because pasting text when we're anchored could mean we
6709 miss an update altogether
6711 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * text2.C (init): use rowlist_.end() and not 0.
6714 (insertRow): change to take a RowList::iterator as arg, adjust
6716 (insertParagraph): change to take a RowList::iterator as arg,
6718 (redoParagraphs): remove some debug msgs.
6720 * text.C (appendParagraph): change to take a RowList::iterator
6721 arg, adjust for this.
6722 (breakAgain): add an assert
6723 (breakAgainOneRow): ditto
6725 2003-03-29 John Levon <levon@movementarian.org>
6727 * text2.C: do not clear selection after inc/decDepth
6730 2003-03-29 John Levon <levon@movementarian.org>
6733 * buffer.C: fix broken strerrors according to Lars
6735 2003-03-29 John Levon <levon@movementarian.org>
6737 * converters.C: more Alert cleanups
6739 2003-03-29 John Levon <levon@movementarian.org>
6741 * bufferview_funcs.C: remove pointless Alert
6743 * buffer.C: fix confusing error message when
6744 a template is chmoded 000
6746 2003-03-29 John Levon <levon@movementarian.org>
6750 * BufferView_pimpl.C: Alert fixes
6754 * tabular-old.C: remove unused table compat reading
6756 2003-03-29 John Levon <levon@movementarian.org>
6761 * lyx_cb.C: more Alert cleanups
6763 * lyxfunc.C: don't allow chktex if not latex document
6765 2003-03-29 John Levon <levon@movementarian.org>
6769 * buffer.C: warnings pushed down from support/,
6772 2003-03-29 John Levon <levon@movementarian.org>
6774 * lyxfunc.C: safety check for C-r (revert)
6776 2003-03-29 John Levon <levon@movementarian.org>
6779 * bufferlist.C: several UI fixes using Alert::prompt.
6780 Fix the pointless looping quit code. Fix stupid revert
6785 * lyx_cb.C: use Alert::prompt
6787 * lyx_main.C: remove a silly question
6789 * lyxfunc.C: remove a couple of silly questions,
6792 2003-03-28 John Levon <levon@movementarian.org>
6794 * text2.C: fix bug 974 (End on empty par)
6796 2003-03-28 John Levon <levon@movementarian.org>
6798 * BufferView_pimpl.C:
6800 * lfuns.h: remove do-nothing math greek lfuns
6802 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6804 * lyxgluelength.h (isValidGlueLength): add default arg on
6805 parameter 2. Remove default arg from friend in class.
6807 * lyxlength.h (isValidLength): add default arg on parameter 2.
6808 Remove default arg from friend in class.
6810 * text2.C (LyXText): adjust, initialize refresh_row.
6814 (insertParagraph): adjst
6815 (redoParagraphs): adjust
6816 (fullRebreak): adjust
6817 (updateCounters): adjust
6818 (deleteEmptyParagraphMechanism): first attempt at fixing a
6821 * text.C (top_y): adjust
6822 (setHeightOfRow): adjust
6824 (getRowNearY): adjust
6826 * lyxtext.h: include RowList.h
6827 (~LyXText): not needed anymore, deleted.
6828 (firstRow): modify for RowList
6829 (lastRow): new function
6830 Delete firstrow and lastrow class variables, add a Rowlist
6831 rowlist_ class variable.
6833 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6836 * RowList.C (insert): fix case where it == begin().
6838 2003-03-26 Angus Leeming <leeming@lyx.org>
6840 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6841 the thesaurus dialog.
6843 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6845 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6847 * RowList.[Ch]: new files
6849 * ParagraphList.C (erase): handle the case where it == begin
6852 2003-03-25 John Levon <levon@movementarian.org>
6856 * aspell.C: add new aspell support
6859 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6862 2003-03-25 Angus Leeming <leeming@lyx.org>
6865 * LyXAction.C (init): new LFUN_INSET_INSERT.
6867 * BufferView_pimpl.C (dispatch): split out part of the
6868 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6870 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6873 2003-03-25 Angus Leeming <leeming@lyx.org>
6875 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6877 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6880 * text3.C: remove useless row->height(0)
6882 2003-03-25 John Levon <levon@movementarian.org>
6886 * text3.C: rename the refreshing stuff to better names
6888 2003-03-24 John Levon <levon@movementarian.org>
6890 * BufferView_pimpl.h:
6891 * BufferView_pimpl.C: update layout choice on a mouse
6894 2003-03-23 John Levon <levon@movementarian.org>
6896 * Makefile.am: fix commandtags.h reference
6898 2003-03-22 John Levon <levon@movementarian.org>
6900 * BufferView_pimpl.C:
6905 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6907 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6910 * text.C: take the rtl methods out of line
6912 2003-03-21 André Pönitz <poenitz@gmx.net>
6914 * metricsinfo.[Ch]: new files containing structures to be passed around
6915 during the two-phase-drawing...
6917 2003-03-21 André Pönitz <poenitz@gmx.net>
6919 * lyxtextclass.C: read 'environment' tag.
6921 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6923 * text2.C (removeRow): fix bug 964
6925 2003-03-20 John Levon <levon@movementarian.org>
6929 * text2.C: paint cleanups. Inset::update() dropped font
6932 2003-03-19 John Levon <levon@movementarian.org>
6934 * lyxfunc.C: only fitcursor/markDirty if available()
6936 2003-03-19 John Levon <levon@movementarian.org>
6938 * commandtags.h: rename to ...
6940 * lfuns.h: ... this, and renumber / cleanup
6942 2003-03-19 John Levon <levon@movementarian.org>
6944 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6945 fit the cursor after an lfun
6949 * BufferView_pimpl.h:
6950 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6952 * LyXAction.C: layout-character should have ReadOnly
6954 * ParagraphParameters.C:
6956 * bufferview_funcs.C:
6963 * undo_funcs.C: changes from above
6965 2003-03-18 John Levon <levon@movementarian.org>
6967 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6968 remove it from update()
6970 * lyxfunc.C: update layout choice after an lfun
6972 * text3.C: remove extra updateLayoutChoice()s
6974 2003-03-18 John Levon <levon@movementarian.org>
6976 * text.C: top_y change means full repaint, fix
6977 a drawing bug with cursor movement
6979 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6983 * text2.C: anchor row on setCursor
6985 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6987 * lyxtext.h: remove almost all mutable keywords
6990 * text3.C: remove const keywords accordingly
6992 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6994 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6996 (TeXEnvironment): ditto
6999 2003-03-17 John Levon <levon@movementarian.org>
7001 * text.C (rowBreakPoint): remove attempt to fix displayed
7002 math insets inside a manual label
7004 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7006 * lyxtext.h: remove BufferView* as first arg from almost all class
7008 * other files: adjust.
7010 2003-03-17 John Levon <levon@movementarian.org>
7014 * text2.C: more paint cleanups
7016 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7019 * rowpainter.C: remove "smart" background painting code
7021 2003-03-16 John Levon <levon@movementarian.org>
7026 * text3.C: add helper functions for setting refresh_row/y
7028 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7030 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7031 newline inset which *can* get inserted in the pass_thru layouts.
7032 This is primarily for literate documents.
7034 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7036 * buffer.C: increment LYX_FORMAT to 223
7038 2003-03-14 André Pönitz <poenitz@gmx.net>
7040 * textclass.h: prepare for environment handling, ws changes
7041 * lyxlayout.C: read latexheader and latexfooter tags
7043 2003-03-14 John Levon <levon@movementarian.org>
7045 * text2.C: rewrite ::status() a bit
7047 2003-03-13 John Levon <levon@movementarian.org>
7049 * lyxtext.h: add some docs
7051 2003-03-13 John Levon <levon@movementarian.org>
7056 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7058 2003-03-13 John Levon <levon@movementarian.org>
7060 * text3.C: fix appendix redrawing
7062 2003-03-13 John Levon <levon@movementarian.org>
7064 * text.C (setHeightOfRow):
7066 * rowpainter.C: make appendix mark have the text
7067 "Appendix" so the user knows what it is
7070 * LColor.C: s/appendixline/appendix/ from above
7072 2003-03-13 John Levon <levon@movementarian.org>
7074 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7076 * text.C: fix a getChar(pos) bug properly
7078 2003-03-13 Angus Leeming <leeming@lyx.org>
7081 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7082 Probably only temporary. Let's see how things pan out.
7084 * BufferView.C (unlockInset):
7085 * BufferView_pimpl.C (fitCursor):
7086 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7088 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7089 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7091 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7092 new functions that convert ParagraphParameters to and from a string.
7094 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7095 BufferView::Pimpl's dispatch.
7096 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7098 2003-03-13 André Pönitz <poenitz@gmx.net>
7102 * factory.C: make it aware of InsetEnv
7104 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7106 * text2.C (setCursor): never ask for one past last
7107 (setCursor): add some debugging messages.
7109 * text.C (singleWidth): never ask for one past last
7110 (singleWidth): ditto
7112 (rightMargin): ditto
7113 (rowBreakPoint): ditto
7114 (setHeightOfRow): ditto
7115 (prepareToPrint): ditto
7117 * rowpainter.C (paintBackground): never ask for one past last
7118 (paintText): never ask for one past last
7120 * paragraph_pimpl.C (getChar): make the assert stricter, never
7121 allow the one past last pos to be taken
7123 * paragraph.C (getChar): ws changes only
7125 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7126 (numberOfSeparators): ditto
7127 (numberOfHfills): ditto
7129 2003-03-12 John Levon <levon@movementarian.org>
7135 * paragraph_funcs.C: fix per-buffer authorlists
7137 2003-03-12 John Levon <levon@movementarian.org>
7139 * text.C: fix newline in right address
7141 2003-03-12 Angus Leeming <leeming@lyx.org>
7143 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7144 duplicate those in LyXFunc::dispatch.
7148 * ToolbarDefaults.C:
7149 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7150 Add LFUN_FONTFREE_UPDATE.
7152 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7153 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7155 * bufferview_func.[Ch]: several new functions to facilliate
7156 transfer of data to and from the character dialog.
7158 2003-03-12 John Levon <levon@movementarian.org>
7163 * paragraph_funcs.C:
7164 * paragraph_pimpl.C:
7168 * text3.C: remove META_NEWLINE in favour of an inset
7171 * rowpainter.C: remove paintNewline (done by inset)
7173 2003-03-12 John Levon <levon@movementarian.org>
7175 * paragraph_pimpl.C: complain about bad getChar()s
7176 for a while at least
7178 2003-03-12 John Levon <levon@movementarian.org>
7181 * buffer.C: move paragraph read into a separate function,
7182 a little renaming to reflect that.
7185 * bufferparams.C: remove the author_ids map, not necessary now
7188 * factory.C: moved Buffer::readInset to here
7190 * paragraph_funcs.h:
7191 * paragraph_funcs.C: readParagraph free function moved from
7194 * tabular.C: name change
7196 2003-03-12 John Levon <levon@movementarian.org>
7199 * ParagraphParameters.C: move par params input to
7202 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7203 behave like a normal read from the stream wrt reading
7204 a line vs. a \\token
7206 2003-03-12 John Levon <levon@movementarian.org>
7209 * ParagraphParameters.h:
7210 * ParagraphParameters.C: move output code to a
7213 2003-03-12 John Levon <levon@movementarian.org>
7215 * BufferView.C (insertLyXFile):
7218 * tabular.C: use a parlist iterator for creating the
7221 2003-03-12 John Levon <levon@movementarian.org>
7223 * buffer.C: make current_change static local not
7226 2003-03-12 John Levon <levon@movementarian.org>
7228 * buffer.C: fix insertStringAsLines for change tracking
7230 2003-03-12 John Levon <levon@movementarian.org>
7237 * bufferparams.C: move author list into params. Rename some
7238 functions. Move the header reading into a separate token
7239 loop. Move the header token reading into BufferParams.
7241 2003-03-12 John Levon <levon@movementarian.org>
7243 * changes.C: put debug inside lyxerr.debugging() checks
7245 2003-03-11 André Pönitz <poenitz@gmx.net>
7247 * factory.C: make it aware of InsetHFill
7249 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7251 * buffer.C (latexParagraphs): move function from here...
7252 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7255 2003-03-10 Angus Leeming <leeming@lyx.org>
7257 * LyXAction.C (init): fix bug in poplating array with multiple entries
7258 with the same LFUN (spotted by JMarc).
7260 2003-03-10 John Levon <levon@movementarian.org>
7263 * text2.C: move getColumnNearX() near its
7266 2003-03-10 John Levon <levon@movementarian.org>
7268 * text.C: fix break before a minipage
7270 2003-03-10 John Levon <levon@movementarian.org>
7272 * text.C: fix the last commit
7274 2003-03-09 John Levon <levon@movementarian.org>
7278 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7279 bug 365 (don't break before insets unless needed). Don't
7280 return a value > last under any circumstances.
7282 2003-03-09 Angus Leeming <leeming@lyx.org>
7284 * BufferView_pimpl.C (trackChanges, dispatch): call
7285 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7287 2003-03-09 Angus Leeming <leeming@lyx.org>
7289 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7290 than Dialogs::showAboutlyx().
7292 2003-03-09 Angus Leeming <leeming@lyx.org>
7294 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7295 than Dialogs::showTabularCreate().
7297 2003-03-09 John Levon <levon@movementarian.org>
7301 * text2.C: 3rd arg to nextBreakPoint was always the same.
7304 2003-03-08 John Levon <levon@movementarian.org>
7311 * text2.C: Remove the "main" bit from the "main body"
7314 2003-03-08 John Levon <levon@movementarian.org>
7316 * text.C (leftMargin): The left margin of an empty
7317 manual label paragraph should not include the label width
7320 * text.C (prepareToPrint): don't attempt to measure hfills
7321 for empty manual label paragraphs - the answer should be 0
7323 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7325 * CutAndPaste.C: remove commented code and reindent.
7327 2003-03-08 John Levon <levon@movementarian.org>
7330 * lyxfunc.C: move reloadBuffer()
7333 * BufferView.C: to here
7335 * lyxvc.C: add comment
7338 * vc-backend.C: call bv->reload() to avoid
7339 getStatus() check on MENURELOAD
7341 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7343 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7344 to an old format .dep file.
7346 2003-03-07 Angus Leeming <leeming@lyx.org>
7348 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7349 when the LFUN_MOUSE_RELEASE should have been handled by
7350 inset->localDispatch.
7352 2003-03-07 Angus Leeming <leeming@lyx.org>
7354 * BufferView_pimpl.C (dispatch):
7355 * LyXAction.C (init):
7356 * ToolbarDefaults.C (init):
7358 * lyxfunc.C (getStatus):
7359 remove LFUN_INSET_GRAPHICS.
7361 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7363 2003-03-07 Angus Leeming <leeming@lyx.org>
7366 * LyXAction.C (init):
7367 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7369 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7372 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7374 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7375 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7377 2003-03-07 Angus Leeming <leeming@lyx.org>
7379 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7382 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7384 * ParagraphList.C (front): new function
7387 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7389 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7390 and top_row_offset_. removed var first_y.
7392 * text2.C (LyXText, removeRow):
7394 * BufferView_pimpl.C:
7395 use these methods instead of using first_y
7397 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7399 * text2.C (pasteSelection): adjust for checkPastePossible
7401 * CutAndPaste.C: remove Paragraph * buf and replace with
7402 ParagraphList paragraphs.
7403 (DeleteBuffer): delete
7404 (cutSelection): change the tc type to textclass_type
7405 (copySelection): change the tc type to textclass_type
7406 (copySelection): adjust for ParagraphList
7407 (pasteSelection): change the tc type to textclass_type
7408 (pasteSelection): adjust for Paragraphlist
7409 (nrOfParagraphs): simplify for ParagraphList
7410 (checkPastePossible): simplify for ParagraphList
7411 (checkPastePossible): remove unused arg
7413 * ParagraphList.C (insert): handle the case where there are no
7416 * CutAndPaste.h: make CutAndPaste a namespace.
7418 * text3.C (dispatch): adjust
7420 * text.C (breakParagraph): add a ParagraphList as arg
7422 * paragraph_funcs.C (breakParagraph): change to take a
7423 BufferParams and a ParagraphList as args.
7424 (breakParagraphConservative): ditto
7425 (mergeParagraph): ditto
7426 (TeXDeeper): add a ParagraphList arg
7427 (TeXEnvironment): ditto
7430 * buffer.C (readLyXformat2): adjust
7431 (insertStringAsLines): adjust
7432 (latexParagraphs): adjust
7434 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7435 (cutSelection): adjust
7436 (pasteSelection): adjust
7438 * BufferView_pimpl.C (insertInset): adjust
7440 2003-03-05 Angus Leeming <leeming@lyx.org>
7443 * LyXAction.C (init):
7444 * BufferView_pimpl.C (dispatch):
7445 * lyxfunc.C (getStatus):
7446 remove LFUN_CHILD_INSERT.
7448 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7450 2003-03-05 Angus Leeming <leeming@lyx.org>
7453 * LyXAction.C (init):
7454 * src/factory.C (createInset):
7455 * lyxfunc.C (getStatus):
7456 * text3.C (dispatch):
7457 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7459 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7461 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7463 * ParagraphList.C (insert): handle insert right before end()
7464 (erase): fix cases where it can be first or last paragraph.
7466 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7468 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7469 Paragraph::next and Paragraph::previous
7472 * text.C (breakParagraph): adjust
7474 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7475 BufferParams& as arg.
7476 (breakParagraph): use ParagraphList::insert
7477 (breakParagraphConservative): take a Buffer* instead of a
7478 BufferParams& as arg.
7479 (breakParagraphConservative): use ParagraphList::insert.
7481 * buffer.C (insertStringAsLines): un-const it
7482 (insertStringAsLines): adjust
7484 * ParagraphList.C (insert): new function
7486 * CutAndPaste.C (pasteSelection): adjust
7488 * text.C (backspace): adjust
7490 * tabular.C (SetMultiColumn): adjust
7492 * CutAndPaste.C (cutSelection): adjust
7493 (pasteSelection): adjust
7495 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7496 Buffer const * as arg
7498 * ParagraphList.C (erase): new function
7499 * paragraph_funcs.C (mergeParagraph): use it
7500 (mergeParagraph): make it take a Buffer* instead of a
7501 BufferParams* as arg
7503 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7505 (breakParagraphConservative): ditto
7507 * paragraph.h: remove the breakParagraph friend
7509 * paragraph.C (eraseIntern): new function
7510 (setChange): new function
7512 * paragraph_funcs.C (mergeParagraph): make it take a
7513 ParagraphList::iterator instead of a Paragraph *, adjust
7516 * paragraph.h: move an #endif so that the change tracking stuff
7517 also works in the NO_NEXT case.
7519 2003-03-04 Angus Leeming <leeming@lyx.org>
7522 * LyXAction.C: new LFUN_INSET_MODIFY.
7524 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7525 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7527 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7529 * several files: ws changes only
7531 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7532 (TeXEnvironment): ditto
7535 * buffer.C (makeLaTeXFile): adjust
7536 (latexParagraphs): make it take ParagraphList::iterator as args
7538 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7540 * buffer.C (latexParagraphs): adjust
7542 * paragraph.C (TeXOnePar): move function...
7543 (optArgInset): move function...
7544 (TeXEnvironment): move function...
7545 * paragraph_pimpl.C (TeXDeeper): move function...
7546 * paragraph_funcs.C: ...here
7548 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7550 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7552 * buffer.C (readInset): remove compability code for old Figure and
7555 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * buffer.C: ws changes
7560 * BufferView_pimpl.C: ditto
7563 * bufferlist.h: ditto
7567 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7569 * converter.[Ch]: split into itself +
7572 * Makefile.am: += graph.[Ch] + format.[Ch]
7579 * lyxrc.C: added #include "format.h"
7581 2003-02-27 Angus Leeming <leeming@lyx.org>
7583 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7586 * factory.C (createInset): add "label" to the factory.
7588 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7589 string and do no more.
7591 2003-02-27 Angus Leeming <leeming@lyx.org>
7594 * LyXAction.C (init):
7595 * factory.C (createInset):
7596 * BufferView_pimpl.C (dispatch):
7597 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7599 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7601 * lyxfunc.C (dispatch):
7602 * text3.C (dispatch): pass name to params2string.
7604 2003-02-26 Angus Leeming <leeming@lyx.org>
7606 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7608 Rearrange the ~includes. Strip out the unnecessary ones.
7610 * factory.C (createInset): reformat.
7611 create new insets for the various LFUN_XYZ_APPLY lfuns.
7613 2003-02-26 John Levon <levon@movementarian.org>
7616 * lyxrow.C: add isParStart,isParEnd helpers
7618 * paragraph.h: make isInserted/DeletedText take refs
7620 * paragraph_funcs.h:
7621 * paragraph_funcs.C: remove #if 0'd code
7626 * text.C: use lyxrow helpers above.
7627 Move draw and paint routines to RowPainter.
7628 Make several methods use refs not pointers.
7629 Make backgroundColor() const.
7630 Add markChangeInDraw(), isInInset().
7631 Merge changeRegionCase into changeCase.
7632 Make workWidth() shouldn't-happen code into an Assert.
7635 * rowpainter.C: new class for painting a row.
7638 * vspace.C: make inPixels take a ref
7640 2003-02-26 Angus Leeming <leeming@lyx.org>
7642 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7645 2003-02-25 John Levon <levon@movementarian.org>
7647 * ispell.C: give the forked command a more accurate name
7649 2003-02-22 John Levon <levon@movementarian.org>
7652 * toc.C: make TocItem store an id not a Paragraph *
7655 2003-02-21 Angus Leeming <leeming@lyx.org>
7657 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7658 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7659 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7660 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7661 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7662 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7664 * BufferView_pimpl.C (dispatch):
7665 * LyXAction.C (init):
7666 * factory.C (createInset):
7667 * lyxfunc.C (getStatus, dispatch):
7668 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7670 2003-02-21 Angus Leeming <leeming@lyx.org>
7672 * BufferView_pimpl.C (MenuInsertLyXFile):
7673 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7674 * lyxfunc.C (menuNew, open, doImport):
7675 no longer pass a LyXView & to fileDlg.
7677 2003-02-21 Angus Leeming <leeming@lyx.org>
7679 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7680 * LyXAction.C: change, BIBKEY to BIBITEM.
7681 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7682 Change InsetBibKey to InsetBibitem.
7683 Change BIBKEY_CODE to BIBITEM_CODE.
7684 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7685 * factory.C: replace insetbib.h with insetbibitem.h.
7686 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7687 * paragraph.C: replace insetbib.h with insetbibitem.h.
7688 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7689 Change bibkey() to bibitem().
7690 * text.C: remove insetbib.h.
7691 * text2.C: replace insetbib.h with insetbibitem.h.
7692 change bibkey() to bibitem().
7693 * text3.C: remove insetbib.h.
7694 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7696 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7698 * lyxrc.C (output): enclose user email in quotes (in case there are
7701 2003-02-18 John Levon <levon@movementarian.org>
7703 * buffer.h: add std::
7705 2003-02-17 John Levon <levon@movementarian.org>
7711 * pspell.C: reworking. Especially in ispell, a large
7712 number of clean ups and bug fixes.
7714 * lyxfunc.C: fix revert to behave sensibly
7716 2003-02-17 André Pönitz <poenitz@gmx.net>
7719 * commandtags.h: new LFUN_INSERT_BIBKEY
7729 * paragraph_func.C: remove special bibkey handling
7731 2003-02-17 John Levon <levon@movementarian.org>
7733 * text.C (Delete): fix case where delete at the end of
7734 the very first paragraph would not merge the pars
7736 2003-02-17 John Levon <levon@movementarian.org>
7738 * lyxrow.C: fix lastPrintablePos()
7740 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7742 * bufferparams.C (writeLaTeX): add a std:here
7744 * buffer.C: and remove a using directive there
7746 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7748 * buffer.C (makeLaTeXFile): move the code that generates the
7751 * bufferparams.C (writeLaTeX): ... in this new method
7753 * LaTeXFeatures.C (getEncodingSet): make const
7754 (getLanguages): make const
7756 * MenuBackend.C (binding): returns the binding associated to this
7758 (add): sets the status of each item by calling getStatus. Adds
7760 (read): add support for OptSubMenu
7761 (expand): remove extra separator at the end of expanded menu
7763 2003-02-15 John Levon <levon@movementarian.org>
7766 * BufferView_pimpl.C:
7768 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7769 inset code that had no actual effect. Remove unneeded status
7772 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7774 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7777 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7779 * text.C (drawLengthMarker): also draw an arrow marker for
7780 symbolic lengths (medskip...)
7782 2003-02-14 John Levon <levon@movementarian.org>
7785 * tabular.C: better method names
7787 2003-02-14 John Levon <levon@movementarian.org>
7789 * BufferView_pimpl.C:
7794 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7795 it's a more accurate name. Remove some pointless uses.
7797 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7799 * text2.C (LyXText): change order of initilizers to shut off
7802 2003-02-14 John Levon <levon@movementarian.org>
7804 * buffer.C: use ParIterator for getParFromID()
7808 * paragraph_pimpl.h:
7809 * paragraph_pimpl.C: remove unused getParFromID()
7811 2003-02-14 John Levon <levon@movementarian.org>
7813 * buffer.C: remove some very old #if 0'd parse code
7815 2003-02-13 John Levon <levon@movementarian.org>
7819 * text2.C: move hfillExpansion(), numberOfSeparators(),
7820 rowLast(), rowLastPrintable(), numberofHfills(),
7821 numberOfLabelHfills() ...
7824 * lyxrow.C: ... to member functions here.
7829 * text.C: remove LyXText::beginningOfMainBody(), and call
7830 p->beginningOfMainBody() directly. Move the check for
7831 LABEL_MANUAL into the latter.
7838 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7844 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7845 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7847 2003-02-13 John Levon <levon@movementarian.org>
7849 * CutAndPaste.C: remove debug
7851 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7853 * paragraph.C (asString): remove two unused variables
7855 * lyxtextclass.C (readTitleType):
7857 (LyXTextClass): handle new members titletype_ and titlename_
7859 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7861 2003-02-09 John Levon <levon@movementarian.org>
7864 * buffer.C: replace hand-coded list with a map for the dep clean
7866 2003-02-08 John Levon <levon@movementarian.org>
7868 * LaTeX.C: consolidate code into showRunMessage() helper
7870 2003-02-08 John Levon <levon@movementarian.org>
7875 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7876 and pass the size in explicitly
7878 * BufferView_pimpl.h:
7879 * BufferView_pimpl.C:
7881 * BufferView.C: add getCurrentChange()
7883 * BufferView_pimpl.h:
7884 * BufferView_pimpl.C: handle change lfuns
7886 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7887 for changes. Mark pasted paragraphs as new.
7889 * support/lyxtime.h:
7890 * support/lyxtime.C:
7891 * DepTable.C: abstract time_t as lyx::time_type
7894 * LColor.C: add colours for new text, deleted text, changebars
7896 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7897 package use "usenames" option.
7901 * LyXAction.C: add change lfuns
7905 * author.C: author handling
7908 * buffer.C: add a per-buffer author list, with first entry as
7909 current author. Handle new .lyx tokens for change tracking. Output
7910 author list to .lyx file. Output dvipost stuff to .tex preamble.
7911 Bump lyx format to 222.
7914 * bufferlist.C: add setCurrentAuthor() to reset current author details
7918 * bufferparams.C: add param for tracking
7920 * bufferview_funcs.C: output change info in minibuffer
7924 * changes.C: add change-tracking structure
7927 * debug.C: add CHANGES debug flag
7930 * lyxfind.C: add code for finding the next change piece
7933 * lyxrc.C: add user_name and user_email
7936 * lyxrow.C: add a metric for the top of the text line
7939 * text.C: implement accept/rejectChange()
7942 * text.C: paint changebars. Paint new/deleted text in the chosen
7943 colours. Strike through deleted text.
7947 * paragraph_pimpl.h:
7948 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7949 in the current change to the insert functions. Rework erase to
7950 mark text as deleted, adding an eraseIntern() and a range-based
7951 erase(). Implement per-paragraph change lookup and
7954 * paragraph_funcs.C: Fixup paste for change tracking.
7956 * tabular.C: mark added row/columns as new.
7958 * text.C: fix rowLast() to never return -1. Don't allow
7959 spellchecking of deleted text. Track transpose changes. Don't
7960 allow paragraph break or merge where appropriate.
7962 * text2.C: leave cursor at end of selection after a cut.
7964 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7966 * text.C (getLengthMarkerHeight):
7967 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7968 visible on screen too.
7970 2003-02-07 John Levon <levon@movementarian.org>
7972 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7974 2003-02-05 Angus Leeming <leeming@lyx.org>
7976 * lyxserver.C (read_ready): revert my patch of 11 September last year
7977 as it sends PC cpu through the roof. Presumably this means that
7978 the lyxserver will no longer run on an Alpha...
7980 2003-01-30 Angus Leeming <leeming@lyx.org>
7982 * factory.C (createInset): create an InsetCommandParam of type "index"
7983 and use it to 'do the right thing'.
7985 * text2.C (getStringToIndex): ensure that cursor position is always
7986 reset to the reset_cursor position.
7988 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7990 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7993 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7997 * lyxfunc.C: Output messages with identical spelling, punctuation,
8000 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8002 * MenuBackend.C (expandFormats): List only viewable export formats
8005 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8008 * lyxfunc.C (getStatus): Make sure that formats other than
8009 "fax" can also be disabled
8011 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8013 * text3.C (dispatch): put the lfuns that insert insets in 3
8014 groups, and call doInsertInset with appropriate arguments.
8015 (doInsertInset): new function, that creates an inset and inserts
8016 it according to some boolean parameters.
8018 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8020 * buffer.C (readFile): remember to pass on 'par' when calling
8021 readFile recursively.
8023 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8025 * MenuBackend.C (expandFormats): add "..." to import formats.
8027 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8029 * paragraph.C (asString): Remove XForms RTL hacks.
8031 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8032 * buffer.C: fix typo
8034 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8036 * Makefile.am (LIBS): delete var
8037 (lyx_LDADD): add @LIBS@ here instead.
8039 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8041 * Clarify the meaning of "wheel mouse jump"
8043 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8045 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8048 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8050 * importer.C (Loaders): do not preallocate 3 elements in the
8051 vector, since one ends up with 6 elements otherwise
8053 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8055 * DepTable.C (write): write the file name as last element of the
8056 .dep file (because it may contain spaces)
8057 (read): read info in the right order
8059 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8061 * paragraph_pimpl.C (simpleTeXBlanks):
8062 (simpleTeXSpecialChars):
8063 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8065 * tabular.C (latex): add some missing case statements. Reindent.
8067 * MenuBackend.C (expandToc): remove unused variable.
8069 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8078 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8081 2003-01-05 John Levon <levon@movementarian.org>
8084 * BufferView.C: add getEncoding()
8087 * kbsequence.C: do not store last keypress
8090 * lyxfunc.C: store last keypress here instead. Pass encoding
8093 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8095 * lyx_main.C (init): remove annoying error message when following
8096 symbolic links (bug #780)
8098 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8100 * text.C (insertChar):
8101 * lyxrc.C (getDescription): remove extra spaces
8103 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8105 * lyxrc.C (getDescription): remove extra spaces
8107 2002-12-20 John Levon <levon@movementarian.org>
8109 * text3.C: hack fix for page up/down across tall rows
8111 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8113 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8116 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8118 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8119 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8120 thesaurus is not compiled in
8122 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8124 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8126 2002-12-16 Angus Leeming <leeming@lyx.org>
8129 * lyx_main.C (init): remove override_x_deadkeys stuff.
8131 2002-12-12 John Levon <levon@movementarian.org>
8133 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8134 insert. Only remove shift modifier under strict
8137 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8139 * MenuBackend.C (expandToc): fix crash.
8141 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8143 * MenuBackend.C (expandToc): gettext on float names.
8145 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8147 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8148 implement bool empty() [bug 490]
8150 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8154 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8156 * several files: ws changes
8158 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8160 * text2.C (setCounter): clean up a bit, use boost.format.
8161 (updateCounters): initialize par upon declaration.
8163 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8164 if the layout exists. We do not just store the layout any more.
8165 (SwitchLayoutsBetweenClasses): use boost.format
8167 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8169 * converter.C (convert): if from and to files are the same, use a
8170 temporary files as intermediary
8172 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8175 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8177 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8179 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8181 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8183 * tabular.C (asciiPrintCell): use string(size, char) instead of
8186 * sgml.C (openTag): fix order of arguments to string constructor
8189 * lyxfunc.C (dispatch): use boost.format
8191 * lots of files: change "c" -> 'c'
8193 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8195 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8197 2002-11-25 Angus Leeming <leeming@lyx.org>
8199 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8201 * lyx_main.C (init): compile fix.
8203 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8205 * lyx_cb.C (start): boost.formatify
8206 do not include <iostream>
8208 * lengthcommon.C: ws only
8210 * boost-inst.C,BoostFormat.h: add more explict instantations
8212 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8214 * lots of files: handle USE_BOOST_FORMAT
8216 2002-11-21 John Levon <levon@movementarian.org>
8218 * pspell.C: fix compile
8220 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8222 * lyxfunc.C (dispatch): use boost::format
8226 * lyxfont.C (stateText): use boost::format
8228 * lyx_main.C (LyX): use boost::format
8230 (queryUserLyXDir): ditto
8233 (typedef boost::function): use the recommened syntax.
8235 * importer.C (Import): use boost::format
8237 * debug.C (showLevel): use boost::format
8239 * converter.C (view): use boost::format
8244 * bufferview_funcs.C (currentState): use boost::format
8246 * bufferlist.C (emergencyWrite): use boost::format
8248 * buffer.C (readLyXformat2): use boost::format
8249 (parseSingleLyXformat2Token): ditto
8251 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8253 * LaTeX.C (run): use boost::format
8255 * Chktex.C (scanLogFile): use boost::format
8257 * BufferView_pimpl.C (savePosition): use boost::format
8258 (restorePosition): ditto
8259 (MenuInsertLyXFile): ditto
8261 * BoostFormat.h: help file for explicit instation.
8263 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8265 * tabular.C (latex): Support for block alignment in fixed width
8268 2002-11-17 John Levon <levon@movementarian.org>
8270 * BufferView_pimpl.C:
8272 * lyxfunc.C: split filedialog into open/save
8274 2002-11-08 Juergen Vigna <jug@sad.it>
8276 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8277 by my last patch (hopefully).
8279 2002-11-08 John Levon <levon@movementarian.org>
8288 * toc.C: ParConstIterator, and use it (from Lars)
8290 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8292 * lyxtextclass.[Ch]: revise and add doxygen comments
8294 2002-11-07 John Levon <levon@movementarian.org>
8296 * text.C: fix progress value for spellchecker
8298 * toc.C: fix navigate menu for insetwrap inside minipage
8300 * paragraph_funcs.C: added FIXME for suspect code
8302 2002-11-07 John Levon <levon@movementarian.org>
8304 * BufferView_pimpl.C: fix redrawing of insets
8307 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8309 * text2.C (updateCounters): fix bug 668
8311 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8313 * text3.C (dispatch): Do not make the buffer dirty when moving the
8316 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8318 * vc-backend.C: STRCONV
8321 * text2.C (setCounter): STRCONV
8323 * paragraph.C (asString): STRCONV
8325 * lyxlength.C (asString): STRCONV
8326 (asLatexString): ditto
8328 * lyxgluelength.C (asString): STRCONV
8329 (asLatexString): ditto
8331 * lyxfunc.C (dispatch): STRCONV
8334 * lyxfont.C (stateText): STRCONV
8336 * importer.C (Import): STRCONV
8338 * counters.C (labelItem): STRCONV
8339 (numberLabel): ditto
8340 (numberLabel): remove unused ostringstream o
8345 * bufferview_funcs.C (currentState): STRCONV
8347 * buffer.C (readFile): STRCONV
8348 (asciiParagraph): ditto
8349 (makeLaTeXFile): ditto
8351 * Spacing.C (writeEnvirBegin): STRCONV
8353 * LaTeXFeatures.C (getLanguages): STRCONV
8354 (getPackages): ditto
8356 (getBabelOptions): ditto
8357 (getTClassPreamble): ditto
8358 (getLyXSGMLEntities): ditto
8359 (getIncludedFiles): ditto
8363 (scanAuxFile): ditto
8366 * LString.h: add the STRCONV macros
8368 * BufferView_pimpl.C (savePosition): STRCONV
8369 (restorePosition): ditto
8370 (MenuInsertLyXFile): ditto
8372 * vc-backend.C (scanMaster): change from submatch[...] to
8375 * funcrequest.C: include config.h
8377 * factory.C: include config.h
8379 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8381 * box.C: include config.h
8383 * LaTeX.C (scanAuxFile): change from submatch[...] to
8387 2002-10-25 Angus Leeming <leeming@lyx.org>
8389 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8391 * ispell.[Ch] (setError): new method.
8392 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8393 Use setError() insetead of goto END.
8395 * lyx_cb.C (AutoSave): move out child process into new class
8398 2002-10-30 John Levon <levon@movementarian.org>
8400 * text3.C: make start appendix undoable
8402 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8404 * lyxlength.C (inPixels): Fix returned value.
8406 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8409 2002-10-24 Angus Leeming <leeming@lyx.org>
8411 * lyxgluelength.h: no need to forward declare BufferParams
8412 or BufferView, so don't.
8414 2002-10-21 John Levon <levon@movementarian.org>
8416 * BufferView.C: menuUndo ->undo, redo
8418 * BufferView.h: document, remove dead, make some methods private
8420 * paragraph_funcs.h:
8421 * paragraph_funcs.C:
8422 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8427 * sgml.C: move sgml open/close tag into sgml.C
8429 * bufferview_funcs.h: unused prototype
8432 * lyxfunc.C: remove unused
8435 * text.C: remove unused
8437 2002-10-21 John Levon <levon@movementarian.org>
8441 * BufferView_pimpl.h:
8442 * BufferView_pimpl.C: fix mouse wheel handling based on
8443 patch from Darren Freeman
8445 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8447 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8449 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8451 * lyxlength.C (inPixels): Fix hanfling of negative length.
8452 Fix LyXLength::MU case.
8454 2002-10-16 John Levon <levon@movementarian.org>
8456 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8458 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8460 * converter.C (view): add support for $$i (file name) and $$p
8461 (file path) for the viewer command. If $$i is not specified, then
8462 it is appended to the command (for compatibility with old syntax)
8464 2002-10-14 Juergen Vigna <jug@sad.it>
8466 * undo_funcs.C (textHandleUndo): alter the order in which the
8467 new undopar is added to the LyXText, as we have to set first
8468 the right prev/next and then add it as otherwise the rebuild of
8469 LyXText is not correct. Also reset the cursor to the right paragraph,
8470 with this IMO we could remove the hack in "redoParagraphs()".
8472 2002-10-09 Angus Leeming <leeming@lyx.org>
8474 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8475 to turn off an optimisation if a new inset is to be inserted.
8477 2002-10-11 André Pönitz <poenitz@gmx.net>
8479 * lyxtext.h: make some functions public to allow access
8480 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8482 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8484 * text3.C (dispatch): when changing layout, avoid an infinite loop
8487 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8489 * lyxrc.C (read): treat a viewer or converter command of "none" as
8492 * MenuBackend.C (expandFormats): for an update, also allow the
8493 formats that are not viewable
8495 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8496 script if it is newer than the lyxrc.defaults in user directory
8498 2002-10-07 André Pönitz <poenitz@gmx.net>
8500 * text.C: Vitaly Lipatov's small i18n fix
8502 2002-09-25 Angus Leeming <leeming@lyx.org>
8504 * ispell.h: doxygen fix.
8506 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8508 * buffer.h (readFile): Add a new argument to the method, to allow
8509 reading of old-format templates.
8511 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8513 * toc.C (getTocList): Get TOC from InsetWrap.
8515 2002-09-16 John Levon <levon@movementarian.org>
8517 * lyxfunc.C: check tabular for cut/copy too
8519 2002-09-12 John Levon <levon@movementarian.org>
8524 * factory.C: add header
8526 * paragraph_funcs.h:
8527 * paragraph_funcs.C: cleanup
8529 2002-09-11 John Levon <levon@movementarian.org>
8531 * PrinterParams.h: odd/even default to true
8533 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8535 * PrinterParams.h: update printer parameters for new xforms dialog
8537 2002-09-11 Angus Leeming <leeming@lyx.org>
8539 * lyxserver.C (read_ready): re-write to make it more transparent
8540 and to make it work in coherent fashion under Tru64 Unix.
8542 2002-09-11 André Pönitz <poenitz@gmx.net>
8546 * text3.C: implement LFUN_WORDSEL
8548 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8550 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8551 make floatlist_ a boost::shared_ptr<FloatList>
8553 * lyxtextclass.C: include FloatList.h
8554 (LyXTextClass): initialize floatlist_
8555 (TextClassTags): add TC_NOFLOAT
8556 (Read): match "nofloat" to TC_NOFLOAT and use it.
8557 (readFloat): modify call to floatlist_
8561 * FloatList.[Ch] (FloatList): remove commented out float
8563 (erase): new function
8565 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8567 * MenuBackend.C (expandToc): fix crash when there is no document
8570 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8572 * many files: Add insetwrap.
8574 2002-09-09 John Levon <levon@movementarian.org>
8576 * text2.C: remove confusing and awkward depth wraparound
8578 2002-09-09 John Levon <levon@movementarian.org>
8580 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8583 * buffer.C: remove getIncludeonlyList()
8586 * lyxfunc.C: remove headers
8588 2002-09-09 Juergen Vigna <jug@sad.it>
8590 * text.C (getColumnNearX): fix form Michael this is most
8591 probably a cut&paste bug.
8593 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8595 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8597 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8598 references, ws changes.
8600 * text2.C (init): update counters after init
8601 (insertParagraph): no need to set counter on idividual paragraphs.
8602 (setCounter): access the counters object in the textclass object
8603 on in the buffer object.
8604 (updateCounters): ditto
8606 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8607 shared_ptr<Counters> to avoid loading counters.h in all
8609 (LyXTextClass): initialize ctrs_
8610 (TextClassTags): add TC_COUNTER, and ...
8611 (Read): use it here.
8612 (CounterTags): new tags
8613 (readCounter): new function
8614 (counters): new funtion
8615 (defaultLayoutName): return a const reference
8617 * counters.C (Counters): remove contructor
8618 (newCounter): remove a couple of unneeded statements.
8619 (newCounter): simplify a bit.
8620 (numberLabel): some small formatting changes.
8622 * buffer.[Ch]: remove all traces of counters, move the Counters
8623 object to the LyXTextClass.
8625 2002-09-06 Alain Castera <castera@in2p3.fr>
8627 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8628 package to set the horizontal alignment on fixed width columns.
8631 * lyx_sty.h: added tabularnewline macro def.
8633 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8635 2002-09-06 John Levon <levon@movementarian.org>
8637 * LyXAction.C: tooltips for sub/superscript
8639 * MenuBackend.C: a bit more verbose
8641 * lyxfunc.C: tiny clean
8643 * undo_funcs.C: document undo_frozen
8645 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8647 * counters.C (Counters): add missing algorithm counter.
8649 * text2.C (setCounter): lookup the counter with layouts latexname
8650 instead of by section number.
8651 (setCounter): use a hackish way to lookup the correct enum
8653 a float name->type change
8654 reset enum couners with counter name directly instead of depth value.
8656 * counters.C (Counters): remove the push_backs, change to use the
8657 float type not the float name.
8658 (labelItem): remove unused string, float name->type change
8660 * counters.h: don't include vector, loose the enums and sects vectors
8662 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8664 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8665 (Read): add float->TC_FLOAT to textclassTags
8666 (Read): and handle it in the switch
8667 (readFloat): new function
8669 * FloatList.C (FloatList): comment out the hardcoded float
8672 * lyxlayout.h: ws change.
8674 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8676 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8678 2002-09-03 Angus Leeming <leeming@lyx.org>
8680 * BufferView_pimpl.h: qualified name is not allowed in member
8681 declaration: WorkArea & Pimpl::workarea() const;
8683 * factory.C: added using std::endl directive.
8685 * text3.C: added using std::find and std::vector directives.
8687 2002-08-29 André Pönitz <poenitz@gmx.net>
8690 * text2.C: remove unused member number_of_rows
8693 * BufferView2.C: remove file, move contents to...
8694 * BufferView.C: ... here
8696 * BufferView_pimpl.C:
8697 * factory.C: move more inset creation to factory
8699 * vspace.C: avoid direct usage of LyXText, ws changes
8702 don't provide direct access to WorkArea, use two simple
8703 acessors haveSelction() and workHeight() instead
8706 2002-08-29 John Levon <levon@movementarian.org>
8708 * BufferView_pimpl.C (dispatch): do not continue when
8711 2002-08-28 André Pönitz <poenitz@gmx.net>
8713 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8716 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8718 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8720 * buffer.C: increment LYX_FORMAT to 221
8722 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8723 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8725 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8727 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8729 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8731 * factory.C (createInset): use LyXTextClass::floats
8733 * MenuBackend.C (expandFloatListInsert):
8734 (expandFloatInsert):
8737 * text2.C (setCounter):
8739 * LaTeXFeatures.C (useFloat):
8740 (getFloatDefinitions):
8742 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8744 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8745 floatlist_, with accessor floats().
8747 * FloatList.h: remove global FloatList
8749 2002-08-26 André Pönitz <poenitz@gmx.net>
8751 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8755 * BufferView_pimpl.C:
8756 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8758 2002-08-25 John Levon <levon@movementarian.org>
8760 * LyXAction.C: fix margin note description
8762 2002-08-24 John Levon <levon@movementarian.org>
8766 * bufferview_funcs.C:
8768 * undo_funcs.C: cleanups
8770 * lyxfunc.C: disable CUT/COPY when no selection
8772 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8774 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8775 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8777 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8778 Add backward compatibility to "mono", "gray" and "no".
8780 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8782 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8783 (and file_format >= 200).
8785 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8787 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8789 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8791 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8793 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8795 * BufferView_pimpl.C:
8802 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8803 inset and code to make it work with the paragraph code. The inset
8804 can be anywhere in the paragraph, but will only do the expected
8805 thing in LaTeX if the layout file contains the parameter line
8807 (or more generally, a nonzero value) for that layout.
8809 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8811 * paragraph.h: remove the declaration of undefined counters class
8814 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8816 * text2.C (setCounter): fixed enumeration mis-count as reported by
8817 Dr. Richard Hawkins.
8819 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8821 * paragraph_funcs.h: remove some unneeded includes
8823 * text.C (backspace): pasteParagraph now in global scipe
8825 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8826 (pasteSelection): ditto
8828 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8829 * paragraph_funcs.C (pasteParagraph): ... here
8831 2002-08-20 André Pönitz <poenitz@gmx.net>
8833 * commandtags.h: new LFUNs for swapping/copying table row/colums
8836 * lyxfunc.C: support for new lfuns
8838 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8841 * buffer.[Ch]: remove NO_COMPABILITY stuff
8843 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8845 * boost.C (throw_exception): new file, with helper function for
8846 boost compiled without exceptions.
8851 * ParameterStruct.h:
8852 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8854 * bufferlist.C (emergencyWriteAll): use boost bind
8856 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8858 * text.C: include paragraph_funcs.h
8859 (breakParagraph): breakParagraph is now in global scope
8861 * paragraph_funcs.[Ch]: new files
8863 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8866 * buffer.C: include paragraph_funcs.h
8867 (insertStringAsLines): breakParagraph is now in global scope
8869 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8872 * CutAndPaste.C: include paragraph_funcs.h
8873 (cutSelection): breakParagraphConservative is now in global scope
8874 (pasteSelection): ditto
8876 * buffer.h: declare oprator== and operator!= for
8877 Buffer::inset_iterator
8879 * bufferlist.C (emergencyWrite): don't use fmt(...)
8881 * text3.C: add using std::endl
8883 * BufferView.C (moveCursorUpdate): remove default arg
8885 2002-08-20 André Pönitz <poenitz@gmx.net>
8887 * buffer.[Ch]: move inline functions to .C
8890 * BufferView_pimpl.C:
8892 * buffer.[Ch]: use improved inset_iterator
8895 * paragraph.[Ch]: write one paragraph at a time
8897 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8899 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8900 style if style is not specified.
8902 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8904 * text2.C (setCounter): when searching for right label for a
8905 caption, make sure to recurse to parent insets (so that a caption
8906 in a minipage in a figure float works) (bug #568)
8908 2002-08-20 André Pönitz <poenitz@gmx.net>
8910 * text3.C: new file for LyXText::dispatch() and helpers
8912 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8914 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8916 2002-08-19 André Pönitz <poenitz@gmx.net>
8919 * text.C: new LyXText::dispatch()
8921 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8923 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8925 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8927 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8930 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8932 * Makefile.am: use $(variables) instead of @substitutions@
8934 2002-08-15 André Pönitz <poenitz@gmx.net>
8937 * BufferView_pimpl.C: streamlining mathed <-> outer world
8941 * LyXAction.C: remove unused LFUN_MATH
8943 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8945 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8947 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8949 * paragraph.C (Paragraph): reformat a bit
8950 (cutIntoMinibuffer): use builtin InsetList function instad of
8954 * buffer.C: include boost/bind.hpp, add using std::for_each
8955 (writeFileAscii): use ParagraphList iterators
8956 (validate): use for_each for validate traversal of paragraphs
8957 (getBibkeyList): use ParagraphList iterators
8958 (resizeInsets): use for_each to resizeInsetsLyXText for all
8960 (getParFromID): use ParagraphList iterators
8962 * BufferView2.C (lockInset): use paragraph list and iterators
8964 2002-08-14 John Levon <levon@movementarian.org>
8966 * lyxserver.C: remove spurious xforms include
8968 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8970 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8972 2002-08-13 André Pönitz <poenitz@gmx.net>
8975 * lyxfunc.C: further cleaning
8977 2002-08-13 André Pönitz <poenitz@gmx.net>
8979 * funcrequest.h: new constructor
8981 * funcrequest.C: move stuff here from .h
8984 * BufferView_pimpl.C:
8987 * lyxfunc.C: subsequent changes
8989 * lyxfunc.h: new view() member function
8991 * lyxfunc.C: subsequent changes
8993 2002-08-13 Angus Leeming <leeming@lyx.org>
8996 * BufferView_pimpl.C:
9004 changes due to the changed LyXView interface that now returns references
9005 to member variables not pointers.
9007 2002-08-13 Angus Leeming <leeming@lyx.org>
9009 * WordLangTuple (word, lang_code): return references to strings,
9014 * lyxtext.h: forward-declare WordLangTuple.
9019 * text.C: #include "WordLangTuple.h".
9022 * text.C: (selectNextWordToSpellcheck): constify return type.
9024 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9030 * paragraph_pimpl.h:
9033 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9035 Made updateCounter always count from start of buffer, and removed
9036 second argument (par).
9037 Reverted floats number display to '#'. Perhaps I'll try again when the
9038 code base is sanitized a bit.
9040 2002-08-12 Angus Leeming <leeming@lyx.org>
9042 * buffer.[Ch] (getLabelList): constify.
9044 2002-08-07 André Pönitz <poenitz@gmx.net>
9046 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9048 * funcrequest.h: extension to keep mouse (x,y) position
9050 2002-08-12 Juergen Vigna <jug@sad.it>
9052 * BufferView2.C (insertErrors): forbid undo when inserting error
9055 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9057 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9059 * ParagraphList.[Ch]: new files
9061 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9063 * BufferView2.C (lockInset): ParagraphList changes
9066 * bufferlist.C: ditto
9070 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9072 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9073 unused class variable counter_,
9075 * paragraph.[Ch] (getFirstCounter): delete unused function
9077 * counters.C: include LAssert.h
9078 (reset): add a new function with no arg, change other version to
9079 not have def. arg and to not allow empty arg.
9081 * text2.C (setCounter): remove empty arg from call to Counters::reset
9083 2002-08-11 John Levon <levon@movementarian.org>
9085 * Makefile.am: add WordLangTuple.h
9087 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9089 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9090 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9092 * insets/insettext.C: InsetList changes
9094 * graphics/GraphicsSupport.C (operator()): InsetList changes
9096 * toc.C (getTocList): InsetList changes
9098 * paragraph_pimpl.[Ch]: InsetList changes
9100 * paragraph.[Ch]: InsetList changes
9102 * buffer.C (inset_iterator): InsetList changes
9103 (setParagraph): ditto
9104 * buffer.h (inset_iterator): ditto
9105 * iterators.C (operator++): ditto
9106 * iterators.h: ditto
9108 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9110 * InsetList.[Ch]: new files, most InsetList handling moved out of
9113 * BufferView2.C (removeAutoInsets): InsetList changes
9115 (ChangeInsets): ditto
9117 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9119 * paragraph_pimpl.h (empty): new function
9121 * paragraph.[Ch] (empty): new function
9123 * other files: use the new Paragraph::empty function
9125 2002-08-09 John Levon <levon@movementarian.org>
9127 * lyxtext.h: remove unused refresh_height
9129 2002-08-09 John Levon <levon@movementarian.org>
9136 * paragraph.C: move sgml char escaping out of paragraph
9139 * paragraph.C: remove id setter
9143 * paragraph_pimpl.C: remove dead tex_code_break_column
9145 * bufferview_funcs.C: small cleanup
9147 * lyxfunc.C: remove dead proto
9149 * lyxtext.h: make some stuff private. Remove some dead stuff.
9151 * lyxgluelength.C: make as[LyX]String() readable
9153 2002-08-08 John Levon <levon@movementarian.org>
9158 * ToolbarDefaults.C:
9161 * toc.C: lyxaction cleanup
9163 2002-08-08 John Levon <levon@movementarian.org>
9165 * BufferView2.C: small cleanup
9168 * lyxfind.C: move unnecessary header into the .C
9170 2002-08-08 John Levon <levon@movementarian.org>
9172 * funcrequest.h: just tedious nonsense
9175 * lyx_main.C: cleanups
9178 * vspace.C: remove dead header lyx_main.h
9180 2002-08-07 Angus Leeming <leeming@lyx.org>
9183 * paragraph_pimpl.h:
9184 Forward declare class Counters in paragraph.h by moving the ctrs member
9185 variable into Paragraph::Pimpl.
9186 (counters): new method, returning a reference to pimpl_->ctrs.
9188 * text2.C: ensuing changes.
9190 2002-08-07 John Levon <levon@movementarian.org>
9192 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9194 * BufferView_pimpl.C: announce X selection on double/triple
9197 * lyx_main.C: use correct bool in batch dispatch
9199 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9201 2002-08-07 André Pönitz <poenitz@gmx.net>
9203 * funcrequest.h: new class to wrap a kb_action and its argument
9206 * BufferView_pimpl[Ch]:
9210 * lyxrc.C: subsequent changes
9213 2002-08-07 John Levon <levon@movementarian.org>
9215 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9216 document options change.
9218 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9223 * makefile.am: move counters functionality over from
9224 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9226 2002-08-06 John Levon <levon@movementarian.org>
9228 * WordLangTuple.h: new file for word + language code tuple
9239 * BufferView2.C: use WordLangTuple
9242 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9244 2002-08-06 John Levon <levon@movementarian.org>
9246 * lyx_main.C: fix cmdline batch handling
9248 2002-08-06 André Pönitz <poenitz@gmx.net>
9250 * lyxrc.C: set default for show_banner to true
9252 2002-08-06 John Levon <levon@movementarian.org>
9254 * pspell.C: fix a crash, and allow new aspell to work
9256 2002-08-06 John Levon <levon@movementarian.org>
9259 * kbmap.C: small cleanup
9262 * vspace.C: add const
9264 2002-08-05 John Levon <levon@movementarian.org>
9266 * LyXAction.C: back to tabular-insert
9268 2002-08-04 John Levon <levon@movementarian.org>
9271 * BufferView.C: cosmetic change
9273 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9283 * BufferView2.C: purge all "Lyx" not "LyX" strings
9286 * lyxcursor.C: attempt to add some documentation
9291 * ToolbarDefaults.C:
9292 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9293 merge with LFUN_TABULAR_INSERT
9300 * pspell.C: split up i/pspell implementations into separate
9301 files, many cleanups
9303 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9305 * text2.C: some cleanup
9307 * lyxfunc.C: don't check for isp_command == "none" any more, it
9308 didn't make any sense
9310 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9315 * makefile.am: move counters functionality over
9316 from text2.C/paragraph.[Ch] to counters.[Ch], and
9318 2002-08-02 John Levon <levon@movementarian.org>
9320 * buffer.C: s/lyxconvert/lyx2lyx/
9322 2002-08-02 Angus Leeming <leeming@lyx.org>
9324 * lyxlex.C: revert John's change as it breaks reading of the user
9327 2002-08-02 Angus Leeming <leeming@lyx.org>
9329 * importer.C (Import):
9330 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9331 changes due to LyXView::view() now returning a boost::shared_ptr.
9333 2002-08-02 John Levon <levon@movementarian.org>
9335 * lyxlex.C: small cleanup
9337 2002-08-02 John Levon <levon@movementarian.org>
9339 * text2.C (status): small cleanup, no logic change
9341 2002-08-01 John Levon <levon@movementarian.org>
9344 * buffer.C (writeFile): don't output alerts, caller
9348 * lyx_cb.C: from above
9350 * lyxfunc.C: allow to open non-existent files
9352 2002-07-31 John Levon <levon@movementarian.org>
9354 * lyxserver.C: don't let incidental errors get
9357 2002-07-30 John Levon <levon@movementarian.org>
9359 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9361 2002-07-30 John Levon <levon@movementarian.org>
9364 * lyxserver.C: remove I/O callback too
9366 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9368 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9371 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9373 * many files: strip,frontStrip -> trim,ltrim,rtrim
9375 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9377 * PrinterParams.h: remove extern containsOnly, and include
9378 support/lstrings.h instead.
9380 * LaTeX.C (scanAuxFile): modify because of strip changes
9382 * buffer.C (makeLaTeXFile): ditto
9383 * bufferparams.C (writeFile): ditt
9384 * lyxfont.C (stateText): ditto
9385 * lyxserver.C (read_ready): ditto
9386 * vc-backend.C (scanMaster): ditto
9388 * BufferView_pimpl.h: ws changes
9390 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9392 2002-07-26 André Pönitz <poenitz@gmx.net>
9394 * kb_sequence.C: remove unnedred usings
9396 2002-07-26 Juergen Vigna <jug@sad.it>
9398 * lyxfind.C (LyXReplace): we have to check better if the returned
9399 text is not of theLockingInset()->getLockingInset().
9401 2002-07-25 Juergen Vigna <jug@sad.it>
9403 * lyxfind.C (LyXReplace): don't replace if we don't get the
9406 * undo_funcs.C (createUndo): remove debugging code.
9408 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9410 * buffer.C (parseSingleLyXformat2Token): Use default placement
9411 when reading old floats.
9413 * FloatList.C (FloatList): Change the default placement of figure
9414 and tables to "tbp".
9416 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9418 * MenuBackend.C: using std::max
9420 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9422 * MenuBackend.C (expandToc):
9423 (expandToc2): code moved from xforms menu frontend. It is now
9424 generic and TOCs are transparent to menu frontends.
9426 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9428 * toc.C (getTocList): protect against buf=0
9430 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9431 Menu as first parameter. Now, this calls itself recursively to
9432 expand a whole tree (this will be useful for TOC handling)
9433 (expandFloatInsert): remove 'wide' version of floats
9435 * MenuBackend.h (submenuname): returns the name of the submenu.
9436 (submenu): returns the submenu itself, provided it has been
9437 created by MenuBackend::expand
9439 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9441 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9442 insets which have noFontChange == true. (bug #172)
9444 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9446 * BufferView_pimpl.C: add connection objects and use them...
9449 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9451 * MenuBackend.C (expandLastfiles):
9454 (expandFloatListInsert):
9455 (expandFloatInsert):
9456 (expand): split expand in parts
9458 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9460 * lyx_gui.C: use lyx_gui::exit()
9462 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9464 * LyXAction.C: show the failing pseudo action
9466 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9468 * buffer.C (readFile): Run the lyxconvert script in order to read
9471 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9475 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9477 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9481 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9483 2002-07-22 Herbert Voss <voss@lyx.org>
9486 * lyxlength.[Ch]: add support for the vertical lengths
9488 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9490 * toc.[Ch]: std:: fixes
9492 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9494 * lyxrc.C: do not include lyx_main.h
9496 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9502 * BufferView2.C: include "lyxlex.h"
9505 * bufferparams.h: do not #include "lyxlex.h"
9507 * lyxtextclasslist.C (Add): remove method
9508 (classlist): renamed to classlist_
9510 * paragraph_pimpl.C:
9514 * bufferview_funcs.C:
9519 * toc.C (getTocList): use BufferParams::getLyXTextClass
9521 * toc.C (getTocList): use InsetFloat::addToToc
9523 * toc.[Ch]: new files, containing helper functions to handle table
9526 * lyxfunc.C (dispatch): no need to remove spaces around command
9528 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9529 first command of the sequence; it is not very clever, but I do not
9530 have a better idea, actually
9532 * LyXAction.C (LookupFunc): make sure to remove space at the
9533 beginning and end of the command
9535 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9537 * MenuBackend.C (getMenubar): new method: return the menubar of
9539 (read): treat differently reading of menu and menubar (in
9540 particular, the menubar has no name now)
9541 (Menu::menubar): remove
9543 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9546 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9548 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9549 a bibitem inset in a RTL paragraph.
9551 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9553 * paragraph_pimpl.C: constify
9555 * BufferView_pimpl.C:
9557 * lyxfunc.C: fix dispatch in a nicer way
9559 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9561 * lyxfunc.C (dispatch):
9562 * BufferView_pimpl.C:
9563 * BufferView_pimpl.h:
9565 * BufferView.h: rename Dispatch() to dispatch()
9567 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9569 * lyxlayout.C (Read): honor DependsOn tag
9571 * lyxlayout.[Ch] (depends_on): new method
9573 * version.C.in: update lyx_docversion
9575 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9577 * paragraph.C (validate): remove from here...
9578 * paragraph_pimpl.C (validate): ... and move here
9579 (isTextAt): make it const
9581 * buffer.C (getLists): ws cleanup
9583 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9585 * language.C (read): Use iso8859-1 encoding in latex_lang
9586 (this prevents LyX from crashing when using iso10646-1 encoding).
9588 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9590 * text2.C (toggleInset): if cursor is inside an inset, close the
9591 inset and leave cursor _after_ it
9593 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9595 * lyxfunc.C: move minibuffer completion handling out of here
9597 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9599 * BufferView_pimpl.C:
9600 * LaTeX.C: fix dispatch calls
9602 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9604 * text.C (drawChars): Fix Arabic text rendering.
9606 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9610 * lyxfunc.C: remove message-push/pop
9614 * lyxfunc.C: rationalise some code by removing verboseDispatch
9615 in favour of a bool argument to dispatch()
9617 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9619 * lyx_main.C (init): make sure to read symlinks as absolute paths
9621 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9624 * lyxfunc.C: no need for commandshortcut to be a member
9626 2002-07-15 André Pönitz <poenitz@gmx.net>
9628 * converter.C: add support for $$s (scripts from lib/scripts dir)
9629 * lyx_main.C: white space
9631 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9635 * lyxrc.C: remove second exit confirmation
9637 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9642 * BufferView_pimpl.h:
9643 * BufferView_pimpl.C:
9644 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9646 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9648 * MenuBackend.C (expand): add numeric shortcuts to document menu
9650 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9652 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9654 * lyxfont.C (setLyXFamily):
9661 * buffer.C (asciiParagraph): use ascii_lowercase
9663 2002-07-15 Mike Fabian <mfabian@suse.de>
9665 * lyxlex_pimpl.C (search_kw):
9666 * lyxlex.C (getLongString):
9667 * converter.h (operator<):
9668 * converter.C (operator<):
9669 * buffer.C (parseSingleLyXformat2Token):
9671 * ToolbarDefaults.C (read):
9672 * MenuBackend.C (checkShortcuts):
9674 * LColor.C (getFromGUIName):
9675 (getFromLyXName): use the compare_ascii_no_case instead of
9676 compare_no_case, because in turkish, 'i' is not the lowercase
9677 version of 'I', and thus turkish locale breaks parsing of tags.
9679 2002-07-16 Angus Leeming <leeming@lyx.org>
9681 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9682 now takes a Buffer const & argument.
9684 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9686 * BufferView.C (resize): check there's a buffer to resize
9688 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9690 * lyxfunc.C: remove dead code
9693 * lyxserver.C: use lyx_guii::set_read_callback
9695 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9697 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9698 an inset in a RTL paragraph.
9700 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9702 * lyxfunc.C: repaint after a font size update
9704 2002-07-15 André Pönitz <poenitz@gmx.net>
9706 * lyxlength.C: inBP should be able to return negative values
9708 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9710 * lyxfunc.C: use lyx_gui::update_fonts()
9712 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9714 * lyxfunc.C: use lyx_gui::update_color()
9716 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9722 * lyxrc.C: remove file->new asks for name option, and let
9723 buffer-new take an argument
9725 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9727 * BufferView_pimpl.C: remove unneeded extra repaint()
9729 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9731 * LyXAction.C: allow command-sequence with NoBuffer
9733 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9735 2002-07-10 Angus Leeming <leeming@lyx.org>
9737 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9739 2002-07-09 Angus Leeming <leeming@lyx.org>
9741 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9743 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9745 * lengthcommon.h: whitespace
9747 * lyxfunc.C: update scrollbar after goto paragraph
9749 * lyxtext.h: factor out page break drawing, and fix it so
9750 page break/added space paints as selected nicely
9752 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9754 * BufferView_pimpl.C: add FIXMEs, clean up a little
9756 2002-07-09 André Pönitz <poenitz@gmx.net>
9758 * lyxfont.[Ch]: support for wasy symbols
9760 2002-07-08 André Pönitz <poenitz@gmx.net>
9762 * BufferView_pimpl.C: apply John's patch for #93.
9764 2002-07-05 Angus Leeming <leeming@lyx.org>
9766 * BufferView_pimpl.C (buffer): generate previews if desired.
9768 * LColor.h: add "preview" to the color enum.
9770 * LColor.C (LColor): add a corresponding entry to the items array.
9772 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9775 2002-07-05 Angus Leeming <leeming@lyx.org>
9777 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9778 The body of the code is now in the method that is passed an ostream &
9779 rather than a file name.
9780 Pass an additional only_preamble parameter, useful for the forthcoming
9783 2002-07-03 André Pönitz <poenitz@gmx.net>
9785 * lyxfunc.C: simplify getStatus() a bit for math stuff
9787 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9789 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9791 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9793 * text.C (changeRegionCase): do not change case of all the
9794 document when region ends at paragraph end (bug #461)
9796 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9798 * paragraph.C (startTeXParParams):
9799 (endTeXParParams): add \protect when necessary
9801 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9803 * BufferView_pimpl.C (workAreaExpose): remove warning
9805 2002-06-27 Angus Leeming <leeming@lyx.org>
9807 * Makefile.am: add lyxlayout_ptr_fwd.h.
9809 2002-06-26 André Pönitz <poenitz@gmx.net>
9811 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9813 2002-06-25 Angus Leeming <leeming@lyx.org>
9815 * lyxfunc.C (dispatch): Comment out the call to
9816 grfx::GCache::changeDisplay. The method no longer exists now that the
9817 pixmap generation part of the graphics loader has been moved into
9820 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9822 * text2.C: layout as layout
9824 * text.C: layout as layout
9826 * tabular.C (OldFormatRead): layout as layout
9828 * paragraph_pimpl.C (TeXDeeper): layout as layout
9829 (realizeFont): layout as layout
9831 * paragraph.C (writeFile): layout as layout
9832 (validate): layout as layout
9833 (getFont): layout as layout
9834 (getLabelFont): layout as layout
9835 (getLayoutFont): layout as layout
9836 (breakParagraph): layout as layout
9837 (stripLeadingSpaces): layout as layout
9838 (getEndLabel): layout as layout
9839 (getMaxDepthAfter): layout as layout
9840 (applyLayout): layout as layout
9841 (TeXOnePar): layout as layout
9842 (simpleTeXOnePar): layout as layout
9843 (TeXEnvironment): layout as layout
9844 (layout): layout as layout
9845 (layout): layout as layout
9847 * lyxtextclass.C (compare_name): new functor to work with
9848 shared_ptr, layout as layout
9849 (Read): layout as layout
9850 (hasLayout): layout as layout
9851 (operator): layout as layout
9852 (delete_layout): layout as layout
9853 (defaultLayout): layout as layout
9855 * lyxlayout_ptr_fwd.h: new file
9857 * lyxlayout.C (Read): layout as layout
9859 * lyx_cb.C (MenuInsertLabel): layout as layout
9861 * bufferlist.C (newFile): layout as layout
9863 * buffer.C (readLyXformat2): layout as layout
9864 (parseSingleLyXformat2Token): layout as layout
9865 (insertStringAsLines): layout as layout
9866 (asciiParagraph): layout as layout
9867 (latexParagraphs): layout as layout
9868 (makeLinuxDocFile): layout as layout
9869 (simpleLinuxDocOnePar): layout as layout
9870 (makeDocBookFile): layout as layout
9871 (simpleDocBookOnePar): layout as layout
9872 (getLists): layout as layout
9874 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9876 * CutAndPaste.C (cutSelection): layout as layout
9877 (pasteSelection): layout as layout
9878 (SwitchLayoutsBetweenClasses): layout as layout
9880 * BufferView_pimpl.C (Dispatch): layout as layout
9881 (smartQuote): layout as layout
9883 * BufferView2.C (unlockInset): layout as layout
9885 2002-06-24 André Pönitz <poenitz@gmx.net>
9887 * lyxfunc.C: fix #487
9889 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9893 * lyxfunc.C: remove display_shortcuts, show_banner
9895 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9897 * Buffer_pimpl.C: oops, update on resize
9899 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9906 * BufferView.C: use repaint()
9908 * BufferView_pimpl.h:
9909 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9910 as it's a clearer description. Remove superfluous
9913 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9915 * text.C: fix bug 488. Not ideal, but getting
9916 getWord() to work properly for the insets that
9917 matter is more difficult ...
9919 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9921 * BufferView_pimpl.C:
9924 * lyxfunc.C: remove the six million index lyxfuncs to just
9925 one, and DTRT (bug 458)
9927 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9931 * BufferView_pimpl.h:
9932 * BufferView_pimpl.C: clean up resize() stuff,
9933 and unnecessary updateScreen()s
9935 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9939 * BufferView_pimpl.h:
9940 * BufferView_pimpl.C:
9943 * minibuffer.C: remove focus management of workarea,
9944 not needed. Use screen's greyOut()
9946 2002-06-17 Herbert Voss <voss@lyx.org>
9948 * converter.C: (convert) do not post a message, when converting
9949 fails, let the calling function decide what to do in this case
9951 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9953 * lyxfunc.C: tidy up a little
9955 2002-06-16 <alstrup@diku.dk>
9957 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9958 Got rid of FORMS_H_LOCATION include. Now we are
9961 2002-06-15 LyX Development team <lyx@rilke>
9963 * buffer.[Ch] (sgmlOpenTag):
9964 (sgmlCloseTag): Added support for avoiding pernicious mixed
9965 content. Return number of lines written.
9968 (makeDocBookFile): Fixed calls to sgml*Tag.
9969 Simple white space clean.
9971 (simpleDocBookOnePar): Simple white space clean.
9973 * tabular.[Ch] (docBook): Renamed to docbook and got another
9974 argument to related with the pernicious mixed content.
9976 (docbookRow): Fixed calls for docbook inset method.
9978 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9980 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9981 so it's X11 independent.
9985 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9987 2002-06-15 Lyx Development team <lyx@electronia>
9989 * intl.h: Renamed getTrans to getTransManager.
9991 2002-06-14 Angus Leeming <leeming@lyx.org>
9993 * Makefile.am: nuke forgotten stl_string_fwd.h.
9995 2002-06-12 Angus Leeming <leeming@lyx.org>
9997 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9999 2002-06-13 Angus Leeming <leeming@lyx.org>
10002 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10004 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10006 * kbmap.C (getiso): add support for cyrillic and greek
10008 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10012 * BufferView_pimpl.h:
10013 * BufferView_pimpl.C: move bogus scrolling logic
10016 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10019 * BufferView_pimpl.C: view->resize() change
10021 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10023 * BufferView_pimpl.C: topCursorVisible
10026 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10030 * lyx_gui.C: move to frontends/
10034 * lyx_main.C: changes from above
10036 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10043 * lyx_main.C: minor tidy
10045 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10047 * BufferView_pimpl.h:
10048 * BufferView_pimpl.C:
10050 * BufferView.C: make painter() const,
10053 * BufferView2.C: use screen() accessor
10056 * lyx_main.C: some minor cleanup
10058 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10060 * BufferView_pimpl.h:
10061 * BufferView_pimpl.C: remove enter/leaveView,
10064 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10069 * BufferView_pimpl.h:
10070 * BufferView_pimpl.C: only construct screen once,
10073 * lyxrc.C: remove pointless comment
10075 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10078 * BufferView.C: remove active() and belowMouse()
10080 * BufferView_pimpl.h:
10081 * BufferView_pimpl.C: use workarea() not workarea_,
10082 and make it use a scoped_ptr instead
10084 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10086 * lyx_gui.C: add debug message on BadWindow
10088 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10090 * sp_spell.C: fdopen is not part of the C++ standard.
10092 * paragraph.C (InsetIterator): use >= instead of ==
10094 2002-06-07 Angus Leeming <leeming@lyx.org>
10096 Fixes needed to compile with Compaq cxx 6.5.
10097 * BufferView_pimpl.C:
10104 * lyxtextclasslist.C:
10109 all c-library variables have been moved into namespace std. Wrap
10110 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10115 Add a using std::abs declaration.
10117 * kbmap.h (modifier_pair):
10118 * paragraph.h (InsetTable, InsetList):
10119 * lyxfont.h (FontBits):
10120 type definition made public.
10122 * bufferlist.C (emergencyWriteAll): the compiler complains that
10123 there is more than one possible lyx::class_fun template to choose from.
10124 I re-named the void specialisation as lyx::void_class_fun.
10126 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10128 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10129 the compiler is is unable to find tostr in write_attribute.
10131 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10133 * buffer.C (sgmlError): hide #warning
10135 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10137 * xtl/*: get rid of xtl, which is not in use anyway
10139 * LyXAction.C (init):
10140 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10141 were unimplemented xtl experimentation
10143 2002-06-04 André Pönitz <poenitz@gmx.net>
10145 * lyxfunc.C: disable array operation on simple formulae
10147 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10149 * converter.C: constify a bit
10151 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10153 * lyx_gui.C: check xforms version correctly
10155 2002-04-30 Herbert Voss <voss@lyx.org>
10157 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10160 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10162 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10163 attempt to register it with a VCS)
10165 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10167 * lyx_main.C (init): honor variables LYX_DIR_13x and
10170 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10174 * lyx_main.C: fix a crash on bad command line,
10175 and give a useful exit status on error
10177 * lyxfunc.C (doImport): allow -i lyx to work
10179 2002-03-30 André Pönitz <poenitz@gmx.net>
10181 * lyxfunc.C: mathed font changes
10183 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10198 * trans_mgr.h: srcdocs, and some minor cleanups
10200 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10202 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10203 call getFont all the time)
10205 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10207 * switch from SigC signals to boost::signals
10209 2002-05-29 André Pönitz <poenitz@gmx.net>
10211 * paragraph_pimpl.C (getChar): don't call size() too often...
10213 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10215 * paragraph_pimpl.C (insertChar): do not try to update tables when
10216 appending (pos == size())
10218 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10219 in order to reduce drastically the number of comparisons needed to
10220 parse a large document
10222 2002-05-29 André Pönitz <poenitz@gmx.net>
10228 * textclasslist.[Ch]:
10229 * sp_ispell.h: whitespace change
10231 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10233 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10234 lyxaction directly now.
10236 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10240 * lyxvc.C: remove unused headers
10242 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10249 * undo_funcs.C: some cleanups. Use shared_ptr
10250 and a template for the undo stacks.
10252 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10254 * BufferView_pimpl.h:
10255 * BufferView_pimpl.C:
10262 * text2.C: use key_state/mouse_state
10264 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10266 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10269 * chset.C: change include order
10270 (loadFile): use boost regex and get rid of LRegex and LSubstring
10272 * Makefile.am (BOOST_LIBS): new variable
10273 (lyx_LDADD): use it
10275 * LaTeX.C: change include order.
10276 (scanAuxFile): use boost regex and get rid of LRegex and
10280 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10285 * FontInfo.C: moved to frontends/xforms/
10288 * FontLoader.C: moved into frontends for GUIIzation
10293 * lyxfunc.C: changes from above
10295 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10297 * LColor.C: remove spurious X include
10299 * BufferView_pimpl.C:
10304 * text2.C: move font metrics to frontends/
10306 2002-05-24 Juergen Vigna <jug@sad.it>
10308 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10309 setting the undo_cursor.
10311 * ParagraphParameters.h: include local includes first.
10313 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10315 * BufferView_pimpl.C:
10316 * BufferView_pimpl.h:
10320 * screen.C: move WorkArea into frontends/
10326 * BufferView2.C: move LyXScreen into frontends/
10330 * lyx_gui.C: move lyxlookup into frontends/xforms/
10332 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10335 * BufferView_pimpl.C:
10345 * bufferview_funcs.C:
10358 * vc-backend.C: move LyX/XFormsView into frontends/
10360 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10372 * text2.C: move Painter to frontends/
10374 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10376 * buffer.C: comment out some some code that depend upon lyx_format
10379 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10380 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10382 * buffer.h (NO_COMPABILITY): turn off compability
10384 * ColorHandler.C: include scoped_array.hpp
10386 * font.C: Use more specific smart_ptr header.
10389 * ShareContainer.h: ditto
10390 * lyx_main.h: ditto
10392 * FontInfo.h: ditto
10393 * BufferView_pimpl.h: ditto
10394 * ColorHandler.h: ditto
10396 * kbmap.C (defkey): change call to shared_ptr::reset
10398 2002-05-21 Juergen Vigna <jug@sad.it>
10400 * buffer.C (insertErtContents): fix to insert ert asis if it is
10401 non empty. Skip it completely if it contains only whitespaces.
10403 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10405 * BufferView_pimpl.C:
10406 * BufferView2.C: clear selection on paste (bug 393)
10408 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10410 * DepTable.C: include ctime
10412 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10414 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10416 2002-05-14 Juergen Vigna <jug@sad.it>
10418 * text.C (breakParagraph): fixed function to honor the keepempty
10419 layout in the right maner and also to permit the right breaking
10420 algorithm on empty or non empyt keepempty paragraphs.
10422 * paragraph.C (breakParagraph): we have to check also if the par
10423 is really empty (!size()) for isempty otherwise we do the wrong
10426 2002-05-10 Juergen Vigna <jug@sad.it>
10428 * buffer.[Ch] : The following are only changes to the ert
10429 compatibility read reading old LaTeX layout and font stuff and
10430 convert it to ERTInsets.
10432 * buffer.h: added isErtInset().
10434 * buffer.C (struct ErtComp): add a fromlayout bool to check
10435 if we're inside a LaTeX layout.
10436 (isErtInset): new helper function.
10437 (insertErtContents): look for other ert insets before this one
10438 and insert the contents there, so that we don't have subsequent
10439 ERT insets with nothing between them. This way we create only one
10440 inset with multiple paragraphs. Also check if we don't insert only
10441 spaces ' ' as they are ignored anyway afterwards in the .tex file
10442 so if we have only spaces we will ignore this latex part in the
10444 (parseSingleLyXformat2Token \\layout): better compatibility when
10445 reading layout-latex stuff.
10446 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10448 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10449 stuff after reading the inset only get the information back from
10452 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10454 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10456 * LaTeXFeatures.C (getBabelOptions): New method.
10458 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10460 * BufferView_pimpl.C (Dispatch): work around missing argument for
10463 2002-05-08 Juergen Vigna <jug@sad.it>
10465 * text.C (leftMargin): handle paragraph leftindent.
10467 * paragraph.C (writeFile): write the new \\leftindent tag.
10468 (validate): handle leftindent code.
10469 (TeXEnvironment): handle paragraphleftindent code again.
10471 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10473 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10474 for paragrap_extra indent code and new token \\leftindent.
10475 (latexParagraphs): handle the leftindent as environment.
10477 * ParameterStruct.h: added leftindent support.
10479 * ParagraphParameters.C (leftIndent): added support functions for
10480 the paragraph left indent.
10482 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10485 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10487 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10490 * text.C (computeBidiTables): No bidi in insetERT.
10492 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10495 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10497 * version.C.in: pre 5
10499 2002-05-02 José Matos <jamatos@fep.up.pt>
10500 * buffer.C (makeDocBookFile): white space changes, add newline to
10502 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10504 * tabular.C (docBook): fix typo.
10506 2002-05-03 Juergen Vigna <jug@sad.it>
10508 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10509 change in LyXText as we can not be sure it was not freed.
10510 (drawOneRow): remove unused code.
10512 * text.C (drawInset): redo the calculation of the need_break_row as
10513 it could have a row which was already freed.
10514 (draw): look at the return value of drawInset and return false if
10515 it also returned false.
10516 (paintRowText): look at the return value of draw and return false if
10517 it also returned false.
10519 * lyxtext.h: added bool return type to drawInset() and draw() so that
10520 if we have a change in the row so that the rowbreak has to be redone
10521 we abort drawing as it will be called again.
10523 2002-05-02 Juergen Vigna <jug@sad.it>
10525 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10526 a change in the maintext also if we're inside an inset.
10527 (Dispatch): set the cursor again after a break line and after the
10528 screen has been updated as it could be we're in a different row.
10530 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10531 to set the cursor behind the pargraph with > size().
10532 (setCursor): check also for the same paragraph when checking where
10533 to put the cursor if we have a NFR inset.
10535 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10536 parts of layout read further up as it still was in the wrong
10539 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10541 * screen.C (drawFromTo): change sine fullRebreak always return
10544 * buffer.C (parseSingleLyXformat2Token): reindent some
10546 * BufferView_pimpl.C (update): change since fullRebreak always
10548 (Dispatch): git rid of the last hardcoded "Standard"s.
10550 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10552 * text2.[Ch] (fullRebreak): make it return void now that we always
10555 2002-04-30 Juergen Vigna <jug@sad.it>
10557 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10558 ert compatibility check for "latex" layout.
10560 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10562 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10563 minipages: use col% instead of p%, and also use the current font.
10564 (makeLaTeXFile): Fix use babel condition.
10565 (parseSingleLyXformat2Token): Correct font when reading old floats.
10567 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10569 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10570 inserting list of floats.
10572 2002-04-25 Herbert Voss <voss@lyx.org>
10574 * MenuBackend.C (expand): don't add the graphics extensions to the
10577 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10579 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10580 non-existing layout, do not complain if it was the default layout
10581 of the original class (bug #342)
10583 2002-04-24 Juergen Vigna <jug@sad.it>
10585 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10586 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10588 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10590 * buffer.C (getBibkeyList): If using \bibliography, return the
10591 option field with the reference itself. Enables us to provide natbib
10592 support when using \bibliography.
10594 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10596 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10598 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10599 natbib is provided by the LaTeX class.
10601 2002-04-23 Juergen Vigna <jug@sad.it>
10603 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10606 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10608 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10610 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10612 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10613 ensuremath around textordmasculine, textordfeminine and
10616 2002-04-19 Juergen Vigna <jug@sad.it>
10618 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10619 reinitializing the buffer otherwise row-dimensions may be wrong.
10620 (update): reset also the selection cursors if they do exits otherwise
10621 their x/y positions may be wrong.
10623 * text2.C (cursorDown): don't enter the inset if we came from a row
10624 above and are one row over the inset.
10626 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10627 really leaving an inset.
10629 2002-04-18 Juergen Vigna <jug@sad.it>
10631 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10632 of the selected paragraph does not have the selected layout also if
10635 * text2.C (setLayout): fixed bug which did not change last selected
10638 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10639 changed the read and substituted \\end_float with \\end_inset!
10641 * BufferView_pimpl.C (cursorPrevious):
10642 (cursorNext): fixed to make it work with rows heigher than the work
10643 area without moving the cursor only the draw of the row.
10644 (workAreaMotionNotify): fix jumping over high rows.
10646 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10648 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10651 2002-04-16 Juergen Vigna <jug@sad.it>
10653 * text2.C (setCursor): set also the irow().
10654 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10656 (cursorDown): support for locking an inset if the x_fix value goes
10657 inside it. That way I can transverse insets too with cursor up/down.
10659 * lyxrow.h: added irow helper function same as other (i) functions.
10661 * BufferView_pimpl.C (cursorPrevious):
10662 (cursorNext): fixed for insets!
10664 2002-04-15 Juergen Vigna <jug@sad.it>
10666 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10667 position otherwise it is wrong in some cases.
10669 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10670 inside the inset before the call.
10672 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10674 * buffer.[Ch] (getBibkeyList): make it const.
10676 2002-04-12 Juergen Vigna <jug@sad.it>
10678 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10680 * text2.C (getCursorX): new helper function
10681 (setCursor): compute also ix_
10682 (setCursorFromCoordinates): set also ix.
10684 * lyxcursor.h: added ix_ and helper functions.
10686 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10688 * buffer.C (insertStringAsLines): dont break paragraph if the this
10689 paragraph is inside an inset which does not permit it!
10691 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10692 also with no chars on this paragraph.
10693 (paintRowText): only paint stuff if it's inside the workarea!
10695 * paragraph.C (breakParagraph): honor keepempty flag and break the
10696 paragraph always below not above.
10698 * BufferView2.C (unlockInset): update the paragraph layout on inset
10699 unlock as we changed paragraph in such a case.
10701 * lyxfind.C (LyXFind): clear the former selection if not found!
10703 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10704 again called in insertChar().
10706 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10707 an inset which uses the whole row!
10708 (rightMargin): ditto.
10709 (insertChar): force a rebreak if we inserted an inset!
10711 2002-03-28 Herbert Voss <voss@lyx.org>
10713 * lyxlength.[Ch]: add inBP() to get the right PS-point
10714 units (BigPoint). With inPixels we have rounding errors
10716 2002-04-11 Juergen Vigna <jug@sad.it>
10718 * text2.C (setCursorFromCoordinates): set iy to the right value.
10719 (setCursor): add check if row->previous exists!
10721 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10722 an old float_type as this was the case in the old code!
10724 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10726 * BufferView2.C (showLockedInsetCursor): use iy
10727 (fitLockedInsetCursor): ditto
10729 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10730 locked insets as there we have the right value now.
10732 * lyxcursor.C: added iy_ variable and iy functions to set to the
10733 baseline of cursor-y of the locked inset.
10735 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10736 (setCursor): fixed for insets which need a full row.
10738 * text.C (rowLastPrintable): don't ignore the last space when before
10739 an inset which needs a full row.
10740 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10741 as last character of a row when before a inset which needs a full row.
10743 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10745 * version.C.in: update date
10747 * text2.C (fullRebreak): try to always return true and see what
10750 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10752 * MenuBackend.C (expand): use Floating::listName
10754 * FloatList.C (FloatList): add listName argument to the built-in
10757 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10758 text associated with the float.
10760 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10762 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10764 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10766 * ShareContainer.h: add a couple of missing typenames.
10768 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10770 * lyxrc.C (getDescription): use _() correctly rather than N_().
10772 2002-03-28 Herbert Voss <voss@lyx.org>
10774 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10775 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10777 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10779 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10780 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10782 2002-03-29 Juergen Vigna <jug@sad.it>
10784 * lyxfunc.C (dispatch): add a missing fitCursor call.
10786 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10787 it was scrolled by a cursor move, so return the bool status.
10789 * BufferView.C (fitCursor): return the bool flag also to the outside
10790 world as this is needed.
10792 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10794 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10795 call the edit() as it is not needed (and wrong) IMO.
10796 (workAreaButtonPress): set the screen_first variable before evt.
10797 unlock the inset as this may change screen_first and then we have
10798 a wrong y position for the click!
10800 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10802 * MenuBackend.C (expand): another translation that I missed
10804 2002-03-28 Juergen Vigna <jug@sad.it>
10806 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10808 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10810 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10812 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10814 * MenuBackend.C (expand): fix export/view/update when there is no
10817 2002-03-27 Herbert Voss <voss@lyx.org>
10819 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10822 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10824 * bufferview_funcs.C (currentState): only show paragraph number
10825 for is DEVEL_VERSION is set.
10827 * lyxfunc.C (dispatch): put warning in INFO channel
10829 * MenuBackend.C (expand): translate the name of floats
10831 * FloatList.C (FloatList): mark the float names for translation
10833 * converter.C (convert): use LibScriptSearch
10835 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10837 * MenuBackend.C (defaults): fix default menu (we might as well get
10840 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10842 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10845 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10847 * lyxvc.C: reorder includes.
10849 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10851 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10854 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10856 * CutAndPaste.C: change layouts earlier on paste
10857 to avoid crashing when calling getFont()
10859 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10861 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10864 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10866 * WorkArea.C: remove 'Pending' debug message.
10868 * most files: ws cleanup
10870 * buffer.[Ch]: ws changes
10872 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10874 2002-03-21 Juergen Vigna <jug@sad.it>
10876 * tabular.C (SetMultiColumn): collapse also the contents of the
10877 cells and set the last border right. Added a Buffer const * param.
10879 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10881 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10884 2002-03-19 Juergen Vigna <jug@sad.it>
10886 * text2.C (clearSelection): reset also xsel_cache.
10888 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10889 where it needs to be called (John tells us to do so too :)
10890 (selectionLost): reset sel_cache.
10892 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10894 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10896 * text2.C (setCursorIntern): put debuging code in INSETS channel
10898 2002-03-19 André Pönitz <poenitz@gmx.net>
10900 * lyxfunc.C: tiny whitespace change
10902 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10904 * ToolbarDefaults.C (init):
10905 * LyXAction.C (init):
10907 * BufferView_pimpl.C (Dispatch):
10908 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10910 2002-03-19 Allan Rae <rae@lyx.org>
10912 * exporter.C (Export): removeAutoInsets before doing anything else.
10913 While I've just introduced a dependency on BufferView this really is
10914 the best place to clean the buffer otherwise you need to cleanup in
10915 a dozen places before calling export or cleanup in a dozen functions
10918 * converter.C (runLaTeX):
10919 (scanLog): Better handling of removeAutoInsets and screen updates.
10921 * lyxfunc.C (dispatch): small whitespace changes
10923 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10925 * WorkArea.C (C_WorkAreaEvent): return a value.
10926 (event_cb): return 1 if we handled the event, 0 otherwise.
10928 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10930 2002-03-18 Juergen Vigna <jug@sad.it>
10932 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10933 (GetAdditionalWidth): ditto.
10934 (RightLine): ditto.
10937 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10938 inset if we're there actually (probably not used right now but this
10939 is the direction to go for unifying code).
10940 (paste): disable code to clear the selection.
10942 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10943 inside an InsetText and move the check further up as it is in the
10946 * text2.C (pasteSelection): set a selection over the pasted text.
10948 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10950 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10951 and libgraphics to build on Cygwin.
10953 2002-03-15 Juergen Vigna <jug@sad.it>
10955 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10956 inserting an Inset into the paragraph. I know this is not the best
10957 fix but we already use current_view in CutAndPaste so we will remove
10958 all of it's using at the same time.
10960 * buffer.C (sgmlError): deactivated function till it is rewritten in
10961 the right mode, now it can create problems.
10963 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10964 before accessing it.
10966 2002-03-14 Juergen Vigna <jug@sad.it>
10968 * undo_funcs.C (textHandleUndo): do the right thing when updating
10969 the inset after the undo/redo.
10971 * text2.C (setCursor): just some testcode for #44 not ready yet.
10973 * undo_funcs.C (textHandleUndo): set the next() and previous()
10974 pointers of the paragraph to 0 before deleting otherwise we have
10975 problems with the Paragraph::[destructor].
10977 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10978 on a paragraph insertion.
10980 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10982 * buffer.C (asciiParagraph): use += operator for char append to
10985 * paragraph.C (getFontSettings): compare >= not just >
10986 (highestFontInRange): ditto
10989 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10991 * paragraph.C: change several algorithm to be more appripriate for
10992 the problem domain. This is lookip in FontList and in the InsetList.
10994 2002-03-13 André Pönitz <poenitz@gmx.net>
10997 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10999 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11004 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11006 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11008 * Painter.C (display): anon helper function, adjust code for this
11010 (pixmap): remove function.
11012 * Painter.h: remove private display variable.
11014 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11016 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11018 * WorkArea.[Ch]: remove figinset_canvas cruft.
11020 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11022 * lyxtextclass.C (operator): add one item cache optimization.
11024 * bufferlist.h: doxy changes
11026 * bufferlist.C: ws changes
11028 * DepTable.[Ch] (ext_exist): place const in the right spot.
11030 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11032 (workAreaExpose): call resizeInsets when the with BufferView changes.
11033 (Dispatch): adjust for protectedBlank removal
11034 (specialChar): call updateInset if the insert went ok.
11036 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11037 specialChar instead.
11039 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11041 * BufferView.h: doxy change
11043 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11045 * lyxtextclass.C (operator[]): remove non-const version
11046 (defaultLayout): remove non-const version
11048 2002-03-12 Juergen Vigna <jug@sad.it>
11050 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11051 did resize the LyXText too.
11053 * buffer.C (readLyXformat2): set layout information on newly allocated
11056 * tabular.C (OldFormatRead): set layout information on the paragraph.
11058 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11060 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11062 2002-03-11 Juergen Vigna <jug@sad.it>
11064 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11066 (resizeCurrentBuffer): force also the insets to resize themselfes.
11067 (moveCursorUpdate): fixed up for InsetText.
11069 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11072 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11073 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11074 value of Dialogs::tooltipsEnabled().
11075 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11077 2002-03-08 Juergen Vigna <jug@sad.it>
11079 * BufferView_pimpl.C (updateInset): update inset inside inset also
11080 if it isn't inside theLockingInset().
11082 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11084 * buffer.C (asciiParagraph): redo some of the word and line length
11086 (getLists): look for Caption instead of caption.
11088 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11090 * buffer.C (Buffer): initialize niceFile to true
11092 (makeLinuxDocFile):
11093 (makeDocBookFile): make sure niceFile is true on exit
11095 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11097 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11099 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11101 * LyXSendto.C: remove.
11102 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11103 * lyx_gui.C: remove now-redundant comment.
11104 * ColorHandler.h: remove forward declaration of class WorkArea.
11105 * lyxfunc.C: remove #include "WorkArea.h".
11107 2002-03-07 Juergen Vigna <jug@sad.it>
11109 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11110 got moved away with the DEPM and also set the inset_owner always
11111 right which before could have been omitted.
11113 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11115 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11116 wanted layout is not found.
11118 2002-03-07 Juergen Vigna <jug@sad.it>
11120 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11122 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11124 * paragraph.C (breakParagraph): use default layout not layout of
11126 (Paragraph): clear ParagraphParameters.
11128 2002-03-06 Juergen Vigna <jug@sad.it>
11130 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11131 otherwise it would not be a valid lenght. Fixed a special case in
11132 the minipage compatibility read where we end the document with a
11135 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11136 was set as it could be 0 for InsetTexts first entry.
11138 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11140 * paragraph.C (writeFile): if layout is empty write out
11141 defaultLayoutName().
11143 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11144 file without named layout we set layout to defaultLayoutName().
11146 2002-03-06 Juergen Vigna <jug@sad.it>
11148 * CutAndPaste.C (copySelection): set layout for new paragraph.
11150 * text.C (prepareToPrint): leave ERT inset left aligned
11151 (leftMargin): don't indent paragraphs inside ERT insets
11153 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11155 * paragraph.C (breakParagraph): dont call clear do the work manually
11157 * paragraph.[Ch] (clear): remove function
11159 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11161 * paragraph.C (Paragraph): dont call clear, the work has already
11164 * lyxtextclass.C (operator): assert if n is empty
11166 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11167 work manually instead.
11169 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11171 * BufferView_pimpl.C: protect selectionLost against text == 0
11173 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11175 * text.C (breakParagraph): fix a setting layout to '0' problem.
11177 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11179 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11180 final location of file, for the included files, and graphics.
11182 2002-03-05 Juergen Vigna <jug@sad.it>
11184 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11186 2002-03-04 Juergen Vigna <jug@sad.it>
11188 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11190 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11191 last column of multicolumn cells.
11192 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11194 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11196 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11197 file if it doesn't go to a temporary file.
11199 * buffer.C (sgmlOpenTag):
11200 (sgmlCloseTag): remove extra newline insertion.
11202 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11204 * text.C (getRowNearY): comment out debug msg
11206 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11208 * text2.C: first -> first_y
11210 * text.C (getRowNearY): add some attemts at a possible
11211 optimization, not working.
11213 * tabular.[Ch]: add BufferParams to several function so that newly
11214 created paragraph can be initialized to he default layotu for the
11217 * tabular-old.C (ReadOld): add buf->params to call of Init
11219 * screen.C: rename text->first to text->first_y
11221 * paragraph.C (breakParagraph): always set layout in the broken
11224 * lyxtextclass.C (Read): remove lowercase
11227 (delete_layout): ditto
11229 * lyxtext.h: rename first -> first_y
11231 * lyxlayout.C (Read): remove lowercase
11234 (obsoleted_by): ditto
11236 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11238 * buffer.C (insertErtContents): add params are to InsetERT
11239 (parseSingleLyXformat2Token): add code to check if a paragraphs
11240 layout really exist.
11241 (parseSingleLyXformat2Token): add params to several inset
11243 (asciiParagraph): remove lowercase, do the layout comparisons with
11246 * BufferView_pimpl.C (cursorNext): first -> first_y
11247 (resizeCurrentBuffer): first -> first_y
11248 (updateScrollbar): first -> first_y
11249 (scrollCB): first -> first_y
11250 (workAreaMotionNotify): first -> first_y
11251 (workAreaButtonPress): first -> first_y
11252 (checkInsetHit): first -> first_y
11253 (cursorPrevious): first -> first_y
11254 (cursorNext): first -> first_y
11255 (Dispatch): add buffer_->params to severl inset contructors
11257 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11259 * lyxlayout.C (Read): remove some debug info that I forgot.
11261 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11262 clean up the code slightly.
11263 (makeLinuxDocFile): ditto
11264 (makeDocBookFile): ditto
11266 * text2.C: layout as string
11268 * text.C: layout as string
11270 * paragraph_pimpl.C: layout as string
11272 * paragraph.[Ch]: layout as string
11274 * lyxtextclasslist.[Ch]: layout as string
11276 * lyxtextclass.[Ch]: layout as string
11278 * lyxtext.h: layout as string
11280 * lyxlayout.[Ch]: layout as string
11282 * lyx_cb.C: layout as string
11284 * bufferview_funcs.C: layout as string
11286 * bufferparams.C: layout as string
11288 * buffer.C: layout as string
11290 * LyXView.[Ch]: layout as string
11292 * LaTeXFeatures.[Ch]: layout as string
11294 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11296 * BufferView_pimpl.C: change current_layout to string, remove
11301 (workAreaButtonRelease): layout as string
11303 * BufferView2.C (unlockInset): adjust
11305 * vspace.C (asLatexCommand): use an explict temp variable.
11307 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11309 * Makefile.am: use FRONTEND_*
11311 2002-03-01 Juergen Vigna <jug@sad.it>
11313 * tabular.C (SetWidthOfMulticolCell): changed to something better
11314 I hope but still work in progress.
11315 (recalculateMulticolumnsOfColumn): renamed function from
11316 recalculateMulticolCells as it is more appropriate now.
11317 (SetWidthOfCell): calculate multicols better.
11319 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11321 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11323 * lyxfunc.C (processKeySym): print sequence also if it is
11324 `deleted' (complete)
11326 * kbsequence.C (print): print sequence even if it is deleted
11327 (complete would be a better word, actually).
11329 * lyxfunc.C (dispatch): print complete options after a prefix key
11331 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11333 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11335 * text2.C (setCharFont): eliminate setCharFont code duplication.
11337 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11339 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11340 LFUN_TABULAR_FEATURE (bug #177)
11342 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11344 * Makefile.am: remove figure.h
11346 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11348 * Bufferview_pimpl.C:
11360 * text2.C: remove #include "lyx_gui_misc.h".
11362 * LaTeX.C: added #include <cstdio>
11364 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11366 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11367 that the paragraph following this one can have.
11369 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11371 * vspace.C (asLatexCommand): fix bogus gcc warning
11373 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11375 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11377 * text2.C (setLayout): get rid of redundant code
11379 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11381 * text2.C (incDepth): make sure depth cannot be increased beyond
11384 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11386 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11387 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11389 * PainterBase.h (image):
11390 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11391 a LyXImage const *.
11393 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11397 * BufferView_pimpl.C:
11398 * BufferView_pimpl.h:
11418 * sp_spell.C: remove fig inset, and the crap house of
11419 cards that follows it
11421 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11426 * os2_errortable.h:
11427 * nt_defines.h: move .h into support/
11429 * vms_defines.h: remove
11431 * WorkArea.C: add space in debug output
11435 * buffer.C: add WITH_WARNINGS
11439 * bufferlist.C: s/retrive/retrieve/, add docs
11448 * chset.C: add docs
11450 * lyxgui.C: add ID to X error handler
11452 * lyxtestclass.c: fix typo
11454 2002-02-26 Juergen Vigna <jug@sad.it>
11456 * tabular_funcs.C (write_attribute): changed so that some default
11457 attributes are not written at all.
11458 (getTokenValue): set default values before trying to read the
11459 value so we have the return value always set as default if we don't
11460 find the token we search for.
11462 * tabular.C (Write): write bools as bools not as strings!
11464 2002-02-22 Juergen Vigna <jug@sad.it>
11466 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11467 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11469 * text.C (leftMargin): don't add an indent for paragraphs inside
11470 tabular cells (fix #208).
11472 2002-02-21 José Matos <jamatos@fep.up.pt>
11474 * tabular.C (docBook): fixed support for long tables.
11476 2002-02-20 Juergen Vigna <jug@sad.it>
11478 * text2.C (getFont): get the drawing font of the Inset if this
11479 paragraph is inside an inset (only important for InsetERT for now).
11481 * buffer.C (insertErtContents): use new lanugage params in ERT
11484 * CutAndPaste.C: commenting out seemingly uneeded code.
11486 2002-02-19 Allan Rae <rae@lyx.org>
11488 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11489 Iterators might be simple to use but they also get invalidated.
11490 (removeAutoInsets): renamed saved cursor tracking variables and added
11491 some comments to clarify what everything does.
11493 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11500 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11501 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11504 * vc-backend.h: remove #include "support/syscall.h"
11508 * converter.C: rearrange #includes in Lars' approved fashion.
11510 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11511 forward declare class Timeout in the header file.
11513 * XFormsView.C: changes due to the above.
11515 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11516 similar to LyXView.
11518 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11519 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11521 2002-02-18 José Matos <jamatos@fep.up.pt>
11523 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11526 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11528 * a lot of small ws changes
11529 * add a lot of using std::XXX
11530 * use std construcs some places where approp.
11531 * use some exisint stuff from lyxfunctional where approp.
11532 * Make file changes to use partial linking (lets test this now...)
11534 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11538 remove #include "support/syscontr.h" as it's redundant. Always has been.
11546 change Systemcalls::System to Systemcalls::Wait and
11547 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11548 No change of functionality, just reflects the stripped down Systemcalls
11551 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11553 * debug.[Ch]: add a GRAPHICS type to the enum.
11555 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11557 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11559 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11562 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11564 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11565 match the changes below.
11567 * text2.C (toggleInset): if there is not editable inset at cursor
11568 position, try to see if cursor is _inside_ a collapsable inset
11571 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11573 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11574 document menu has a nice checkbox
11576 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11578 * lyxlength.C (asLatexString): change PW to output as percent of
11581 * lengthcommon.C: change '%' to 't%'
11583 * lyxfunc.C (dispatch): a few comments from Martin
11585 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11589 * BufferView_pimpl.h:
11590 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11593 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11595 * vspace.C (inPixels): fix compiler warning
11597 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11599 * lyxfunc.C (getStatus): fix status message for disabled commands.
11601 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11603 * BufferView_pimpl.C: fix crash on close buffer
11604 during selection (#227)
11606 2002-01-27 Herbert Voss <voss@lyx.org>
11608 * buffer.C: link old Figure to new graphic inset
11610 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11612 * FontLoader.C (getFontinfo): Change the latex font names in order
11613 to match the names of type1inst.
11615 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11617 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11619 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11620 (extchanged): ditto
11622 (remove_files_with_extension): ditto
11623 (remove_file): ditto
11626 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11627 document is smaller than the work area height. Do not initialize
11628 static variables to 0.
11630 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11632 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11634 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11635 LFUN_LAYOUT_PARAGRAPHS.
11637 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11638 tabular. It is possible to provide a possible cell, which will
11639 typically be the actcell from the corresponding insettabular
11641 * lyxfunc.C (getStatus): small cleanup; disable
11642 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11645 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11647 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11649 * paragraph.C (startTeXParParams):
11650 (endTeXParParams): new methods. The LaTeX code to
11651 start/end paragraph formatting
11652 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11653 empty (fixes bug #200)
11655 * vspace.C (inPixels): adapt to the change below
11656 (inPixels): [later] more cleanups (remove unused variables)
11658 * lyxlength.C (inPixels): change to use a width and a height as
11661 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11663 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11664 Replaced with \paperwidth
11666 * DepTable.C (insert): add std:: qualifier
11668 2002-01-18 Allan Rae <rae@lyx.org>
11670 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11673 * text.C (drawInset): Turned out I didn't know enough about how
11674 rebreaking worked. This fixes most of the redraw problems. I see
11675 an occasional cursor trail when a line is broken now and the cursor
11676 placement can seem out by a few pixels also after a rebreak.
11678 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11680 * buffer.C (parseSingleLyXformat2Token): update because minipage
11681 width is now a LyXLength
11683 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11685 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11688 2002-01-17 Juergen Vigna <jug@sad.it>
11690 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11692 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11693 is set correctly and the inset is updated correctly.
11695 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11697 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11698 the beginning of the loop.
11700 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11702 * lyxrc.C: improve help for use_scalable_fonts
11704 2002-01-17 Allan Rae <rae@lyx.org>
11706 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11708 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11710 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11711 make sure to set their inset_owner to the right value (bug #171)
11713 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11716 * DepTable.C: Implement mtime checking to reduce time spent doing
11719 2002-01-16 Juergen Vigna <jug@sad.it>
11721 * tabular.C (GetAdditionalHeight): one of error fixed.
11723 * lyxrc.C (output): small fix in writing use_pspell.
11725 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11727 * sp_base.h: #include LString.h
11729 2002-01-16 Allan Rae <rae@lyx.org>
11731 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11732 Can someone check this please?
11734 * text.C (drawInset): It was possible that p.row would be removed by
11735 breakAgainOneRow upsetting a few other settings. There may be another
11736 small tweak possible by setting need_break_row = 0 when p.row has been
11737 removed but I don't know enough about the logic here.
11739 2002-01-15 Allan Rae <rae@lyx.org>
11741 * text.C (insertChar): removed conditional truism.
11743 * BufferView2.C (removeAutoInsets): More tweaks.
11744 cur_par_prev could be a stray pointer. Check for trailing empty line
11745 in case last line was cur_par and only had an error inset on it.
11747 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11749 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11752 * vc-backend.C (most methods):
11753 * exporter.C (Export):
11754 * converter.C (convert):
11756 * LyXSendto.C (SendtoApplyCB):
11757 * lyxfunc.C (dispatch):
11761 * lyx_cb.C (AutoSave):
11763 * BufferView_pimpl.C (MenuInsertLyXFile):
11764 * buffer.C (runChktex): use Buffer::filePath().
11766 * buffer.h: rename filename to filename_; rename filepath to
11767 filepath_ and make it private
11768 (filePath): new method
11770 * buffer.C (writeFile): use fileName()
11773 * lyx_main.C (init): fix starting of LyX when the binary is a
11774 link from so,ewhere else.
11776 * minibuffer.C: include <cctype> for isprint
11778 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11780 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11781 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11782 name clash with InsetCollapsable's width function.
11784 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11786 * lastfiles.C: include <iterator>
11788 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11790 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11793 * buffer.C (makeLaTeXFile): ditto.
11794 Also make loop operation more transparent.
11796 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11798 * ToolbarDefaults.C: remove trailing comma closing namespace.
11800 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11802 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11805 * trans.C (Load): comment out unused variable, allowed.
11807 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11809 * minibuffer.[Ch] (append_char): new method to recieve input from the
11810 drop-down completion browser. If a key was pressed, then recieve this
11811 char and append it to the existing string.
11812 (peek_event): modify the positioning data passed to the completion
11813 browser so that it can be placed above the minibuffer rather than below.
11814 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11816 * LyXAction.C (init): alloe error-next for readonly documents.
11818 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11821 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11823 * bufferlist.C (readFile): create the buffer _after_ checking that
11826 * lyxfunc.C (verboseDispatch): fix handling of arguments
11828 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11830 * lyxrc.C: use string::erase() instead of initializing to "".
11833 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11835 * BufferView_pimpl.h:
11836 * BufferView_pimpl.C:
11839 * text2.C: tell X when we have made a selection for copying
11841 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11843 * BufferView_pimpl.C (MenuInsertLyXFile):
11844 * lyxfunc.C (menuNew):
11846 (doImport): add shortcuts to directory buttons
11848 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11851 * lyxfunc.C (setStatusMessage):
11852 (getStatusMessage): new methods
11853 (getStatus):use setStatusMessage instead of setErrorMessage
11854 (dispatch): when function is disabled, set error message here
11855 [instead of in getStatus previously]
11857 * BufferView_pimpl.C (workAreaButtonRelease): update
11858 toolbar/menubar here too.
11860 2002-01-13 Allan Rae <rae@lyx.org>
11862 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11863 Now seems indestructible. Remaining task is to audit all other
11864 code affected by deleteEmptyParagraphMechanism. One small quirk
11865 left is that an empty document with an error in the preamble can
11866 be made to report an error but no error box appears. I don't know
11868 (removeAutoInsets): Improved comments.
11870 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11873 * Thesaurus.C: update for Aiksaurus 0.14
11875 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11877 * text2.C (firstParagraph): removed member function, all uses
11878 replaces with ownerParagraph
11879 (redoParagraphs): here
11880 (updateInset): here
11881 (toggleAppendix): here
11882 * BufferView2.C (insertErrors): here
11883 (setCursorFromRow): here
11885 2002-01-13 Allan Rae <rae@lyx.org>
11887 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11888 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11889 There is still a way to segfault this although you may have to do this
11890 multiple times: Have an InsetERT with an unknown command in it.
11891 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11892 <down-arrow>, <Enter> again, View->DVI, BANG!
11894 * text2.C (setCursor):
11895 (deleteEmptyParagraphMechanism):
11896 * lyxtext.h (setCursor):
11897 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11898 Making use of the return value may help fix other bugs.
11900 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11902 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11904 * LyXView.C (updateMenubar): call MenuBar::update here
11905 (updateToolbar): but not here
11906 (showState): do not update toolbar/menubar
11908 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11909 should need to care about that.
11911 * lyxfunc.C (verboseDispatch): simplify a bit
11912 (getStatus): have a version which takes a pseudoaction, and
11913 another which requires a (kb_action,string).
11915 * LyXAction.C (retrieveActionArg): make it work also when action
11916 is not a pseudo-action.
11917 (getActionName): simplify a bit
11920 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11922 * lyxfunc.C (verboseDispatch): new families of methods with
11923 several ways to specify a command and a bool to indicate whether
11924 the command name and shortcut should be displayed in minibuffer
11925 (eventually, we could extend that to a finer bitmask like
11926 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11927 (dispatch): the pristine dispatch command which just, well,
11928 dispatchs! Note it still sets its result to minibuffer; I'm not
11931 * lyxfunc.h: remove setHintMessage
11933 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11935 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11937 * BufferView_pimpl.C (specialChar): delete new inset if we have
11938 not been able to insert it.
11940 * kbmap.C: revert to using int instead of kb_action, since all we
11941 are dealing with is pseudo-actions.
11943 * LyXAction.C (searchActionArg): change to return int instead of
11944 kb_action, since the result is a pseudoaction.
11946 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11948 * buffer.C (insertErtContents): Fix (partially) the font bug.
11950 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11952 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11953 as the other one is broken on my machine!
11955 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11958 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11960 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11962 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11963 reflect their actual use. Provide compatibility code for older lyxrc
11966 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11968 change names of popup font variables in line with the changes to lyxrc.C
11970 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11972 * buffer.C (asciiParagraph): avoid outputing a word twice after
11975 * lyxrc.C (getDescription): document that document_path and
11976 template_path can be empty.
11978 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11980 * LaTeXFeatures.C (getMacros):
11981 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11983 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11985 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11987 (getPackages): rename feature "floats" to "float". Use an array to
11988 iterate over 'simple' features (i.e. just a \usepackage). Add
11989 handling of "amsmath" (renamed from "amsstyle").
11991 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11993 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11996 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11998 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11999 FuncStaus::FuncStatus & FuncStaus::some_method().
12001 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12003 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12004 of the func_satus stuff. Edited and massaged in various ways by
12007 * lyxfunc.C (getStatus): use FuncStatus
12009 2002-01-08 Juergen Vigna <jug@sad.it>
12011 * text.C (nextBreakPoint): use function Inset::isChar().
12013 * paragraph.C (TeXOnePar): use function
12014 Inset::forceDefaultParagraphs.
12016 * buffer.C (latexParagraphs): use function
12017 Inset::forceDefaultParagraphs.
12019 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12021 * lyx_gui.C (init): set the style of the menu popups to
12022 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12024 2002-01-07 Juergen Vigna <jug@sad.it>
12026 * text.C (setHeightOfRow): small fix
12027 (prepareToPrint): don't look at alignment if we don't have the place
12030 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12032 * box.C: New file. Move the Box methods and functions out of box.h,
12033 following Lars' suggestion.
12035 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12037 * box.h: #include "support/LOstream.h", needed for inlined function.
12040 * lyxtextclasslist.C: added some using std declarations.
12042 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12044 * box.h: make signed dimensions to allow insets wider than
12045 the screen (bug #162)
12047 * BufferView_pimpl.C: add some insetHit debug
12049 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12051 * vc-backend.C: add FIXME
12053 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12055 * lyxfunc.C (getStatus): enable code for showing math font status
12058 2002-01-07 Juergen Vigna <jug@sad.it>
12060 * text.C (nextBreakPoint): removed debug output not needed anymore.
12062 2002-01-06 Juergen Vigna <jug@sad.it>
12064 * text.C (nextBreakPoint): fixed up this function we had this bug
12065 since ever but now hopefully we break row better.
12066 (insertChar): we have to check if an inset is the next char as it
12067 could now happen that a large inset is causing a break.
12069 2002-01-05 Juergen Vigna <jug@sad.it>
12071 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12072 if it doesn't like to be drawed.
12074 2002-01-04 Juergen Vigna <jug@sad.it>
12076 * BufferView2.C (lockInset): forgot to set a cursor.
12078 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12080 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12082 * FormMathsPanel.C:
12085 * form_maths_panel.C:
12086 * form_maths_panel.h:
12087 * form_maths_panel.fd: implemented sub- and super- buttons in math
12090 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12091 (or ^ space) to be used as in TeX (req'd by André).
12093 * lyxfunc.C: Allow ^ and _ again to be used both as
12094 super/subscript (mathed) and as themselves (in text).
12096 2002-01-03 Allan Rae <rae@lyx.org>
12098 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12099 "LyX" or the filename of the current buffer if it has one. This is a
12100 modified form of John Levon's patch.
12102 * XFormsView.C (setWindowTitle): also set icon title.
12104 * LyXView.h (setWindowTitle): signature changed.
12105 * XFormsView.h (setWindowTitle): ditto.
12107 2002-01-02 Juergen Vigna <jug@sad.it>
12109 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12111 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12113 * screen.C (topCursorVisible): introduce a temp var for
12114 text->cursor.row(), handle the case where this row is null. (kindo
12117 * text2.C (setCursor): add a couple of asserts.
12119 * paragraph.h (inset_iterator): add -> operator
12121 * paragraph.[Ch] (autoDeleteInsets): remove member function
12123 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12124 cursor pos correctly and handle inset deletion by itself.
12125 (insertErrors): move iterator declaration out of for expression
12127 * lyxtextclass.C: add <algorithm>
12129 * Makefile.am: added the new files to sources, removed layout.C
12131 * layout.C: removed file
12133 * layout.h: remove LYX_DUMMY_LAYOUT
12135 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12139 * lyxtextclass.[Ch]:
12140 * lyxtextclasslist.[Ch]: new files
12142 * include order changes to a lot of files, also changes because of
12145 2001-12-27 Juergen Vigna <jug@sad.it>
12147 * buffer.C (asciiParagraph): more fixes.
12149 * tabular.C (ascii): make ascii export support export of only the
12150 data separated by a column-delimiter.
12151 (ascii): better support for ascii export.
12153 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12155 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12157 * tabular_funcs.C: use a "using std::getline" instead of the
12158 previous fix from Angus (necessary for cxx + lyxstring)
12160 2001-12-24 Juergen Vigna <jug@sad.it>
12162 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12164 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12165 problems. First check a minipage also if we have some ert-contents
12166 (not only on par->size(), second set the right depth of the paragraph
12167 on the relink to the root-paragraph-list!
12169 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12170 which then did not anymore update the main paragraphs on undo/redo!
12172 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12174 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12175 code. Support all font-changing funcs (even those which are not in
12176 menu currently). Support for reporting font settings in
12177 mathed (disabled until Andre provides a function on mathed's side).
12179 * func_status.h (toggle): small helper function to set toggle
12182 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12184 * tabular_funcs.C: getline -> std::getline
12186 2001-12-21 Juergen Vigna <jug@sad.it>
12188 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12189 accessed and could be 0 (I couldn't generate this but it seems
12192 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12194 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12195 * tabular_funcs.h: here and include iosfwd
12197 2001-12-20 Juergen Vigna <jug@sad.it>
12199 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12200 inside inset but undo_par was.
12202 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12204 * Thesaurus.C: always include <config.h> in sources.
12208 * box.h: do not include <config.h> in header files
12210 * text.C (paintLastRow): remove unused variable
12212 * text.C (transformChar):
12214 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12216 * Painter.C (text):
12217 * font.C (width): rewrite to use uppercase() instead of
12220 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12222 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12224 * lyxfind.C: clean up of find failure position change
12226 2001-12-20 Juergen Vigna <jug@sad.it>
12228 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12230 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12231 (TeXRow): added to LaTeX a single tabular row.
12232 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12233 (Latex): simplified and finally good LT-h/f support.
12234 (various_functions): just small adaptions for LT-h/f support.
12236 * tabular_funcs.[hC]: added and moved here all not classfunctions
12239 2001-12-19 Juergen Vigna <jug@sad.it>
12241 * tabular.[Ch]: better support for longtabular options (not finished
12244 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12246 * text.C (paintLastRow): use the label font instead of the font of
12247 the last character to compute the size of *_BOX. This makes more
12248 sense and avoids a crash with empty paragraphs.
12249 Use Painter::rectangle to draw EMPTY_BOX.
12251 2001-12-19 Juergen Vigna <jug@sad.it>
12253 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12254 the paragraphs if the replaced paragraph is not the first one!
12255 Tried to delete not used paragraphs but does not work yet so for
12256 now it's inside #ifdef's and by default off!
12258 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12260 * MenuBackend.C: include "lyx_main.h" instead of declaring
12261 lastfiles (actually was declared as LastFiles* instead of a
12264 2001-12-17 Juergen Vigna <jug@sad.it>
12266 * tabular.C (AppendColumn): applied John's fix
12268 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12272 * BufferView_pimpl.h:
12273 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12276 * box.h: new start of class for above
12278 * lyxfunc.C: ignore space-only minibuffer dispatches.
12279 Show the command name when it doesn't exist
12281 * minibuffer.C: don't add empty lines to the history
12283 * minibuffer.C: add a space on dropdown completion
12285 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12287 * text.C: fix line above/below drawing in insets
12289 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12291 * lyxlength.C (LyXLength): Initialize private variables.
12293 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12295 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12296 when inserting error insets.
12298 2001-12-13 Juergen Vigna <jug@sad.it>
12300 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12301 actually sometimes the before-paragraph.
12302 (setUndo): don't clear the redostack if we're not actually undoing!
12304 2001-12-06 Juergen Vigna <jug@sad.it>
12306 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12307 and fixed redoing of main paragraph, so we can use it now ;)
12309 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12311 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12313 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12316 2001-12-13 André Pönitz <poenitz@gmx.net>
12319 * undo_func.C: minor cleanup
12321 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12323 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12324 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12325 font in urw-fonts package which is marked as -urw-fontspecific and
12326 does not work (incidentally, changing the encoding in the
12327 fonts.dir of this package to -adobe-fontspecific fixes the
12330 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12331 is a crash when undoing first paragraph (Juergen, please take a
12332 look). THis does not mean the undo fix is wrong, just that it
12335 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12336 the (Paragraph*) version when needed instead of duplicating the
12339 * text.C (workWidth): use Inset::parOwner to find out where the
12340 inset has been inserted. This is a huge performance gain for large
12341 documents with lots of insets. If Inset::parOwner is not set, fall
12342 back on the brute force method
12344 * paragraph_pimpl.C (insertInset):
12345 * paragraph.C (Paragraph):
12346 (cutIntoMinibuffer): set parOwner of insets when
12347 inserting/removing them
12349 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12351 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12357 * mathed/formulabase.C:
12358 * mathed/math_cursor.[Ch]:
12359 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12362 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12364 * lyxlength.[Ch] (operator!=): new function
12366 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12368 * text.C (workWidth): use Inset::parOwner to find out where the
12369 inset has been inserted. This is a huge performance gain for large
12370 documents with lots of insets. If Inset::parOwner is not set, fall
12371 back on the brute force method
12373 * paragraph_pimpl.C (insertInset):
12374 * paragraph.C (Paragraph):
12375 (cutIntoMinibuffer): set parOwner of insets when
12376 inserting/removing them
12378 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12380 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12382 * tabular-old.C (getTokenValue):
12383 * tabular.C (getTokenValue):
12384 (write_attribute): new versions for LyXLength
12385 (everywhere): adjust the use of widths
12387 * tabular.h: change the type of widths from string to LyXLength
12389 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12391 * paragraph.C: fixed missing line number count when exporting
12392 Environments to LaTeX file
12394 * buffer.C: added informational message for checking line numbers.
12396 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12398 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12399 paragraph, do the 'double space' part, but not the 'empty
12402 * text.C (workWidth): small optimization
12403 (getLengthMarkerHeight): use minimal size for negative lengths.
12405 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12407 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12409 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12411 2001-12-11 André Pönitz <poenitz@gmx.net>
12414 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12416 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12418 * text2.C: keep selection on a setFont()
12420 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12422 * lyx_cb.C: another bv->text misuse, from insert label
12424 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12427 * kbsequence.C: re-instate nmodifier mask
12429 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12431 * lyx_main.h: make lyxGUI private.
12433 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12435 * lyxfind.C: place the cursor correctly on failed search
12437 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12439 * text.C (getLengthMarkerHeight): for small heights, the arrows
12440 are not always on top/bottom of the text
12441 (drawLengthMarker): smaller arrows; take the left margin in
12442 account; draw also vfills.
12444 (paintLastRow): remove special code for vfill and standard spaces,
12445 since everything is handled in drawLengthMarker now.
12447 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12449 * buffer.C (insertErtContents): try to handle font and language
12450 interaction a bit better.g
12452 * ColorHandler.C (updateColor): change the hash to cover the whole
12453 LColor enum, ws cleanup
12454 (getGCLinepars): ditto
12455 (getGCLinepars): only lookup in the linecache once.
12457 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12459 * iterators.C (operator++): Make the iterator more robust
12461 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12463 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12465 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12468 * text.C: better added space drawing
12470 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12473 * BufferView2.C: fix layout combo update on inset unlock
12475 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12477 * Makefile.am: don't compile unused files
12479 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12483 * LyXAction.C: remove old LFUN_LAYOUTNO
12485 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12487 * paragraph_pimpl.h:
12488 * paragraph_pimpl.C: isTextAt() doesn't need font param
12490 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12493 * lyxlex.C: little cleanup
12495 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12497 * BufferView_pimpl.C: fix insertAscii for insets
12499 2001-12-05 Juergen Vigna <jug@sad.it>
12501 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12502 set the right font on the "multi" paragraph paste!
12504 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12510 * lyxlength.C: remove out-commented code.
12512 * BufferView_pimpl:
12526 * vc-backend.C: change "while(" to "while ("
12528 * lyxlength.[Ch]: add zero function to check if length is zero or
12530 * lyxgluelength.C: use it
12532 2001-12-05 Allan Rae <rae@lyx.org>
12534 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12535 Works for 2.95.3, from what I understand of Garst's reports this should
12536 work for other g++ versions. We're screwed if the abs(int) definition
12537 changed between bugfix releases of gcc.
12539 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12541 * text.C: fix chapter label offset !
12543 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12546 * text.C: fix hfill at end of line, clean up
12548 2001-12-04 Juergen Vigna <jug@sad.it>
12550 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12551 that we force an update of the inset and it's owners if neccessary.
12553 2001-12-03 Juergen Vigna <jug@sad.it>
12555 * text.C (rowLast): simplified code
12557 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12559 * lyxfunc.C: fix show options on timeout
12561 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * screen.C (topCursorVisible): scroll half a page when the cursor
12564 reached top of bottom of screen
12566 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12568 * minibuffer.C: deactivate on loss of focus
12570 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12572 * vspace.[Ch] (operator!=): add operator.
12574 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12576 * BufferView_pimpl.C: refuse to open an inset when
12577 there's a selection.
12579 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12581 * BufferView_pimpl.C: allow to click on RHS of full row insets
12583 2001-11-30 Juergen Vigna <jug@sad.it>
12585 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12586 insets for undo reasons.
12588 2001-11-28 André Pönitz <poenitz@gmx.net>
12590 * vspace.[Ch]: cosmetical changes
12592 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12602 * kbsequence.C: part re-write of old kb code
12605 * WorkArea.C: remove Lgb_bug_find_hack
12607 2001-11-30 José Matos <jamatos@fep.up.pt>
12609 * buffer.C (makeDocBookFile): add a comment to point a hack.
12610 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12611 Fixed a double write of labels.
12613 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12616 * LaTeX.h Fixed bug in LaTeX class where it would not
12617 re-run latex if no depfiles were changed, but the .dvi was removed.
12619 2001-11-28 André Pönitz <poenitz@gmx.net>
12621 * all the files from the change on 2001/11/26:
12622 use lyx::layout_type instead of LyXTextClass::size_type
12623 use lyx::textclass_type instead of LyXTextClassList::size_type
12625 2001-11-29 Juergen Vigna <jug@sad.it>
12627 * text.C: added support for paragraph::isFreeSpacing()
12629 * buffer.C: same as above
12631 * paragraph.h: inserted isFreeSpacing() function to enable
12632 FreeSpacing inside InsetERT.
12634 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12635 of the paragraph's in the cut/copy buffer to 0!
12637 * text2.C (removeRow): remove the assert as it can!
12639 * lyxtext.h: added helper function firstRow returning firstrow and
12640 made firstrow private again.
12642 * BufferView2.C (lockInset): don't relock if we're already locked!
12644 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12645 the only paragraph.
12646 (removeRow): added Assert::(firstrow)
12648 * debug.C: forgot to add INSETTEXT here.
12650 2001-11-28 Juergen Vigna <jug@sad.it>
12652 * sp_spell.C (initialize): changed error text to more general
12653 spellchecker command use (not only ispell!)
12655 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12657 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12659 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12661 * vspace.C: initialise lyxgluelength on failure
12663 2001-11-28 Allan Rae <rae@lyx.org>
12665 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12666 declaration & definition that looks like a function declaration.
12668 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12670 * BufferView2.C (copy):
12671 (copyEnvironment): do not clear the selection when doing a copy.
12673 * text.C (paintFirstRow): compilation fix
12675 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12677 * tabular.C (Latex): correct line count when writing latex.
12679 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12681 * paragraph_pimpl.h:
12682 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12685 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12689 * LColor.C: change vfillline->added_space
12691 * text.C: add markers and text for added space
12693 * vspace.C: fix comment
12695 2001-11-28 André Pönitz <poenitz@gmx.net>
12697 * paragraph.C: whitespace changes
12698 * all the other files from the change on 2001/11/26:
12699 change *::pos_type into lyx::pos_type
12701 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12703 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12704 language of the document when inserting error insets.
12706 2001-11-26 André Pönitz <poenitz@gmx.net>
12708 * BufferView_pimpl.[Ch]:
12716 * paragraph_pimpl.[Ch]:
12719 * text2.C: reduce header dependencies, introduce type for positions
12721 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12723 * <various>: change to use Alert.h
12725 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12727 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12728 when encountering an unknown token.
12729 (readLyXformat2): Show an error message if there were unknown tokens.
12731 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12734 * BufferView_pimpl.C:
12738 * text2.C: use par->isInset()
12740 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12742 * paragraph_pimpl.h:
12743 * paragraph_pimpl.C: cleanup
12745 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12747 * text2.C (removeRow):
12748 * text.C (setHeightOfRow): remove useless (and costly) call to
12751 2001-11-20 Allan Rae <rae@lyx.org>
12753 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12754 Now need Inset*::checkInsertChar() to return true for appropriate
12755 cases so that the characters in the minibuffer will actually be
12758 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12760 * text.C: change the order of the includes.
12761 (workWidth): initialize it at once.
12762 (workWidth): make maxw unsigned
12763 (setHeightOfRow): remove unused variable (inset)
12764 (selectSelectedWord): remove unused variable (inset)
12765 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12767 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12769 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12770 server is not running.
12772 (closeConnection): add debug info when server is disabled.
12774 * ColorHandler.C (getGCForeground): send debug message to GUI
12777 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12779 * kbmap.C (bind): modify because return conventions of
12780 kb_sequence::parse have changed.
12782 * kbsequence.C (parse): only ignore spaces and not any stupid
12783 control character. This avoids tests like s[i] <= ' ', which are
12784 guaranteed to fail with 8bit characters and signed chars.
12785 Change return code to string::npos when there have been no error
12786 (0 was a bad idea when error is at first character)
12788 2001-11-14 José Matos <jamatos@fep.up.pt>
12791 * buffer.C (simpleDocBookOnePar): removed unused argument.
12793 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12795 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12796 insets which are part of a word. Paragraph::isLetter takes care of
12797 that now. Use Paragraph::isInset to identify insets.
12798 (selectSelectedWord): do not test for hyphenation break.
12800 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12801 that protected spaces are considered as spaces.
12803 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12806 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12809 * lyxserver.C: fix it. and small cleanup.
12811 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12813 * BufferView_pimpl.C: use inline helpers
12816 * LaTeXFeatures.C: fix typos
12819 * Spacing.C: move spacing_string into class
12821 * ToolbarDefaults.C: move stuff into namespace anon
12823 * layout.h: update enum
12825 * lyxfunc.C: use better debug
12827 * minibuffer.h: fix typo
12831 * WorkArea.C: add and use Debug::WORKAREA
12835 * text2.C: code re-organisation, inline helpers
12837 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12839 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12840 std::vector.empty().
12842 2001-11-09 Allan Rae <rae@lyx.org>
12844 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12845 '\n's after tables. Tabular and ERT inset work now makes this no
12848 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12851 * minibuffer.C: fix crash, improve drop-down completion
12853 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12856 * lyxserver.C: invalidate fd's when doing endPipe()
12858 2001-11-08 José Matos <jamatos@fep.up.pt>
12860 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12861 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12864 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12866 2001-11-07 José Matos <jamatos@fep.up.pt>
12869 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12872 * buffer.C (sgmlOpenTag):
12873 * buffer.C (sgmlCloseTag): removed debug info.
12875 * buffer.h (sgmlOpenTag):
12876 * buffer.h (sgmlCloseTag): made public.
12878 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12880 * buffer.C (saveParamsAsDefaults):
12881 * lyx_cb.C (MenuLayoutSave): remove
12883 * LyXAction.C (init):
12885 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12887 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12889 * buffer.C (setPaperStuff): removed from here...
12891 * bufferparams.C (setPaperStuff): ... and moved there.
12893 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12897 * XFormsView.C: add support for drop-down completion
12899 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12901 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12904 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12906 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12909 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12911 * lyx_main.C: change ref to known bugs
12913 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12915 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12916 to work around older babel problems.
12918 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12920 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12922 2001-10-24 Juergen Vigna <jug@sad.it>
12924 * tabular-old.C (ReadOld): below variable changes reflected.
12926 * tabular.[Ch]: added ltType struct for longtable header/footer
12927 defines and changed all instances where they are used. Added
12928 future support for double top/bottom rows.
12930 2001-10-24 José Matos <jamatos@fep.up.pt>
12932 * buffer.h (docbookHandleCaption):
12933 * buffer.C (docbookHandleCaption): removed unused function.
12934 (makeDocBookFile): moved docbook supported version to v4.1.
12936 2001-10-24 José Matos <jamatos@fep.up.pt>
12939 * tabular.C (docbookRow): new function to export docbook code of a row.
12940 (DocBook): now honors the longtable flags.
12942 2001-10-23 José Matos <jamatos@fep.up.pt>
12945 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12946 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12948 * buffer.C (makeLinuxDocFile):
12949 (makeDocBookFile): reworked the preamble, more clean, and with
12950 support for lyx defined entities. Changed the document declaration
12951 to be more XML friendly.
12953 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12954 if we need to output XML that should be done with a filter.
12956 2001-10-22 Juergen Vigna <jug@sad.it>
12958 * sp_pspell.h (class PSpell): add alive function needed in the
12959 controller to see if the spellchecker could be started.
12961 2001-10-22 Juergen Vigna <jug@sad.it>
12963 * buffer.C (insertStringAsLines): modify the font for inserting
12964 chars in certain conditions by calling checkInsertChar(font).
12966 2001-10-19 Juergen Vigna <jug@sad.it>
12968 * text.C (workWidth): use getRow instead of wrong algorithm.
12969 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12971 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12976 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12978 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12980 * text.C (workWidth): do not search for the exact row when
12981 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12982 optimization for big documents.
12984 2001-10-18 Juergen Vigna <jug@sad.it>
12986 * text.C (workWidth): new function with added Inset * parameter.
12988 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12990 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12992 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12993 change return type of getColumnNearX.
12996 * text.C (changeRegionCase): use uppercase/lowercase instead of
12999 (rightMargin): simplify code by factoring out the uses of
13004 (appendParagraph): use Paragraph::size_type
13006 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13008 * vspace.C (asLatexString): add a missing break
13010 2001-10-15 Herbert Voss <voss@perce.de>
13012 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13014 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13016 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13019 2001-10-10 André Pönitz <poenitz@gmx.net>
13021 * lyxfunc.C: removed greek_kb_flag.
13023 2001-10-10 Herbert Voss <voss@perce.de>
13025 * lyx_main.C: delete global string help_lyxdir.
13027 2001-10-09 Herbert Voss <voss@perce.de>
13029 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13031 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13033 * lyx_main.C: added global string help_lyxdir.
13035 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13037 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13039 * lyxrc.C (set_font_norm_type): support iso8859-4
13041 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13043 * LaTeX.C (deplog): add another regex for MikTeX
13045 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13047 * lyxrc.C (set_font_norm_type): support iso8859-3
13049 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13051 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13053 * LaTeXFeatures.C: remove special case of french and index
13055 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13056 before \begin{document}). This solves several incompatibilities.
13058 2001-10-03 Garst Reese <reese@isn.net>
13060 * lyx_cb.C: change CheckTex error msg.
13062 2001-10-03 José Matos <jamatos@fep.up.pt>
13064 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13066 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13068 * .cvsignore: update
13070 * lyx_main.C (commandLineVersionInfo): use new style version info.
13072 * buffer.C (writeFile):
13074 (makeLinuxDocFile):
13075 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13077 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13079 * version.h: update to use stuff in version.C
13081 * version.C.in: new file. Contains version information determined
13082 at compile time. This is a merging of version.h and
13085 2001-10-03 Juergen Vigna <jug@sad.it>
13087 * BufferView_pimpl.C (update): don't change "dirty" status in
13090 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13092 * WorkArea.C (c-tor): re-position version string slightly.
13094 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13096 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13097 revert to previous code.
13099 WorkArea.[Ch]: (show, destroySplash): methods removed.
13101 WorkArea.C: rework code so that it's an amalgam of the codes before and
13102 after the splash screen was moved to WorkArea.
13104 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13107 * vspace.C (inPixels):
13110 * buffer.C (insertStringAsLines):
13111 (asciiParagraph): fix types to be large enough
13113 * lyxlex_pimpl.h: change member status from short to int
13115 * layout.h: fix type of endlabeltype
13118 * kbsequence.C (parse): change return type to string::size_type
13120 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13123 * Bullet.C (bulletSize):
13124 (bulletEntry): do not use short ints as parameters
13126 * BufferView2.C (insertLyXFile): change a char to an int.
13128 * WorkArea.C (WorkArea): remove unneeded floats in computation
13130 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13132 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13134 * paragraph.C (asString): Do not ignore newline/hfill chars when
13135 copying to the clipboard.
13137 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13139 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13140 after a multi-line inset.
13142 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13144 * paragraph.C (validate): Set NeedLyXFootnoteCode
13146 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13148 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13149 and decrease-error to decrease.
13151 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13153 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13154 it more readable (should be equivalent)
13156 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13158 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13160 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13162 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13163 of a cursor (row, etc.) after a character has been deleted
13164 (deleteEmptyParagraphMechanism): call the method above on _all_
13165 cursors held by the LyXText when a double space has been
13168 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13170 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13172 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13174 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13175 background. Use greyOut() and the new show() methods to toggle between
13176 the foreground and background. Add code to remove the splash after
13177 its initial showing.
13179 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13180 (create_forms): no longer call Dialogs::showSplash.
13182 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13184 * .cvsignore: add version_info.h
13186 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13188 * version_info.h.in: new file
13190 * Makefile.am: add version_info.h.in
13192 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13193 version_info.h instead of VERSION_INFO
13195 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13197 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13198 The ERT inset now returns string().
13200 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13202 * lyxtext.h, text.C (selectNextWord): renamed as
13203 selectNextWordToSpellcheck.
13205 * text.C (selectNextWordToSpellcheck): Modified to not select
13206 words inside an ERT inset.
13208 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13210 * lyx_cb.C (MenuLayoutSave): change a bit the question
13212 * sp_base.h: include <sys/types.h>
13214 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13216 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13218 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13220 * several files: fix typos in user-visible strings
13222 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13224 * text2.C (pasteSelection): do not set the selection, since it
13225 will be cleared later. Actually, the intent was to fix the way the
13226 selection was set, but I figured rmoving the code was just as good.
13228 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13230 * FontLoader.C (available): Check if font is available without
13233 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13235 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13237 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13239 * lyxrc.[Ch]: added display_graphics variable and associated code.
13241 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13243 * bufferparams.C (hasClassDefaults): new method. Returns true if
13244 the buffer parameters correspond to known class defaults
13246 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13248 * XFormsView.C (show): set minimum size to the main window.
13250 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13252 * text2.C (copySelection):
13254 * lyxfind.C (LyXReplace):
13255 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13256 LyXText::selectionAsString.
13258 * paragraph.C (asString): add "label" argument to the second form
13260 * text2.C (selectionAsString): add "label" argument and pass it to
13261 Paragraph::asString.
13263 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13265 * lyx_main.C (commandLineHelp): remove version information
13267 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13269 * lyx_main.C: add -version commandline option
13271 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13273 * paragraph.h: make the optional constructor arg required instead.
13274 some modifications to other files because of this.
13276 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13278 * lyxserver.C (C_LyXComm_callback): make it static
13280 * lyx_main.C (error_handler): make it static
13282 * lyx_gui.C (LyX_XErrHandler): make it static
13284 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13286 * WorkArea.C: make the extern "C" methods static.
13288 * Makefile.am (lyx_LDADD): simplify
13290 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13292 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13293 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13295 * LyXAction.C (init):
13296 * lyxfunc.C (dispatch): associated code removal.
13298 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13300 * lyxfont.h (isSymbolFont): shut off warning
13302 * text.C (setHeightOfRow):
13303 (getVisibleRow): fix crash with empty paragraphs which have a
13306 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13308 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13311 2001-09-04 José Matos <jamatos@fep.up.pt>
13314 * tabular.C (docbook): rename docBook method to docbook.
13316 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13318 * Makefile.am: add dependencies to main.o.
13320 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13322 * FontLoader.C (available): Return false if !lyxrc.use_gui
13324 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13326 * FontInfo.C (query):
13327 * converter.C (view):
13328 * importer.C (Import):
13329 * exporter.C (Export): Can not -> cannot.
13331 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13333 * BufferView_pimpl.C: allow to create index inset even if
13336 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13338 * buffer.C (getLists): replace boost::tie code with an explicit pair
13339 as boost::tie can break some compilers.
13341 * iterators.h: Added a std:: declaration to the return type of
13344 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13346 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13349 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13351 * iterators.[Ch]: New files. Provide paragraph iterators.
13353 * buffer.C (changeLanguage): Use paragraph iterators.
13354 (isMultiLingual): ditto
13356 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13358 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13360 * FontLoader.C: Support for cmr font.
13362 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13364 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13365 (available): New method.
13367 * FontInfo.C (getFontname): Use scalable fonts even when
13368 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13371 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13373 * converter.C (Formats::view): reverted! Incorrect fix.
13375 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13377 * converter.C (Formats::view): only output the -paper option
13378 if the dvi viewer is xdvi, thereby fixing bug #233429.
13380 2001-08-23 Herbert Voss <voss@perce>
13382 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13384 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13386 * Spacing.h (Spacing): Set space to Default on in the default
13389 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13391 * vc-backend.h (RCS::versionString): add RCS to version
13392 (CVS::versionString): add CVS to version
13394 * vc-backend.C (scanMaster): do not add CVS to version.
13395 (scanMaster): do not add RCS to version
13397 * lyxvc.C (versionString): new method
13399 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13401 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13403 * Spacing.C (set): initialize fval
13405 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13407 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13410 2001-08-16 Juergen Vigna <jug@sad.it>
13412 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13414 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13416 * BufferView_pimpl.C:
13419 * text2.C: setParagraph takes linespacing now
13421 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13423 * LyxAction.C: add internal LFUN_CITATION_INSERT
13425 * LyXView.C: actually apply fix
13427 * bufferlist.C: fix open non-existent file
13429 * lyxfind.C: fix indentation
13431 * lyxfunc.C: remove unneeded assert, fix typo
13433 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13435 * MenuBackend.C: use "Floatname List"
13437 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13439 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13440 when converting LaTeX layout to insetERT.
13441 Generate a non-collapsed float when reading old float
13443 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13445 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13448 2001-08-13 Juergen Vigna <jug@sad.it>
13450 * text.C (fill): return 0 instead of 20 as this seems to be the more
13453 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13455 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13458 2001-08-13 Juergen Vigna <jug@sad.it>
13460 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13462 (SearchBackward): comment out the unlocking of the inset_owner this
13463 should not be needed!
13465 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13467 * Many files: Remove inherit_language, and add latex_language
13469 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13470 collapsible insets.
13472 2001-08-10 Juergen Vigna <jug@sad.it>
13474 * text.C (prepareToPrint): fixed hfill-width in draw!
13476 * BufferView2.C (selectLastWord): save the selection cursor as this
13477 now is cleared in the function LyXText::clearSelection!
13479 2001-08-08 Juergen Vigna <jug@sad.it>
13481 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13482 BACKSPACE type functions.
13484 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13485 is only cutted from the document but not put in the cut-buffer, where
13486 still the old stuff should be.
13488 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13490 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13492 * tabular.C (SetWidthOfCell): fixed special case where the width
13494 (LeftLine): handle '|' in align_special.
13496 (LeftAlreadyDrawed): ditto
13497 (SetWidthOfCell): ditto
13499 2001-08-07 Juergen Vigna <jug@sad.it>
13501 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13503 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13505 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13506 * lyxlex.[hC]: ditto
13508 2001-08-06 Juergen Vigna <jug@sad.it>
13510 * text.C (getVisibleRow): fix up row clearing a bit.
13512 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13514 * minibuffer.C: make sure the X server sees the changes in the input.
13516 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13518 * paragraph.C (getFont): split into...
13519 (getLabelFont): this
13520 (getLayoutFont): and this
13521 * paragraph_pimpl.C (realizeFont): calling this
13523 * text2.C (getFont): split into...
13524 (getLayoutFont): this
13525 (getLabelFont): and this
13526 (realizeFont): all three calling this
13528 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13531 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13533 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13535 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13537 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13538 layouts from the Quote inset insertion.
13540 2001-08-03 Juergen Vigna <jug@sad.it>
13542 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13544 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13545 only if status not is already CHANGED_IN_DRAW (second level).
13547 * text.C (draw): don't set the need_break_row when inside an
13550 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13552 * buffer.C (parseSingleLyXformat2Token): handle more latex
13555 * bufferview_funcs.[hC]: change function names to
13556 begin with small char, adjust other files.
13558 2001-08-02 André Pönitz <poenitz@gmx.net>
13561 BufferView_pimpl.C: remove broken special code for math-greek
13563 2001-08-02 Juergen Vigna <jug@sad.it>
13565 * BufferView_pimpl.C (update): redone this function so that we
13566 update the text again if there was a CHANGE_IN_DRAW.
13568 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13569 (drawFromTo): added a new internal bool which is used by draw() and
13571 (general): some cursor drawing problems fixed.
13573 2001-08-01 Juergen Vigna <jug@sad.it>
13575 * lyxfind.C (LyXFind): fixed
13576 (SearchForward): ditto
13577 (SearchBackward): ditto
13579 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13580 spurius drawing of the cursor in the main area.
13582 * text2.C (status): small fix which could lead to a segfault!
13583 (clearSelection): remove unneeded BufferView param.
13585 2001-08-01 André Pönitz <poenitz@gmx.net>
13587 * lyxfunc.C: small change due to changed mathed interface
13589 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13591 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13593 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13595 * lyxfunc.c: fail gracefully if file doesn't exist
13600 * BufferView_pimpl.C: IsDirWriteable() proto changed
13602 * LyXView.C: fix updateWindowTitle() to store the last title
13604 2001-07-31 Juergen Vigna <jug@sad.it>
13606 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13607 the font (wrong since using of Paragraph::highestFontInRange).
13609 * paragraph.C (highestFontInRange): added a default_size parameter.
13611 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13612 (setHeightOfRow): reformat
13614 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13616 * converter.[hC] + affected files: move to (inital-char)lowercase
13619 * ParagraphParameters.C (ParagraphParameters): remove commented code
13621 * PainterBase.[Ch]: remove commented code
13623 * LaTeXFeatures.h: add "bool floats" for float.sty
13625 * LaTeXFeatures.C (LaTeXFeatures): init floats
13626 (require): handle float
13627 (getPackages): do it with floats
13629 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13631 * BufferView_pimpl.C (Dispatch): improve handling of
13632 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13634 * commandtags.h: #include lyxfont.h here temporarily to avoid
13637 * bufferlist.h: include LString.h here.
13639 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13641 * text2.C (getStringToIndex): new method.
13643 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13645 * *: Reduced header file dependencies all over.
13647 2001-07-30 Baruch Even <baruch@lyx.org>
13649 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13651 2001-07-29 Baruch Even <baruch@lyx.org>
13653 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13655 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13657 * ParameterStruct.h (endif): add a default constructor to make
13658 sure that all variables is initialized.
13660 * ParagraphParameters.C (ParagraphParameters): adjust
13662 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13664 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13665 index; also, check that there is something to index, and that it
13666 does not span over several paragraphs.
13667 (doubleClick): use WHOLE_WORD_STRICT for double click.
13669 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13671 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13674 2001-07-26 Baruch Even <baruch@lyx.org>
13676 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13677 an InsetFig figure, backwards compatible reading of old figure code.
13679 2001-07-27 Juergen Vigna <jug@sad.it>
13681 * text2.C: font.realize function adaption.
13683 * text.C (draw): add a warnings lyxerr text if needed.
13685 * layout.C: font.realize function adaption.
13687 * language.C: add inherit_language and implement it's handlings
13689 * bufferview_funcs.C (StyleReset): remove language parameter from
13690 font creation (should be language_inherit now).
13692 * bufferparams.C (writeFile): handle ignore_language.
13694 * paragraph.C (getFontSettings): the language has to be resolved
13695 otherwise we have problems in LyXFont!
13697 * lyxfont.C (lyxWriteChanges): added document_language parameter
13698 (update): removed unneeded language parameter
13700 * paragraph.C (validate): fixed wrong output of color-package when
13701 using interface colors for certain fonts in certain environments,
13702 which should not seen as that on the final output.
13704 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13706 * BufferView_pimpl.C:
13711 * LyXAction.C: add thesaurus support
13714 * lyxfind.C: add "once" parameter, for thesaurus, to not
13715 move to the next match
13717 2001-07-26 Juergen Vigna <jug@sad.it>
13719 * lyxfont.C (realize): honor ignore_language too!
13722 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13724 * text.C (draw): one place more for ignore_language to not draw
13727 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13729 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13731 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13733 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13734 the minipage conversion problem.
13736 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13738 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13741 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13743 * BufferView.h: don't forward declare WorkArea
13745 * BufferView.C: don't include WorkArea.h
13747 2001-07-25 André Pönitz <poenitz@gmx.net>
13751 * lyxfunc.C: new LFUN 'math-space'
13753 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13755 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13757 * text2.C (toggleInset): call open/close
13759 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13761 * lyxfunc.C (dispatch): add debug for the disabled case
13763 * font.C (buttonText): make similar to rectText
13765 * buffer.C (readInset): comment out parsing of insetlist and
13768 * PainterBase.C (rectText): small correction
13770 * BufferView_pimpl.C: comment out insettheorem and insetlist
13771 * LyXAction.C: ditto
13772 * commandtags.h: ditto
13774 2001-07-24 Juergen Vigna <jug@sad.it>
13776 * text.C (draw): honor the ignore_language.
13778 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13780 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13782 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13785 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13787 * lyxtext.h: remove unused (and unimplemented) methods
13789 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13791 * text.C (getVisibleRow): honor background color
13794 * Painter.h: remove default color argument for fillRectangle
13796 * text.C (backgroundColor): new method
13798 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13800 * text.C (getVisibleRow): adjust
13802 * font.[Ch] (rectText): new method, metrics
13803 (buttonText): new method, metrics
13805 * PainterBase.[hC]: make rectText and buttonText always draw and take
13808 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13810 * ToolbarDefaults.C (read):
13811 * MenuBackend.C (read): allow escaping in all strings
13813 * BufferView_pimpl.C (insertAndEditInset): new method.
13814 (Dispatch): use insertAndEditInset whenever appropriate.
13816 * BufferView_pimpl.C (insertNote): removed
13818 * BufferView_pimpl.C (smartQuote): new method, moved from
13819 BufferView; if an insetquote cannot be inserted, insert a '"'
13822 * BufferView2.C: remove insertCorrectQuote();
13824 * lyxfunc.C (getStatus): Add support for all remaingin
13825 inset-insert lfuns.
13827 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13829 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13830 command (necessary to pass " as parameter of self-insert.
13832 * text.C (selectWordWhenUnderCursor):
13833 (selectWord): add word_location parameter
13834 (selectWordWhenUnderCursor): same + remove special code for word
13836 (selectNextWord): use kind() to guess type of insetspecialchar,
13839 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13840 (insertErtContents): create ert insets as collapsed.
13841 (readInset): better compatibility code for Info inset.
13843 2001-07-20 Juergen Vigna <jug@sad.it>
13845 * lyxfunc.C (dispatch): use always LyXFind now!
13847 * text2.C (init): add a reinit flag so that the LyXText can be
13848 reinited instead of deleted and reallocated (used in InsetText).
13850 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13856 2001-07-18 Juergen Vigna <jug@sad.it>
13858 * text.C (selectNextWord): handle insets inside inset by calling
13859 always the bv->text functions so that we can go up the_locking_inset!
13861 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13862 in strange locations when inside an inset!
13864 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13865 handling to include insets.
13867 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13869 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13871 * LyXAction.C (init):
13873 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13874 LIGATURE_BREAK, since the name is so stupid.
13876 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13878 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13881 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13883 * sp_form.[Ch]: remove.
13885 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13887 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13890 * src/buffer.C (readInset): ditto.
13892 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13894 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13895 menuSeparator(), endOfSentenceDot(), ldots() and
13896 hyphenationPoint(), which are therefore removed.
13897 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13899 * LyXAction.C (init):
13900 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13902 * paragraph.C (getWord): removed.
13904 * BufferView_pimpl.C (Dispatch): use last word or selection for
13905 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13907 * lyx_main.C (queryUserLyXDir): do not ask before creating
13908 user_dir, except if it has been named explicitely.
13910 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13912 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13913 a document of zero size.
13915 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13917 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13918 approriately in the c-tor and in require().
13919 (getPackages): output the appropriate LaTeX for natbib support.
13921 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13922 variables "use_natbib" and "use_numerical_citations" when reading the
13924 (readInset): read the various natbib cite commands.
13925 (validate): white-space change.
13927 * bufferparams.[Ch]: new variables "bool use_natbib" and
13928 "bool use_numerical_citations".
13929 (writeFile): output them in the LyX file.
13931 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13933 * lyxfunc.C (getStatus): add support for all the inset insertion
13936 * text2.C (insertInset):
13937 * paragraph.C (insetAllowed):
13938 * BufferView_pimpl.C (insertInset): update to take in account the
13939 renaming of insertInsetAllowed
13941 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13943 * text2.C (getInset): new method. returns inset at cursor position.
13945 * BufferView_pimpl.C (Dispatch): changes because of this.
13947 * LyXAction.C (init): rename open-stuff to inset-toggle.
13949 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13951 * text2.C (toggleInset): renamed from openStuff; use
13954 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13956 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13958 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13960 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13962 * buffer.C (readLyXformat2): Add filename to the error dialog
13964 2001-07-18 Juergen Vigna <jug@sad.it>
13966 * tabular.C (GetCellNumber): put an assert here instead of the check!
13968 2001-07-17 Juergen Vigna <jug@sad.it>
13970 * BufferView_pimpl.C (toggleSelection): adapted too.
13972 * text.C (selectNextWord): adapted for use with insets.
13973 (selectSelectedWord): ditto
13975 2001-07-17 Juergen Vigna <jug@sad.it>
13977 * sp_spell.C (PSpell): fix initialitation order.
13979 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13981 * paragraph.C: spacing
13983 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13985 * sp_spell.C: repair language selection for pspell
13987 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13989 * lyxfunc.h: change more methods to begin with lower char.
13991 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13993 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13994 for unknown layouts.
13996 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13998 * buffer.C (readLyXformat2): Generate an error dialog if there are
14001 2001-07-16 Juergen Vigna <jug@sad.it>
14003 * sp_spell.C: always compile ISpell part.
14005 * lyxrc.C: added use_pspell entry and it's handling.
14007 2001-07-13 Juergen Vigna <jug@sad.it>
14009 * sp_spell.C: removed double includes.
14011 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14013 Consistent use of Lsstream.h:
14014 * Lsstream.h: added using std::stringstream for consistencies sake.
14016 * buffer.C: removed using std::stringstream
14018 * lyxfont.C (stateText):
14019 * paragraph.C (asString):
14020 * text.C (selectNextWord, selectSelectedWord):
14021 * text2.C (setCounter):
14022 * vspace.C (asString, asLatexString):
14023 std::ostringstream -> ostringstream.
14025 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14027 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14028 * commandtags.h: add LFUN_HELP_ABOUTLYX
14029 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14031 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14033 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14035 * lyx_gui_misc.C: remove spellchecker
14036 * lyxfunc.C: showSpellchecker
14038 * sp_ispell.h: added
14039 * sp_pspell.h: added
14040 * sp_spell.C: added
14041 * sp_form.[Ch]: removed
14042 * spellchecker.[Ch]: removed
14044 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14046 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14048 (simpleTeXSpecialChars): Simply print the input character without
14049 any special translation if pass_thru is set.
14051 * layout.h: Added bool pass_thru to layout class for being able to
14052 implement pass through of a paragraph for Literate Programming.
14054 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14055 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14056 * layout.C (Read): add "passthru" to list of layout tags and add
14057 code to set the pass_thru boolean when it is read.
14059 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14061 * trans_decl.h: remove allowed from KmodInfo
14063 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14064 remove allowed code
14067 * paragraph_pimpl.C (erase): use boost::prior
14069 * Painter.C (text): use data() instead of c_str() when length is
14071 * WorkArea.C (putClipboard): ditto
14072 * font.h (width): ditto
14074 * BufferView2.C: use it-> instead of (*it). for iterators
14076 * paragraph_pimpl.C: ditto
14077 * paragraph.C: ditto
14078 * minibuffer.C: ditto
14079 * language.C: ditto
14081 * encoding.C: ditto
14082 * counters.C: ditto
14083 * converter.C: ditto
14085 * Variables.C: ditto
14086 * TextCache.C: ditto
14087 * MenuBackend.C: ditto
14088 * LyXAction.C: ditto
14090 * FloatList.C: ditto
14091 * DepTable.C: ditto
14092 * ColorHandler.C (LyXColorHandler): ditto
14094 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14096 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14098 * text2.C (openStuff): reintroduce this method (which had been
14099 nuked in NEW_INSETS frenzy).
14101 * lyxfunc.C (Dispatch): when an action has not been handled, use
14102 its name in the error message, not its number.
14104 * paragraph.C (inInset): change method name to begin with lowercase.
14107 * text2.C: updates because of this.
14109 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14111 * ToolbarDefaults.C (add): add spaces in error message
14113 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14115 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14116 (readLyXformat2): rename return_par to first_par, use lyxlex's
14117 pushToken and remove the manual push handling.
14118 (parseSingleLyXformat2Token): add another ert comp. variable:
14119 in_tabular, rename return_par to first_par. handle newlines better
14121 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14123 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14125 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14127 * text2.C (getParFromID): removed
14129 * buffer.C (getParFromID): new method moved form lyxtext.
14130 * BufferView2.C (insertErrors): adjust
14131 (setCursorFromRow): adjust
14132 * BufferView_pimpl.C (restorePosition): adjust
14133 * lyxfunc.C (Dispatch): adjust
14134 * undo_funcs.C (textUndo): adjust
14136 (textHandleUndo): adjust
14137 (textHandleUndo): adjust
14139 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14141 * buffer.C: up' the LYX_FORMAT
14143 * lyxfont.h: turn NO_LATEX on as default
14145 * buffer.C (insertErtContents): new methods of tex style compability.
14146 (parseSingleLyXformat2Token): use it several places.
14147 * tabular.C (OldFormatRead): and here
14149 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14151 * text2.C: remove some commented code.
14154 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14155 * trans.C: changes because of the above.
14157 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14159 * text2.C (setCounter): Fix counters bug with bibliography layout.
14161 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14163 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14164 own member functions
14165 (simpleTeXSpecialChars): ditto
14167 2001-07-06 Juergen Vigna <jug@sad.it>
14169 * a lot of files: changed the access to LyXText::status and the
14170 call of undo-functions.
14172 * undo.[Ch]: added a inset_id to the undo informations.
14174 * undo_funcs.[Ch]: added and moved here all undo functions.
14176 * lyxtext.h: give the status enum a weight, made status_ a private
14177 variable and made accessor functions for it, removed the whole bunch
14178 of undo-functions as they are now in their own file, make some
14179 functions publically available. Added function ownerParagraph with
14182 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14183 made InInset() a const function, added getParFromID() function.
14185 * buffer.[Ch]: added const version for inset_iterator functions,
14186 added getInsetFromID() function.
14188 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14189 changed undo functions for new version.
14191 2001-07-05 Juergen Vigna <jug@sad.it>
14193 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14194 unknow mechanism does not call the proper constructor but only this
14195 one also if I request the other!?
14197 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14199 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14201 * text2.C (LyXText): use initialization lists.
14203 * lyxtext.h (Selection): initialize set_ and mark_
14204 (init): remove method
14206 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14208 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14210 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14212 * screen.[Ch]: change method names to begin with lowercase
14214 * BufferView_pimpl.C (updateScrollbar): simplify further and
14215 hopefully make it a bit faster.
14217 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14219 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14220 calling directly xforms functions.
14222 * Painter.C (Painter):
14223 * lyx_cb.C (MenuWrite):
14224 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14227 * lyx_gui.C: remove bogus guiruntime extern declaration.
14229 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14231 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14233 (redoDrawingOfParagraph): ditto
14234 (redoParagraphs): ditto
14235 (cutSelection): don't create a object for CutAndPaste use the
14236 static method directly
14237 (pasteSelection): ditto
14239 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14242 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14244 * modifications to some other files because of this.
14246 * Makefile.am (lyx_SOURCES): add XFormsView
14248 * XFormsView.[Ch]: new files
14250 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14251 the main window. Move the gui dependent stuff to XFormsView
14253 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14255 * tabular.C (GetCellInset): update cur_cell also in the row/col
14256 version of this function.
14258 * lyxfunc.C: no need to include figure_form.h here.
14264 * lyxvc.C: no need to include forms.h here.
14266 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14268 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14270 * lyxfunc.C (Dispatch):
14272 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14273 constructor argument.
14275 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14277 * paragraph.C (Paragraph): dont't clear, and just set layout.
14278 (makeSameLayout): use params's copy contructor.
14280 * ParagraphParameters.[Ch] (makeSame): delete method
14282 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14284 * Variables.[Ch]: fix indentation, rename set to isSet
14286 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14288 * lyxfunc.C (Dispatch): fix typo
14290 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14292 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14295 * bufferlist.C: include assert.h for emergencyWrite().
14297 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14299 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14300 give up at last (bug #425202) !
14302 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14308 * spellchecker.C: strip spellchecker options and bring up
14309 preferences tab instead
14311 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14313 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14314 the istringstream constructor
14316 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14318 * paragraph.C (getLayout): fix return value
14320 * paragraph.h: do not declare getLayout as inline.
14322 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14324 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14326 * lyxcursor.h (operator<): new func
14327 (operator>): new func
14328 (operator>=): new func
14329 (operator<=): new func
14331 * text.C (changeCase): use selection.start and selection.end
14332 (changeRegionCase): require from to be <= to. Require par to be a
14335 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14337 2001-06-27 Juergen Vigna <jug@sad.it>
14339 * text.C (cursorLeftOneWord): changed to return the cursor and added
14340 overlay with BufferView * parameter which calls this one.
14342 (selectWord): use new getWord function.
14343 (changeCase): renamed from changeWordCase as and extended to work
14344 also on selections.
14346 * lyxtext.h: added enum word_location
14348 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14349 changeCase as this operates now also on selections.
14351 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14353 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14355 * many files: send debug output to Debug::INFO instead of
14358 * converter.C (View):
14360 (Move): send debug output to Debug::FILES instead of console.
14362 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14364 * lyxfunc.C (getStatus): use func_status
14366 * func_status.h: new header, describing the results of
14367 LyXFunc::getStatus;
14369 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14372 2001-06-25 The LyX Project <jug@sad.it>
14374 * buffer.C (sgmlOpenTag):
14376 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14378 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14380 * text2.C: remove some dead code
14382 * tabular.C (GetCellInset): store the last cell checked (gotten)
14384 * tabular.h: add the helper for the speedup
14386 * lyxtext.h: remove some dead code
14388 2001-06-26 The LyX Project <Asger>
14390 * paragraph.C: Change export to LaTeX of alignment to
14391 \begin{center} and family for better roundtrip work with reLyX.
14393 * Tune the math drawing a bit.
14395 2001-06-25 The LyX Project <Asger>
14397 * LColor.C (LColor): New color for math background. New color
14400 2001-06-25 The LyX Project <jug@sad.it>
14402 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14404 * lyxfunc.C (Open):
14405 * bufferlist.C (newFile): do not restrict to files ending with
14408 * BufferView_pimpl.C (MenuInsertLyXFile):
14410 2001-06-24 The LyX Project <jug@sad.it>
14412 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14415 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14417 * lyxtext.h: rename most methods to begin with a small char.
14418 Lots of changes because of this.
14420 * paragraph.C (Paragraph): do not call fitToSize
14421 (erase): call Pimpl::erase
14422 (insertChar): call Pimpl::insertChar
14423 (insertInset): call Pipl::insertInset
14424 (breakParagraph): do not call fitToSize
14425 (breakParagraphConservative): do not call fitToSize
14426 (fitToSize): remove method
14428 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14430 2001-06-24 The LyX Project <Asger>
14432 * Fix Qt compilation^2
14434 2001-06-24 The LyX Project <jug@sad.it>
14436 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14437 depthHook(getDepth()-1).
14440 * ParagraphParameters.h:
14441 * ParameterStruct.h: change type of depth to unsigned int ==
14442 depth_type. Many adaptations to other files before of that.
14444 2001-06-24 The LyX Project <Asger>
14446 * Fix Qt compilation.
14448 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14450 * paragraph.h: renamed several methods to begin with small letter.
14451 several changes to many parts of the code because of this.
14453 2001-06-23 The LyX Project <jug@sad.it>
14455 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14456 rewritten to discard all double spaces when KeepEmpty is off
14457 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14458 to only handle newlines but not fiddle with spaces and friends.
14460 * lyxfunc.C (MenuNew): when doing 'new from template', use
14461 template_path as default directory
14463 2001-06-23 The LyX Project <Asger>
14465 * Clean-up of header file includes all over
14466 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14468 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14470 * paragraph.h: renamed from lyxparagraph.h
14472 2001-06-23 Asger <lyx@violet.home.sad.it>
14474 * Buffer.h: Removed Buffer::resize
14475 * BufferList.h: Removed BufferList::resize
14476 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14477 the document lazily when we change the width, or the font settings.
14479 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14481 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14483 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14485 * buffer.h: remove out of date comment
14487 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14490 * screen.C: fix "theoretical" GC leak
14492 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14494 * LaTeX.C (scanAuxFile):
14495 (deplog): remove trailing \r when reading stream (useful under
14498 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14500 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14501 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14502 and BufferView::theLockingInset(Inset*), so should use them and not
14503 access bv_->text->the_locking_inset directly.
14505 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14507 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14510 * tex-defs.h: remove old unused file
14512 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14514 * BufferView_pimpl.C: fix typo, remove minibuffer message
14515 when buffer has loaded
14517 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14519 * lyxfunc.C (Dispatch): use stringstream
14520 (MenuNew): use stringstream
14521 (Open): use stringstream
14523 * importer.C (Import): use stringstream
14525 * bufferview_funcs.C (CurrentState): use stringstream
14527 * LaTeX.C (run): use stringstream
14529 * BufferView_pimpl.C (savePosition): use stringstream
14530 (restorePosition): use stringstream
14531 (MenuInsertLyXFile): use stringstream
14533 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14546 * vspace.C: removed // -*- C++ -*- as first line.
14549 * version.h: added // -*- C++ -*- as first line.
14551 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14553 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14555 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14558 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14560 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14563 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14565 * gettext.C: include LString.h even when --disable-nls is on.
14567 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14569 * converter.h (Get): changed argument type from int to
14570 FormatList::size_type to avoid unnecessary conversion.
14572 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14575 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14577 * gettext.h: include LString.h even when --disable-nls is on.
14579 2001-06-07 Juergen Vigna <jug@sad.it>
14581 * text.C (BreakAgain): subst spaces with tabs.
14583 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14584 (resizeInsetsLyXText): set force on resizeLyXText.
14586 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14588 * gettext.h (gettext_init):
14589 (locale_init): use a real definition instead of a macro
14591 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14593 * Bufferview_pimpl.C:
14595 * LColor.C: further lcolor tidies
14597 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14599 * BufferView_pimpl.C (updateScrollbar): simplify.
14601 * BufferView2.C: don't include insets/insetinfo.h, change
14602 prototype for insertInset and call the Pimpl version. let
14603 updateInset call Pimpl version.
14605 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14606 gotoInset to BufferView::Pimpl
14608 2001-06-01 Juergen Vigna <jug@sad.it>
14610 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14611 inside a LockingInset (is the update needed at all?).
14613 2001-05-31 Juergen Vigna <jug@sad.it>
14615 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14616 here not the old one otherwise how should we compare it afterwards
14619 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14624 * FontInfo.C: bring C functions into global namespace when
14627 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14629 * LString.h: make sure config.h has been loaded before LString.h.
14631 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14632 (one for each char read by EatLine!).
14634 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14637 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14639 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14640 to the same as the par we break from
14642 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14644 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14646 * MenuBackend.C (expand): also create menu entries for wide
14647 versions of the floats.
14649 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14651 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14653 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14654 frontends/Makefile.am
14660 * tabular.C (getTokenValue): add std::
14662 * tabular-old.C (getTokenValue): add std::
14663 (getTokenValue): ditto
14664 (getTokenValue): ditto
14666 * screen.C (ToggleSelection): adjust
14668 * lyxtext.h: put selection cursors inside a Selection struct.
14670 * lyxfunc.C (moveCursorUpdate): adjust
14672 * lyxfont.C (latexWriteStartChanges): add std::
14674 * lyxfind.C: adjust
14676 * font.h: delete with(char const *, LyXFont const &)
14678 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14680 * FontInfo.C (getFontname): add std::
14682 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14683 (workAreaButtonPress): adjust
14684 (tripleClick): adjust
14686 (moveCursorUpdate): adjust
14689 * BufferView2.C (gotoInset): adjust
14691 2001-05-30 Juergen Vigna <jug@sad.it>
14693 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14694 to check pspell I add this as default as I now have new pspell
14695 libraries and they seem to use this.
14697 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14699 * text2.C (CutSelection): make the cursor valid before the call to
14702 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14704 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14705 relied on 0 terminated strings and other horrors. Bug found due to
14706 the new assert in lyxstring!
14708 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14711 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14713 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14716 * lyxfunc.C (processKeySym): change method of getting to the
14719 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14720 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14721 * BufferView_pimpl.[Ch]: here as private methods.
14723 2001-05-28 Juergen Vigna <jug@sad.it>
14725 * text.C (SetHeightOfRow): added the update() call again as it is
14726 needed to initialize inset dimensions!
14728 2001-05-16 Juergen Vigna <jug@sad.it>
14730 * text2.C (SetCharFont): Add new function with BufferView * and
14731 bool toggleall parameters for setting insets internal fonts.
14732 (SetFont): Freeze the undo as we may change fonts in Insets and
14733 all this change should be inside only one Undo!
14735 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14736 setting font's in insets as for them we have the SetFont function!
14738 2001-05-15 Juergen Vigna <jug@sad.it>
14740 * text2.C (ClearSelection): to be sure we REALLY don't have any
14743 * tabular.C (TeXCellPreamble): fixed the left border problem for
14746 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14748 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14751 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14753 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14754 LFUN_BREAKPARAGRAPH.
14756 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14757 help test to "internal only", similar for LFUN_INSERT_URL
14759 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14760 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14761 auto_region_delete and deadkeys.
14763 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14766 * LColor.C: remove some dead entries, tidy a little
14768 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14770 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14772 (Dispatch): implement LFUN_ESCAPE
14774 * commandtags.h: add LFUN_ESCAPE
14776 * LyXAction.C (init): add entry for LFUN_ESCAPE
14778 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14779 Remove commented code.
14780 (insertNote): moved here
14781 (open_new_inset): moved here
14783 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14786 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14788 * kbmap.C (findbinding): clean it up and make it work correctly.
14790 * lyx_main.C (init): do not pass argc and argv as parameters
14792 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14794 * buffer.C: fix path for OS/2 & Win32
14798 * lyx_main.C: Added os:: class.
14800 * os2_defines.h: update
14802 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14804 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14805 better by trying again with reduced state.
14807 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14809 * lyxrc.C (read): print error about invalid key sequence only when
14810 debugging (because not all latinX keysyms are known to some X
14813 * kbsequence.C (getiso): add a few std:: qualifiers
14814 (getiso): comment out extra return statement.
14816 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14818 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14820 (Dispatch): enhance the accent inset a bit. (not perfect)
14822 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14824 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14826 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14828 * bufferlist.C (emergencyWrite): fix assert() call
14830 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14832 * text.C (InsertChar): Added trivial patch to only send the "you
14833 can not do multiple spaces this way" message once during a
14836 2001-05-08 Baruch Even <baruch@lyx.org>
14838 * Makefile.am: Changed order of libraries to get LyX to link properly
14839 with the gnome frontend.
14841 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14843 * LaTeXFeatures.h: add a std:: qualifier
14845 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14847 * paragraph.C (String): use stringstream
14849 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14851 * paragraph.C (writeFile): remove footflag arg
14853 * buffer.C (makeLaTeXFile): use stringstream
14854 (latexParagraphs): remove footnot gurba
14856 * LaTeXFeatures.C (getPackages): use stringstream
14857 (getMacros): likewise
14858 (getTClassPreamble): likewise
14859 (getFloatDefinitions): new method
14861 * paragraph.C (writeFile): reindent
14864 * WorkArea.h: revert the xpos + etc changes.
14866 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14868 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14870 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14871 (pasteSelection): likewise
14872 * text2.C (CreateUndo): likewise
14874 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14876 * minibuffer.C (peek_event): temporarily reduce the functionality
14877 of the minibuffer (to allow args on lfuns)
14879 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14880 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14882 * buffer.C (readInset): add compability reading of old float
14883 lists, add reading of new style float list.
14884 (readInset): avoid reevaluation of inscmd.getCmdName()
14885 (getLists): reindent
14887 * MenuBackend.C (MenuItem): implement parsing of
14888 md_floatlistinsert and md_floatinsert.
14889 (expand::LastFiles): move initalizaton of iterators out of loop,
14890 avoid reevaluation.
14891 (expand::Documents): introduce typdedef vector<string> Strings,
14893 (expand::ExportFormats): introduce typedef vector<Format const *>
14894 Formats, and use it.
14895 (expand): implement FloatListInsert and FloatInsert.
14897 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14898 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14899 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14901 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14903 (Dispatch::LFUN_FLOAT_LIST): implement
14905 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14907 * LaTeX.C (run): Fix problem with --export code.
14909 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14911 * BufferView.[Ch] (workarea): removed.
14912 (getClipboard) new method; wrapper for workarea()->getClipboard()
14914 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14917 * WorkArea.h (width, height, xpos, ypos): These methods all
14918 returned the dimensions of the work_area sub-area of WorkArea,
14919 resulting in a position error if the WorkArea were resized. Now
14920 return the dimensions of the entire WorkArea.
14922 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14924 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14926 * LaTeX.C (deplog): correct the syntax of regex reg1
14928 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14930 * undo.C: remove !NEW_INSETS cruft
14932 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14934 * text2.C: remove !NEW_INSETS cruft
14936 * text.C: remove !NEW_INSETS cruft
14938 * tabular.C: remove !NEW_INSETS cruft
14940 * spellchecker.C: remove !NEW_INSETS cruft
14942 * lyxtext.h: remove !NEW_INSETS cruft
14944 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14946 * lyxfunc.C: remove !NEW_INSETS cruft
14948 * lyxfind.C: remove !NEW_INSETS cruft
14950 * lyx_cb.C: remove !NEW_INSETS cruft
14952 * figureForm.C: remove !NEW_INSETS cruft
14954 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14956 * buffer.[Ch]: remove !NEW_INSETS cruft
14958 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14960 * CutAndPaste.C: remove !NEW_INSETS cruft
14962 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14964 * BufferView2.C: remove !NEW_INSETS cruft
14966 * BufferView.h: remove !NEW_INSETS cruft
14968 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14970 * Lsstream.h: include LString.h before the sstream headers to
14971 fix problem with gcc 2.95.3 and lyxstring
14973 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14975 * lyx_main.C: add using directives when needed for C functions
14976 declared in std:: namespace.
14978 2001-04-27 Juergen Vigna <jug@sad.it>
14980 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14981 (SetHeightOfRow): comment out the update call should not be needed!
14983 2001-04-13 Juergen Vigna <jug@sad.it>
14985 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14986 (LyXTabular): tried to minimize operator= operations (and realized
14987 hopfully Lars wish).
14989 2001-04-27 Juergen Vigna <jug@sad.it>
14991 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14993 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14995 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14997 * buffer.C (readInset): hack to make listof algorithm work
14999 * BufferView_pimpl.C: hack to make listof algorithm work
15001 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15003 * LyXAction.C: removed all !NEW_INSETS cruft
15004 (init): moved lfun_item in method
15006 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15008 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15010 * BufferView2.C (theLockingInset): white space.
15012 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15014 * minibuffer.C: include <iostream>
15016 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15018 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15020 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15022 * text.[Ch] (TransposeChars): new method
15024 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15026 * call message directly through LyXView instead of through LyXFunc
15027 * BufferView2.C: adjust
15028 * BufferView_pimpl.C: adjust
15029 * FontLoader.C: adjust
15031 * bufferview_funcs.C: adjust
15032 * converter.C: adjust
15033 * figureForm.C: adjust
15034 * importer.C: adjust
15036 * lyx_gui_misc.C: adjust
15037 * lyxfunc.C: adjust
15040 + more files in subdirs
15042 * lyxparagraph.h (size): move up int file
15045 * adjust all uses of Assert to lyx::Assert.
15047 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15048 lyxfunctional in namespace lyx
15049 * layout.C (hasLayout): ditto
15052 (delete_layout): ditto
15053 (NumberOfClass): ditto
15054 * converter.C (GetFormat): ditto
15059 * bufferlist.C (getFileNames): ditto
15060 (emergencyWriteAll): ditto
15063 * MenuBackend.C (hasSubmenu): ditto
15066 * BufferView_pimpl.C (getInsetByCode): ditto
15068 2001-04-18 Juergen Vigna <jug@sad.it>
15070 * vspace.C (asLatexString): fixed the 100% problem.
15072 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15074 * lyxfunc.C (Dispatch):
15076 * minibuffer.h: add a few std:: qualifiers
15078 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15080 * minibuffer.[Ch]: reimplement so that commands is initiated and
15081 run from lyxfunc, simplified som handling, and made the completion
15082 and history code for complete. wip.
15084 * lyxfunc.C (processKeySym): call message
15085 (miniDispatch): new temporary method
15086 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15087 (LFUN_MESSAGE): implement
15088 (LFUN_MESSAGE_PUSH): implement
15089 (LFUN_MESSAGE_POP): implement
15090 (initMiniBuffer): the initial/defualt minibuffer message.
15092 * lyxfont.[Ch]: inline some more getters
15094 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15096 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15098 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15099 (AutoSave): use LFUN_MESSAGE
15100 (Reconfigure): ditto
15102 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15104 * figureForm.C: use LFUN_MESSAGE
15106 * converter.C (runLaTeX): use LFUN_MESSAGE
15108 * bufferview_funcs.C: use LFUN_MESSAGE
15110 (changeDepth): ditto
15112 * bufferparams.h: use boost::
15114 * bufferlist.h: inherit privately from noncopyable
15116 * bufferlist.C (loadLyXFile): remove some commented code.
15118 * buffer.C (runChktex): use LFUN_MESSAGE
15120 * ShareContainer.h: inherit privately from noncopyable
15122 * ParagraphParameters.[hC] (depth): inline it.
15124 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15126 (message): new method
15127 (messagePush): ditto
15128 (messagePop): ditto
15129 (show): init minibuffer
15130 (showState): direct call
15132 * LaTeX.[Ch]: inherit privately from noncopyable
15133 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15134 instead of WriteStatus.
15136 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15138 * BufferView_pimpl.C (buffer): don't init minibuffer
15139 (workAreaButtonPress): use LFUN_MESSAGE
15140 (workAreaButtonRelease): ditto
15141 (savePosition): ditto
15142 (restorePosition): ditto
15143 (MenuInsertLyXFile): ditto
15144 (workAreaExpose): don't init minibuffer
15145 (update): remove commented code, simplify
15147 * BufferView2.C (openStuff): use LFUN_MESSAGE
15148 (toggleFloat): ditto
15151 (copyEnvironment): ditto
15152 (pasteEnvironment): ditto
15157 (updateInset): remove some commented code
15159 * lastfiles.h: inherit privately from noncopyable
15162 * lyx_main.h: ditto
15164 * lyxlex_pimpl.h: ditto
15166 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15167 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15168 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15170 * LyXAction.h: inherit privately from noncopyable, add methods
15171 func_begin, func_end, returning iterators to the func map.
15173 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15174 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15175 (func_begin): new method
15176 (func_end): new method
15178 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15180 (copySelection): ditto
15181 (pasteSelection): ditto
15183 * BufferView.C: whitespace change
15184 * BufferView.h: inherit privately from noncopyable
15186 2001-04-16 Allan Rae <rae@lyx.org>
15188 * tabular-old.C (l_getline):
15189 * spellchecker.C (sc_check_word):
15190 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15191 an unrecognised preprocessor directive. So ensure they're wrapped.
15193 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15195 * src/exporter.C (Export): Give an error message when path to file
15198 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15200 * LaTeX.C (deplog): Always check that foundfile exists.
15202 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15205 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15207 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15209 * tabular.[Ch] (getLabelList): implement new method
15211 * minibuffer.h: comment ouf setTiimer
15213 * minibuffer.C (ExecutingCB): constify res
15214 (peek_event): constify s
15215 (Set): constify ntext
15216 (Init): constify nicename
15218 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15220 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15221 (savePosition): use two params to Minibuffer::Set
15222 (restorePosition): ditto
15224 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15226 * lyx_main.C: include language.h
15228 * Makefile.am (lyx_main.o): add language.h
15230 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15236 * CutAndPaste.C: include gettext.h
15238 * lyxfont.h: remove old hack with ON and OFF.
15241 * lyxfont.h: do not include language.h...
15246 * bufferview_funcs.C:
15252 * paragraph.C: ... but do it here instead
15254 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15256 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15258 * tabular.C: small reformat
15260 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15263 (BreakParagraph): ditto
15264 (SetOnlyLayout): ditto
15267 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15270 * lastfiles.C: removed most using decl, add std:: where needed
15272 * buffer.C: ws changes
15274 * MenuBackend.C (class compare_format): put into anon namespace
15275 (expand): constify label, names, action, action2
15278 * text.C (SingleWidth): constify font
15279 (IsBoundary): constify rtl2
15280 (GetVisibleRow): constify ww
15282 * LaTeX.C (deplog): constify logfile
15284 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15286 (workAreaExpose): constify widthChange, heightChange
15288 * lyxrow.C (par): moved
15291 * lyxrow.h: as inlines here
15293 * lyxfont.h (shape): moved from lyxfont.C
15294 (emph): moved from lyxfont.C
15296 * lyxfont.C (LyXFont): use initialization list for all
15298 (shape): move to lyxfont.h as inline
15299 (emph): move to lyxfont.h as inline
15302 2001-04-04 Juergen Vigna <jug@sad.it>
15304 * vspace.C: had to include stdio.h for use of sscanf
15306 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15309 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15310 independent of xforms.
15312 2001-04-02 Juergen Vigna <jug@sad.it>
15314 * spellchecker.C: fixed namespace placing!
15316 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15318 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15319 the LyXParagraph * is 0.
15321 2001-03-29 Juergen Vigna <jug@sad.it>
15323 * vspace.C: added support for %, c%, p%, l%.
15324 (stringFromUnit): added helper function.
15325 (asLatexString): changed to give right results for the %-values.
15327 * buffer.C: convert the widthp in a width%.
15329 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15331 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15334 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15335 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15337 * lyx_cb.[Ch]: see above.
15339 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15343 * lyx.[Ch]: replaced by figure_form.[Ch].
15347 * lyxfunc.C: changed headers associated with above changes.
15349 2001-03-27 Juergen Vigna <jug@sad.it>
15351 * BufferView_pimpl.C: set the temporary cursor right!
15353 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15355 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15357 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15359 * LString.h: removed "using std::getline"!
15361 * BufferView_pimpl.C (Dispatch): changes due to changes in
15362 InsetInclude::Params.
15364 * buffer.C (tag_name): removed redundant break statements as they were
15365 producing lots of warnings with my compiler.
15367 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15369 * LString.h: add "using std::getline" when using the real <string>.
15371 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15373 * buffer.C: removed bitset usage.
15374 PAR_TAG moved to an anonymous name space.
15375 (tag_name): new funtion, also in the anonymous namespace.
15376 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15377 (makeDocBookFile): clean code. Completed transition from string arrays
15379 (SimpleDocBookOnePar): code clean.
15381 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15383 * tabular.C: add some comments.
15385 2001-03-22 Juergen Vigna <jug@sad.it>
15387 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15388 compatibility read a bit and fixed bug with minipage in different
15391 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15393 * buffer.C (pop_tag): removed.
15394 (push_tag): removed.
15395 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15396 array replaced with vector. Added support for CDATA sections.
15397 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15399 (makeDocBookFile): XML conformant declaration of CDATA section,
15400 fixed bug related to <emphasis> in the first paragraph char.
15401 (sgmlOpenTag): exclude empty tags.
15402 (sgmlCloseTag): ditto.
15404 * buffer.h (pop_tag): removed.
15405 (push_tag): removed.
15407 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15409 * language.h (Languages): added size_type and size().
15411 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15413 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15414 response on compability reading of minipages. One probliem is that
15415 the old usage of minipages was «flertydig»
15417 * several files here and in subdirs: don't use static at file
15418 scope use anon namespaces instead.
15420 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15422 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15423 LaTeX output. This is necessary for Literate document
15426 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15428 * buffer.C: insert hfill when needed.
15430 * tabular.C (l_getline): use string::erase, small whitespace change.
15432 * BufferView_pimpl.C: try the anon namespace.
15433 * WorkArea.C: ditto
15435 2001-03-16 Juergen Vigna <jug@sad.it>
15437 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15438 otherwise it won't open options-dialogs.
15440 * buffer.C: honor pextraWidth(p) on converting minipages.
15442 * tabular.C (l_getline): changed the functions to strip trailing \r.
15444 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15446 * BufferView_pimpl.C:
15447 * minibuffer..C: added "using SigC::slot" declaration.
15449 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15451 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15457 * paragraph.C: ditto
15459 * lyxtext.h: NO_PEXTRA
15461 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15463 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15464 * ParameterStruct.h: ditto
15465 * ParagraphParameters.h: ditto
15466 * lyxparagraph.h: ditto
15468 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15470 * buffer.C: add compability for minipage alignment.
15471 (latexParagraphs): remove unwanted pextra check.
15473 * several files: remove CXX_WORKING_NAMESPACES
15475 * buffer.C (pop_tag): tie is in namespace boost
15477 * BufferView.h: noncopyable is in namespace boost
15479 * lyx_main.h: ditto
15482 * lastfiles.h: ditto
15483 * bufferlist.h: ditto
15484 * ShareContainer.h: ditto
15486 * LyXAction.h: ditto
15489 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15491 * Merging changes from BRANCH_MVC back into HEAD.
15493 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15495 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15497 * BufferView_pimpl.C: change from intl.C
15501 * Makefile.am: move combox.*
15507 * intl.C: remove dialog (covered by prefs)
15509 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15511 * lyxfunc.C (Dispatch): removed redundant break statement.
15513 2001-03-14 Juergen Vigna <jug@sad.it>
15515 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15517 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15519 * buffer.C: add hack to fix compability reading of minipages.
15521 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15523 * buffer.C (getLists): Cleanup.
15525 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15527 * lyxfont.C (update): don't honor toggleall on font size.
15529 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15533 * Makefile.am: moved to frontends/xforms/
15537 * BufferView_pimpl.C: changes for moved mathpanel
15539 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15541 * gettext.h: fix gettext_init() in --disable-nls
15543 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15545 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15547 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15550 * lyx.h: strip external form
15552 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15554 * BufferView_pimpl.C: add comment, destroySplash()
15556 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15558 * BufferView_pimpl.C:
15562 * lyxfunc.C: use re-worked insetinclude
15564 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15566 * buffer.C: add using std::stringstream.
15568 * lyx_cb.C: readd using std::ios.
15570 * buffer.C: add using std::map.
15572 * BufferView_pimpl.C: add using std::vector.
15574 * ShareContainer.h: add std:: to swap.
15576 * buffer.h: add some typedefs
15577 * buffer.C (getLists): use them
15578 (getLists): renamed from getTocList.
15579 add a counter for the different float types and use it in the
15581 (getLists): use the same counter for the NEW_INSETS and the "non"
15584 * lyx_cb.h: remove unused items, includes, using etc.
15586 * ShareContainer.h: remove some commented code, add more comments
15587 and "documentation".
15589 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15591 * buffer.C (getTocList): make the list also when NEW_INSETS is
15594 * buffer.h: remove TocType
15596 * buffer.C (getTocList): change to return a map<string,
15597 vector<TocItem> >, implement for dynamic number of list.
15599 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15600 * text2.C (PasteSelection): adjust
15601 * CutAndPaste.C (pasteSelection): adjust
15603 * FloatList.C (FloatList): update from the new_insets branch.
15604 * Floating.[Ch]: ditto
15605 * LaTeXFeatures.C: ditto
15607 * lyxlex_pimpl.C: ditto
15609 * paragraph.C (Last): remove when NEW_INSETS is defined.
15611 * other file: changes because of the above.
15613 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15615 * lyxparagraph.h: rename next to next_, previous to previous_,
15616 make them private for NEW_INSETS. Rename Next() to next(),
15617 Previous() to previous().
15619 * other files: changes because of the above.
15621 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15624 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15627 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15629 * main.C (main): pass lyx_localedir to gettext_init().
15631 * gettext.h: remove locale_init and gettext_init macros
15633 * gettext.C (locale_init): new function
15634 (gettext_init): new function
15636 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15639 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15641 * Moved credits to frontends:
15642 * credits.[Ch]: removed
15643 * credits_form.[Ch]: removed
15644 * lyx_gui_misc.C: remove credits stuff
15647 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15649 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15651 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15652 unneeded destructor.
15654 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15655 a standalone pointer again.
15657 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15659 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15665 * ToolbarDefaults.C:
15674 * BufferView_pimpl.C: use new file dialog in GUII
15677 * lyx_cb.C: remove LayoutsCB to Toolbar
15679 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15681 * ShareContainer.h (get): add std:: qualifier
15683 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15685 * ShareContainer.h: define a proper ShareContainer::value_type
15686 type (and use typename to please compaq cxx)
15688 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15690 * lyxparagraph.h: move serveral local vars to
15691 ParameterStruct/ParagraphParameters., use ShareContainer in
15692 FontTable., make vars in FontTable private and add getter and
15695 * paragraph.C: changes because of the above.
15697 * lyxfont.h: remove copy constructor and copy assignment. (the
15698 default ones is ok), move number inside FontBits. move inlines to
15701 * lyxfont.C: add number to initializaton of statics, move several
15702 inlines here. constify several local vars. some whitespace
15703 cleanup. Dont hide outerscope variables.
15705 * Spacing.h: add two new constructors to match the set methods.
15707 * ShareContainer.h: new file, will perhaps be moved to support
15709 * ParameterStruct.h: new file
15711 * ParagraphParameters.h: new file
15713 * ParagraphParameters.C: new file
15715 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15716 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15718 * BufferView_pimpl.C: ParagraphParameter changes.
15719 * buffer.C: Likewise.
15720 * bufferview_funcs.C: Likewise.
15721 * text.C: Likewise.
15722 * text2.C: Likewise.
15724 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15726 * lyxfind.C (LyXReplace): do not redefine default argument in
15728 (IsStringInText): ditto
15729 (SearchForward): ditto
15730 (SearchBackward): ditto
15732 2001-03-06 Juergen Vigna <jug@sad.it>
15734 * lyxfind.C (IsStringInText): put parentes around expressions.
15736 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15738 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15740 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15742 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15744 * stl_string_fwd.h: add comment
15746 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15749 * tabular.C: remove unused DocBook methods
15755 killed DO_USE_DEFAULT_LANGUAGE
15757 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15759 * lyx_gui.C: do not include language.h.
15761 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15762 arguments in function implementation.
15764 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15766 * BufferView_pimpl.C: add <ctime>
15768 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15770 * BufferView_pimpl.C: add using std::find_if
15772 2001-02-27 José Matos <jamatos@fep.up.pt>
15774 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15777 2001-02-11 José Matos <jamatos@fep.up.pt>
15779 * buffer.C (makeDocBookFile): command styles now have a parameter as
15780 "title" by default.
15782 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15784 * layout_forms.[Ch]: removed
15785 * lyx_cb.[Ch]: out character
15786 * lyx_gui.C: out character
15787 * lyx_gui_misc.C: out character
15788 * bufferview_funcs.C: : out character,
15789 added toggleall as parameter in ToggleAndShow
15791 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15793 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15795 * text2.C (SetCurrentFont): Disable number property at boundary.
15797 2001-02-26 Juergen Vigna <jug@sad.it>
15799 * lyxfunc.C (getStatus): added a string argument override function so
15800 that this is correctly called from LyXFunc::Dispatch if it contains a
15801 do_not_use_argument which is used!
15802 (Dispatch): added check for "custom" export and call appropriate func.
15804 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15806 * lyxrc.C: Add language_command_local, language_use_babel and
15807 language_global_options.
15809 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15811 * buffer.C (makeLaTeXFile): Use language_use_babel and
15812 language_global_options.
15814 2001-02-23 Juergen Vigna <jug@sad.it>
15816 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15817 which works with LyXText and putted it inside BufferView. Here now we
15818 only call for that part the BufferView::Dispatch() function.
15820 * BufferView.C (Dispatch): added.
15822 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15823 functions which needs to use a LyXText over from LyXFunc.
15824 (MenuInsertLyXFile): added
15825 (getInsetByCode): added
15826 (moveCursorUpdate): added
15827 (static TEXT): added
15829 2001-02-22 Juergen Vigna <jug@sad.it>
15831 * BufferView_pimpl.C (update): call a status update to see if LyXText
15834 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15836 * vc-backend.C (revert): implement for CVS
15837 (getLog): implement for CVS
15839 2001-02-20 Juergen Vigna <jug@sad.it>
15841 * text2.C (ClearSelection): added BufferView param for inset_owner call
15843 * lyxfunc.C (TEXT): added this function and use it instead of
15844 directly owner->view()-text of getLyXText().
15846 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15848 * src/layout_forms.C: out preamble
15849 * src/layout_forms.h: out preamble
15850 * src/lyx_cb.C: out preamble
15851 * src/lyx_cb.h: out preamble
15852 * src/lyx_gui.C: out preamble
15853 * src/lyx_gui_misc.C: out preamble
15854 * src/lyxfunc.C: connect with guii preamble
15856 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15858 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15860 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15862 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15863 whether to run bibtex.
15865 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15867 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15869 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15871 * Makefile.am (lyx_SOURCES): removed bibforms.h
15873 * vspace.h: doxygen
15875 * text.C (GetVisibleRow): make several local vars const
15877 * tabular.C: small cleanup.
15879 * lyxserver.C (callback): use compare instead of strncmp
15881 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15882 inlines to after class or to paragraph.C
15884 * lyxfont.h: remove friend operator!=
15886 * converter.h: move friend bool operator< to non friend and after
15889 * combox.h: small cleanup
15891 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15892 to inlines after class def.
15894 * buffer.C (pop_tag): use string operations instead of strcmp
15896 * bmtable.c: doxygen, small cleanup
15898 * LaTeX.h: remove friend operator==
15900 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15912 * BufferView_pimpl.C:
15913 * BufferView.[Ch]: remove cruft
15915 2001-02-14 Juergen Vigna <jug@sad.it>
15917 * lyxfunc.C: removed #if 0 unused code
15919 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15921 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15923 * text2.C (SetSelection): added a BufferView * parameter
15925 2001-02-13 Juergen Vigna <jug@sad.it>
15927 * lyxfunc.C (Dispatch): fixed protected blank problem.
15928 * BufferView2.C (protectedBlank): added LyxText * parameter.
15930 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15931 (AppendColumn): same as above for column_info.
15933 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15934 (moveCursorUpdate): use a LyXText param for support of InsetText.
15936 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15937 (tripleClick): ditto
15939 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15941 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15943 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15945 * text2.C (SetSelection): set correct update status if inset_owner
15946 (ToggleFree): ditto
15948 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15950 * tabular.C: remove some commented code.
15952 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15954 * BufferView_pimpl.C: call hideSplash()
15956 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15959 * bibforms.h: remove
15962 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15963 add LFUN_CHILD_CREATE
15965 * counters.h: fix tiny typo
15970 * lyx.C: move splash to frontends/xforms/
15972 * lyx_gui_misc.C: move Include and Bibform to frontends
15974 * lyxvc.h: clarify comment
15976 * vspace.C: tiny housekeeping
15978 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15980 * text.C (PrepareToPrint): RTL Fix.
15982 * paragraph.C (GetUChar): New method.
15983 (String): Use GetUChar.
15985 * buffer.C (asciiParagraph): Use GetUChar.
15987 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15989 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15991 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15994 * buffer.C: rename to getLogName(), handle
15995 build log / latex log nicely
15997 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16000 * MenuBackend.h: remove support for reference menuitem type.
16002 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16004 * BufferView_pimpl.C: housekeeping
16005 * BufferView_pimpl.h:
16010 * minibuffer.h: move Timeout GUI-I
16012 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16014 * lyxrc.C (read): Update converters data-structures.
16016 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16018 * LaTeX.h (operator!=): add operator != for Aux_Info
16020 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16022 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16024 * LaTeXLog.C: deleted, useful code moved to Buffer
16027 * buffer.C: new function getLatexLogName()
16033 * lyxfunc.C: use frontends for LaTeX and VC logs
16035 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16037 * LaTeX.h: yet another std:: that Allan forgot.
16039 * Variables.C (set): renamed from isset(), because this clashes
16040 with some HP-UX macros (grr).
16042 2001-02-06 Allan Rae <rae@lyx.org>
16044 * LaTeX.h: Another bug fix. Missing std:: this time.
16046 2001-02-04 Allan Rae <rae@lyx.org>
16048 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16049 floats problem. I've left it commented out because it's not quite
16050 correct. It should also test that the current object is a table or
16051 figure inset. But I haven't gotten around to figuring out how to do
16052 that. I *think* it'll be something like: "table" == inset.type()
16054 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16057 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16059 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16060 all the citation/databases/styles in the auxilary file.
16061 (run): Rerun latex if there was a babel language error.
16063 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16065 * text.C (Backspace): Preserve the font when changing newline char
16067 (BreakParagraph): If the cursor is before a space, delete the space.
16069 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16071 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16073 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16074 new argument (code).
16075 (ChangeCitationsIfUnique): New method.
16077 * paragraph.C (GetPositionOfInset): Handle bibkey.
16079 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16081 * BufferView_pimpl.h: change type of Position::par_pos to
16082 LyXParagraph::size_type.
16084 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16086 * BufferView_pimpl.C (savePosition, restorePosition): Write
16087 messages to minibuffer.
16089 2001-01-28 José Matos <jamatos@fep.up.pt>
16091 * buffer.C (makeDocBookFile): adds support for document language.
16092 A silly restriction on the name of LatexCommand types where removed.
16093 Added support for CDATA sections, allows to chars unescaped, used
16094 among others in code, to avoid escape < and >.
16096 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16098 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16099 saved positions instrad of a stack. Furthermore, a position is
16100 stored using paragraph id/paragraph position.
16102 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16103 Remove LFUN_REF_BACK.
16105 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16107 * converter.C (dvipdfm_options): New method.
16109 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16111 * vspace.C (isValidLength): Fix for empty input string.
16113 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16115 * LyXAction.C (init): change description of LFUN_FIGURE to
16118 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16120 * LaTeX.C: add using directive
16122 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16124 * MenuBackend.C (expand): Fix the sorting of the formats.
16126 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16128 * lyx_main.C: tiny error message fix
16130 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16132 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16133 calling fl_initialize(). This fixes the problem with ',' as
16134 decimal separator in text files.
16136 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16138 * trans.C (process): Fix the keymap bug.
16140 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16142 * LaTeX.C (scanAuxFiles): New method. Provides support for
16143 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16144 (scanLogFile) Scan for "run BibTeX" messages.
16146 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16147 OT1 font encoding. Also, load the aecompl package if the ae
16150 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16152 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16154 * texrow.C (increasePos): turn two error messages into debug
16157 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16159 * LaTeX.C (scanAux): Handle the \@input macro.
16160 (runBibTeX): Use scanAux().
16162 * language.C (latex_options_): New field.
16164 * LaTeXFeatures.C (getMacros): Add language macros.
16166 * buffer.C (makeLaTeXFile): Small fix.
16168 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16170 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16172 * text2.C: add a using directive.
16174 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16179 * lyxfunc.C: kill LyXBell.
16181 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16183 * text.C (IsBoundary): Remove the error message
16185 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16187 * lyxrc.C (setDefaults): Correct initialization value for
16190 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16192 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16195 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16196 and GotoNextNote().
16198 * src/LyXAction.C: Added reference-next.
16200 * text.C (InsertChar): Use contains instead of strchr.
16202 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16204 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16206 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16207 alignment commands (when needed).
16209 * text.C (InsertChar): Add ':' to number separator chars.