1 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
3 lyxrc.C: add to tooltip about using xindy to prefs (xforms)
5 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
7 * LaTeX.C: implement use of babel language in xindy.
9 2004-10-05 José Matos <jamatos@lyx.org>
11 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
12 Add new translators to help reading and writing the lyx file.
14 2004-10-05 José Matos <jamatos@lyx.org>
16 * ParagraphParameters.C (read):
17 * text.C (readParToken): replace nexToken by more appropriate lex
20 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
22 * LaTeX.C (runMakeIndex):
23 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
24 (usually 'makeindex') configurable.
26 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
27 with a variable rather than with a number.
29 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
31 * output_latex.C (TeXOnePar): make sure font setting is the first
32 thing that gets output (and the last at the end). Should fix bug
35 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
37 * pch.h: use proper signal include
39 * LaTeX.h: Use preferred calling of Boost.Signal
42 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
44 * pch.h: dont include <boost/function/function0.hpp>
46 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
48 * paragraph_pimpl.h: remove usage of ShareContainer
50 * paragraph_pimpl.C: remove initialization of ShareContainer.
52 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * BufferView.C (putSelectionAt): change the semantics when
57 backwards == true: now, this just swaps cursor and anchor wrt the
60 * BufferView.h (putSelectionAt): add some documentation
62 * lyxfind.C (findBackwards): rewrite using while(). In particular,
63 make sure backwardChar is done at least once (to avoid getting
65 (findNextChange): use putSelectionAt in the forward direction
66 (operator()): use Paragraph::isWord
68 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
70 * Spacing.C (set): c_str fix
72 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
74 * lyx_cb.C (Reconfigure): quote the name of configure script in
75 case it contains spaces
77 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
81 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
82 (BOOST_LIBS): use top_buildir when looking for the file
84 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
86 * pch.h: do not use include boost/format.hpp, multiple symbols
90 2004-08-23 José Matos <jamatos@lyx.org>
92 * bufferparams.C (readToken): fix reading of the author field.
94 2004-08-20 José Matos <jamatos@lyx.org>
96 * lyxrc.C: remove support/translator.h inclusion since it is not used.
98 2004-08-20 José Matos <jamatos@lyx.org>
100 * lyxlex.[Ch] (findToken): remove function.
102 * ParagraphParameters.C (findToken):
103 * bufferparams.C (findToken): replace call for previous function
104 with local copy. This local function has one more argument, the
105 read string argument.
107 2004-08-16 José Matos <jamatos@lyx.org>
109 * ParagraphParameters.C (write):
110 * Spacing.C (writeFile):
111 * bufferparams.C (writeLaTeX):
112 * lyx_cb.C (Reconfigure):
113 * paragraph.C (write):
114 * tabular.C (write): remove unnecessary space at end of line.
117 2004-08-16 José Matos <jamatos@lyx.org>
119 * text.C (readParagraph): remove debug message.
121 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
123 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
126 * output_plaintext.C (asciiParagraph): set depth correctly
128 * outputparams.h: add member depth
130 * paragraph_funcs.C (ownerPar): remove.
132 * text2.C (setCounter): remove first_pit; comment out some
133 non-working code that uses ownerPar
135 * BufferView.C (getParentLanguage): remove. Not used anymore, and
138 2004-08-16 José Matos <jamatos@lyx.org>
140 * text.C (readParToken, readParagraph, read): report all unknown tokens.
141 For the same level of importance use the same chanel to report problems.
142 (read): add code to deal with \begin_body and \end_body.
145 2004-08-15 José Matos <jamatos@lyx.org>
147 * lyxlex.C (getString): fix comment, buffer::readBody is now
150 * tex-strings.C (string_papersize): Default -> default,
151 Custom -> custom, for consistency with other options.
153 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
157 * Makefile.am: support pch
159 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * text.C (readParToken): remove the static LyXFont variable and
162 pass it as a parameter instead. This fixes a nasty bug where an
163 inset will be inserted with a bad font in some situations
164 (readParagraph): adapt
166 * text2.C (setCounter): reduce number of calls to pars_[pit]
168 * text.C (singleWidth): add an assert, fix a test
170 * rowpainter.C (paintText): reduce number of calls to singleWidth
172 * paragraph.C (isHfill):
175 2004-08-14 André Pönitz <poenitz@gmx.net>
180 * lyxtext.h (several functions): use a Paragraph & argument
183 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
185 * metricsinfo.h: add a new field ltr_pos to PainterInfo
187 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
189 * text.C (singleWidth): remove useless test
191 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 * tabular.h: remove bogus comments
195 * tabular.C (getDescentOfRow):
196 (isPartOfMultiColumn): add assertions
198 * lyxlength.C (inPixels): remove #warning
200 2004-08-14 André Pönitz <poenitz@gmx.net>
202 * paragraph.h: inline getChar()
204 * BufferView.h: remove unused declarations
206 2004-08-14 José Matos <jamatos@lyx.org>
208 * Buffer.[Ch] (readDocument): new name for old readBody.
209 * Buffer.C: new file format, new keywords: \begin_document,
210 \begin_header, \begin_body, \end_body.
212 * bufferparams.C (readToken): replace all calls to lex.nextToken
213 by lex.next(). Do the same to eatLine except where really needed.
215 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
216 line when writing to the lyx file.
218 * output_plaintext.C (asciiParagraph): fix Bibliography style
221 * text.C (read): fix end of file handling.
223 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
225 * MenuBackend.C (Menu::operator[]): new method to access
226 individual menu items
227 (Menu::hasFunc): new method. search for an item that corresponds
229 (MenuBackend::specialMenu): new method
230 (MenuBackend::expand): if a special menu has been set, skip
231 entries whose func() appears in this menu
233 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
235 * text3.C: use Debug::DEBUG a bit more
237 * text.C (leftMargin): try to simplify a tiny bit change var x to
238 l_margin. Dont output the wide margins always.
239 (rightMargin): no margin in inner texts
241 * rowpainter.h (nestMargin): new func
242 (changebarMargin): new func
243 (rightMargin): new func
245 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
249 * factory.C (createInset): modify setDrawFrame
251 * cursor.C: use Debug::DEBUG a bit more
253 2004-08-14 André Pönitz <poenitz@gmx.net>
256 * Makefile.am: new files to accomodate an 'external' (x,y)-position
257 cache for all insets in (at least partially) visible (top-level)
260 * BufferView_pimpl.C: reset external coord cache before every update.
261 This means the coord cache only contains valid entries.
263 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
266 * BufferView_pimpl.C (getInsetByCode): move function out of class
267 and change in to a template in anon namespace. Also fix to do what
270 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
273 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
275 (breakParagraph): rename par to par_offset and use a local
276 reference. Add code to keep the language over a rebreak.
277 (breakParagraphConservative): rename par to par_offset, use a
279 (mergeParagraph): ditto
281 (isFirstInSequence): ditto
282 (outerFont): rename pit to par_offset
284 * paragraph.C: ws change
289 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
294 * paragraph.C (simpleTeXOnePar): when we have a \item with
295 optional argument, enclose the argument with curly brackets (in
296 case it contains a closing square bracket)
300 * text3.C (checkInsetHit): constify
302 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
304 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
307 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
309 Fix toggling of collapsable insets with the mouse (bug 1558)
311 * lyxfunc.C (dispatch): adapt to LCursor changes
313 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
314 make sure that dispatch is not invoked twice
316 * cursor.C (needsUpdate): new method
317 (dispatch): return void
318 (result): new method, to access the DispatchResult of the cursor.
320 2004-08-13 José Matos <jamatos@lyx.org>
322 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
324 2004-08-13 André Pönitz <poenitz@gmx.net>
326 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
328 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
331 2004-08-12 André Pönitz <poenitz@gmx.net>
333 * text3.C: take out the 'cursor right' form insertInset and only
334 do it in those places when it is really needed. Fixes crash on
337 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
339 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
341 * BufferView_pimpl.C (setBuffer): initialize the current font of
342 the underlying LyXText
344 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * kbsequence.C (print): use UI native formatting for menu
349 * text.C (insertChar): call Paragraph::insertChar with a font
352 * paragraph.C (insertInset, insertChar): the version that takes a
353 LyXFont argument is now a wrapper around the other one (the
354 opposite used to be true).
356 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
357 argument. Font setting is done in Paragraph now.
359 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
361 * outputparams.h: add new members intitle and lang.
363 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
364 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
366 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
368 * text3.C (dispatch): remove special handling of button 4 and 5,
369 it is now taken care of in the frontend code.
371 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
373 * Spacing.h: add <string> (STLPort compile fix)
375 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
377 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
379 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
381 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
384 * converter.C (showMessage): inherit from unary_function, make
387 * buffer.C (writeFile): initialize retval
389 * InsetList.h: rename private variable list to list_
390 * InsetList.[Ch]: adjust accordingly.
392 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
394 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
395 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
396 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
397 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
398 * ParagraphParameters.C, LaTeXFeatures.C: replace
399 "support/std_sstream.h" with <sstream>
401 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
403 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
404 * lyxsocket.C (LyXServerSocket): ditto
405 (serverCallback): ditto
407 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
409 * LaTeXFeatures.C: check release date when loading jurabib.
411 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
413 * lyxserver.C (startPipe): call register_socket_callback
414 (endPipe): call unregister_socket_callback
416 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
418 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
419 (LyXServerSocket): register the callback
420 (LyXServerSocket): unregister the callback
421 (fd): delete function
422 (serverCallback): improve error checking and setup the callbacks.
423 (dataCallback): change arg to fd.
424 (writeln): new func (copied fro the client socket) used for server
426 (LyXDataSocket): simplify
427 (~LyXDataSocket): close ann unregiser callback
428 (server): delete function
429 (fd): delete function
430 (readln): small changes, improve some std::string usage
431 (writeln): constify a bit
433 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
435 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
438 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
440 * BufferView_pimpl.C (setBuffer): set the layout combox value only
441 after it has been populated
443 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * text2.C (insertInset): move cursor when inserting inset.
447 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 * kbmap.C (findbindings): a couple of new methods. returns a
450 container of kb_sequence objects. The real work is done by the
451 private recursive version
452 (printbindings): uses findbindings to print out a bracketed list
453 of bindings (renamed from findbinding).
455 * MenuBackend.C (binding): use kb_keymap::findbindings
457 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
459 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
461 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
463 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
465 * paragraph.C (isWord): return true on insets that report
468 * text.C (getWord): use Paragraph::isWord to decide what is in a
469 word and what is not; fix bug 1609.
471 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
473 * tex-strings.C: add "none" to string_paperpackages[], fixes
474 off-by-one-error in the paperpackage selection.
477 * tex-strings.[Ch]: char const * string[n]
478 -> char const * const string[]
480 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
482 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
483 command, return early.
485 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
487 * debug.h: add DEBUG to enum and fix size of ANY.
489 * debug.C: add support for Debug::DEBUG
490 (showTags): cast errorTags.level to unsigned int
492 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
493 (redoCurrentBuffer): ditto
494 (updateScrollbar): ditto
495 * cursor.C (dispatch): ditto
496 * text2.C (setLayout): ditto
498 (updateCounters): ditto
500 (deleteEmptyParagraphMechanism): ditto
502 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
504 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
505 annotations to cleanup the Makefile slightly.
507 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
509 * lyxrc.C: do not set user_email to a default value but use empty
510 instead. The entry used to be translated, which does not work
511 since at the point where lyxrc is constructed there is no
512 translation service available
514 * messages.C (getLocaleDir): remove and use directly
515 lyx_localedir() instead
517 2004-06-02 Angus Leeming <leeming@lyx.org>
519 Fix crash caused by dereferencing null pointer 'exportdata' in
520 OutputParams by creating a new ExportData variable on the heap,
521 storing it in a boost::shared_ptr.
522 The crash was triggered when generating an Instant Preview
523 of an external inset.
525 * Makefile.am: add outputparams.C
527 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
528 (c-tor): allocate memory to it.
530 * exporter.C (c-tor): associated changes.
532 2004-06-01 Angus Leeming <leeming@lyx.org>
534 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
535 contains data before calling isInset(0). (Bug 1513.)
537 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
539 * exporter.C (checkOverwrite): new method
540 * exporter.C (copyFile): new method
541 * exporter.C (Export): copy referenced files to the document dir
542 * exporter.[Ch]: new class ExportedFile
543 * exporter.[Ch]: new class ExportData. Contains currently the
544 names of referenced external files
545 * outputparams.h: add exportdata member.
547 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
549 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
552 2004-05-19 Angus Leeming <leeming@lyx.org>
557 * lyxfunc.C: small changes due to the introduction of namespace
558 lyx::frontend and the moving of namespace biblio to lyx::biblio.
560 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
562 * text3.C (dispatch): supress update when only moving the cursor
563 * cursor.C (selHandle): remove commented code
565 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
567 * paragraph.C (startTeXParParams): correct column count
568 * CutAndPaste.C (pasteSelection): remove const_cast
569 * output_docbook.C (docbookParagraphs): remove const_cast
570 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
571 const_cast and return ParagraphList::const_iterator
572 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
573 * output_plaintext.C (writeFileAscii): remove const_cast
574 * paragraph.[Ch] (simpleTeXOnePar): make const
575 * paragraph_funcs.C (outerPar): use const iterators
576 * paragraph_pimpl.C (validate): use const iterators
577 * text.C (setHeightOfRow): use const iterators
579 2004-05-17 Angus Leeming <leeming@lyx.org>
582 * LyXAction.C (init): new LFUN_INSET_REFRESH.
584 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
585 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
586 if the citation engine has changed.
588 2004-05-14 José Matos <jamatos@lyx.org>
590 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
591 if the textclass does not provide it. Have it different for sgml and
593 support the language of document.
594 * output_docbook.C (docbookParagraphs):
595 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
596 first anchor as the id of the paragraph, remove special case code.
597 * sgml.C (escapeChar): escape only < & >.
599 2004-05-14 Angus Leeming <leeming@lyx.org>
601 * bufferparams.h: move biblio::CiteEngine enum here to minimize
602 dependencies on src/frontends/controllers/biblio.h. Define a
603 CiteEngine_enum wrapper class to enable the enum to be forward
606 2004-05-12 Angus Leeming <leeming@lyx.org>
608 * buffer.C: up LYX_FORMAT to 234.
609 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
610 use_numerical_citations with a single biblio::CiteEngine cite_engine
612 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
614 2004-05-13 José Matos <jamatos@lyx.org>
617 * converter.C (Converter, readFlags): add xml member.
618 * outputparams.h: add XML flavor.
619 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
621 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
623 * lyxfunc.C (dispatch):
624 (getStatus): fix handling of LFUN_SEQUENCE
626 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
628 * debug.C (showLevel): do not forget the end-of-line marker
630 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
632 * kbmap.C (read): do not stop parsing a bind file when an error
635 2004-04-29 Angus Leeming <leeming@lyx.org>
640 * text2.C: wrap a bunch of #warning statements
641 inside #ifdef WITH_WARNINGS blocks.
643 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
645 * buffer.C: increment format to 233.
647 2004-04-28 Angus Leeming <leeming@lyx.org>
649 * BufferView_pimpl.C:
652 s/updateToolbar()/updateToolbars()/
653 s/Toolbar.h/Toolbars.h/
655 2004-04-28 Angus Leeming <leeming@lyx.org>
657 * BufferView.[Ch] (c-tor):
658 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
659 No longer passes these data to the WorkArea generator.
661 2004-04-28 Angus Leeming <leeming@lyx.org>
663 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
665 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
667 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
669 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
671 * output_latex.C (TeXEnvironment): make sure that there is a line
672 break before \end{foo} for the last paragraph of a document
673 (TeXOnePar): if the paragraph is at the end of the document (or
674 inset) and the language has to be reset, then make sure that the
675 line break is _before_ the language command, not after (fixes bug
676 1225); also make sure that the language reset command is the first
677 thing after the paragraph (to ensure proper nesting of
678 environments and thus fix bug 1404)
680 2004-04-21 John Levon <levon@movementarian.org>
683 * ToolbarBackend.C: make "name" be a programmatic name
684 and a gui_name field.
686 * lyxfunc.C: display the minibuffer on M-x
688 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
690 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
693 2004-04-19 Angus Leeming <leeming@lyx.org>
695 * BufferView_pimpl.C (setBuffer): changed preview interface.
697 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
700 2004-04-19 John Levon <levon@movementarian.org>
702 * BufferView_pimpl.C:
703 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
705 2004-04-05 Angus Leeming <leeming@lyx.org>
707 * text.C (redoParagraphs): add call to updateCounters(), thereby
708 fixing the missing "Figure #:" label from the caption of a
711 2004-04-13 Angus Leeming <leeming@lyx.org>
713 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
714 cursor is clicked out of an inset.
716 2004-04-13 Angus Leeming <leeming@lyx.org>
718 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
719 than an InsetOld one.
721 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
723 * format.[Ch]: add editor to Format
724 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
725 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
727 2004-04-08 André Pönitz <poenitz@gmx.net>
729 * metricsinfo.h: remove PainterInfo::width member
731 2004-04-08 Angus Leeming <leeming@lyx.org>
733 * lyx_sty.C (boldsymbol_def): modify so that it outputs
734 "\providecommand" rather than "\newcommand", thereby preventing
735 clashes with packages that define "\boldsymbol" themselves.
738 2004-04-08 Angus Leeming <leeming@lyx.org>
740 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
741 thereby squashing an unnecessary warning.
743 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
745 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
748 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
750 * BufferView.C (setCursor): call redoParagraph (some insets could
752 (putSelectionAt): remove the 'double update' trick
754 * BufferView_pimpl.C (fitCursor): call refreshPar
755 (workAreaDispatch): remove an uneeded update call
756 (dispatch): remove some manual update calls
758 * cursor.[Ch]: remove cached_y_, updatePos
759 (selHandle): set noUpdate when appropriate
761 * lyxfunc.C (dispatch): track if we need an update
763 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
765 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
766 (paintSelection): cheap optimization, do not call cursorX when not
768 (paintPars): change signature
771 (paintTextInset): adjust
775 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
777 * lengthcommon.C: compilation fix: remove explicit array size from
778 unit_name[] and friends
780 2004-04-05 Angus Leeming <leeming@lyx.org>
782 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
784 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
785 present only for the preferences dialog.
786 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
788 2004-04-05 Angus Leeming <leeming@lyx.org>
790 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
791 to enable the frontends to export changes to lyxrc correctly.
793 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
795 2004-04-07 André Pönitz <poenitz@gmx.net>
797 * cursor.[Ch] (selClear, adjust): remove math
799 * cursor_slice.C: more agressive assert
802 * BufferView_pimpl.C: rework mouse event dispatch
809 2004-04-05 André Pönitz <poenitz@gmx.net>
811 * cursor.[Ch] (valign, halign...): remove unneeded functions
813 2004-04-05 Angus Leeming <leeming@lyx.org>
815 * lyxlength.[Ch] (unit_name et al.): const-correct.
817 2004-04-05 Angus Leeming <leeming@lyx.org>
819 * BufferView_pimpl.C:
828 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
830 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
832 * text3.C (getStatus): add LFUN_BEGINNINGBUF
834 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
836 * lyxfind.C: add a couple of inTexted() tests + other small fixes
837 * BufferView_pimpl.[Ch] (getStatus)
838 * BufferView.[Ch] (getStatus): add
839 * lyxfunc.C (getStatus): move lfuns handled in
840 BufferView::dispatch to te function above
841 * Cursor.C (setSelection): set selection() = true
843 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
845 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
847 2004-03-31 Angus Leeming <leeming@lyx.org>
849 * lyxfunc.C (dispatch): Fall through to the generic
850 Dialogs::show("preamble").
852 2004-03-31 Angus Leeming <leeming@lyx.org>
854 * lyxfunc.C (dispatch): Fall through to the generic
855 Dialogs::show("spellchecker").
857 2004-03-31 Angus Leeming <leeming@lyx.org>
859 * lyxfunc.C (getStatus, dispatch): changed invocation of the
862 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
867 * insetiterator.[Ch]:
872 * undo.[Ch]: s/DocumentIterator/DocIterator/g
874 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
876 * BufferView.C (setCursor, putSelectionAt): call edit to open the
877 insets where we are putting the cursor.
879 2004-03-31 Angus Leeming <leeming@lyx.org>
882 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
884 * lyxrc.[Ch] (read, write): overloaded member functions taking
885 a std::[io]stream arguments.
887 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
889 2004-03-31 Angus Leeming <leeming@lyx.org>
891 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
892 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
894 * lyxtextclass.C (load): if the text class couldn't be loaded, then
895 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
897 2004-03-31 Angus Leeming <leeming@lyx.org>
899 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
900 the LFUN_ALL_INSETS_TOGGLE code.
902 2004-03-30 Angus Leeming <leeming@lyx.org>
904 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
905 has died. Fall through to the generic Dialogs::show("document").
907 2004-03-30 Angus Leeming <leeming@lyx.org>
910 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
911 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
913 * lyxfunc.C (getStatus, dispatch): define the actions for these
914 lfuns. Little more than a cut and pste job from ControlDocument.C
916 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
918 2004-03-30 Angus Leeming <leeming@lyx.org>
921 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
922 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
924 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
925 open/closed state of ollapsable insets. Usage:
927 all-inset-toggle <state> <name>, where
928 <state> == "open" || "closed" || "toggle" and
929 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
931 * lyxtext.h, text2.C (toggleInset): removed.
933 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
934 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
935 now passes LFUN_INSET_TOGGLE to the found inset.
937 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
938 is now invoked as "all-insets-toggle toggle branch".
940 2004-03-30 Angus Leeming <leeming@lyx.org>
944 * pariterator.[Ch]: added/corrected header blurb.
946 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
948 * dociterator.[Ch]: add an inset_ member
949 (backwardPos): implemented
950 (backwardPos, forwardPos): use inset_ when the stack is empty.
951 (doc_iterator_begin, doc_iterator_end): implemented
952 * pariterator.[Ch]: adjust, add begin, end
953 * insetiterator.[Ch]: adjust, add begin, end
957 * BufferView_pimpl.C:
958 * CutAndPaste.C: adjust
960 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
962 * buffer.C: increment file format to 232.
963 * LaTeXFeatures.C: add bibtopic package.
964 * bufferparams.[Ch]: param \use_bibtopic.
966 * lyxrc.[Ch]: add lyxrc bibtex_command
967 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
969 * buffer.C: increment file format to 231.
971 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
973 * dociterator.C: implement forwardPar
974 * iterators.[Ch]: remove, replaced by
975 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
977 * BufferView_pimpl.C:
980 * bufferview_funcs.C:
986 * Makefile.am: adjust
988 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
990 * CutAndPaste.C (pasteSelection): fix 2 crashes
991 (eraseSelection): fix a crash
992 * paragraph_funcs.C: remove a warning
994 2004-03-28 Angus Leeming <leeming@lyx.org>
997 * LyXAction.C (init): new LFUN_PRINT.
999 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1001 2004-03-27 Angus Leeming <leeming@lyx.org>
1004 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1006 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1008 2004-03-27 Angus Leeming <leeming@lyx.org>
1010 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1011 insetlist always contains non-null pointers to insets.
1013 2004-03-26 Angus Leeming <leeming@lyx.org>
1015 * src/BufferView_pimpl.C:
1016 * src/CutAndPaste.C:
1019 * src/output_plaintext.C:
1020 * src/outputparams.h:
1021 * src/paragraph_funcs.C:
1025 * src/frontends/controllers/ControlErrorList.C:
1026 * src/frontends/gtk/FileDialogPrivate.C:
1027 * src/frontends/gtk/GPainter.C:
1028 * src/frontends/gtk/GToolbar.C:
1029 * src/frontends/qt2/QRef.C:
1030 * src/mathed/math_scriptinset.C: squash compiler warnings.
1032 2004-03-26 Angus Leeming <leeming@lyx.org>
1034 * ispell.C (LaunchIspell::start):
1035 * lyx_cb.C (AutoSaveBuffer::start):
1036 invoke run(DontWait) rather than runNonBlocking().
1038 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1040 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1042 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1044 * kbsequence.C (print): adjust
1046 * kbmap.C (printKeySym): rename and change signature
1047 (printKey): use LyXKeySym::print()
1049 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1051 * undo.C: add using std::advance to compile for stlport
1053 2004-03-24 Angus Leeming <leeming@lyx.org>
1055 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1056 it leads to a crash when no buffer is present.
1058 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1059 Martin Vermeer <martin.vermeer@hut.fi>
1061 * lyxfunc.C (dispatch):
1062 * bufferparams.C (readToken): use the new LColor::setColor
1064 * LColor.[Ch] (setColor): new version that takes two strings as
1065 argument and creates a new color entry if necessary
1067 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1069 * buffer.C (makeLaTeXFile): if the main latex file that is
1070 processed is usually a subdocument of some master, then pretend
1071 for a while that it is actually the master
1073 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1075 * buffer.C (getLabelList):
1076 (getBibkeyList): use getMasterBuffer()
1077 (getMasterBuffer): new method. Returns the main document in the
1078 case where one is using included documents.
1080 2004-03-25 André Pönitz <poenitz@gmx.net>
1084 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1086 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1088 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1089 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1091 * ParameterStruct.h: merge with ParagraphParameters
1093 * lyxtext.h: remove LyXText::parOffset() and getPar()
1095 * text3.C: Remove all 'manual' update calls. We do now one per user
1096 interaction which is completely sufficient.
1100 * BufferView_pimpl.C:
1101 * FontIterator.[Ch]:
1103 * ParagraphParameters.[Ch]:
1108 * cursor_slice.[Ch]:
1115 * output_docbook.[Ch]:
1116 * output_latex.[Ch]:
1117 * output_linuxdoc.[Ch]:
1118 * output_plaintext.[Ch]:
1120 * paragraph_funcs.[Ch]:
1121 * paragraph_pimpl.[Ch]:
1129 * frontends/controllers/ControlDocument.C:
1130 * frontends/controllers/ControlErrorList.C:
1131 * frontends/controllers/ControlSpellchecker.C:
1134 * insets/insetbase.h:
1135 * insets/insetbibitem.C:
1136 * insets/insetbox.C:
1137 * insets/insetbranch.C:
1138 * insets/insetcaption.C:
1139 * insets/insetcharstyle.C:
1140 * insets/insetcharstyle.h:
1141 * insets/insetcollapsable.C:
1142 * insets/insetcollapsable.h:
1143 * insets/insetert.C:
1144 * insets/insetfloat.C:
1145 * insets/insetfoot.C:
1146 * insets/insetmarginal.C:
1147 * insets/insetnote.C:
1148 * insets/insetoptarg.C:
1149 * insets/insettabular.C:
1150 * insets/insettext.C:
1151 * insets/insettext.h:
1152 * insets/insetwrap.C:
1153 * mathed/math_mboxinset.C:
1154 * mathed/math_nestinset.C:
1155 * mathed/math_scriptinset.C:
1156 * mathed/math_scriptinset.h:
1159 2004-03-24 Angus Leeming <leeming@lyx.org>
1161 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1162 deal with any child processes that have finished but are waiting to
1163 communicate this fact to the rest of LyX.
1165 2004-03-24 Angus Leeming <leeming@lyx.org>
1167 64-bit compile fixes.
1169 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1170 (c-tor): pass lyx::pos_types rather than ints.
1172 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1175 * text.C (Delete): compile fix.
1176 (getPar): ensure that function declaration is the same as that in
1179 2004-03-23 Angus Leeming <leeming@lyx.org>
1181 * ispell.C (LaunchIspell):
1182 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1183 a boost::shred_ptr rather than a std::auto_ptr.
1185 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1187 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1188 handle LFUN_FILE_INSERT_*
1190 * lyxrc.C (setDefaults, getDescription, output, read):
1191 * lyxrc.h: remove ps_command
1193 2004-03-22 Angus Leeming <leeming@lyx.org>
1195 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1196 Ensure that error_handler is processed once only and that all data
1197 is saved before attempting to output any warning messages.
1199 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1201 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1203 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1205 2004-03-19 André Pönitz <poenitz@gmx.net>
1207 * cursor.[Ch] (reset): take main text inset as argument
1209 * BufferView: adjust
1210 * BufferView_pimpl.C: adjust
1212 * paragraph.[Ch]: fix completely broken operator=()
1214 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1216 * LColor.C (getFromLyXName): make sure that the color name is used
1219 2004-03-17 Angus Leeming <leeming@lyx.org>
1222 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1224 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1225 dialog and to kill a forked process.
1227 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1229 * text2.C (setCursorFromCoordinates): fix font problem
1231 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1233 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1234 bogus "rebuild cursor" code
1236 2004-03-11 André Pönitz <poenitz@gmx.net>
1238 * buffer.[Ch]: use InsetText instead of LyXText as container for
1241 * dociterator.[Ch]: drop the BufferView * member which is not needed
1242 anymore after the change to buffer.C
1244 * paragraph_funcs.C:
1248 * BufferView_pimpl.[Ch]:
1250 * cursor_slice.[Ch]: adjust
1252 * text3.C: fix bug in mathDispatch
1254 2004-03-08 André Pönitz <poenitz@gmx.net>
1256 * undo.[Ch]: use 'StableDocumentIterator' as base for
1259 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1262 * bufferparams.[Ch]: add jurabib support and param.
1264 * LaTeX.C: add FIXME/comment.
1266 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1268 * buffer.C: increment file format to 230.
1270 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1272 * cursor.C (dispatch): avoid infinite loops
1274 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1276 * rowpainter.C (paintSelection): fix x coordinates
1278 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1280 * text.C (rowBreakPoint): fix breaking before displayed insets
1282 2004-03-01 André Pönitz <poenitz@gmx.net>
1284 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1286 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1290 * BufferView_pimpl.C:
1298 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1304 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1305 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1307 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1309 * Bidi.[Ch] (computeTables): const correctness
1310 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1311 fill_hfill, fill_label_hfill and x from Row
1312 * lyxtext.h: prepareToPrint returns a RowMetrics
1313 * rowPainter.C: adjust
1314 * text.C (prepareToPrint): use width, not textWidth. adjust
1315 (redoParagraphInternal, cursorX): adjust
1316 * text2.C (getColumnNearX): adjust
1317 (init): put a default value to the top LyXText::width
1319 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1321 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1323 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1325 * lyxtext.h: add FontIterator class
1327 * text.C (FontIterator, operator*, operator->, operator++): add
1328 (rowBreakPoint, setRowWidth): adjust (fixing a
1331 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1333 * BufferView_pimpl.C (workAreaDispatch): allow also
1334 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1336 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1338 * text.C (rowBreakPoint): fix a bug showing with very large insets
1340 2004-02-25 André Pönitz <poenitz@gmx.net>
1343 * cursor.[Ch]: move some mathed specific code to mathed
1345 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1347 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1348 use_tempdir in preferences
1349 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1351 * lyx_main.C: ensure that tempdir is valid
1352 * lyxlex.h: correct typo
1353 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1354 * paragraph.[Ch] (isMultiLingual): make const
1355 * cursor.[Ch] (openable): make const
1357 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1359 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1361 2004-02-20 André Pönitz <poenitz@gmx.net>
1363 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1365 * cursor.[Ch]: prepare for localized getStatus()
1371 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1373 2004-02-20 André Pönitz <poenitz@gmx.net>
1375 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1377 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1379 * text2.C (setCursorFromCoordinates): switch to absolute coords
1381 (cursorDown): adjust
1382 * text3.C (dispatch): adjust
1384 2004-02-16 André Pönitz <poenitz@gmx.net>
1386 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1389 * cursor_slice.[Ch]: remove unneeded acessor function
1391 * lyxtext.h: rename rtl() to isRTL()
1399 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1401 * rowpainter.C (paintSelection): coord fix
1403 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1405 * Spacing.C: compile fix
1407 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1409 * cursor.C (dispatch): restore current_ before returning
1411 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1413 * text2.C (cursorUp, cursorDown): fix coords
1416 2004-02-12 André Pönitz <poenitz@gmx.net>
1421 * text3.C: add LCursor & parameter to most cursor movement functions
1422 remove usage of LyXText::cursorRow() and cursorPar()
1424 * cursor.[Ch]: add textRow() needed members
1427 * BufferView_pimpl.C:
1430 * BufferView_pimpl.C: adjust
1432 2004-02-11 André Pönitz <poenitz@gmx.net>
1436 * BufferView_pimpl.C: shift undo/redo handling
1438 * cursor.[Ch]: fix mathed crash
1441 * lyxtext.h: move selectionAsText to LCursor
1449 * rowpainter.C: fix excessive drawing
1451 2004-02-06 André Pönitz <poenitz@gmx.net>
1454 * BufferView_pimpl.[Ch]:
1455 * text3.C: move some text specific LFUN handling
1457 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1459 * text3.C (checkInsetHit): adjust coords
1460 * text2.C (getColumnNearX): adjust coords
1461 (edit): adjust coords
1462 * text.C (getRowNearY): add two asserts
1464 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1467 * format.C: add using std::distance to compile on gcc 2.95/stlport
1469 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1471 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1473 2004-02-04 André Pönitz <poenitz@gmx.net>
1475 * BufferView.[Ch] (insertInset):
1476 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1481 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1483 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1484 on the default clause of the switch
1485 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1486 wasn't catched by LCursor::dispatch
1488 2004-02-03 André Pönitz <poenitz@gmx.net>
1491 * cursor.[Ch]: some additional asserts
1493 * undo.[Ch]: remove LyXText dependency in interface
1497 * lyxtext.h (firstPar, lastPar): remove dead functions
1502 * paragraph.[Ch]: adjust
1504 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1506 * lyxfind.C (find): fix argument order in call to ::find
1508 2004-02-02 André Pönitz <poenitz@gmx.net>
1510 * cursor.[Ch]: remove direct access to anchor
1512 * text.C: remove findText() hack
1514 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1516 * iterators.[Ch] (lockPath): remove in favour of...
1517 * BufferView.[Ch] (setCursor): this addition
1518 * BufferView.C (putSelectionAt): adjust
1519 * undo.C (performUndoOrRedo): adjust
1520 * lyxfunc.C (dispatch): adjust
1522 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1524 * iterators.C (lockPath): add a missing slice
1525 * undo.C (performUndoOrRedo): remove redundant positioning code
1527 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1529 * vc-backend.C (scanMaster): ";" -> ';'
1531 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1533 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1534 std::binary_function
1536 * lyxtextclass.C (compare_name): rename to...
1537 (LayoutNamesEqual): ...this
1539 * lyxlex_pimpl.C (compare_tags): inherit from
1540 std::binary_function, put back into anon namespace
1542 * lyxfind.C (MatchString): inherig from std::binary_function
1543 (findChange): use empty() istead of !size()
1545 * format.C (FormatNamesEqual): new functor
1552 * converter.C (compare_Converter): rename to...
1553 (ConverterEqual): ...this, and fixup a bit.
1554 (getConverter): use it, and make function const
1555 (getNumber): use it, and make function const
1559 * bufferlist.C: add using boost::bind
1561 * MenuBackend.C (MenuNamesEqual): new functor
1562 (hasMenu): use it, and make function const
1563 (hasSubmenu): use nested bind to get rid of compare_memfun.
1565 2004-01-30 André Pönitz <poenitz@gmx.net>
1567 * BufferView_pimpl.C:
1570 * cursor_slice.[Ch]:
1573 * paragraph_funcs.C:
1574 * paragraph_funcs.h:
1578 * text3.C: move some of the edit(x,y) handling to the insets
1579 some coordinate changes.
1581 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1583 * text.C: add using statements for std::advance and std::distance
1585 * paragraph.C: add using statement for std::distance
1587 * lyxfind.C: add using statement for std::advance
1589 * cursor.C (region): remove std:: from swap
1590 (openable): use nucleus in stead of operator->
1592 * BufferView.C: add using statements for std::distance and std::swap
1594 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1596 * iterators.C: Remove the pimple, move the needed structures to
1597 the header file. Create accessor for the positions stack.
1598 (asPosIterator): remove function
1600 * PosIterator.C (PosIterator): move constructors to top of file
1601 (PosIterator): reimplement the constructor taking a ParIterator in
1603 (setFrom): new function
1604 (operator!=): inline it
1606 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1608 * lyxfind.C (replaceAll): use std::advance
1610 * iterators.h: inherit from std::iterator.
1612 * PosIterator.C (advance, distance): remove
1613 * PosIterator.h: interit from std::iterator.
1615 2004-01-26 André Pönitz <poenitz@gmx.net>
1618 * BufferView_pimpl.[Ch]:
1622 * bufferview_funcs.C:
1632 * output_linuxdoc.C:
1633 * output_plaintext.C:
1635 * paragraph_funcs.[Ch]:
1636 * paragraph_pimpl.[Ch]:
1642 * text3.C: more IU: dumps most of the rest of the mathcursor
1643 implementation into cursor.[Ch]; "globalize" a bit of it.
1645 2004-01-25 Angus Leeming <leeming@lyx.org>
1647 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1649 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1651 * LaTeXFeatures.h: add nice_ and nice() const
1652 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1654 2004-01-20 André Pönitz <poenitz@gmx.net>
1657 * BufferView_pimpl.C:
1659 * bufferview_funcs.C:
1661 * cursor_slice.[Ch]:
1672 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1673 LCursor and mathcursor parts to LCursor and InsetBase.
1675 2004-01-15 André Pönitz <poenitz@gmx.net>
1677 * cursor_slice.[Ch]: add a few covienience functions
1679 * funcrequest.[Ch]: remove BufferView * member
1681 * BufferView_pimpl.C:
1688 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1690 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1692 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1693 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1695 2004-01-13 André Pönitz <poenitz@gmx.net>
1698 * lyxtext.h: hide cursor and selection anchor behind accessor function
1701 * BufferView_pimpl.[Ch]:
1703 * bufferview_funcs.C:
1713 * cursor_slice.[Ch]: some integer type changes for inset unification
1715 * lyxcursor.[hC]: remove, it's CursorSlice now.
1718 * BufferView_pimpl.[Ch]:
1719 * bufferview_funcs.C:
1725 * textcursor.[Ch]: adjust
1727 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1729 * text2.C (undoSpan): add and use
1730 * text.C (breakParagraph): use undoSpan (fix bug 578)
1733 2004-01-08 Angus Leeming <leeming@lyx.org>
1735 * BufferView_pimpl.C (MenuInsertLyXFile):
1736 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1737 * lyxfunc.C (menuNew, open, doImport):
1738 FileFilterList change to the FileDialog open and save functions.
1740 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1742 * ShareContainer.h: make isEqual and isUnique adaptable
1744 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1746 2004-01-07 Angus Leeming <leeming@lyx.org>
1749 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1751 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1753 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1754 functions replacing find, replace and replaceAll.
1756 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1757 LFUN_WORDFIND(FORWARD|BACKWARD).
1759 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1761 * text.C (breakParagraph): remove an outdated #warning
1763 2004-01-07 André Pönitz <poenitz@gmx.net>
1765 * lyxfind.C: somewhat clearer logic
1767 * text.C: prevent crash in cursorX on unitialized row cache
1769 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1771 * lyxcursor.[Ch] (operator>): add
1772 * textcursor.C (selStart, selEnd): use std::min and std::max
1774 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1776 * Chktex.C: include boost/format.hpp
1778 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1780 * InsetList.C: replace functor MathcIt with adaptable functor
1782 (insetIterator): modify accordingly
1784 * BranchList.h: move the BranchNamesEqual functor here from...
1785 * BranchList.C: ... to here
1787 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1789 (add): replace a finding loop with std::find_if.
1791 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1793 * output_docbook.C: moving LatexParam functionality into
1796 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1798 * buffer.C: increment format to 229.
1800 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1803 * lyx_sty.[Ch]: remove minipageindent_def
1809 * text3.C: remove LFUN_INSET_MINIPAGE
1811 2003-12-28 Angus Leeming <leeming@lyx.org>
1813 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1815 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1817 * text2.C (setParagraph): fix off-by-one crash
1819 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1821 * output_docbook.C: header stuff for AGU
1823 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1825 * text2.C (redoCursor): remove
1828 * BufferView_pimpl.C: remove calls to redoCursor and
1829 setCursor(cursor.par(), cursor.pos()) all around
1831 2003-12-15 Angus Leeming <leeming@lyx.org>
1833 * buffer.C: up the format to 228.
1835 2003-12-15 André Pönitz <poenitz@gmx.net>
1837 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1842 * BufferView_pimpl.C:
1851 2003-12-15 Angus Leeming <leeming@lyx.org>
1853 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1854 than getFromGUIName to manipulate the color.
1856 2003-12-14 Angus Leeming <leeming@lyx.org>
1858 * BranchList.[Ch]: minimize the API.
1859 (Branch::getBranch, getColor): now return a 'const &'.
1860 (Branch::setSelected) now returns a bool set to true if the
1861 selection status changes.
1862 (BranchList::clear, size, getColor, setColor, setSelected,
1863 allBranches, allSelected, separator): removed.
1864 (BranchList::find): new functions, returning the Branch with
1866 (BranchList::add, remove): return a bool indicating that
1867 the operation was successful.
1869 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1870 new InsetBranch::isBranchSlected member function.
1872 * LColor.[Ch]: mimimize the API.
1873 (fill): renamed as addColor and made private.
1874 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1875 versions of these functions taking a string arg have been removed.
1877 * bufferparams.C (readToken):
1878 * lyxfunc.C (dispatch):
1879 * lyxrc.C (read): changes due to the altered BranchList and
1882 * factory.C (createInset, readInset): changes due to altered
1885 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1888 * lyxfunc.C: remove insetminipage. "minipage-insert"
1889 now produces a frameless minipage box inset.
1891 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1893 * textcursor.[Ch] (selStart,selEnd): add new methods
1894 remove selection::start, end, use LyXCursor::operator<
1895 * lyxcursor.[Ch] (operator<): add
1896 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1897 * BufferView.[Ch] (unsetXSel): add
1898 * text2.C (clearSelection): use unsetXSel,adjust
1901 * rowpainter.C: adjust
1902 * bufferview_funcs.C (put_selection_at): adjust
1904 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1906 * BufferView_pimpl.C: small coord. correction
1908 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1910 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1911 dragging over the splash screen.
1913 2003-12-11 Angus Leeming <leeming@lyx.org>
1915 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1916 as it is now handled in LyXText::dispatch.
1918 * text3.C (doInsertInset): remove a level of nesting.
1920 2003-12-11 Angus Leeming <leeming@lyx.org>
1922 * factory.C (createInset): changes due to the changed interface to
1923 InsetCommandMailer::string2params.
1925 2003-12-10 Angus Leeming <leeming@lyx.org>
1927 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1928 'dialog-show-new-inset <inset name>'
1930 2003-12-10 Angus Leeming <leeming@lyx.org>
1932 * buffer.C: up the format to 227.
1934 * factory.C: the box inset is now identified simply by 'Box'.
1936 2003-12-10 Angus Leeming <leeming@lyx.org>
1938 * buffer.C: up the format to 226.
1940 * factory.C: the note inset is now identified simply by 'Note'.
1942 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1944 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1945 when a pit is enough. Standarize a couple of loops.
1947 2003-12-05 Angus Leeming <leeming@lyx.org>
1949 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1950 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1951 data to the re-worked "log" dialog.
1953 2003-12-03 André Pönitz <poenitz@gmx.net>
1959 * paragraph_funcs.C:
1961 * text2.C: use Inset::getText instead of Inset::getParagraph
1963 2003-12-03 André Pönitz <poenitz@gmx.net>
1967 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1968 InsetText::read() as LyXText::read()
1970 2003-12-02 Angus Leeming <leeming@lyx.org>
1972 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1973 type. Add a comment in the implementation that the function uses
1974 the stream's bad() function rather than fail() as the std::streams
1977 2003-12-02 André Pönitz <poenitz@gmx.net>
1979 * lyxlex.[Ch]: make interface more similar to std::stream
1981 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1983 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1985 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1987 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1989 * vspace.[Ch]: remove VSpace::NONE
1991 2003-12-01 André Pönitz <poenitz@gmx.net>
1994 * lyxtext.h: move ParagraphList member to LyXText
1995 rename LyXText::ownerParagraphs to LyXText::paragraph
1998 * bufferview_funcs.C:
2008 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2010 * undo.C: fix cursor positioning
2012 2003-12-01 John Levon <levon@movementarian.org>
2014 * BufferView_pimpl.C: fix a crash on exit with
2017 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2019 * BranchList.C: fix setSelected() method.
2021 2003-11-28 André Pönitz <poenitz@gmx.net>
2023 * ParagraphParameters.[Ch]:
2024 * ParameterStruct.h: remove space above/below from Paragraph to
2027 * BufferView_pimpl.C:
2033 * paragraph_funcs.C:
2039 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2041 * factory.C: Syntax change for CharStyles
2043 2003-11-28 André Pönitz <poenitz@gmx.net>
2048 * buffer.[Ch]: move LyXText member
2050 2003-11-28 André Pönitz <poenitz@gmx.net>
2052 * BufferView.[Ch]: make LyXText * text a private member
2054 * BufferView_pimpl.C:
2065 * output_plaintext.C: cleanup
2067 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2070 * lyxtextclass.[Ch]: parametrize SGML document header
2072 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2075 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2078 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2080 * text2.C (setFont): rework using PosIterator (no more recursive)
2081 (setCharFont): no more needed
2082 (setLayout): no more selection cursors fiddling (done by redoCursor)
2083 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2084 destroy remaining ones)
2086 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2088 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2090 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2093 * text3.C: adjust + re-allow multi par depth changes
2094 * textcursor.C: simplify a bit
2096 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2102 * src/output_docbook.C:
2103 * src/output_latex.C:
2108 * src/text2.C: Introducing a number of tags parametrizing various
2109 XML formats that we may want to support
2111 2003-11-25 André Pönitz <poenitz@gmx.net>
2113 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2115 * lyxtext.h (leftMargin/rightMargin): simplify interface
2122 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2124 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2125 master file to any child files. Fixes bug 546.
2127 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2129 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2131 2003-11-24 André Pönitz <poenitz@gmx.net>
2133 * rowpainter.C: simplification
2135 * text2.C (updateCounters): remove call to redoParagraph on
2136 changed labels as this is far too expensive.
2138 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2140 * converter.C (convert): fix a crash: this function gets
2141 called with buffer == 0 from importer code.
2143 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2145 * text3.C (cursorPrevious): make sure that we do not compare
2146 iterators form different containers.
2149 * rowpainter.C (paintSelection): make sure that we do not compare
2150 iterators from different containers.
2152 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2153 iterators from different ParagraphList containers.
2156 * text2.C (LyXText): change order of initialization slightly
2157 (operator=): new function. copy all variables except cache_par_
2158 (moveUp): make sure that we do not compare iterators from
2159 different ParagraphList constainers.
2162 * text.C (firstPar): new function
2163 (lastPar): new function
2164 (endPar): new function
2166 * lyxtext.h: move things around and group public functions, public
2167 variables, private functions, private variables
2169 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2171 * factory.C: change call to InsetERT constructor to avoid
2172 additional invocation of method status
2173 * text2.C (toggleInset): remove redundant update() call
2174 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2175 instead of a Bufferview pointer
2177 2003-11-21 André Pönitz <poenitz@gmx.net>
2179 * rowpainter.C: simplification
2181 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2183 * text3.C (dispatch): make possible to extend a word/row selection
2186 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2188 * lyxtext.h: x0_,y0_ -> xo_,yo_
2189 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2190 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2191 * rowpainter.C (paintRows): paint full paragraphs
2193 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2195 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2198 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2200 * lyxtext.h: add x0_, y0_
2201 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2202 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2204 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2206 * text2.C (setCursorIntern): move the x_target update here *
2207 * text3.C: change some bv() to true/false in calls to
2208 cursorUp/Down/Right/Left
2209 * cursor.C: use helper function.
2211 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2213 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2214 * paragraph_funcs.[Ch]: correct comment
2215 * rowpainter.C: do not paint selections away from bv->cursor()
2216 Fix a long standing selection painting bug.
2217 * text3.C: generalize mouse-selection code to LyXTexts other that
2219 * textcursor.C: do not use y coords if we can use par offsets
2221 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2223 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2224 cursor position after e.g. inset insert)
2226 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2228 * lyxfind.C (replace): adjust to locking removal + some
2231 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2233 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2236 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2239 * output_docbook.C: XML sanitation: new layout
2240 parameters InnerTag and CommandDepth
2242 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2244 * BufferView_pimpl.C:
2246 * text3.C: Fix the insertion and modification of button-style
2249 2003-11-13 André Pönitz <poenitz@gmx.net>
2251 * InsetList.[Ch]: remove deleteLyXText
2253 * paragraph.[Ch]: cache beginOfBody position
2258 * text3.C: remove superfluous update() calls
2262 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2264 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2265 * BufferView.C (fitLockedInsetCursor): remove
2266 * cursor.[Ch] (getDim): add
2267 * text.C (getRowNearY): add faster version
2268 * text3.C: remove some update calls
2270 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2282 * text3.C: The Character Style /XML short element patch.
2284 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2287 * factory.C: Small step to solving 'unable to insert some insets'
2290 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2292 * cursor.[Ch] (updatePos): new function for updating the y
2293 position of the tip inset
2294 * bufferview_funcs.C (put_selection_at):
2295 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2297 2003-11-11 André Pönitz <poenitz@gmx.net>
2299 * text.C: remove big comment on invalid Paragraph pointers as it is
2302 2003-11-11 André Pönitz <poenitz@gmx.net>
2304 * text_funcs.[Ch]: merge with ...
2312 * Makefile.am: remove text_funcs.[Ch]
2314 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2316 * cursor.C (getPos): return absolute cached y coord
2318 * BufferView_pimpl.C (fitCursor): new simplistic code
2319 (workAreaDispatch): add a fitCursor call
2321 2003-11-10 André Pönitz <poenitz@gmx.net>
2324 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2326 2003-11-10 André Pönitz <poenitz@gmx.net>
2328 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2329 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2330 indicate that the cursor needs to leave an inset
2332 * lyxtext.h: remove inset locking
2334 * cursor.[Ch]: re-implement functionality provided by inset locking
2337 * BufferView_pimpl.[Ch]:
2339 * bufferview_funcs.[Ch]:
2351 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2353 * PosIterator.[Ch]: replace the stack with a vector, add inset
2355 * iterators.[C]: adjust
2357 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2359 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2361 * paragraph_funcs.C (readParToken): put the correct id in the
2362 error item, not the id of the top paragraph
2364 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2366 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2367 * bufferview_funcs.C (put_selection_at): use the above
2369 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2371 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2373 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2375 * output_linuxdoc.h:
2376 * output_plaintext.h:
2378 * output_docbook.h: add #include statements
2380 2003-11-05 José Matos <jamatos@lyx.org>
2382 * output_docbook.[Ch]:
2383 * output_latex.[Ch]:
2384 * output_linuxdoc.[Ch]:
2385 * output_plaintext.[Ch]: New files for output formats.
2386 * output.[Ch]: New file for helper functions.
2389 * paragraph_funcs.[Ch]: output functions moved to new files.
2391 * outputparams.h: rename of latexrunparams.h
2399 * paragraph_funcs.[Ch]:
2400 * paragraph_pimpl.[Ch]:
2401 * tabular.[Ch]: rename ascii to plaintext
2402 and LatexRunParams to OutputParams.
2404 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2406 * iterators.[Ch] (text): require bv argument
2407 * undo.C (recordUndo):
2408 * lyxfunc.C (dispatch):
2409 * bufferview_funcs.C (put_selection_at): adjust
2411 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2413 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2415 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2417 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2420 2003-11-04 André Pönitz <poenitz@gmx.net>
2422 * cursor.[Ch]: restructure
2425 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2427 * iterators.[Ch] (asCursor): remove
2429 * lfuns.h: remove LFUN_INSET_EDIT
2435 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2437 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2439 * lyxfind.[Ch]: complete overhaul
2440 * BufferView_pimpl.C:
2442 * paragraph.[Ch] (insert): add
2444 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2448 * text.C: remove dead spellcheck code
2450 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2452 * dispatchresult.h: add a val setter
2454 * cursor.C (dispatch): use a tempvar for data_[i]
2456 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2458 * PosIterator.[Ch]: compile fix
2460 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2462 * text.C (cursorPar): deactivate the cursor cache
2464 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2466 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2468 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2470 * text3.C (dispatch): adjust for new DisptchResult semantics.
2472 * lyxfunc.C (dispatch): handle update when return from
2473 Cursor::dispatch, adjust for new DispatchResult semantics.
2475 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2476 DispatchResult(true) mean to not update. Add class functions for
2477 setting dispatched and update, as well as reading.
2479 * cursor.C (dispatch): don't handle update here
2481 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2483 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2484 * trans_mgr.C: adjust
2486 * paragraph_funcs.C (readParToken): exception safety
2488 * lyxvc.h: store the vcs pointer in a scoped_ptr
2491 * lyxsocket.C (serverCallback): exception safety
2493 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2495 * ispell.C (clone): make it return a auto_ptr
2497 * factory.C (createInset): exception safety
2498 (readInset): exception safety
2500 * bufferlist.C (newBuffer): exception safety
2502 * Thesaurus.C (Thesaurus): use initialization for aik_
2504 * MenuBackend.C (expandToc): exception safety.
2506 2003-11-03 André Pönitz <poenitz@gmx.net>
2510 * bufferview_funcs.C: remove getInsetFromId()
2513 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2519 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2521 * PosIterator.C (distance, advance): new
2522 * bufferview_funcs.[Ch] (put_selection_at): new
2523 * iterators.[Ch] (lockPath): new
2525 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2527 * iterators.[Ch] (asPosIterator): added
2528 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2529 * PosIterator.[Ch]: added
2531 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2535 * cursor.C (dispatch):
2536 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2538 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2539 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2540 contructor, add a class function dispatched. Remove operator>=
2542 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2544 * debug.C: only use the default constructor for debugstream
2547 * main.C (main): include debug.h and setup the lyxerr streambuf
2550 2003-10-31 José Matos <jamatos@lyx.org>
2552 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2554 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2555 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2556 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2557 * paragraph_pimpl.C (simpleTeXSpecialC):
2558 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2559 add LatexRunParams argument.
2561 * exporter.C (Export): change call accordingly.
2563 * latexrunparams.h: add new member to take care of the other backends.
2564 2003-10-30 José Matos <jamatos@lyx.org>
2566 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2567 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2568 factorise code for paragraph output.
2570 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2573 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2575 * text3.C (dispatch):
2576 * lyxfunc.C (dispatch):
2577 * cursor.C (dispatch):
2578 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2580 * dispatchresult.h: make the dispatch_result_t ctor explicit
2582 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2585 * buffer.C: small refactoring of docbook stuff
2587 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2589 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2592 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2594 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2595 operator dispatch_result_t, and operators for == != and >=
2597 * cursor.C (dispatch): adjust for operator dispatch_result_t
2598 removal. comment out call to update
2600 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2602 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2610 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2613 * dispatchresult.h: new file, DispatchResult broken out of
2616 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2618 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2620 * text.C (rowBreakPoint): put a hack inside #if 0
2622 2003-10-28 André Pönitz <poenitz@gmx.net>
2626 * paragraph_funcs.C:
2629 * text2.C: general cleanup (lots of small stuff)
2631 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2633 * text2.C (cursorEnd): simple fix to the "end key goes to one
2634 before the end on last row" bug
2636 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2638 * text.C (backspace): fix the "zombie characters"
2640 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2642 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2644 2003-10-27 André Pönitz <poenitz@gmx.net>
2646 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2648 * factory.C: handle new InsetPagebreak, InsetLine
2650 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2651 and move handling into new InsetPagebreak, InsetLine
2653 * BufferView_pimpl.C:
2655 * ParagraphParameters.C:
2656 * ParameterStruct.h:
2661 * paragraph_funcs.C:
2662 * paragraph_pimpl.C:
2668 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2671 * lyxrow_funcs.[Ch]:
2677 * text3.C: remove lastPos uses in favour of Row::endpos
2679 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2681 * undo.C (performUndoOrRedo): fix two crashes by setting a
2682 cursor by hand and reordering some calls. Use bv->lockInset instead
2683 of inset->edit because the latter loses cursor information
2685 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2687 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2689 (rowBreakPoint): fix width. change point to point + 1.
2690 Add a missing check.
2692 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2695 * lyxfunc.C: fix (at least partly) the problems
2696 with the Nav menu and headers inside branch insets
2699 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2701 * paragraph.C (getChar): add strong asserts
2703 * lyxrow_funcs.C (lastPos): remove hideous hack
2705 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2706 (fill): adjust to that (avoid an infinite loop)
2708 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2710 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2712 2003-10-23 André Pönitz <poenitz@gmx.net>
2714 * RowList_fwd.h: change list<> to vector<> to gain speed
2715 after suggestion from Alfredo
2717 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2719 * lyxtext.h: move the bidi stuff from here...
2722 * Bidi.[Ch]: ... to here
2724 2003-10-23 André Pönitz <poenitz@gmx.net>
2727 * text.C (isLastRow, isFirstRow): new functions
2729 * paragraph.h: new width cache member
2731 * rowpainter.C: replace RowList::iterator with Row & where possible
2733 * lyxfunc.C: replace several view()->text with a single call
2735 * toc.C: fix 'unused' warning
2737 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2739 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2740 when woring with stream::pos_type
2741 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2743 2003-10-22 André Pönitz <poenitz@gmx.net>
2746 * text.C: use Row & instead of RowList::iterator
2748 * lyxrow.h: rename end() to endpos()
2754 2003-10-22 Angus Leeming <leeming@lyx.org>
2756 * buffer.[Ch] (fully_loaded): new member function, returning true
2757 only when the file has been loaded fully.
2758 Used to prevent the premature generation of previews and by the
2759 citation inset to prevent computation of the natbib-style label.
2761 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2762 templates are all set up.
2764 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2766 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2768 * text.C: fixed an "oops" in the "is a bit silly"
2771 2003-10-21 André Pönitz <poenitz@gmx.net>
2773 * FuncStatus.[Ch]: small stuff, whitespace
2775 * lyxfont.[Ch]: operator<<() for debug reasons
2779 * lyxtext.h: whitespace, spelling
2781 * paragraph.C: naming of variables
2784 * text2.C: small stuff
2787 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2789 * text.C: (1) finish off the inset display() work;
2790 (2) fix the "is a bit silly" bug (accessing char
2793 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2795 * text.C: re-introduce display() for insets, fixing the
2796 various bugs (stretch of line above, math inset
2799 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2801 * text.C (rightMargin): remove spurious semicolon
2803 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2806 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2808 * text3.C: fix one crash due to wrong cursor def
2810 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2812 * vc-backend.C (scanMaster): make the regex static
2814 * LaTeX.C (scanAuxFile): make the regexs static
2816 * text3.C (doInsertInset, dispatch, dispatch):
2817 * text2.C (cursorUp, cursorDown):
2818 * text.C (selectNextWordToSpellcheck):
2819 * BufferView_pimpl.C (dispatch):
2820 * lyxfunc.C (dispatch): localDispatch -> dispatch
2822 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2824 * lyxsocket.C: include <cerrno>
2826 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2828 * lyxfunc.C (dispatch): remove textcache stuff
2830 * bufferlist.C (release): remove textcache stuff
2833 * TextCache.C: delete file
2834 * TextCache.h: delete file
2836 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2838 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2839 delete of the bv_->text.
2840 (resizeCurrentBuffer): remove texcache stuff
2841 (workAreaResize): ditto
2843 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2845 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2848 2003-10-16 André Pönitz <poenitz@gmx.net>
2855 * text3.C: speed up by storing y positions per paragraph plus per-row
2856 offset instead of having a 'full' y position in the row.
2858 2003-10-15 André Pönitz <poenitz@gmx.net>
2862 * undo.[Ch]: make undo aware of inner insets
2864 2003-10-14 Angus Leeming <leeming@lyx.org>
2866 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2867 static member functions LyX::ref() and LyX::cref.
2868 (lastfiles): new accessor functions for the new lastfiles_ member var.
2869 (addLyXView, views_): add a new LyXView to the list of views_.
2870 (updateInset): loop over all LyXViews to call their own updateInset
2871 member function, returning a pointer to the Buffer owning the inset.
2873 * BufferView_pimpl.C (loadLyXFile):
2874 * MenuBackend.C (expandLastfiles):
2875 * bufferlist.C (MenuWrite, QuitLyX):
2876 lastfiles is no longer a global variable.
2877 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2879 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2880 static function. Access through LyX::cref().emergencyCleanup().
2882 2003-10-14 André Pönitz <poenitz@gmx.net>
2884 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2886 * undo.[Ch]: restoring part of 'undo in insets'
2889 * undo_funcs.[Ch]: merge with undo.[Ch]
2891 * tabular.C: small cleansing stuff
2893 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2895 * paragraph_funcs.C (readParToken): report unknown insets as error
2896 boxes. Use the outer paragraph as location (also for unknown
2899 * factory.C (readInset): do not abort on reading an unknown inset.
2900 Eat it and return 0.
2902 2003-10-13 Angus Leeming <leeming@lyx.org>
2904 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2906 * lyxrc.C: displayTranslator is now a function,
2907 declared in GraphicsTypes.h.
2909 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2911 * format.C: new placeholder $$a to pass the socket address.
2913 * bufferlist.[Ch]: new function getBufferFromTmp.
2915 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2916 files in the temporary dir.
2918 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2920 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2922 * Makefile.am: add lyxsocket.[Ch].
2924 * lyx_main.C (error_handler): handle SIGPIPE.
2926 2003-10-13 André Pönitz <poenitz@gmx.net>
2928 * BufferView_pimpl.C:
2933 * undo_funcs.[Ch]: use paroffset_type instead of
2934 ParagraphList::iterators to prevent multiple conversion
2935 (and get a more robust interface)
2937 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2939 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2941 * text3.C (dispatch): ditto
2943 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2945 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2946 move the onlyfile, use onlyfile instead of foundfile in a couple
2949 * DepTable.C (update): flush the error stream a bit more
2951 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2953 * lyxserver.C (callback): adjust
2955 * lyxfunc.C (getStatus): add a missing brace in commented code
2956 (ensureBufferClean): reindent
2957 (dispatch): delete version taking a string
2959 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2961 * LaTeX.C (deplog): move found file handlig from here...
2962 (handleFoundFile): .. to new function here.
2963 (deplog): make sure to discover several files mentioned on the
2966 2003-10-10 André Pönitz <poenitz@gmx.net>
2973 * text3.C: fix some of the tabular crashes
2975 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2977 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2979 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2981 2003-10-09 André Pönitz <poenitz@gmx.net>
2983 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2986 * BufferView_pimpl.C:
2987 * bufferview_funcs.C:
2998 * undo_funcs.C: adjust
3000 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3002 * text2.C (incrementItemDepth): new function, use a backtracking
3003 algorithm to discover the correct item depth.
3004 (resetEnumCounterIfNeeded): new function, use a backtracking
3005 algorithm to discover if counter reset is needed.
3006 (setCounter): use them. Simplify a bit. Add different labels for
3007 different item depths for itemize.
3009 * paragraph.C (Paragraph): remove initialization of enumdepth
3012 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3013 enumerate and itemize. Change the type of itemdepth to signed char.
3015 2003-10-08 André Pönitz <poenitz@gmx.net>
3017 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3022 * tabular.[Ch]: fix crash after 'row-insert'
3024 2003-10-08 Angus Leeming <leeming@lyx.org>
3026 Fix doxygen warnings.
3028 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3029 Remove CutAndPaste:: prefix from header file declaration.
3031 * LColor.h (fill): remove LColor:: prefix from declaration.
3033 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3034 use lyx::depth_type rather than Paragraph::depth_type so that
3035 header file and .C file match.
3037 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3039 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3040 * aspell.C: \file aspell_local.C -> \file aspell.C
3041 * gettext.C: \file gettext.C -> \file src/gettext.C
3042 * gettext.h: \file gettext.h -> \file src/gettext.h
3043 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3044 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3045 * text.C: \file text.C -> \file src/text.C
3047 * toc.C: move comment so that doxygen is not confused.
3049 2003-10-07 Angus Leeming <leeming@lyx.org>
3051 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3053 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3056 * aspell_local.h: add forgotten std::string's.
3058 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3065 * text3.C: The Box patch. Fancybox support, minipage, parbox
3067 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3073 * ParagraphParameters.h:
3083 * lyxtextclasslist.h:
3086 * paragraph_pimpl.C:
3087 * textcursor.h: add <string> and other small fixes to make Lars'
3088 std::string patch compile with STLport.
3090 2003-10-06 Angus Leeming <leeming@lyx.org>
3092 * LColor.h: Add missing #include <string>.
3094 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * All most all file in all subdirs: Make <string> be the prefered
3097 way of getting to std::string, add using declarations.
3099 2003-10-06 André Pönitz <poenitz@gmx.net>
3101 * metricsinfo.C: initialize LyXFont before changing attribute.
3102 (fixes the 'math in \emph is upright' bug)
3104 2003-10-06 André Pönitz <poenitz@gmx.net>
3106 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3108 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3111 * paragraph_pimpl.C: Small fixes to build using STLport
3113 2003-10-02 André Pönitz <poenitz@gmx.net>
3116 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3118 2003-10-01 André Pönitz <poenitz@gmx.net>
3120 * factory.C: assert early
3122 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3124 * lyx_main.C: remove the global debug object
3126 * debug.h: adjust for new debugstream
3128 * debug.C: adjust for new debugstream and keep the global debug
3131 2003-09-22 Angus Leeming <leeming@lyx.org>
3133 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3134 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3135 an incomplete class LyXFont.
3137 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3139 * factory.C: bug fix in branches
3141 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3143 * lyxfunc.C (processKeySym): adjust
3145 (dispatch): change arg name from ev to func, adjust
3146 (sendDispatchMessage): ditto
3148 * lyx_main.C (defaultKeyBindings): adjust keybindings
3149 (deadKeyBindings): ditto
3151 * kbsequence.C (addkey): return a FuncRequest
3153 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3155 * kbmap.C (bind): take a FuncRequest as arg, adjust
3158 (defkey): change to take a FuncRequest as arg, adjust
3159 (findbinding): take a FuncRequest as arg, adjust.
3161 * funcrequest.h (operator=): added
3163 * funcrequest.C (FuncRequest): default kb_action changed from
3164 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3166 * buffer.C (dispatch): simplify
3167 (dispatch): adjust to take a FuncRequest as arg, adjust
3169 * boost.C (assertion_failed): change assertion message slightly
3171 * ToolbarBackend.C (read): simplify
3173 * MenuBackend.C (binding): adjust call to findbinding, add a
3174 message if no binding is found.
3176 (expandToc): correct by adding a empty FuncRequest
3178 * LyXAction.C: include <boost/assert.hpp>
3179 (isPseudoAction): delete function
3180 (LookupFunc): change name to...
3181 (lookupFunc): this. change return type to FuncRequest.
3182 (getActionName): take kb_action as arg, simplify
3183 (funcHasFlag): add an assert, simplify.
3185 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3187 * toc.C (action): return a FuncRequest, simplify
3189 * lyxfunc.C (processKeySym): adjust
3190 (getStatus): delete version that takes an int.
3192 (dispatch): delete version that takes action as int
3194 (sendDispatchMessage): simplify and adjust
3196 * funcrequest.C (getArg): take unsigned int as arg
3198 * ToolbarBackend.C (read): adjust
3199 (add): delete version that takes func as a string.
3200 (getIton): take a FuncRequest as arg
3202 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3205 * MenuBackend.C (MenuItem): add a new construct that only takes a
3206 Kind, simplify the constructor use for submenus.
3208 (expandLastfiles): adjust
3209 (expandDocuments): adjust
3210 (expandFormats): adjust
3211 (expandFloatListInsert): adjust
3212 (expandFloatInsert): adjust
3213 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3215 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3216 Remove class variables lyx_pseudo_map and lyx_arg_map
3218 * LyXAction.C (searchActionArg): delete function
3219 (getPseudoAction): delete function
3220 (retrieveActionArg): delete function
3221 (LookupFunc): make it return kb_action, simplify.
3222 (getActionName): simplify
3224 * factory.C (createInset): fix new bug
3226 2003-09-19 Angus Leeming <leeming@lyx.org>
3228 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3229 masterFilename_ parameter in the include inset.
3231 * factory.C (createInset): changes due to the changes to InsetInclude.
3233 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3235 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3237 2003-09-18 Angus Leeming <leeming@lyx.org>
3240 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3241 Inset::fillWithBibKeys.
3242 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3244 2003-09-18 Angus Leeming <leeming@lyx.org>
3246 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3248 (ctor): pass and store a 'Buffer const &'
3249 (buffer): new member function.
3251 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3252 '*this' to the LaTeXFeatures ctor.
3254 2003-09-18 Angus Leeming <leeming@lyx.org>
3260 * text.C: rename EnumLColor as LColor_color.
3262 2003-09-18 Angus Leeming <leeming@lyx.org>
3264 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3265 remove #include "insets/insetbase.h" from cursor.h.
3267 2003-09-18 Angus Leeming <leeming@lyx.org>
3269 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3270 InsetOld_code to remove #include "inset.h".
3272 * iterators.C: add #include "insets/inset.h"
3274 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3276 * BufferView.C: remove more locking stuff that apparently doesn't
3277 do anything sensible.
3279 2003-09-16 André Pönitz <poenitz@gmx.net>
3282 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3285 2003-09-16 Angus Leeming <leeming@lyx.org>
3287 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3289 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3292 * paragraph.h: remove #include "lyxfont.h". Forward declare
3295 2003-09-16 Angus Leeming <leeming@lyx.org>
3297 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3298 of support/textutils.h.
3299 (isWord): move the contents of support/textutils.h's IsWordChar here.
3305 * text2.C: add #include "paragraph.h".
3308 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3310 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3316 * LaTeX.C: use namespace alias for lyx::support::os
3318 2003-09-16 Angus Leeming <leeming@lyx.org>
3321 * bufferview_funcs.C:
3324 * paragraph_pimpl.C:
3326 * text.C: add #include "LColor.h".
3328 2003-09-16 Angus Leeming <leeming@lyx.org>
3330 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3331 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3333 Store the FontBits::color variable as an int rather than as an
3334 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3337 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3338 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3339 string calls together.
3341 * lyxrc.C: add #include "LColor.h".
3343 2003-09-15 Angus Leeming <leeming@lyx.org>
3345 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3348 2003-09-15 Angus Leeming <leeming@lyx.org>
3350 * LColor.h: add an EnumLColor wrapper for LColor::color.
3352 * lyxfont.[Ch] (color, setColor, realColor):
3353 * lyxtext.h, text.C (backgroundColor):
3354 pass EnumLColor args to/from the functions, rather than LColor::color
3358 * lyxtext.h: forward declare EnumLColor.
3360 * lyx_main.C: add #include "LColor.h".
3362 2003-09-15 Angus Leeming <leeming@lyx.org>
3364 * .cvsignore: add lyx-gtk.
3366 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3371 * ParagraphParameters.C
3375 * bufferview_funcs.C
3385 * vc-backend.C: remove usage of STRCONV
3387 2003-09-15 Angus Leeming <leeming@lyx.org>
3389 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3390 explicitly define the color passed to the painter.
3392 2003-09-15 Angus Leeming <leeming@lyx.org>
3394 * bufferparams.C (BufferParams): reorder member initializers to avoid
3397 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3399 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3400 * text.C (updateRowPositions): remove an unusual nop
3402 2003-09-12 André Pönitz <poenitz@gmx.net>
3404 * BufferView_pimpl.C:
3413 * Counters.[Ch]: finish the 'automatic counters' job
3415 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3417 * aspell.C: include <boost/assert.cpp> (compile fix)
3419 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3421 * boost.C (assertion_failed): use lyx::support::abort instead of
3424 2003-09-10 Angus Leeming <leeming@lyx.org>
3426 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3427 with their _fwd progeny.
3429 2003-09-09 Angus Leeming <leeming@lyx.org>
3431 134 files throughtout the source tree: replace 'using namespace abc;'
3432 directives with the appropriate 'using abc::xyz;' declarations.
3434 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3436 * boost.C (emergencyCleanup): moved here from LAssert.c
3437 (assertion_failed): new function, called by BOOST_ASSERT
3439 * several files: change Assert to BOOST_ASSERT
3441 2003-09-09 Angus Leeming <leeming@lyx.org>
3443 * buffer.[Ch]: Add an Impl class and move Buffer's member
3444 variables into it. As a result move several header files out of
3447 Add header files to lots of .C files all over the tree as a result.
3449 2003-09-09 Angus Leeming <leeming@lyx.org>
3451 * buffer.[Ch]: make Buffer's member variables private. Add
3454 Lots of changes all over the tree as a result.
3456 2003-09-08 Angus Leeming <leeming@lyx.org>
3458 * graph.C: #include <config.h>.
3460 2003-09-08 Angus Leeming <leeming@lyx.org>
3464 * BufferView_pimpl.C:
3493 * toc.C: remove redundant using directives.
3495 2003-09-07 Angus Leeming <leeming@lyx.org>
3497 * LaTeXFeatures.h: remove #include "support/types.h".
3498 * ToolbarBackend.h: remove #include <algorithm>.
3499 * changes.h: remove #include <ctime>.
3500 * debug.h: remove #include <iosfwd>.
3501 * graph.h: remove #include "support/std_string.h".
3502 * lyx_main.h: remove #include <csignal>.
3503 * lyxlex_pimpl.h: remove #include <fstream>.
3504 * sgml.h: remove #include <algorithm>, <utility>.
3505 * toc.h: remove #include "support/std_ostream.h".
3506 Add #include <iosfwd>.
3508 2003-09-07 Angus Leeming <leeming@lyx.org>
3510 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3512 * converter.h: forward declare LatexRunParams.
3513 * encoding.h: remove #include "lyxrc.h".
3514 * lyxtext.h: remove #include "LColor.h".
3515 * lyxtextclass.h: remove #include "support/types.h".
3516 * trans.h: remove #include "tex-accent.h".
3517 * trans_mgr.h: remove #include "tex-accent.h".
3518 * insets/inset.h: remove #include "support/types.h", <vector>.
3519 * insets/insetcollapsable.h: remove #include "LColor.h".
3520 * insets/insetinclude.h: remove #include "dimension.h".
3521 * insets/insetlatexaccent.h: remove #include "dimension.h".
3522 * insets/insetoptarg.h:: remove #include "insettext.h".
3523 * insets/insettext.h: remove #include "dimension.h",
3524 <boost/shared_ptr.hpp>
3526 * insets/renderers.h: add #include "dimension.h".
3527 * insets/updatableinset.h: add #include "support/types.h".
3529 * many .C files: Associated changes.
3531 2003-09-06 Angus Leeming <leeming@lyx.org>
3533 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3534 one, inside testInvariant.
3536 * PrinterParams.C: new file.
3537 * PrinterParams.[Ch]: move the function bodies out of line.
3539 2003-09-06 Angus Leeming <leeming@lyx.org>
3541 * ParagraphParameters.h: forward declare ParameterStruct rather than
3542 including its header file.
3543 (depth): moved out-of-line.
3545 2003-09-06 Angus Leeming <leeming@lyx.org>
3547 * BufferView_pimpl.h:
3550 * lyxfunc.h: forward declare LyXKeySym rather than
3551 #include "frontends/LyXKeySym.h".
3553 * BufferView_pimpl.C:
3556 * lyxfunc.C: associated changes.
3558 2003-09-06 Angus Leeming <leeming@lyx.org>
3560 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3561 As a result, can remove the #include "insets/inset.h" from BufferView.h
3563 2003-09-06 Angus Leeming <leeming@lyx.org>
3565 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3566 As a result, can remove the #include "insets/inset.h" from BufferView.h
3568 2003-09-06 Angus Leeming <leeming@lyx.org>
3574 * bufferview_funcs.C:
3575 * BufferView_pimpl.C:
3580 * ParagraphParameters.C:
3585 * frontends/controllers/ControlDocument.C:
3586 * insets/insetcaption.C: rearrange the #includes into some sort of
3589 * buffer.h: remove #includes ErrorList.h, undo.h
3591 2003-09-06 Angus Leeming <leeming@lyx.org>
3593 * support/types.h: add a 'depth_type' typedef, used to store the
3594 nesting depth of a paragraph.
3597 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3598 defining explicitly.
3601 * paragraph_funcs.h:
3602 * ParagraphParameters.h:
3603 * sgml.h: use lyx::depth_type rather than Paragraph or
3604 ParameterStruct's depth_type.
3607 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3610 * BufferView_pimpl.C:
3612 * ParagraphParameters.C:
3615 * bufferview_funcs.C:
3622 * frontends/LyXView.C:
3623 * frontends/controllers/ControlDocument.C:
3624 * frontends/controllers/ControlErrorList.C:
3625 * insets/insetbibitem.C:
3626 * insets/insetbranch.C:
3627 * insets/insetcaption.C:
3628 * insets/insetcollapsable.C:
3629 * insets/insetenv.C:
3630 * insets/insetert.C:
3631 * insets/insetfloat.C:
3632 * insets/insetfoot.C:
3633 * insets/insetfootlike.C:
3634 * insets/insetnewline.C:
3635 * insets/insetquotes.C:
3636 * insets/insettabular.C:
3637 * insets/insettext.C:
3638 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3640 * frontends/controllers/ControlChanges.C: #include "changes.h".
3642 2003-09-06 Angus Leeming <leeming@lyx.org>
3644 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3645 than #including paragraph.h.
3648 * RowList.h: deleted. Superfluous.
3658 * insets/insettext.h: use ParagraphList_fwd.h rather than
3661 * paragraph.h: don't forward declare ParagraphList.
3664 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3665 rather than ParagraphList.h. paragraph.h is still needed for the
3666 Paragraph::depth_type parameters.
3668 * textcursor.h: enable it to compile stand-alone in light of the
3671 * bufferview_funcs.C:
3683 * frontends/controllers/ControlParagraph.C:
3684 * frontends/controllers/ControlTabular.C:
3685 * insets/insetmarginal.C:
3686 * insets/insetminipage.C:
3687 * insets/insetnote.C:
3688 * insets/insetoptarg.C: add header files needed to compile again.
3690 2003-09-06 Angus Leeming <leeming@lyx.org>
3692 * RowList_fwd.h: new file, forward-declaring Row rather than
3693 #including lyxrow.h.
3698 * insets/insettext.h: use it instead of RowList.h
3700 * bufferview_funcs.C:
3707 * text3.C: #include "RowList.h".
3709 2003-09-05 Angus Leeming <leeming@lyx.org>
3711 * factory.C (createInset):
3712 * vspace.C (c-tor): replace sscanf call with an istringstream.
3713 * ispell.C: re-add missing HP/UX headers.
3714 * lyxserver.C: re-add missing os2 headers.
3716 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3725 * text3.C: re-add missing system headers, needed for 2.95.2.
3727 2003-09-05 Angus Leeming <leeming@lyx.org>
3729 Changes most place everywhere due to the removal of using directives
3730 from support/std_sstream.h.
3732 2003-09-05 Angus Leeming <leeming@lyx.org>
3734 Replace LString.h with support/std_string.h,
3735 Lsstream.h with support/std_sstream.h,
3736 support/LIstream.h with support/std_istream.h,
3737 support/LOstream.h with support/std_ostream.h.
3739 Changes resulting throughout the tree.
3741 2003-09-05 Angus Leeming <leeming@lyx.org>
3743 * sgml.h: ensure that the header file can be compiled stand-alone.
3744 * *.C: strip out redundant #includes. (320 in total.)
3746 2003-09-04 Angus Leeming <leeming@lyx.org>
3748 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3749 here (from getPackages).
3751 * debug.[Ch]: add a new EXTERNAL tag.
3753 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3755 * text2.C (cursorEnd): simplify
3757 (getColumnNearX): adjust
3759 * text.C (computeBidiTables): adjust
3762 * rowpainter.C (paintChars): adjust
3763 (paintSelection): adjust
3764 (paintChangeBar): adjust
3767 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3769 (numberOfSeparators): adjust
3771 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3777 * text3.C: Restricts the mouse click functionality
3778 of insets like bibtex, include, toc and floatlist to the visible
3779 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3780 up the dialogs. Cursor has to be in front of the inset (i.e.
3781 start of row) for this to function.
3783 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3785 * bufferview_funcs.C (currentState): output row information
3787 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3789 * bufferview_funcs.C (currentState): output paragraph position
3791 2003-09-04 Angus Leeming <leeming@lyx.org>
3793 * FloatList.h: move out #include "Floating.h".
3794 * LaTeX.h: move out #include "DepTable.h".
3795 * LyXAction.h: move out #include "funcrequest.h".
3796 * buffer.h: move out #include "author.h", "iterators.h".
3797 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3798 * lyx_main.h: move out #include "errorlist.h".
3799 * lyxfunc.h: move out #include "FuncStatus.h".
3800 * lyxtext: move out #include "lyxcursor.h".
3801 * paragraph_pimpl.h: move out #include "counters.h".
3803 2003-09-03 Angus Leeming <leeming@lyx.org>
3805 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3806 preamble_snippets list, enabling us to add snippets to the preamble
3807 only if the snippet was not there already.
3809 2003-09-04 Angus Leeming <leeming@lyx.org>
3811 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3813 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3815 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3818 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3820 * BranchList.C: point fix, earlier forgotten
3822 2003-09-02 Angus Leeming <leeming@lyx.org>
3824 * box.C (contains): renamed from 'contained' after a fantastic
3827 2003-09-02 John Levon <levon@movementarian.org>
3833 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3835 2003-09-02 John Levon <levon@movementarian.org>
3837 * text2.C: simplification of cursorEnd(), including partial
3840 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3842 * buffer.C (readFile): add a space
3844 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3846 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3848 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3850 * buffer.C (readFile): new function, take a filename and a
3851 ParagraphList::iterator
3853 (readFile): adjust, make it private. don't use setStream, make
3854 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3855 always contain the filename.
3857 * BufferView.C (insertLyXFile): simplify and make it work for
3860 2003-08-30 John Levon <levon@movementarian.org>
3862 * Makefile.am: fix dist (from Kayvan)
3864 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3866 * most files: change to use const Buffer refs
3868 2003-08-27 André Pönitz <poenitz@gmx.net>
3870 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3871 on top of ownerPar().
3873 2003-08-27 John Levon <levon@movementarian.org>
3875 * funcrequest.C: properly initialise POD members
3877 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3879 * lyxtext.h (top_y): move top_y from here
3884 * BufferView_pimpl.[Ch]: to here
3885 * frontends/screen.C:
3886 * insets/insettabular.C:
3887 * insets/insettext.C: adjust
3888 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3890 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3893 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3895 2003-08-26 André Pönitz <poenitz@gmx.net>
3897 * paragraph_func.[Ch] (outerPar): new function
3900 * paragraph_funcs.C:
3901 * paragraph_funcs.h:
3902 * paragraph_pimpl.C:
3903 * text2.C: remove Inset::par_owner
3905 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3910 * text2.C: eliminates the needFullRow/display() stuff
3911 altogether, putting the logic in metrics/draw in the insets.
3913 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3915 * text2.C (redoParagraphInternal, redoParagraphs):
3916 * text.C (redoParagraph): add a call to updateRowPositions at the
3917 end of each 'metrics-like' call. Remove all others.
3918 (getRow): remove the 'y-computing' version.
3919 (getRowNearY): do not compute nor return the real y. Solve the
3920 'y < 0' problem and simplify.
3922 2003-08-22 Angus Leeming <leeming@lyx.org>
3924 * *.[Ch]: clean-up of licence and author blurbs.
3925 Also move config.h out of a few .h files and into a few .C files.
3927 2003-08-22 André Pönitz <poenitz@gmx.net>
3929 * lyxrow.[Ch]: add x_ and *fill_ members
3934 * text2.C: adjust/remove prepareToPrint() calls
3936 2003-08-22 André Pönitz <poenitz@gmx.net>
3938 * lyxrow.[Ch]: add end_ member
3940 * lyxrow_funcs.C: use LyXRow::end_
3942 * lyxtext.h (singleWidth): add LyXFont parameter
3945 * text2.C: adjust LyXText::singleWidth() calls
3947 * text.C (redoParagraph): simplify row breaking logic
3950 2003-08-19 André Pönitz <poenitz@gmx.net>
3952 * funcrequest.C: initialize button_ member
3955 * rowpainter.[Ch]: interface consolidation
3957 2003-08-18 André Pönitz <poenitz@gmx.net>
3960 * BufferView_pimpl.C:
3962 * paragraph_funcs.C:
3964 * text3.C: remove LyXScreen::draw() and fitCursor calls
3966 * BranchList.h: remove spurious semicolons
3968 * MenuBackend.C: fix branchlist related crash
3970 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3978 * bufferparams.[Ch]:
3982 * text3.C: implements the 'branch inset'
3983 idea. This allows the output of various versions of a document
3984 from a single source version, selectively outputing or suppressing
3985 output of parts of the text.
3986 This implementation contains a 'branch list editor' in a separate
3987 tab of the document settings dialog. Branches are user definable
3988 and have a "display colour" to distinguish them on-screen.
3990 ColorHandler was somewhat cleaned up.
3991 (1) make possible a dynamically growing LColor list by allowing
3992 the graphic context cache to grow along (vector);
3993 (2) eliminate an IMHO unnecessary step in colour allocation.
3995 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3997 * BufferView_pimpl.C: compile fix
3999 2003-08-15 André Pönitz <poenitz@gmx.net>
4001 * rowpainter.C: remove extra metrics calls
4003 * lyxtext.h: merge the two constructors into a single one,
4004 pass reference to owner's par list
4006 * BufferView_pimpl.C:
4010 2003-08-15 André Pönitz <poenitz@gmx.net>
4012 * lyxrow_funcs.[Ch]:
4015 * paragraph_funcs.C:
4020 * text_funcs.C: split LyXText::rowlist_ into individual
4021 Paragraph::rows_ chunks
4024 * BufferView_pimpl.[Ch]:
4027 * text3.C: remove toggleSelection()
4029 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4031 * bufferlist.C: beautify two alerts (shorter text of buttons)
4032 * buffer.C: Remove redundant ' ' from message
4034 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4035 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4036 rename VALIGN_CENTER to VALIGN_MIDDLE
4038 2003-08-11 André Pönitz <poenitz@gmx.net>
4040 * lyxtext.h (getPar):
4041 * text.C: new function
4043 2003-08-11 André Pönitz <poenitz@gmx.net>
4046 * tracer.[Ch]: remove unneeded files
4048 * InsetList.[Ch]: remove resizeInsetsLyXText()
4053 * text3.C: merge insertParagraphs() and appendParagraph()
4054 remove breakAgain(), update()
4056 * BufferView_pimpl.[Ch]:
4057 * bufferview_funcs.[Ch]:
4061 * tabular.C: adjust after text & InsetList changes.
4063 2003-08-08 André Pönitz <poenitz@gmx.net>
4065 * text.C (insertChar, backspace): replace rowlist fiddling
4066 with rebreak of full par
4069 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4070 checkParagraph, updateInset): removed
4072 2003-08-07 André Pönitz <poenitz@gmx.net>
4075 * text3.C: merge some LFUN handlers, remove dead code
4077 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4079 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4081 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4083 * text2.C (DEPM): fix part of bug 1255 and 1256
4085 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4087 * BufferView_pimpl.C (workAreaDispatch): change to use
4088 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4089 that are no mouse related.
4091 2003-08-05 André Pönitz <poenitz@gmx.net>
4094 * BufferView_pimpl.[Ch]:
4095 * bufferview_funcs.C:
4097 * text3.C: rip out "deep update"
4099 * textcursor.[Ch] (last_sel_cursor): remove unused member
4101 2003-08-04 André Pönitz <poenitz@gmx.net>
4104 * BufferView_pimpl.[Ch]:
4105 * ParagraphParameters.C:
4106 * bufferview_funcs.C:
4112 * text3.C: replace "complicated" BufferView::update(...) calls with
4115 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4117 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4119 * Makefile.am (lyx_SOURCES): add paper.h
4121 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4123 * Makefile.am: move things around so that both lyx-qt and
4124 lyx-xforms can be built (according to --with-frontend). Then lyx
4125 is a symbolic link to lyx-[firstfrontend]
4127 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4129 * Always use std::endl with lyxerr
4131 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4133 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4135 2003-08-01 André Pönitz <poenitz@gmx.net>
4138 * BufferView_pimpl.[Ch]:
4140 * text3.C: merge BufferView::repaint() and BufferView::update()
4142 2003-08-01 José Matos <jamatos@lyx.org>
4144 * buffer.[Ch]: file_format is no longer a buffer data element.
4146 2003-08-01 André Pönitz <poenitz@gmx.net>
4151 * text2.C: make redoParagraph more independent of current cursor
4153 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4155 * text2.C: remove unneeded members
4157 2003-07-30 André Pönitz <poenitz@gmx.net>
4159 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4161 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4162 create a single function...
4164 * paragraph_funcs.C (moveItem): ... here.
4167 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4169 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4171 * LColor.[Ch]: Add comment and greyedout logical colors.
4173 2003-07-30 André Pönitz <poenitz@gmx.net>
4175 * tabular.C: don't use Assert too heavily. This crashes where it
4178 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4180 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4181 is disabled (bug 1232)
4183 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4185 * factory.C: limited 'arg' scope
4187 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4189 * factory.C: fixed Note submenu issues
4191 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4193 * factory.C: submenu for Note/Comment/Greyedout
4195 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4198 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4200 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4203 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4204 greyedout. Patch provided by Jürgen Spitzmüller.
4206 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4208 * kbmap.C (read): fix error message when reading bind files
4210 2003-07-29 Angus Leeming <leeming@lyx.org>
4212 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4213 certainly does not do what it purports to do. I am doing it, and
4214 us, a favour by killing it.
4216 2003-07-28 José Matos <jamatos@lyx.org>
4218 * buffer.C (readBody, do_writeFile):
4219 * paragraph.C(readParagraph): \end_document replaces \the_end.
4221 2003-07-29 André Pönitz <poenitz@gmx.net>
4224 * BufferView_pimpl.[Ch]:
4228 * textcursor.[Ch]: remove toggleToggle & Co
4230 2003-07-28 José Matos <jamatos@fep.up.pt>
4232 * buffer.C (readParagraph):
4233 * params_func (readParToken, readParagraph):
4234 * paragraph.C (write): \layout -> \begin_layout.
4236 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4238 * lyxlex_pimpl.C (setFile): clean up slightly.
4240 * bufferparams.h: add compressed var
4242 * buffer_funcs.C (readFile): adjust for LyXLex change
4243 (newFile): ditto + simplify
4245 * buffer.C (writeFile): handle writing of compressed files
4247 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4248 Check if the file is compressed and set a bufferparm if so.
4250 * Makefile.am (lyx_LDADD): remove explicit -lz
4252 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4254 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4255 makeDocBookFile): put the real LyX version in the first line of
4259 * version.C.in: remove lyx_docversion
4261 * tabular.C (write_attribute): add a template-based version to
4262 write enums properly
4264 2003-07-28 André Pönitz <poenitz@gmx.net>
4269 * text3.C: use doubles again for x-coordinates. They are needed.
4271 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4273 * messages.C (getLocaleDir): use lyx_localedir()
4275 * lyxlex_pimpl.C (setFile): compress stuff
4277 * buffer.C (writeFile): add some compression stuff
4278 (do_writeFile): new func, dont call expliti close... will this
4281 * Makefile.am (lyx_LDADD): add -lz
4283 2003-07-28 José Matos <jamatos@fep.up.pt>
4285 * buffer.C: increment file format.
4286 * paragraph_funcs (readParagraph, readParToken):
4287 * paragraph.C (readParagraph): add \end_layout.
4289 2003-07-27 Angus Leeming <leeming@lyx.org>
4291 * Makefile.am: remove special casing for configure-time setting of
4292 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4294 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4295 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4297 2003-07-26 André Pönitz <poenitz@gmx.net>
4299 * paragraph_func.[Ch]:
4300 * paragraph.C (realizeFont): inline it whereever it is used
4305 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4308 2003-07-26 André Pönitz <poenitz@gmx.net>
4312 * text2.C: get rid of LyXText::need_break_row
4314 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4316 * toc.[Ch]: put namespace toc inside namespace lyx
4318 * MenuBackend.C (expandToc2): adjust for lyx::toc
4321 * lyxfunc.C (dispatch): adjust for lyx::find
4323 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4324 lyx::find instead. Reorganize a bit.
4325 (LyXReplace): rename to replace
4326 (LyXFind): rename to find
4328 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4331 2003-07-26 André Pönitz <poenitz@gmx.net>
4333 * text.C (setHeightOfRow): restrict scope of temporary variable
4335 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4336 code (never has been used?)
4338 2003-07-27 Asger Alstrup <alstrup@local>
4340 * text.C (fill): Optimise algorithm to exploit that we can reuse
4341 the LyXFont for many characters.
4342 (setHeightOfRow): Same thing.
4343 (rowBreakPoint): Same thing.
4345 2003-07-26 Asger Alstrup <alstrup@local>
4347 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4349 * text.C (singleWidth): Spurious font copying in hot-spot
4350 singleWidth avoided. Reorder tests for arabic for efficiency.
4352 * text.C (fill): handle empty paragraphs better.
4354 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4357 * encoding.h: add includes
4359 * lyxrc.C: remove reading of bind files
4361 * lyx_main.C (init): setup bindings and menus only if we have a
4364 * kbmap.C (read): new method. Do the actual reading of bind
4367 * converter.C (dvipdfm_options):
4370 (output): adapt PAPER_* enums.
4372 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4374 * bufferparams.h: remove paper-related enums from there
4376 * paper.h: New file. A trivial header file to hold paper-related
4377 enums. It should later expand to contain many paper-related
4380 * lyxrc.C: declare extern displayTranslator
4382 2003-07-27 José Matos <jamatos@fep.up.pt>
4384 * tabular.[Ch] (linuxdoc): add support for tables and figures
4387 2003-07-27 José Matos <jamatos@fep.up.pt>
4389 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4390 consistency in both functions.
4391 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4393 2003-07-26 Asger Alstrup <alstrup@local>
4395 * rowpainter.C (paintRows): Change algorithm to work directly on
4396 the insets rather than asking every character in the document
4397 whether its an inset.
4399 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4401 * buffer.C (openFileWrite): factorize some code
4403 2003-07-26 Angus Leeming <leeming@lyx.org>
4406 * lyx_main.[Ch]: replace occurances of system_tempdir with
4409 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4411 * rename Inset to InsetOld
4413 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4415 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4416 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4417 which I think is a bit clearer. EDIT is gone, since it was
4418 premature optimisation, and broken for mathed anyway.
4419 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4420 with cursor positioning in insets as well (math insets still do not
4421 work, but that's a different story anyway.) It mysteriously
4422 crashes sometimes with undo in the first paragraph, but I'm fairly
4423 confident that this is a compiler bug.
4425 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4427 * paragraph.C (Paragraph): adjust for new clone return type
4429 (copyIntoMinibuffer): ditto
4431 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4433 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4434 by not having a special case, and always doing a full rebreak of
4435 the document after undo.
4437 2003-07-23 Angus Leeming <leeming@lyx.org>
4439 * factory.C (createInset): InsetExternal::setParams now takes a
4442 2003-07-23 Angus Leeming <leeming@lyx.org>
4444 * factory.C (createInset): changed interface to the external and
4445 graphics mailers' string2params functions.
4447 2003-07-23 Angus Leeming <leeming@lyx.org>
4449 * factory.C (createInset): pass a
4450 Buffer const * parameter to InsetExternalMailer's string2params.
4452 2003-07-22 John Levon <levon@movementarian.org>
4454 * Thesaurus.h: include the right aiksaurus header
4456 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4458 * MenuBackend.C (expand): check menu shortcuts unconditionally
4460 2003-07-21 Angus Leeming <leeming@lyx.org>
4462 * factory.C (createInset): pass a
4463 buffer_path parameter to InsetGraphicsMailer's string2params.
4465 2003-07-21 Angus Leeming <leeming@lyx.org>
4467 * BufferView_pimpl.C (buffer):
4470 * lyxfunc.C (dispatch):
4471 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4472 rather than the grfx shortcut.
4474 2003-07-21 André Pönitz <poenitz@gmx.net>
4476 * rowpainter.C: remove unused variables
4479 * tabular_funcs.h: move to tabular.C
4480 * Makefile.am: adjust
4482 * tabular.[Ch]: basic optical cleaning
4484 * author.h: pass references, not values
4486 2003-07-18 André Pönitz <poenitz@gmx.net>
4494 * text3.C: two-phase drawing for InsetText and InsetTabular
4495 some float -> int changes.
4497 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4499 * lyx_main.C: fix the fix
4501 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4503 * lyx_main.C: fix a crash in batch mode if no files specified
4506 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4508 * format.[Ch] (papersize): moved to BufferParams
4509 * converter.[Ch] (dvips_options): moved to BufferParams
4510 (dvipdfm_options): moved to anon namespace
4511 * bufferparams.[Ch]: added above functions.
4513 2003-07-17 André Pönitz <poenitz@gmx.net>
4517 * text2.C: don't call inset->update() anymore
4519 * metricsinfo.[Ch]: add convenience constructor
4521 2003-07-16 André Pönitz <poenitz@gmx.net>
4526 * text2.C: replace the LyXCursor::irow_ member with
4527 on-demand computation of the value
4529 2003-07-16 John Levon <levon@movementarian.org>
4531 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4533 2003-07-15 André Pönitz <poenitz@gmx.net>
4536 * text2.C: remove no more needed refresh_row
4538 2003-07-15 André Pönitz <poenitz@gmx.net>
4543 * text3.C: refresh_status tristate -> need_update bool
4545 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4547 * lyxtext.h (init): remove reinit argument (act as if always true)
4548 * text2.C: adjust to that
4550 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4552 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4553 * text3.C: use it to delete selections in some cases
4554 (bugs 441, 673, 702, 954).
4556 2003-07-14 André Pönitz <poenitz@gmx.net>
4558 * rowpainter.[Ch]: reduce interface
4560 2003-07-14 André Pönitz <poenitz@gmx.net>
4562 * BufferView_pimpl.C:
4563 * text2.C: adjust after removing unused BufferView * argument
4565 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4567 * text2.C (init): fix a crash fired on resize
4569 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4571 * buffer.[Ch]: added new closing signal
4572 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4573 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4574 BufferView::Pimpl via the closing the signal
4576 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4578 * buffer.[Ch]: take out all bv-related from buffer
4580 * BufferView_pimpl.[Ch]: connect to new signals
4581 * CutAndPaste.C: removed useless asserts
4582 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4585 * lyxfunc.C: moved view-related funciontality from vc here
4586 * paragraph.C: removed outdated comments
4589 2003-07-10 André Pönitz <poenitz@gmx.net>
4591 * BufferView_pimpl.C:
4595 * text2.C: remove InsetText::InnerCache, clean up consequences
4597 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4599 * ispell.C: fix two typos in error messages
4601 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4603 * Extend Note inset to other forms of annotation like Comment
4604 and Greyedout. Right button click gives dialog.
4606 Files modified or added (+):
4610 * ControlNote.[Ch] +
4612 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4613 frontends/controllers
4617 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4619 * aspell.C: add missing namespace lyx::support
4621 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4623 * BufferView.[Ch] (newFile): Add
4624 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4625 * LaTeX.[Ch] (message): added this signal and use it
4626 * buffer.[Ch] (busy, message): added these signals and use them
4627 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4631 * importer.C: use buffer signals instead of direct bv calling
4632 * lyx_cb.[Ch] (ShowMessage): removed
4635 * paragraph_funcs.C:
4636 * text2.C: use buffer signals
4638 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4640 * introduce namespace lyx::graphics
4642 2003-07-02 André Pönitz <poenitz@gmx.net>
4644 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4646 2003-07-01 André Pönitz <poenitz@gmx.net>
4653 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4654 text*.C to text_func.C
4656 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4658 * introduce namespace lyx::support
4660 2003-06-30 André Pönitz <poenitz@gmx.net>
4665 * text.C: re-enable --with-included-string
4667 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4669 * textcursor.C: add <config.h>
4671 * text.C (getWord): remove const from word_location arg
4673 * lyxvc.C (getLogFile): fix const type order
4675 * lyxtext.h: remove const from word_location arg, add arg name
4677 * lyxlayout.h: currect type on labeltype.
4679 * importer.C: correct \file
4681 * converter.C (intToFormat): use std:: on ret val, ws changes
4683 * bufferlist.h: correct \file
4685 * buffer.C (makeLinuxDocFile): fix const type order
4686 (makeDocBookFile): ditto
4687 (fillWithBibKeys): use std:: on stdlib args.
4689 * CutAndPaste.C: fix authors.
4690 (availableSelections): use std:: on return vector
4692 2003-06-27 André Pönitz <poenitz@gmx.net>
4694 * BufferView_pimpl.C:
4695 * bufferview_funcs.C:
4703 * text3.C: remove LyXCursor::row_ member
4706 * text.C: rename fullRebreak() to partialRebreak() and implement
4707 a fullRebreak() that really bereks fully
4709 * textcursor.h: new struct for cursor-related data
4711 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4713 * lyx_main.C (LyX): get full path of document loaded on the
4716 2003-06-26 André Pönitz <poenitz@gmx.net>
4718 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4719 remove unused/broken operator>,<,>=.
4721 * text.C: remove only use of broken operator<= in an Assert().
4723 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4725 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4726 moved errorlist_.clear to showErrorList
4728 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4730 * converter.C (scanLog, runLaTeX):
4731 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4732 move the bv->showErrorList call to the callers
4733 * lyxfunc.C: i.e. here...
4735 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4736 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4737 namespace, the second to...
4738 * buffer_funcs (BufferFormat, parseErrors): added
4739 * errorlist.C (ErrorList(TeXErrors const &)): removed
4741 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4743 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4745 2003-06-24 "Garst R. Reese" <reese@isn.net>
4749 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4751 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4753 * version.C.in: change docversion to 1.4
4755 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4757 * buffer.C: fix a bug just introduced
4759 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4761 * buffer.[Ch]: added the parseError signal and use it, removed
4763 * BufferView.[Ch] (addError): moved to ...
4764 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4765 to the Buffer::parseError signal to catch (guess what) parse errors
4766 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4768 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4770 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4771 ability to create a buffer and to return an existing one from
4772 the list. Moved these functions to...
4773 * buffer_funcs.[Ch]: added
4774 * BufferView.[Ch] (loadLyXFile): added
4775 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4776 job removed from bufferlist::loadLyXFile.
4777 * buffer.C (setReadOnly): make it work without view
4778 (i.e added an if (users))
4780 2003-06-19 Angus Leeming <leeming@lyx.org>
4783 * LyXAction.C (init):
4784 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4785 with LFUN_DIALOG_SHOW <name> <data>.
4787 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4789 * CutAndPaste.C (availableSelections): small compilation fix for
4790 ancient (gcc 2.9x) compilers
4792 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * text3.C (cursorNext): add tmp var
4796 * text2.C (updateCounters): for function calling out of for clause
4797 (replaceSelectionWithString): ditto
4798 (insertStringAsParagraphs): ditto
4799 (getColumnNearX): add tmp var
4800 (setCursorFromCoordinates): add tmp var
4801 (cursorDownParagraph): add tmp var
4802 (deleteEmptyParagraphMechanism): add tmp var
4804 * text.C (insertChar): add tmp var
4806 * rowpainter.C (paintDepthBar): add tmp var
4808 * CutAndPaste.C (availableSelections): potentially check all
4809 paragraphs in a cut to fill the shown strings.
4811 2003-06-18 André Pönitz <poenitz@gmx.net>
4813 * kbmap.[Ch]: use vector<> instead of list<>
4815 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4817 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4818 pasteSelection with index
4820 * text2.C (pasteSelection): modify, call pasteSelection with index
4822 * paragraph.C (asString): reimplement version with no interval to
4823 call the one with interval.
4825 * lyxtext.h: add index arg to pasteSelection
4827 * MenuBackend.C (MenuItem): handle PasteRecent
4828 (Menu::read::Menutags): add md_pasterecent
4830 (expandPasteRecent): new function
4833 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4835 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4837 (availableSelections): new function
4839 2003-06-17 Angus Leeming <leeming@lyx.org>
4841 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4843 2003-06-17 Angus Leeming <leeming@lyx.org>
4846 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4848 * lyxfunc.C (dispatch): invoke it.
4850 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4852 * iterators.C (operator++, ParPosition): reintroduce some
4853 const_cast for the benefit of older compilers.
4855 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4857 * text3.C (dispatch): do not modify clipboard when doing
4858 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4859 LFUN_DELETE_SKIP on a selection selection
4861 2003-06-16 André Pönitz <poenitz@gmx.net>
4867 * tabular.[Ch]: IU of clone() and getLabelList();
4869 2003-06-13 André Pönitz <poenitz@gmx.net>
4871 * tabular.h: compactification
4873 2003-06-12 André Pönitz <poenitz@gmx.net>
4877 * tabular_funcs.h: some renaming plus whitespace
4879 2003-06-12 André Pönitz <poenitz@gmx.net>
4882 * BufferView_pimpl.C:
4888 * toc.C: Return a Paragraph & for ParIterator::operator*()
4890 2003-06-11 John Levon <levon@movementarian.org>
4894 * ToolbarBackend.C: add "Toolbars" section and
4897 2003-06-10 Angus Leeming <leeming@lyx.org>
4900 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4902 * lyxfunc.C (dispatch): invoke it.
4904 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4906 * main.C: protect <ios> with HAVE_IOS
4907 (main): protect sync_with_stdio with HAVE_IOS
4909 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4911 * text2.C (cutSelection): adjust
4912 (pasteSelection): adjust
4914 * messages.C: handle get of empty string
4916 * main.C (main): use sync_with_stdio(false)
4918 * lyxfunc.C (dispatch): adjust
4920 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4921 (WriteAs): remove unneeded BufferView arg.
4923 * bufferparams.h: use correct types on papersize, papersize2 and
4926 * bufferparams.C (readToken): adjust for type
4927 (writeLaTeX): add missing cases to switch.
4929 * bufferlist.C (quitWriteBuffer): adjust
4932 * buffer.C (asciiParagraph): remove some commented code.
4934 * CutAndPaste.C: remove current_view extern variable.
4935 (cutSelection): add BufferParams arg.
4936 (eraseSelection): add BufferParams arg.
4937 (pasteSelection): add Buffer const & arg
4939 2003-06-07 John Levon <levon@movementarian.org>
4942 * paragraph_funcs.C:
4943 * paragraph_pimpl.C:
4947 * paragraph.C: allow InsetERT to freely space lines,
4948 and some consolidation of code
4950 2003-06-06 José Matos <jamatos@fep.up.pt>
4952 * buffer.C (makeDocBookFile): fix bug #821
4954 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4956 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4958 2003-06-04 Angus Leeming <leeming@lyx.org>
4960 * buffer.C: bump format to 224.
4962 2003-06-05 André Pönitz <poenitz@gmx.net>
4964 * text2.C (redoParagraphs): remove two const_cast<>
4966 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4968 * ParagraphList.h: remove last remnants of NO_STD_LIST
4970 2003-06-03 Angus Leeming <leeming@lyx.org>
4972 * factory.C (createInset): small change to the way InsetExternal's params
4975 2003-06-04 André Pönitz <poenitz@gmx.net>
4977 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4979 * paragraph_pimpl.h:
4980 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4982 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4984 * undo_funcs.C: make some simple cases of undo work again
4986 2003-06-03 John Levon <levon@movementarian.org>
4988 * ispell.C: HPUX doesn't have sys/select.h
4991 2003-06-03 John Levon <levon@movementarian.org>
4993 * CutAndPaste.C: update tabular and include inset
4998 * paragraph.C: remove owningBuffer(), don't pass Buffer
5001 * factory.C: insetGraphicsParams changed
5003 2003-06-02 John Levon <levon@movementarian.org>
5009 * text3.C: remove insetparent
5011 2003-06-02 John Levon <levon@movementarian.org>
5014 * buffer.C: fix inset_iterator.end(), move out of line
5017 2003-06-01 John Levon <levon@movementarian.org>
5019 * text3.C: use a proper cut/paste when doing inset
5020 insert (from Jürgen Spitzmüller)
5022 2003-06-01 John Levon <levon@movementarian.org>
5024 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5026 2003-05-30 André Pönitz <poenitz@gmx.net>
5028 * rowpainter.C: unify second drawing phase
5030 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5032 * trans_mgr.C: remove one case of current_view
5034 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5036 * paragraph_funcs.h: remove paragraph.h include
5038 * paragraph.h: delete NO_STD_LIST stuff
5040 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5042 * buffer.h: remove paragraph.h include
5044 * ParagraphList.C: delete file
5046 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5048 * toc.C (getTocList): adjust
5050 * paragraph_pimpl.C (validate): adjust
5052 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5054 * paragraph.C (Paragraph): adjust
5055 (getPositionOfInset): use const_iterator, adjust
5056 (bibitem): use const_iterator, adjust
5057 (setInsetOwner): adjust
5059 * iterators.C (operator++): adjust
5061 * InsetList.[Ch]: Replace selfmade iterator with standard
5062 vector::iterator also introduce const_iterator. Remove getPos,
5063 getInset and setInset from InsetTable. Adjust accordingly.
5065 * BufferView.C (lockInset): adjust
5066 (ChangeInsets): adjust
5068 * tabular.[Ch]: delete commented same_id functions
5070 2003-05-28 John Levon <levon@movementarian.org>
5072 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5074 2003-05-28 André Pönitz <poenitz@gmx.net>
5076 * metricsinfo.[Ch]: remove 'fullredraw' member
5078 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5080 * lyxtextclass.C (operator): remove caching.
5082 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5086 * text2.C (cursorBottom): adjust
5087 (setCounter): use ParagraphList::find, adjust
5089 * text.C (workWidth): use ParagraphList::find, adjust
5091 * lyxcursor.C (LyXCursor): adjust
5093 * buffer.C (inset_iterator): adjust
5095 * ParagraphList.h: make iterator(value_type) private, make
5096 ParagraphList a friend of iterator.
5098 * ParagraphList.C (find): new function
5100 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5102 2003-05-27 André Pönitz <poenitz@gmx.net>
5104 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5106 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5108 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5110 2003-05-26 John Levon <levon@movementarian.org>
5112 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5114 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5116 * remove same_id from function signatures, adjust.
5118 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5122 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5124 * paragraph.C (Paragraph): get rid of same_ids parameter
5126 * ParagraphList.C (insert): adjust
5129 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5131 * paragraph_funcs.C (breakParagraph): adjust
5132 (breakParagraphConservative): adjust
5134 * buffer.C (readParagraph): adjust
5136 * ParagraphList.C (insert): take a reference instead of a pointer
5139 * paragraph.[Ch] (id): new function
5141 * bufferlist.C (newFile): adjust
5143 * ParagraphList.C (ParagraphList): adjust
5145 (push_back): take a reference instead of a pointer.
5147 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5149 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5152 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5153 set else use old code.
5155 * ParagraphList.C: remove all NO_NEXT code and only compile this
5156 code of NO_STD_LIST is set.
5158 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5160 * BufferView_pimpl.C:
5170 * graphics/GraphicsConverter.C:
5171 * graphics/PreviewLoader.C: header adjustment
5173 2003-05-23 Angus Leeming <leeming@lyx.org>
5175 * LaTeXFeatures.[Ch] (useBabel): new method.
5176 * bufferparams.C (writeLaTeX): use it.
5178 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * ParagraphList.h (set): remove unused function.
5182 2003-05-23 André Pönitz <poenitz@gmx.net>
5185 * BufferView_pimpl.C:
5189 * undo_funcs.C: setUndo reworked
5191 * iterators.[Ch]: add access to topmost ParagraphList
5193 * lyxtext.[Ch] (workWidth): add a const
5195 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5197 * texrow.[Ch] (increasePos): remove function
5198 * exporter.C (export): removed unused var and outdated comment
5200 2003-05-23 Angus Leeming <leeming@lyx.org>
5202 * latexrunparams.h: rename fragile as moving_arg.
5203 * paragraph.C (simpleTeXOnePar): ditto.
5204 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5206 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5208 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5210 (textUndoOrRedo): comment out a currently unused var.
5212 * paragraph.h (NO_NEXT): enable NO_NEXT
5214 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5216 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5218 * exporter.C (Export): adjust for removeAutoInsets removal.
5220 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5222 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5224 * BufferView.[Ch] (removeAutoInsets): delete function
5226 2003-05-22 Angus Leeming <leeming@lyx.org>
5228 * latexrunparams.h: add a free_spacing variable.
5230 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5231 to pass moving_arg, as the data is stored in runparams.fragile.
5233 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5234 to Inset::latexOptional or to simpleTeXOnePar.
5236 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5237 free_spacing arg to Inset::latexOptional.
5239 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5242 2003-05-22 Angus Leeming <leeming@lyx.org>
5244 * latexrunparams.h: add fragile and use_babel variables.
5246 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5247 * buffer.C (makeLaTeXFile): store this returned value in
5248 runparams.use_babel, thus passing it to the inset::latex methods.
5250 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5251 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5253 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5254 longer has a fragile arg, as it is stored in runparams.fragile.
5256 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5257 moving_arg parameter as the data is stored in runparams.fragile.
5259 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5260 a fragile parameter as the data is stored in runparams.fragile.
5262 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5264 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5266 2003-05-22 Angus Leeming <leeming@lyx.org>
5268 * latexrunparams.h: add a 'bool nice' which defaults to false.
5270 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5271 now encapsulated within runparams.
5273 * bufferlist.C (updateIncludedTeXfiles):
5274 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5276 2003-05-22 Angus Leeming <leeming@lyx.org>
5278 * latexrunparams.h: new file containing struct LatexRunParams.
5279 * Makefile.am: add new file.
5281 * LaTeX.[Ch] (c-tor, run):
5282 * buffer.[Ch] (makeLaTeXFile):
5283 * bufferlist.[Ch] (updateIncludedTeXfiles):
5284 * converter.C (convert, scanLog):
5285 * converter.[Ch] (runLaTeX):
5286 * exporter.C (Export):
5287 * paragraph.[Ch] (simpleTeXOnePar):
5288 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5289 * paragraph_funcs.[Ch] (latexParagraphs):
5290 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5291 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5292 pass around a LatexRunParams parameter.
5294 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5296 * paragraph.[Ch]: remove unused constructor
5298 * ParagraphList.C (erase): new function, taking two iterators
5300 2003-05-22 André Pönitz <poenitz@gmx.net>
5302 * undo_funcs.C: remove duplicated code
5304 * iterator.[Ch]: operator=
5306 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5308 * tabular.C (SetMultiColumn): ws changes
5310 * rowpainter.C (paintFirst): get rid of a ->previous
5312 * lyx_cb.C (getPossibleLabel): parlist simplification
5314 * BufferView.C (ChangeInsets): simplify slightly.
5316 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5318 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5319 * lfuns.h: new LFUN_SPACE
5320 * lyxfunc.C: protected space has a new lfun
5321 * paragraph_funcs.C: read new space insets
5323 * factory.C: handle new space insets
5325 2003-05-22 André Pönitz <poenitz@gmx.net>
5328 * BufferView_pimpl.C:
5331 * undo_funcs.C: return a ParIterator from getParFromID.
5333 * iterators.[Ch]: add two const's
5335 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5337 * toc.C (getTocList): adjust
5339 * iterators.[Ch]: rework for parlist
5341 * buffer.C (par_iterator_begin): adjust
5342 (par_iterator_end): adjust
5344 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5346 * BufferView.C (removeAutoInsets): adjust
5347 (ChangeInsets): adjust
5349 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5351 * text.C (top_y): fix bug 1110
5353 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5355 * errorlist.[Ch]: added
5358 * BufferView_pimpl.C:
5359 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5362 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5364 * Makefile.am: ensure that lyx is relinked upon changes to the
5365 various "convenience" libs.
5367 2003-05-20 Angus Leeming <leeming@lyx.org>
5369 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5370 files are compiled in alphabetical order again.
5372 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5374 2003-05-19 Angus Leeming <leeming@lyx.org>
5376 * gettext.[Ch]: remove "char const * _(char const *)".
5378 2003-05-19 André Pönitz <poenitz@gmx.net>
5380 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5389 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5391 2003-05-19 André Pönitz <poenitz@gmx.net>
5395 * lyxtextclass.[Ch]:
5397 * paragraph_funcs.[Ch]:
5399 * text3.C: more insetenv work
5401 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5403 * ParagraphParameters.C (params2string): small bug fixed
5405 2003-05-16 André Pönitz <poenitz@gmx.net>
5408 * bufferview_funcs.C: patch from Kornel Benko to prevent
5409 crash when _(...) is called twice in a statement
5411 2003-05-16 André Pönitz <poenitz@gmx.net>
5418 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5420 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5422 * lyx_main.C (init): remove spurious static_cast
5424 2003-05-14 André Pönitz <poenitz@gmx.net>
5426 * BufferView.C: fix format string
5428 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5430 * BufferView.[Ch] (insertErrors): removed
5431 * BufferView.[Ch] (showErrorList): added
5432 * buffer.C (runChkTeX):
5433 * converter.C (scanLog): call showErrorList instead of inserterrors
5435 2003-05-13 André Pönitz <poenitz@gmx.net>
5437 * BufferView_pimpl.C:
5439 * bufferview_func.C:
5446 * tabular_funcs.h: tostr() from its own header
5448 * ParagraphParameters.C:
5453 * text3.C: STRCONV()
5455 2003-05-12 André Pönitz <poenitz@gmx.net>
5458 * BufferView_pimpl.C:
5462 * ParagraphParameters.C:
5466 * bufferview_funcs.C:
5479 * paragraph_funcs.C:
5483 * text3.C: boost::format -> bformat all over the place
5486 2003-05-09 André Pönitz <poenitz@gmx.net>
5488 * LColor.[Ch]: Pimpl the #include <map> away
5490 2003-05-09 John Levon <levon@movementarian.org>
5492 * bufferlist.C: never remove emergency saves
5494 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5496 * Makefile.am: better lib building
5498 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5500 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5502 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5503 (simpleTeXSpecialChars): adjust
5504 (simpleTeXSpecialChars): adjust
5505 * paragraph.C (simpleTeXOnePar): adjust
5506 * buffer.C (makeLaTeXFile): adjust
5508 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5510 * text2.C (changeDepth): parlist cleanup
5511 (getColumnNearX): ditto
5513 * rowpainter.C (getLabelFont): parlist cleanup
5515 * bufferlist.C (newFile): parlist cleanup
5517 * CutAndPaste.C (eraseSelection): parlist cleanup
5519 * BufferView_pimpl.C (trackChanges): parlist cleanup
5522 * BufferView.C (lockInset): parlist cleanup.
5523 (ChangeInsets): ditto
5525 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5527 * CutAndPaste.h: Update file header.
5529 * CutAndPaste.C: Update file header.
5530 Store the parts cut out of the Document in a limited_stack.
5531 (copySelection): adjust
5532 (pasteSelection): new function, takes the index in the limited stack.
5533 (nrOfParagraphs): adjust
5534 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5535 simplify error inset insertion.
5536 (checkPastePossible): adjust
5538 2003-05-06 John Levon <levon@movementarian.org>
5540 * text2.C: don't cast wrap inset to float
5542 2003-05-05 André Pönitz <poenitz@gmx.net>
5545 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5547 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5548 few naked Paragraph *.
5550 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5552 * bufferparams.C: Output warning if a document with missing
5553 TeX document class is loaded
5554 * exporter.C: Disable TeX exports if the document class is missing
5557 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5558 isTeXClassAvailable()
5560 2003-05-03 John Levon <levon@movementarian.org>
5563 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5564 explicit cursor show/hide
5566 * BufferView_pimpl.h:
5567 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5568 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5570 * lyxfunc.C: hide cursor before dispatching.
5575 * text3.C: remove explicit cursor hides
5577 2003-05-02 André Pönitz <poenitz@gmx.net>
5579 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5582 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5585 * text2.C: tiny whitespace
5587 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5589 * undo_funcs.C: almost only ws changes.
5591 * ParagraphList.C (splice): just return if pl is empty.
5593 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5595 * ParagraphList.C (splice): new function.
5597 * CutAndPaste.C (pasteSelection): use it
5599 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5601 * CutAndPaste.C (pasteSelection): remove the last next and
5602 previous from this file.
5604 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5606 * CutAndPaste.C (pasteSelection): more clean up, user proper
5607 ParagraphList functions for pasteing.
5609 * ParagraphList.C (insert): new function, three arg insert
5611 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5613 * ParagraphList.C (insert): new function, three arg insert
5615 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5618 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5620 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5622 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5624 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5626 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5628 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5629 (copySelection): clean up a bit.
5630 (pasteSelection): use make_pair
5632 * ParagraphList.C (ParagraphList): implement copy constructor
5633 (operator=): implement, base on copy constructor.
5636 * paragraph.C (erase): return a bool
5638 * paragraph_pimpl.C (erasePos): remove function, move contents...
5639 (erase): ... here. Return a bool.
5640 (erase): call erase instead of erasePos.
5642 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5644 * ParagraphList.h: define PitPosPair
5645 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5646 ParagraphList, fix a bug on pasting multiple pars
5647 * text2.C: change interface to C&P
5649 2003-04-30 André Pönitz <poenitz@gmx.net>
5651 * undo_func.C: revert part of yesterday's patch 2
5653 2003-04-30 John Levon <levon@movementarian.org>
5655 * LColor.C: s/tabular/table/
5657 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5659 * text3.C (dispatch): do not convert iterator -> pointer
5660 * undo_funcs.C (setCursorParUndo): ditto
5661 * text_funcs.C (transposeChars): ditto
5663 * text2.C (setLayout): ws changes only
5665 * text.C (breakParagraph): do not convert iterator -> pointer
5667 (acceptChange): ditto
5668 (rejectChange): ditto
5673 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5676 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5678 * text3.C (gotoInset): YABG (yet another bad getChar)
5680 2003-04-29 André Pönitz <poenitz@gmx.net>
5682 * paragraph.h: make operator= private unimplemented as long as
5685 * ParagraphList.C: whitespace
5688 * paragraph_pimpl.[Ch]:
5689 * paragraph_funcs.C:
5691 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5694 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5696 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5698 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5699 * paragraph.[Ch] (erase):
5700 * paragraph_pimpl.[Ch] (erase): change return type and value
5701 * text2.C (cutSelection): some rework
5703 2003-04-28 John Levon <levon@movementarian.org>
5705 * bufferlist.C: changes for unsaved changes dialog
5707 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5709 * bufferlist.C (newFile): set language (messages_) for new
5712 * buffer.C (readFile): ws changes only.
5714 2003-04-28 André Pönitz <poenitz@gmx.net>
5719 * BufferView_pimpl.C:
5720 * BufferView.C: getParFromID related ParagraphList::iterator changes
5722 2003-04-28 André Pönitz <poenitz@gmx.net>
5724 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5727 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5729 * messages.C: remove one more localedir class variable.
5731 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5733 * messages.C (getLocaleDir): singleton generation function
5735 (Messages): add a default constructor.
5737 * main.C (main): do not setup localedir here, do not call
5740 * gettext.C (_): use it.
5741 (gettext_init): delete funciton
5743 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5745 * gettext.C (getLyXMessages): new singleton generating function.
5747 * buffer.C (updateDocLang): adjust
5749 * Makefile.am (messages.o): add target
5750 (main.o): remove target
5752 2003-04-27 John Levon <levon@movementarian.org>
5757 * lyxvc.C: specify cancel button in Alert::prompt
5759 2003-04-26 John Levon <levon@movementarian.org>
5764 * LyXAction.C: add LFUN_INSET_SETTINGS
5766 * lyxfunc.C: don't enable tabular-feature when there's
5767 just any locking inset
5769 2003-04-26 John Levon <levon@movementarian.org>
5771 * bufferlist.C: re-add Cancel to buffer close question
5773 * lyxfunc.C: fix import UI a bit
5775 2003-04-25 John Levon <levon@movementarian.org>
5777 * gettext.C: remove the broken asserts for now
5779 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5781 * messages.C: make case where setlocale cannot comply work better.
5783 * buffer.C (updateDocLang): new function
5784 (changeLanguage): use it
5787 * text2.C (setCounter): use B_ a bit.
5789 * lyxlayout.C (Read): be sure to trim the label strings.
5791 * messages.C (Messages): fix typo in comment
5793 * buffer.C (readFile): set message_ after file is loaded.
5794 (makeDocBookFile): remove double return
5795 (changeLanguage): reset message_ upon language change.
5796 (B_): new func, use this to get translated buffer strings.
5798 * main.C: add myself and Jean Marc as authors.
5800 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5802 * messages.[hC]: pimplify Messages, and three different pimpls to be
5803 used in different circumstances.
5805 * gettext.[Ch]: change for use with new message code.
5807 2003-04-24 André Pönitz <poenitz@gmx.net>
5809 * factory.C: support for eqref
5811 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5813 * messages.[Ch]: add missing char
5815 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5817 * messages.[Ch]: New files
5819 2003-04-18 John Levon <levon@movementarian.org>
5823 * BufferView_pimpl.C:
5827 * text2.C: remove layout-copy/paste (bug 778)
5829 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5831 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5833 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5835 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5836 if they succeed. Act accordingly.
5838 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5840 * text2.C (setCharFont): adjust
5841 (setCounter): adjust
5842 (insertStringAsLines): adjust
5844 * text.C (leftMargin): adjust
5845 (setHeightOfRow): adjust
5847 * rowpainter.C (paintFirst): adjust
5850 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5852 (isFirstInSequence): ditto
5853 (getEndLabel): ditto
5856 * paragraph.C (getParLanguage): comment out some hard stuff.
5858 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5860 (simpleDocBookOnePar): ditto
5861 (makeDocBookFile): use ParagraphList::iterator
5863 * CutAndPaste.C (pasteSelection): adjust
5865 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5867 * text2.C (getFont): adjust
5868 (getLayoutFont): adjust
5869 (getLabelFont): adjust
5871 * paragraph_funcs.C (TeXOnePar): adjust
5873 * buffer.C (simpleLinuxDocOnePar): adjust
5874 (simpleDocBookOnePar): adjust
5876 * CutAndPaste.C (pasteSelection): adjust
5878 * BufferView.C (getEncoding): adjust
5880 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5882 2003-04-16 John Levon <levon@movementarian.org>
5884 * lyxfind.C: use parlist stuff for search/changes
5886 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5888 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5890 * text2.C (deleteEmptyParagraphMechanism): adjust
5892 * text2.[Ch] (ownerParagraph): delete func (both of them
5894 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5896 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5898 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5900 * ParagraphList.C: prepare for NO_NEXT
5902 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5904 * text2.C (getFont): adjust
5905 (getLayoutFont): adjust
5906 (getLabelFont): adjust
5908 * paragraph.C (getFont): adjust
5909 (getLabelFont): adjust
5910 (getLayoutFont): adjust
5912 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5914 2003-04-15 John Levon <levon@movementarian.org>
5918 * lyx_main.C: handle Include in .ui files
5920 2003-04-15 John Levon <levon@movementarian.org>
5922 * MenuBackend.C: make the doc files length shorter
5925 * ToolbarBackend.C: handle toolbar placement flags,
5928 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5930 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5933 * paragraph_funcs.C (TeXOnePar): adjust
5935 * paragraph.C (getLabelFont): add outerfont arg, adjust
5936 (getLayoutFont): ditto
5937 (simpleTeXOnePar): adjust
5939 * paragraph_pimpl.C (realizeFont): delete func
5941 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5943 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5944 row argument, constify cur argument.
5946 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5948 * text2.C (getFont): adjust
5949 (getLayoutFont): adjust
5950 (getLabelFont): adjust
5952 * paragraph_funcs.C (TeXOnePar): adjust
5953 (outerFont): new func...
5954 (realizeFont): ...moved out from here, changed this to facilitate
5957 * paragraph.C (getFont): take outerfont as arg, adjust
5958 (simpleTeXOnePar): add outerfont arg, adjust
5960 * buffer.C (simpleLinuxDocOnePar): adjust
5961 (simpleDocBookOnePar): adjust
5963 * CutAndPaste.C (pasteSelection): adjust
5965 * BufferView.C (getEncoding): adjust
5967 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5969 * text2.C (setCharFont): adjust
5970 (setCounter): adjust
5972 * text.C (leftMargin): adjust
5973 (setHeightOfRow): adjust
5975 * rowpainter.C (paintFirst): adjust
5978 * paragraph_pimpl.C (realizeFont): adjust
5980 * paragraph.C (isFirstInSequence): move from here...
5981 * paragraph_funcs.C (isFirstInSequence): ...to here
5983 * paragraph.C (outerHook): move from here...
5984 * paragraph_funcs.C (outerHook): ...to here
5986 * paragraph.C (depthHook): move from here...
5987 * paragraph_funcs.C (depthHook): ...to here
5989 * paragraph.C (getEndLabel): move from here...
5990 * paragraph_funcs.C (getEndLabel): ...to here
5992 * text2.C (realizeFont): move from here...
5993 * paragraph_funcs.C (realizeFont): ...to here
5995 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5997 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5999 2003-04-14 Angus Leeming <leeming@lyx.org>
6001 * LColor.[Ch]: scrap LColor mathcursor.
6003 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6005 * lyxlex.[Ch] (text): delete function
6006 * trans.C (Load): adjust
6007 * paragraph_funcs.C (readParToken): adjust
6009 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6011 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6012 vector<char> instead of a char[].
6014 * lyxlex_pimpl.C (getString): adjust
6016 (lex): use getString
6020 * lyxlex.C (text): use pimpl_->getString()
6024 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6026 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6027 (makeFontEntriesLayoutSpecific): temp var for par.size()
6028 (setLayout): temp var for ownerParagraphs().end()
6029 (fullRebreak): temp var for rows().end()
6030 (selectionAsString): temp var for boost::next(startpit), realize
6031 that the while really is a regular for loop.
6032 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6033 setCursor in one place.
6034 (setParagraph): temp vr for ownerParagraphs().end()
6035 (updateCounters): make the while loop a for loop
6036 (cutSelection): temp var for ownerParagraphs().end()
6037 (updateInset): make the do {} while() a regular for loop
6038 (getCursorX): use temp vars
6039 (setCurrentFont): use temp vars
6040 (getColumnNearX): use temp vars
6042 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6044 * text.C (transformChar): use temp var for getChar
6045 (computeBidiTables): use temp var for row->par()
6046 (fill): move temp vars for row->par() and pit->layout() earlier in
6048 (labelFill): use temp var for row->par()
6049 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6050 asc and desc, realize that pit never changes and that firstpit is
6051 just a duplicate and not needed. Exchange rit->par() with pit in a
6053 (breakAgain): use a temp var for boost::next(rit)
6054 (breakAgainOneRow): ditto
6055 (breakParagraph): use a temp var for rows().begin()
6056 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6057 (cursorRightOneWord): use temp var for cursor.par() and
6058 cursor.pos(), remove usage of tmpcursor.
6059 (cursorLeftOneWord): use temp var for cursor.par() and
6060 cursor.pos() only set cur at end of function.
6062 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6064 * text.C, text2.C: exchange all usage of Paragraph::next with
6065 boost::next(ParagraphList::iterator)
6067 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6069 * text2.C (cursorTop): simplify implementation
6070 (cursorBottom): ditto
6071 (setParagraph): use ParagraphList::iterator
6072 (setCurrentFont): adjust
6073 (getColumnNearX): adjust
6074 (cursorRight): adjust
6075 (cursorLeft): remove usage of Paragraph::previous
6076 (cursorUpParagraph): ditto
6077 (deleteEmptyParagraphMechanism): slight cleanup
6079 * text.C (isBoundary): take a Paragraph const & instead of a
6081 (addressBreakPoint): ditto
6082 (leftMargin): remove usage of Paragraph::previous.
6083 (setHeightOfRow): ditto
6084 (cursorLeftOneWord): ditto
6085 (selectNextWordToSpellcheck): ditto
6088 (breakParagraph): remove one usage of Paragraph::next
6089 (redoParagraph): ditto
6090 (acceptChange): ditto
6091 (insertChar): adjust
6092 (rowBreakPoint): adjust
6094 * bufferview_funcs.C (toggleAndShow): adjust
6096 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6098 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6099 methods to access it.
6101 * text.C: Added updateRowPositions to compute all row positions.
6102 Make top_y and getRowNearY() to use the cached y position
6104 2003-04-11 John Levon <levon@movementarian.org>
6106 * text.C (rowBreakPoint): reintroduce the labelEnd
6107 checks, code copied from the row fill stuff. Deep voodoo.
6109 * text.C (fill): add a comment and debugging for the
6112 2003-04-11 John Levon <levon@movementarian.org>
6114 * text.C: make sure fullrow insets get wrapped to the next line,
6115 even when they're in a manual label
6117 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6119 * text2.C (insertParagraph): make it take ParagraphList::iterator
6121 (setLayout): make it return ParagraphList::iterator
6122 (redoParagraphs): ditto
6124 (checkParagraph): ditto
6126 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6128 * text2.C: adjust several funcs.
6129 (realizeFont): take a ParagraphList::iterator as arg.
6130 (getLayoutFont): ditto
6131 (getLabelFont): ditto
6132 (setCharFont): ditto
6134 * text.C: adjust several funcs.
6136 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6138 * text.C (selectNextWordToSpellcheck): don't accidentally
6141 2003-04-10 John Levon <levon@movementarian.org>
6143 * ToolbarBackend.C (getIcon): special handling for
6146 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6148 * text2.C (cursorRight): a getChar assert fixed
6150 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6152 * text2.C (getFont): change to take a ParagraphList::iterator
6153 instead of Paragraph*
6154 Adjust several functions.
6156 * text.C (transformChar): change to take a ParagraphList::iterator
6157 instead of Paragraph*
6158 (singleWidth): ditto
6159 Adjust several functions.
6161 * rowpainter.C: adjust several functions
6162 * rowpainter.h:store a ParagraphList::iterator and not a
6166 2003-04-09 John Levon <levon@movementarian.org>
6171 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6172 and the "help" bits as well
6174 2003-04-09 John Levon <levon@movementarian.org>
6177 * ToolbarBackend.C: allow multiple toolbars
6179 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6181 * undo_funcs.C (setCursorParUndo): adjust
6183 * text_funcs.C (transposeChars): adjust
6185 * text3.C (gotoNextInset): adjust
6188 * text2.C (setLayout): adjust
6189 (changeDepth): adjust
6191 (redoParagraphs): adjust
6192 (selectionAsString): adjust
6193 (setParagraph): adjust
6194 (insertInset): adjust
6195 (cutSelection): adjust
6196 (copySelection): adjust
6197 (pasteSelection): adjust
6198 (insertStringAsLines): adjust
6199 (updateInset): adjust
6200 (setCursor): change to take a ParagraphList::iterator parameter
6201 (setCursorIntern): change to take a ParagraphList::iterator parameter
6202 (setCurrentFont): adjust
6203 (cursorLeft): adjust
6204 (cursorRight): adjust
6205 (deleteEmptyParagraphMechanism): adjust
6207 * text.C (breakParagraph): adjust
6208 (insertChar): adjust
6209 (acceptChange): adjust
6210 (rejectChange): adjust
6211 (selectNextWordToSpellcheck): adjust
6212 (changeCase): adjust
6216 * lyxfind.C (SearchForward): adjust
6217 (SearchBackward): adjust
6218 (nextChange): adjust
6220 * lyxcursor.C (par): adjust
6222 * lyxcursor.h: store a ParagraphList::iterator instead of a
6225 * lyx_cb.C (getPossibleLabel): adjust
6227 * bufferview_funcs.C (toggleAndShow): adjust
6229 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6232 * BufferView.C (removeAutoInsets): adjust
6233 (lockedInsetStoreUndo): adjust
6235 2003-04-09 John Levon <levon@movementarian.org>
6237 * ToolbarBackend.C: try icon without argument
6238 if with argument fails
6240 2003-04-08 John Levon <levon@movementarian.org>
6243 * ToolbarBackend.C: add getIcon(), handle tooltip,
6244 and change from "Icon" to "Item".
6246 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6248 * BufferView.C (lockInset): another bad getchar crunched
6250 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6252 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6255 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6257 * lyxfind.C (searchForward, searchBackwards): bug 782
6259 2003-04-07 John Levon <levon@movementarian.org>
6261 * paragraph.C: remove dead comment
6263 * text.C: remove troublesome depth-fiddling code
6264 in leftMargin() and rightMargin() (bug 1017)
6266 * text.C: fix breaking of rows in nested lists
6269 * text2.C (updateCounters): fix up depth values
6272 2003-04-07 John Levon <levon@movementarian.org>
6274 * BufferView_pimpl.C: clear message when doc finishes resizing,
6275 and after a mouse event
6277 * lyxfunc.C: clear message after exiting inset
6279 2003-04-07 John Levon <levon@movementarian.org>
6281 * bufferview_funcs.C: show math status not outside
6282 status in the statusbar
6284 2003-04-07 John Levon <levon@movementarian.org>
6286 * lyxfunc.C: note status changed after a depth change
6288 2003-04-04 Angus Leeming <leeming@lyx.org>
6290 * LaTeX.h: move AuxInfo operator==, != out of line.
6291 Remove LaTeX virtual destructor; nothing derives from it.
6292 Move operator()() out of public area and rename it startscript().
6293 Change protected for private.
6295 2003-04-04 Angus Leeming <leeming@lyx.org>
6298 * text2.C: remove unneeded #includes.
6300 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6302 * text2.C (dEPM): fix the heigth of the next row
6304 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6306 * text.C: squashed an invalid getChar requester + some ws changes
6308 2003-04-03 John Levon <levon@movementarian.org>
6310 * bufferview_funcs.h:
6311 * bufferview_funcs.C:
6314 * text2.C: make getStatus work for the env depth lfuns
6316 2003-04-03 John Levon <levon@movementarian.org>
6318 * bufferview_funcs.h:
6319 * bufferview_funcs.C:
6322 * text2.C: parlistize decDepth(), by merging it with incDepth()
6324 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6326 * lyxrow.h: store a ParagraphList::iterator instead of a
6327 Paragraph* and adjust other class functions to suit.
6329 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6332 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6334 * text2.C (setCursor): do not anchor to cursor row for the time being
6336 2003-04-02 John Levon <levon@movementarian.org>
6343 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6345 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6347 * paragraph.h: make ParagraphList and ParagraphList::iterator
6348 friends of Paragraph.
6350 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6352 * ParagraphList.C: Use the private next_ and previous_ from
6355 2003-04-01 John Levon <levon@movementarian.org>
6359 * Makefile.am: rename, remove defaults gunk
6362 * MenuBackend.C: remove defaults gunk
6365 * Languages.C: remove defaults gunk
6368 * lyx_main.C: error out if files couldn't be found.
6370 2003-04-02 John Levon <levon@movementarian.org>
6372 * text2.C: make incDepth() use parlist
6374 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6376 * undo_funcs.C (firstUndoParagraph): adjust
6378 * text3.C (gotoInset): adjust
6379 (dispatch): adjust, and rewrite loop.
6381 * text2.C (init): adjust, and rewrite loop.
6382 (redoParagraphs): adjust
6383 (updateInset): adjust, and rewrite loop.
6384 (deleteEmptyParagraphMechanism): adjust
6386 * tabular.C (LyXTabular): adjust
6387 (SetMultiColumn): adjust
6390 * lyxtext.[Ch] (ownerParagraph): delete function
6391 (ownerParagraphs): new function returns a ParagraphList.
6393 * BufferView.C (removeAutoInsets): adjust
6394 (insertErrors): adjust
6395 (setCursorFromRow): adjust
6397 2003-04-01 Angus Leeming <leeming@lyx.org>
6399 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6402 2003-04-02 John Levon <levon@movementarian.org>
6408 * text_funcs.C: make transposeChars a free function
6410 * lyxrow_funcs.C: remove wrong comment
6412 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6415 * rowpainter.C: adjust
6420 * lyxrow_funcs. [Ch]: new files
6422 * lyxrow.[Ch]: remove next and previous pointers
6423 (next,previous): remove accessor functions
6424 (isParEnd): move to lyxrow_funcs
6425 (lastPos): move to lyxrow_funcs
6426 (nextRowIsAllInset): move to lyxrow_funcs
6427 (lastPrintablePos): move to lyxrow_funcs
6428 (numberOfSeparators): move to lyxrow_funcs
6429 (numberOfHfills): move to lyxrow_funcs
6430 (numberOfLabelHfills): move to lyxrow_funcs
6431 (hfillExpansion): move to lyxrow_funcs
6435 * bufferview_funcs.C (toggleAndShow): adjust
6437 * RowList.h: Remove class RowList from file leave just a
6440 * RowList.C: delete file
6442 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6445 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6447 * text3.C (cursorPrevious): adjust
6448 (cursorNext): adjust
6451 * text2.C (redoHeightOfParagraph): adjust
6452 (redoDrawingOfParagraph): adjust
6455 * text.C (breakParagraph): adjust
6456 (insertChar): adjust
6459 * rowpainter.C (RowPainter): adjust
6460 (leftMargin): simplify and adjust
6461 (most rowpainter functions): adjust.
6463 * rowpainter.h: store the row as RowList::iterator not as Row*
6465 * lyxcursor.C (row): taka RowList::iterator as arg
6468 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6471 2003-04-01 Angus Leeming <leeming@lyx.org>
6473 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6474 stuff like bool Bool.
6476 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6478 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6481 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6486 * lyxtext.h (rows): drop one version and leve a const variant that
6487 returns a RowList::iterator.
6489 2003-03-31 Angus Leeming <leeming@lyx.org>
6491 * text.C (fill): ensure that the signature is the same as that in the
6494 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6496 * text2.C (redoParagraphs): adjust
6497 (updateCounters): adjust
6498 (checkParagraph): adjust
6499 (getColumnNearX): adjust and reformat a bit.
6501 * text.C (top_y): adjust
6503 (leftMargin): adjust
6504 (prepareToPrint): adjust
6506 (getRowNearY): adjust
6508 * lyxtext.h: make rowlist_ mutable.
6510 * RowList.h: add const_iterator
6511 * RowList.C: adjust for RowList::const_iterator.
6513 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6516 2003-03-31 John Levon <levon@movementarian.org>
6519 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6521 * lyx_main.C: set default fonts from using lyx_gui funcs
6523 * exporter.C: pdf_mode moved from lyxrc
6526 * lyxfunc.C: changes from above
6528 2003-03-31 John Levon <levon@movementarian.org>
6530 * lyx_main.C: fix to the last fix
6532 2003-03-31 John Levon <levon@movementarian.org>
6534 * bufferlist.C: "Load original" -> "Load Original"
6540 * format.C: more Alert cleanups
6542 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6544 * text2.C (removeParagraph): make it take a RowList::iterator as
6546 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6547 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6549 * text.C (anchor_row): make it take a RowList::iterator as arg,
6551 (computeBidiTables): make it take a const reference to Row instead
6552 of Row pointer, adjust.
6553 (leftMargin): make it take a RowList::iterator as arg, adjust.
6554 (rowBreakPoint): adjust
6555 (breakAgainOneRow): make it take a RowList::iterator as arg,
6557 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6559 * bufferview_funcs.C (toggleAndShow): adjust
6561 2003-03-30 John Levon <levon@movementarian.org>
6565 * boost-inst.C: moved to support
6567 * several files: changes as a result
6569 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6571 * text2.C (LyXText): adjust.
6573 (removeRow): make it take a RowList::iterator as arg, adjust.
6574 (fullRebreak): adjust
6575 (deleteEmptyParagraphMechanism): adjust
6576 (clearPaint): adjust
6579 * text.C (top_y): adjust
6580 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6581 (breakAgain): make it take a RowList::iterator as arg, adjust.
6582 (breakParagraph): adjust
6583 (insertChar): adjust
6586 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6587 need_break_row, and refresh_row.
6589 * text3.C (dispatch): adjust
6591 * text2.C (checkParagraph): adjust
6593 (setCursorFromCoordinates): adjust
6595 * text.C (top_y): adjust
6597 (getRow): make it return a RowList::iterator, adjust
6598 (getRowNearY): make it return a RowList::iterator, adjust
6600 * text2.C (init): adjust
6601 (insertRow): remove function
6602 (insertParagraph): adjust
6603 (redoParagraphs): adjust
6604 (fullRebreak): adjust
6605 (updateCounters): adjust
6607 * text.C (top_y): rewrite to use RowList iterators.
6609 (setHeightOfRow): rewrite to sue RowList iterators.
6610 (appendParagraph): adjust
6611 (breakAgain): adjust
6612 (breakAgainOneRow): adjust
6613 (breakParagraph): adjust
6615 (getRowNearY): adjust, and remove commented code.
6617 * lyxtext.h (firstRow): delete function
6618 (lastRow): delete function
6619 (rows): new function (const and non-const versions.)
6620 (insertRow): delete function
6622 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6624 2003-03-29 John Levon <levon@movementarian.org>
6626 * BufferView_pimpl.C: always update scrollbar top
6627 because pasting text when we're anchored could mean we
6628 miss an update altogether
6630 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6632 * text2.C (init): use rowlist_.end() and not 0.
6633 (insertRow): change to take a RowList::iterator as arg, adjust
6635 (insertParagraph): change to take a RowList::iterator as arg,
6637 (redoParagraphs): remove some debug msgs.
6639 * text.C (appendParagraph): change to take a RowList::iterator
6640 arg, adjust for this.
6641 (breakAgain): add an assert
6642 (breakAgainOneRow): ditto
6644 2003-03-29 John Levon <levon@movementarian.org>
6646 * text2.C: do not clear selection after inc/decDepth
6649 2003-03-29 John Levon <levon@movementarian.org>
6652 * buffer.C: fix broken strerrors according to Lars
6654 2003-03-29 John Levon <levon@movementarian.org>
6656 * converters.C: more Alert cleanups
6658 2003-03-29 John Levon <levon@movementarian.org>
6660 * bufferview_funcs.C: remove pointless Alert
6662 * buffer.C: fix confusing error message when
6663 a template is chmoded 000
6665 2003-03-29 John Levon <levon@movementarian.org>
6669 * BufferView_pimpl.C: Alert fixes
6673 * tabular-old.C: remove unused table compat reading
6675 2003-03-29 John Levon <levon@movementarian.org>
6680 * lyx_cb.C: more Alert cleanups
6682 * lyxfunc.C: don't allow chktex if not latex document
6684 2003-03-29 John Levon <levon@movementarian.org>
6688 * buffer.C: warnings pushed down from support/,
6691 2003-03-29 John Levon <levon@movementarian.org>
6693 * lyxfunc.C: safety check for C-r (revert)
6695 2003-03-29 John Levon <levon@movementarian.org>
6698 * bufferlist.C: several UI fixes using Alert::prompt.
6699 Fix the pointless looping quit code. Fix stupid revert
6704 * lyx_cb.C: use Alert::prompt
6706 * lyx_main.C: remove a silly question
6708 * lyxfunc.C: remove a couple of silly questions,
6711 2003-03-28 John Levon <levon@movementarian.org>
6713 * text2.C: fix bug 974 (End on empty par)
6715 2003-03-28 John Levon <levon@movementarian.org>
6717 * BufferView_pimpl.C:
6719 * lfuns.h: remove do-nothing math greek lfuns
6721 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6723 * lyxgluelength.h (isValidGlueLength): add default arg on
6724 parameter 2. Remove default arg from friend in class.
6726 * lyxlength.h (isValidLength): add default arg on parameter 2.
6727 Remove default arg from friend in class.
6729 * text2.C (LyXText): adjust, initialize refresh_row.
6733 (insertParagraph): adjst
6734 (redoParagraphs): adjust
6735 (fullRebreak): adjust
6736 (updateCounters): adjust
6737 (deleteEmptyParagraphMechanism): first attempt at fixing a
6740 * text.C (top_y): adjust
6741 (setHeightOfRow): adjust
6743 (getRowNearY): adjust
6745 * lyxtext.h: include RowList.h
6746 (~LyXText): not needed anymore, deleted.
6747 (firstRow): modify for RowList
6748 (lastRow): new function
6749 Delete firstrow and lastrow class variables, add a Rowlist
6750 rowlist_ class variable.
6752 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6755 * RowList.C (insert): fix case where it == begin().
6757 2003-03-26 Angus Leeming <leeming@lyx.org>
6759 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6760 the thesaurus dialog.
6762 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6764 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6766 * RowList.[Ch]: new files
6768 * ParagraphList.C (erase): handle the case where it == begin
6771 2003-03-25 John Levon <levon@movementarian.org>
6775 * aspell.C: add new aspell support
6778 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6781 2003-03-25 Angus Leeming <leeming@lyx.org>
6784 * LyXAction.C (init): new LFUN_INSET_INSERT.
6786 * BufferView_pimpl.C (dispatch): split out part of the
6787 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6789 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6792 2003-03-25 Angus Leeming <leeming@lyx.org>
6794 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6796 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6799 * text3.C: remove useless row->height(0)
6801 2003-03-25 John Levon <levon@movementarian.org>
6805 * text3.C: rename the refreshing stuff to better names
6807 2003-03-24 John Levon <levon@movementarian.org>
6809 * BufferView_pimpl.h:
6810 * BufferView_pimpl.C: update layout choice on a mouse
6813 2003-03-23 John Levon <levon@movementarian.org>
6815 * Makefile.am: fix commandtags.h reference
6817 2003-03-22 John Levon <levon@movementarian.org>
6819 * BufferView_pimpl.C:
6824 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6826 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6829 * text.C: take the rtl methods out of line
6831 2003-03-21 André Pönitz <poenitz@gmx.net>
6833 * metricsinfo.[Ch]: new files containing structures to be passed around
6834 during the two-phase-drawing...
6836 2003-03-21 André Pönitz <poenitz@gmx.net>
6838 * lyxtextclass.C: read 'environment' tag.
6840 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6842 * text2.C (removeRow): fix bug 964
6844 2003-03-20 John Levon <levon@movementarian.org>
6848 * text2.C: paint cleanups. Inset::update() dropped font
6851 2003-03-19 John Levon <levon@movementarian.org>
6853 * lyxfunc.C: only fitcursor/markDirty if available()
6855 2003-03-19 John Levon <levon@movementarian.org>
6857 * commandtags.h: rename to ...
6859 * lfuns.h: ... this, and renumber / cleanup
6861 2003-03-19 John Levon <levon@movementarian.org>
6863 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6864 fit the cursor after an lfun
6868 * BufferView_pimpl.h:
6869 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6871 * LyXAction.C: layout-character should have ReadOnly
6873 * ParagraphParameters.C:
6875 * bufferview_funcs.C:
6882 * undo_funcs.C: changes from above
6884 2003-03-18 John Levon <levon@movementarian.org>
6886 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6887 remove it from update()
6889 * lyxfunc.C: update layout choice after an lfun
6891 * text3.C: remove extra updateLayoutChoice()s
6893 2003-03-18 John Levon <levon@movementarian.org>
6895 * text.C: top_y change means full repaint, fix
6896 a drawing bug with cursor movement
6898 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6902 * text2.C: anchor row on setCursor
6904 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6906 * lyxtext.h: remove almost all mutable keywords
6909 * text3.C: remove const keywords accordingly
6911 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6913 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6915 (TeXEnvironment): ditto
6918 2003-03-17 John Levon <levon@movementarian.org>
6920 * text.C (rowBreakPoint): remove attempt to fix displayed
6921 math insets inside a manual label
6923 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * lyxtext.h: remove BufferView* as first arg from almost all class
6927 * other files: adjust.
6929 2003-03-17 John Levon <levon@movementarian.org>
6933 * text2.C: more paint cleanups
6935 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6938 * rowpainter.C: remove "smart" background painting code
6940 2003-03-16 John Levon <levon@movementarian.org>
6945 * text3.C: add helper functions for setting refresh_row/y
6947 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6949 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6950 newline inset which *can* get inserted in the pass_thru layouts.
6951 This is primarily for literate documents.
6953 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6955 * buffer.C: increment LYX_FORMAT to 223
6957 2003-03-14 André Pönitz <poenitz@gmx.net>
6959 * textclass.h: prepare for environment handling, ws changes
6960 * lyxlayout.C: read latexheader and latexfooter tags
6962 2003-03-14 John Levon <levon@movementarian.org>
6964 * text2.C: rewrite ::status() a bit
6966 2003-03-13 John Levon <levon@movementarian.org>
6968 * lyxtext.h: add some docs
6970 2003-03-13 John Levon <levon@movementarian.org>
6975 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6977 2003-03-13 John Levon <levon@movementarian.org>
6979 * text3.C: fix appendix redrawing
6981 2003-03-13 John Levon <levon@movementarian.org>
6983 * text.C (setHeightOfRow):
6985 * rowpainter.C: make appendix mark have the text
6986 "Appendix" so the user knows what it is
6989 * LColor.C: s/appendixline/appendix/ from above
6991 2003-03-13 John Levon <levon@movementarian.org>
6993 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6995 * text.C: fix a getChar(pos) bug properly
6997 2003-03-13 Angus Leeming <leeming@lyx.org>
7000 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7001 Probably only temporary. Let's see how things pan out.
7003 * BufferView.C (unlockInset):
7004 * BufferView_pimpl.C (fitCursor):
7005 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7007 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7008 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7010 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7011 new functions that convert ParagraphParameters to and from a string.
7013 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7014 BufferView::Pimpl's dispatch.
7015 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7017 2003-03-13 André Pönitz <poenitz@gmx.net>
7021 * factory.C: make it aware of InsetEnv
7023 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7025 * text2.C (setCursor): never ask for one past last
7026 (setCursor): add some debugging messages.
7028 * text.C (singleWidth): never ask for one past last
7029 (singleWidth): ditto
7031 (rightMargin): ditto
7032 (rowBreakPoint): ditto
7033 (setHeightOfRow): ditto
7034 (prepareToPrint): ditto
7036 * rowpainter.C (paintBackground): never ask for one past last
7037 (paintText): never ask for one past last
7039 * paragraph_pimpl.C (getChar): make the assert stricter, never
7040 allow the one past last pos to be taken
7042 * paragraph.C (getChar): ws changes only
7044 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7045 (numberOfSeparators): ditto
7046 (numberOfHfills): ditto
7048 2003-03-12 John Levon <levon@movementarian.org>
7054 * paragraph_funcs.C: fix per-buffer authorlists
7056 2003-03-12 John Levon <levon@movementarian.org>
7058 * text.C: fix newline in right address
7060 2003-03-12 Angus Leeming <leeming@lyx.org>
7062 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7063 duplicate those in LyXFunc::dispatch.
7067 * ToolbarDefaults.C:
7068 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7069 Add LFUN_FONTFREE_UPDATE.
7071 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7072 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7074 * bufferview_func.[Ch]: several new functions to facilliate
7075 transfer of data to and from the character dialog.
7077 2003-03-12 John Levon <levon@movementarian.org>
7082 * paragraph_funcs.C:
7083 * paragraph_pimpl.C:
7087 * text3.C: remove META_NEWLINE in favour of an inset
7090 * rowpainter.C: remove paintNewline (done by inset)
7092 2003-03-12 John Levon <levon@movementarian.org>
7094 * paragraph_pimpl.C: complain about bad getChar()s
7095 for a while at least
7097 2003-03-12 John Levon <levon@movementarian.org>
7100 * buffer.C: move paragraph read into a separate function,
7101 a little renaming to reflect that.
7104 * bufferparams.C: remove the author_ids map, not necessary now
7107 * factory.C: moved Buffer::readInset to here
7109 * paragraph_funcs.h:
7110 * paragraph_funcs.C: readParagraph free function moved from
7113 * tabular.C: name change
7115 2003-03-12 John Levon <levon@movementarian.org>
7118 * ParagraphParameters.C: move par params input to
7121 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7122 behave like a normal read from the stream wrt reading
7123 a line vs. a \\token
7125 2003-03-12 John Levon <levon@movementarian.org>
7128 * ParagraphParameters.h:
7129 * ParagraphParameters.C: move output code to a
7132 2003-03-12 John Levon <levon@movementarian.org>
7134 * BufferView.C (insertLyXFile):
7137 * tabular.C: use a parlist iterator for creating the
7140 2003-03-12 John Levon <levon@movementarian.org>
7142 * buffer.C: make current_change static local not
7145 2003-03-12 John Levon <levon@movementarian.org>
7147 * buffer.C: fix insertStringAsLines for change tracking
7149 2003-03-12 John Levon <levon@movementarian.org>
7156 * bufferparams.C: move author list into params. Rename some
7157 functions. Move the header reading into a separate token
7158 loop. Move the header token reading into BufferParams.
7160 2003-03-12 John Levon <levon@movementarian.org>
7162 * changes.C: put debug inside lyxerr.debugging() checks
7164 2003-03-11 André Pönitz <poenitz@gmx.net>
7166 * factory.C: make it aware of InsetHFill
7168 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7170 * buffer.C (latexParagraphs): move function from here...
7171 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7174 2003-03-10 Angus Leeming <leeming@lyx.org>
7176 * LyXAction.C (init): fix bug in poplating array with multiple entries
7177 with the same LFUN (spotted by JMarc).
7179 2003-03-10 John Levon <levon@movementarian.org>
7182 * text2.C: move getColumnNearX() near its
7185 2003-03-10 John Levon <levon@movementarian.org>
7187 * text.C: fix break before a minipage
7189 2003-03-10 John Levon <levon@movementarian.org>
7191 * text.C: fix the last commit
7193 2003-03-09 John Levon <levon@movementarian.org>
7197 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7198 bug 365 (don't break before insets unless needed). Don't
7199 return a value > last under any circumstances.
7201 2003-03-09 Angus Leeming <leeming@lyx.org>
7203 * BufferView_pimpl.C (trackChanges, dispatch): call
7204 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7206 2003-03-09 Angus Leeming <leeming@lyx.org>
7208 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7209 than Dialogs::showAboutlyx().
7211 2003-03-09 Angus Leeming <leeming@lyx.org>
7213 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7214 than Dialogs::showTabularCreate().
7216 2003-03-09 John Levon <levon@movementarian.org>
7220 * text2.C: 3rd arg to nextBreakPoint was always the same.
7223 2003-03-08 John Levon <levon@movementarian.org>
7230 * text2.C: Remove the "main" bit from the "main body"
7233 2003-03-08 John Levon <levon@movementarian.org>
7235 * text.C (leftMargin): The left margin of an empty
7236 manual label paragraph should not include the label width
7239 * text.C (prepareToPrint): don't attempt to measure hfills
7240 for empty manual label paragraphs - the answer should be 0
7242 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7244 * CutAndPaste.C: remove commented code and reindent.
7246 2003-03-08 John Levon <levon@movementarian.org>
7249 * lyxfunc.C: move reloadBuffer()
7252 * BufferView.C: to here
7254 * lyxvc.C: add comment
7257 * vc-backend.C: call bv->reload() to avoid
7258 getStatus() check on MENURELOAD
7260 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7262 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7263 to an old format .dep file.
7265 2003-03-07 Angus Leeming <leeming@lyx.org>
7267 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7268 when the LFUN_MOUSE_RELEASE should have been handled by
7269 inset->localDispatch.
7271 2003-03-07 Angus Leeming <leeming@lyx.org>
7273 * BufferView_pimpl.C (dispatch):
7274 * LyXAction.C (init):
7275 * ToolbarDefaults.C (init):
7277 * lyxfunc.C (getStatus):
7278 remove LFUN_INSET_GRAPHICS.
7280 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7282 2003-03-07 Angus Leeming <leeming@lyx.org>
7285 * LyXAction.C (init):
7286 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7288 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7291 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7293 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7294 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7296 2003-03-07 Angus Leeming <leeming@lyx.org>
7298 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7301 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7303 * ParagraphList.C (front): new function
7306 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7308 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7309 and top_row_offset_. removed var first_y.
7311 * text2.C (LyXText, removeRow):
7313 * BufferView_pimpl.C:
7314 use these methods instead of using first_y
7316 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7318 * text2.C (pasteSelection): adjust for checkPastePossible
7320 * CutAndPaste.C: remove Paragraph * buf and replace with
7321 ParagraphList paragraphs.
7322 (DeleteBuffer): delete
7323 (cutSelection): change the tc type to textclass_type
7324 (copySelection): change the tc type to textclass_type
7325 (copySelection): adjust for ParagraphList
7326 (pasteSelection): change the tc type to textclass_type
7327 (pasteSelection): adjust for Paragraphlist
7328 (nrOfParagraphs): simplify for ParagraphList
7329 (checkPastePossible): simplify for ParagraphList
7330 (checkPastePossible): remove unused arg
7332 * ParagraphList.C (insert): handle the case where there are no
7335 * CutAndPaste.h: make CutAndPaste a namespace.
7337 * text3.C (dispatch): adjust
7339 * text.C (breakParagraph): add a ParagraphList as arg
7341 * paragraph_funcs.C (breakParagraph): change to take a
7342 BufferParams and a ParagraphList as args.
7343 (breakParagraphConservative): ditto
7344 (mergeParagraph): ditto
7345 (TeXDeeper): add a ParagraphList arg
7346 (TeXEnvironment): ditto
7349 * buffer.C (readLyXformat2): adjust
7350 (insertStringAsLines): adjust
7351 (latexParagraphs): adjust
7353 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7354 (cutSelection): adjust
7355 (pasteSelection): adjust
7357 * BufferView_pimpl.C (insertInset): adjust
7359 2003-03-05 Angus Leeming <leeming@lyx.org>
7362 * LyXAction.C (init):
7363 * BufferView_pimpl.C (dispatch):
7364 * lyxfunc.C (getStatus):
7365 remove LFUN_CHILD_INSERT.
7367 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7369 2003-03-05 Angus Leeming <leeming@lyx.org>
7372 * LyXAction.C (init):
7373 * src/factory.C (createInset):
7374 * lyxfunc.C (getStatus):
7375 * text3.C (dispatch):
7376 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7378 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7380 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7382 * ParagraphList.C (insert): handle insert right before end()
7383 (erase): fix cases where it can be first or last paragraph.
7385 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7387 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7388 Paragraph::next and Paragraph::previous
7391 * text.C (breakParagraph): adjust
7393 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7394 BufferParams& as arg.
7395 (breakParagraph): use ParagraphList::insert
7396 (breakParagraphConservative): take a Buffer* instead of a
7397 BufferParams& as arg.
7398 (breakParagraphConservative): use ParagraphList::insert.
7400 * buffer.C (insertStringAsLines): un-const it
7401 (insertStringAsLines): adjust
7403 * ParagraphList.C (insert): new function
7405 * CutAndPaste.C (pasteSelection): adjust
7407 * text.C (backspace): adjust
7409 * tabular.C (SetMultiColumn): adjust
7411 * CutAndPaste.C (cutSelection): adjust
7412 (pasteSelection): adjust
7414 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7415 Buffer const * as arg
7417 * ParagraphList.C (erase): new function
7418 * paragraph_funcs.C (mergeParagraph): use it
7419 (mergeParagraph): make it take a Buffer* instead of a
7420 BufferParams* as arg
7422 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7424 (breakParagraphConservative): ditto
7426 * paragraph.h: remove the breakParagraph friend
7428 * paragraph.C (eraseIntern): new function
7429 (setChange): new function
7431 * paragraph_funcs.C (mergeParagraph): make it take a
7432 ParagraphList::iterator instead of a Paragraph *, adjust
7435 * paragraph.h: move an #endif so that the change tracking stuff
7436 also works in the NO_NEXT case.
7438 2003-03-04 Angus Leeming <leeming@lyx.org>
7441 * LyXAction.C: new LFUN_INSET_MODIFY.
7443 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7444 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7446 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7448 * several files: ws changes only
7450 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7451 (TeXEnvironment): ditto
7454 * buffer.C (makeLaTeXFile): adjust
7455 (latexParagraphs): make it take ParagraphList::iterator as args
7457 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7459 * buffer.C (latexParagraphs): adjust
7461 * paragraph.C (TeXOnePar): move function...
7462 (optArgInset): move function...
7463 (TeXEnvironment): move function...
7464 * paragraph_pimpl.C (TeXDeeper): move function...
7465 * paragraph_funcs.C: ...here
7467 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7469 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7471 * buffer.C (readInset): remove compability code for old Figure and
7474 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7476 * buffer.C: ws changes
7479 * BufferView_pimpl.C: ditto
7482 * bufferlist.h: ditto
7486 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7488 * converter.[Ch]: split into itself +
7491 * Makefile.am: += graph.[Ch] + format.[Ch]
7498 * lyxrc.C: added #include "format.h"
7500 2003-02-27 Angus Leeming <leeming@lyx.org>
7502 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7505 * factory.C (createInset): add "label" to the factory.
7507 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7508 string and do no more.
7510 2003-02-27 Angus Leeming <leeming@lyx.org>
7513 * LyXAction.C (init):
7514 * factory.C (createInset):
7515 * BufferView_pimpl.C (dispatch):
7516 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7518 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7520 * lyxfunc.C (dispatch):
7521 * text3.C (dispatch): pass name to params2string.
7523 2003-02-26 Angus Leeming <leeming@lyx.org>
7525 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7527 Rearrange the ~includes. Strip out the unnecessary ones.
7529 * factory.C (createInset): reformat.
7530 create new insets for the various LFUN_XYZ_APPLY lfuns.
7532 2003-02-26 John Levon <levon@movementarian.org>
7535 * lyxrow.C: add isParStart,isParEnd helpers
7537 * paragraph.h: make isInserted/DeletedText take refs
7539 * paragraph_funcs.h:
7540 * paragraph_funcs.C: remove #if 0'd code
7545 * text.C: use lyxrow helpers above.
7546 Move draw and paint routines to RowPainter.
7547 Make several methods use refs not pointers.
7548 Make backgroundColor() const.
7549 Add markChangeInDraw(), isInInset().
7550 Merge changeRegionCase into changeCase.
7551 Make workWidth() shouldn't-happen code into an Assert.
7554 * rowpainter.C: new class for painting a row.
7557 * vspace.C: make inPixels take a ref
7559 2003-02-26 Angus Leeming <leeming@lyx.org>
7561 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7564 2003-02-25 John Levon <levon@movementarian.org>
7566 * ispell.C: give the forked command a more accurate name
7568 2003-02-22 John Levon <levon@movementarian.org>
7571 * toc.C: make TocItem store an id not a Paragraph *
7574 2003-02-21 Angus Leeming <leeming@lyx.org>
7576 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7577 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7578 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7579 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7580 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7581 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7583 * BufferView_pimpl.C (dispatch):
7584 * LyXAction.C (init):
7585 * factory.C (createInset):
7586 * lyxfunc.C (getStatus, dispatch):
7587 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7589 2003-02-21 Angus Leeming <leeming@lyx.org>
7591 * BufferView_pimpl.C (MenuInsertLyXFile):
7592 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7593 * lyxfunc.C (menuNew, open, doImport):
7594 no longer pass a LyXView & to fileDlg.
7596 2003-02-21 Angus Leeming <leeming@lyx.org>
7598 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7599 * LyXAction.C: change, BIBKEY to BIBITEM.
7600 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7601 Change InsetBibKey to InsetBibitem.
7602 Change BIBKEY_CODE to BIBITEM_CODE.
7603 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7604 * factory.C: replace insetbib.h with insetbibitem.h.
7605 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7606 * paragraph.C: replace insetbib.h with insetbibitem.h.
7607 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7608 Change bibkey() to bibitem().
7609 * text.C: remove insetbib.h.
7610 * text2.C: replace insetbib.h with insetbibitem.h.
7611 change bibkey() to bibitem().
7612 * text3.C: remove insetbib.h.
7613 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7615 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7617 * lyxrc.C (output): enclose user email in quotes (in case there are
7620 2003-02-18 John Levon <levon@movementarian.org>
7622 * buffer.h: add std::
7624 2003-02-17 John Levon <levon@movementarian.org>
7630 * pspell.C: reworking. Especially in ispell, a large
7631 number of clean ups and bug fixes.
7633 * lyxfunc.C: fix revert to behave sensibly
7635 2003-02-17 André Pönitz <poenitz@gmx.net>
7638 * commandtags.h: new LFUN_INSERT_BIBKEY
7648 * paragraph_func.C: remove special bibkey handling
7650 2003-02-17 John Levon <levon@movementarian.org>
7652 * text.C (Delete): fix case where delete at the end of
7653 the very first paragraph would not merge the pars
7655 2003-02-17 John Levon <levon@movementarian.org>
7657 * lyxrow.C: fix lastPrintablePos()
7659 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7661 * bufferparams.C (writeLaTeX): add a std:here
7663 * buffer.C: and remove a using directive there
7665 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7667 * buffer.C (makeLaTeXFile): move the code that generates the
7670 * bufferparams.C (writeLaTeX): ... in this new method
7672 * LaTeXFeatures.C (getEncodingSet): make const
7673 (getLanguages): make const
7675 * MenuBackend.C (binding): returns the binding associated to this
7677 (add): sets the status of each item by calling getStatus. Adds
7679 (read): add support for OptSubMenu
7680 (expand): remove extra separator at the end of expanded menu
7682 2003-02-15 John Levon <levon@movementarian.org>
7685 * BufferView_pimpl.C:
7687 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7688 inset code that had no actual effect. Remove unneeded status
7691 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7693 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7696 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7698 * text.C (drawLengthMarker): also draw an arrow marker for
7699 symbolic lengths (medskip...)
7701 2003-02-14 John Levon <levon@movementarian.org>
7704 * tabular.C: better method names
7706 2003-02-14 John Levon <levon@movementarian.org>
7708 * BufferView_pimpl.C:
7713 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7714 it's a more accurate name. Remove some pointless uses.
7716 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7718 * text2.C (LyXText): change order of initilizers to shut off
7721 2003-02-14 John Levon <levon@movementarian.org>
7723 * buffer.C: use ParIterator for getParFromID()
7727 * paragraph_pimpl.h:
7728 * paragraph_pimpl.C: remove unused getParFromID()
7730 2003-02-14 John Levon <levon@movementarian.org>
7732 * buffer.C: remove some very old #if 0'd parse code
7734 2003-02-13 John Levon <levon@movementarian.org>
7738 * text2.C: move hfillExpansion(), numberOfSeparators(),
7739 rowLast(), rowLastPrintable(), numberofHfills(),
7740 numberOfLabelHfills() ...
7743 * lyxrow.C: ... to member functions here.
7748 * text.C: remove LyXText::beginningOfMainBody(), and call
7749 p->beginningOfMainBody() directly. Move the check for
7750 LABEL_MANUAL into the latter.
7757 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7763 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7764 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7766 2003-02-13 John Levon <levon@movementarian.org>
7768 * CutAndPaste.C: remove debug
7770 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7772 * paragraph.C (asString): remove two unused variables
7774 * lyxtextclass.C (readTitleType):
7776 (LyXTextClass): handle new members titletype_ and titlename_
7778 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7780 2003-02-09 John Levon <levon@movementarian.org>
7783 * buffer.C: replace hand-coded list with a map for the dep clean
7785 2003-02-08 John Levon <levon@movementarian.org>
7787 * LaTeX.C: consolidate code into showRunMessage() helper
7789 2003-02-08 John Levon <levon@movementarian.org>
7794 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7795 and pass the size in explicitly
7797 * BufferView_pimpl.h:
7798 * BufferView_pimpl.C:
7800 * BufferView.C: add getCurrentChange()
7802 * BufferView_pimpl.h:
7803 * BufferView_pimpl.C: handle change lfuns
7805 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7806 for changes. Mark pasted paragraphs as new.
7808 * support/lyxtime.h:
7809 * support/lyxtime.C:
7810 * DepTable.C: abstract time_t as lyx::time_type
7813 * LColor.C: add colours for new text, deleted text, changebars
7815 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7816 package use "usenames" option.
7820 * LyXAction.C: add change lfuns
7824 * author.C: author handling
7827 * buffer.C: add a per-buffer author list, with first entry as
7828 current author. Handle new .lyx tokens for change tracking. Output
7829 author list to .lyx file. Output dvipost stuff to .tex preamble.
7830 Bump lyx format to 222.
7833 * bufferlist.C: add setCurrentAuthor() to reset current author details
7837 * bufferparams.C: add param for tracking
7839 * bufferview_funcs.C: output change info in minibuffer
7843 * changes.C: add change-tracking structure
7846 * debug.C: add CHANGES debug flag
7849 * lyxfind.C: add code for finding the next change piece
7852 * lyxrc.C: add user_name and user_email
7855 * lyxrow.C: add a metric for the top of the text line
7858 * text.C: implement accept/rejectChange()
7861 * text.C: paint changebars. Paint new/deleted text in the chosen
7862 colours. Strike through deleted text.
7866 * paragraph_pimpl.h:
7867 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7868 in the current change to the insert functions. Rework erase to
7869 mark text as deleted, adding an eraseIntern() and a range-based
7870 erase(). Implement per-paragraph change lookup and
7873 * paragraph_funcs.C: Fixup paste for change tracking.
7875 * tabular.C: mark added row/columns as new.
7877 * text.C: fix rowLast() to never return -1. Don't allow
7878 spellchecking of deleted text. Track transpose changes. Don't
7879 allow paragraph break or merge where appropriate.
7881 * text2.C: leave cursor at end of selection after a cut.
7883 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7885 * text.C (getLengthMarkerHeight):
7886 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7887 visible on screen too.
7889 2003-02-07 John Levon <levon@movementarian.org>
7891 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7893 2003-02-05 Angus Leeming <leeming@lyx.org>
7895 * lyxserver.C (read_ready): revert my patch of 11 September last year
7896 as it sends PC cpu through the roof. Presumably this means that
7897 the lyxserver will no longer run on an Alpha...
7899 2003-01-30 Angus Leeming <leeming@lyx.org>
7901 * factory.C (createInset): create an InsetCommandParam of type "index"
7902 and use it to 'do the right thing'.
7904 * text2.C (getStringToIndex): ensure that cursor position is always
7905 reset to the reset_cursor position.
7907 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7909 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7912 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7916 * lyxfunc.C: Output messages with identical spelling, punctuation,
7919 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7921 * MenuBackend.C (expandFormats): List only viewable export formats
7924 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7927 * lyxfunc.C (getStatus): Make sure that formats other than
7928 "fax" can also be disabled
7930 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7932 * text3.C (dispatch): put the lfuns that insert insets in 3
7933 groups, and call doInsertInset with appropriate arguments.
7934 (doInsertInset): new function, that creates an inset and inserts
7935 it according to some boolean parameters.
7937 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7939 * buffer.C (readFile): remember to pass on 'par' when calling
7940 readFile recursively.
7942 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7944 * MenuBackend.C (expandFormats): add "..." to import formats.
7946 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7948 * paragraph.C (asString): Remove XForms RTL hacks.
7950 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7951 * buffer.C: fix typo
7953 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7955 * Makefile.am (LIBS): delete var
7956 (lyx_LDADD): add @LIBS@ here instead.
7958 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7960 * Clarify the meaning of "wheel mouse jump"
7962 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7964 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7967 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7969 * importer.C (Loaders): do not preallocate 3 elements in the
7970 vector, since one ends up with 6 elements otherwise
7972 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7974 * DepTable.C (write): write the file name as last element of the
7975 .dep file (because it may contain spaces)
7976 (read): read info in the right order
7978 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7980 * paragraph_pimpl.C (simpleTeXBlanks):
7981 (simpleTeXSpecialChars):
7982 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7984 * tabular.C (latex): add some missing case statements. Reindent.
7986 * MenuBackend.C (expandToc): remove unused variable.
7988 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7997 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8000 2003-01-05 John Levon <levon@movementarian.org>
8003 * BufferView.C: add getEncoding()
8006 * kbsequence.C: do not store last keypress
8009 * lyxfunc.C: store last keypress here instead. Pass encoding
8012 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8014 * lyx_main.C (init): remove annoying error message when following
8015 symbolic links (bug #780)
8017 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8019 * text.C (insertChar):
8020 * lyxrc.C (getDescription): remove extra spaces
8022 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8024 * lyxrc.C (getDescription): remove extra spaces
8026 2002-12-20 John Levon <levon@movementarian.org>
8028 * text3.C: hack fix for page up/down across tall rows
8030 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8032 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8035 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8037 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8038 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8039 thesaurus is not compiled in
8041 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8043 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8045 2002-12-16 Angus Leeming <leeming@lyx.org>
8048 * lyx_main.C (init): remove override_x_deadkeys stuff.
8050 2002-12-12 John Levon <levon@movementarian.org>
8052 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8053 insert. Only remove shift modifier under strict
8056 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8058 * MenuBackend.C (expandToc): fix crash.
8060 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8062 * MenuBackend.C (expandToc): gettext on float names.
8064 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8066 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8067 implement bool empty() [bug 490]
8069 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8071 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8073 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8075 * several files: ws changes
8077 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8079 * text2.C (setCounter): clean up a bit, use boost.format.
8080 (updateCounters): initialize par upon declaration.
8082 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8083 if the layout exists. We do not just store the layout any more.
8084 (SwitchLayoutsBetweenClasses): use boost.format
8086 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8088 * converter.C (convert): if from and to files are the same, use a
8089 temporary files as intermediary
8091 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8094 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8096 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8098 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8100 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8102 * tabular.C (asciiPrintCell): use string(size, char) instead of
8105 * sgml.C (openTag): fix order of arguments to string constructor
8108 * lyxfunc.C (dispatch): use boost.format
8110 * lots of files: change "c" -> 'c'
8112 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8114 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8116 2002-11-25 Angus Leeming <leeming@lyx.org>
8118 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8120 * lyx_main.C (init): compile fix.
8122 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8124 * lyx_cb.C (start): boost.formatify
8125 do not include <iostream>
8127 * lengthcommon.C: ws only
8129 * boost-inst.C,BoostFormat.h: add more explict instantations
8131 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8133 * lots of files: handle USE_BOOST_FORMAT
8135 2002-11-21 John Levon <levon@movementarian.org>
8137 * pspell.C: fix compile
8139 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8141 * lyxfunc.C (dispatch): use boost::format
8145 * lyxfont.C (stateText): use boost::format
8147 * lyx_main.C (LyX): use boost::format
8149 (queryUserLyXDir): ditto
8152 (typedef boost::function): use the recommened syntax.
8154 * importer.C (Import): use boost::format
8156 * debug.C (showLevel): use boost::format
8158 * converter.C (view): use boost::format
8163 * bufferview_funcs.C (currentState): use boost::format
8165 * bufferlist.C (emergencyWrite): use boost::format
8167 * buffer.C (readLyXformat2): use boost::format
8168 (parseSingleLyXformat2Token): ditto
8170 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8172 * LaTeX.C (run): use boost::format
8174 * Chktex.C (scanLogFile): use boost::format
8176 * BufferView_pimpl.C (savePosition): use boost::format
8177 (restorePosition): ditto
8178 (MenuInsertLyXFile): ditto
8180 * BoostFormat.h: help file for explicit instation.
8182 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8184 * tabular.C (latex): Support for block alignment in fixed width
8187 2002-11-17 John Levon <levon@movementarian.org>
8189 * BufferView_pimpl.C:
8191 * lyxfunc.C: split filedialog into open/save
8193 2002-11-08 Juergen Vigna <jug@sad.it>
8195 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8196 by my last patch (hopefully).
8198 2002-11-08 John Levon <levon@movementarian.org>
8207 * toc.C: ParConstIterator, and use it (from Lars)
8209 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8211 * lyxtextclass.[Ch]: revise and add doxygen comments
8213 2002-11-07 John Levon <levon@movementarian.org>
8215 * text.C: fix progress value for spellchecker
8217 * toc.C: fix navigate menu for insetwrap inside minipage
8219 * paragraph_funcs.C: added FIXME for suspect code
8221 2002-11-07 John Levon <levon@movementarian.org>
8223 * BufferView_pimpl.C: fix redrawing of insets
8226 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8228 * text2.C (updateCounters): fix bug 668
8230 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8232 * text3.C (dispatch): Do not make the buffer dirty when moving the
8235 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8237 * vc-backend.C: STRCONV
8240 * text2.C (setCounter): STRCONV
8242 * paragraph.C (asString): STRCONV
8244 * lyxlength.C (asString): STRCONV
8245 (asLatexString): ditto
8247 * lyxgluelength.C (asString): STRCONV
8248 (asLatexString): ditto
8250 * lyxfunc.C (dispatch): STRCONV
8253 * lyxfont.C (stateText): STRCONV
8255 * importer.C (Import): STRCONV
8257 * counters.C (labelItem): STRCONV
8258 (numberLabel): ditto
8259 (numberLabel): remove unused ostringstream o
8264 * bufferview_funcs.C (currentState): STRCONV
8266 * buffer.C (readFile): STRCONV
8267 (asciiParagraph): ditto
8268 (makeLaTeXFile): ditto
8270 * Spacing.C (writeEnvirBegin): STRCONV
8272 * LaTeXFeatures.C (getLanguages): STRCONV
8273 (getPackages): ditto
8275 (getBabelOptions): ditto
8276 (getTClassPreamble): ditto
8277 (getLyXSGMLEntities): ditto
8278 (getIncludedFiles): ditto
8282 (scanAuxFile): ditto
8285 * LString.h: add the STRCONV macros
8287 * BufferView_pimpl.C (savePosition): STRCONV
8288 (restorePosition): ditto
8289 (MenuInsertLyXFile): ditto
8291 * vc-backend.C (scanMaster): change from submatch[...] to
8294 * funcrequest.C: include config.h
8296 * factory.C: include config.h
8298 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8300 * box.C: include config.h
8302 * LaTeX.C (scanAuxFile): change from submatch[...] to
8306 2002-10-25 Angus Leeming <leeming@lyx.org>
8308 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8310 * ispell.[Ch] (setError): new method.
8311 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8312 Use setError() insetead of goto END.
8314 * lyx_cb.C (AutoSave): move out child process into new class
8317 2002-10-30 John Levon <levon@movementarian.org>
8319 * text3.C: make start appendix undoable
8321 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8323 * lyxlength.C (inPixels): Fix returned value.
8325 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8328 2002-10-24 Angus Leeming <leeming@lyx.org>
8330 * lyxgluelength.h: no need to forward declare BufferParams
8331 or BufferView, so don't.
8333 2002-10-21 John Levon <levon@movementarian.org>
8335 * BufferView.C: menuUndo ->undo, redo
8337 * BufferView.h: document, remove dead, make some methods private
8339 * paragraph_funcs.h:
8340 * paragraph_funcs.C:
8341 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8346 * sgml.C: move sgml open/close tag into sgml.C
8348 * bufferview_funcs.h: unused prototype
8351 * lyxfunc.C: remove unused
8354 * text.C: remove unused
8356 2002-10-21 John Levon <levon@movementarian.org>
8360 * BufferView_pimpl.h:
8361 * BufferView_pimpl.C: fix mouse wheel handling based on
8362 patch from Darren Freeman
8364 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8366 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8368 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8370 * lyxlength.C (inPixels): Fix hanfling of negative length.
8371 Fix LyXLength::MU case.
8373 2002-10-16 John Levon <levon@movementarian.org>
8375 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8377 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8379 * converter.C (view): add support for $$i (file name) and $$p
8380 (file path) for the viewer command. If $$i is not specified, then
8381 it is appended to the command (for compatibility with old syntax)
8383 2002-10-14 Juergen Vigna <jug@sad.it>
8385 * undo_funcs.C (textHandleUndo): alter the order in which the
8386 new undopar is added to the LyXText, as we have to set first
8387 the right prev/next and then add it as otherwise the rebuild of
8388 LyXText is not correct. Also reset the cursor to the right paragraph,
8389 with this IMO we could remove the hack in "redoParagraphs()".
8391 2002-10-09 Angus Leeming <leeming@lyx.org>
8393 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8394 to turn off an optimisation if a new inset is to be inserted.
8396 2002-10-11 André Pönitz <poenitz@gmx.net>
8398 * lyxtext.h: make some functions public to allow access
8399 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8401 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8403 * text3.C (dispatch): when changing layout, avoid an infinite loop
8406 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8408 * lyxrc.C (read): treat a viewer or converter command of "none" as
8411 * MenuBackend.C (expandFormats): for an update, also allow the
8412 formats that are not viewable
8414 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8415 script if it is newer than the lyxrc.defaults in user directory
8417 2002-10-07 André Pönitz <poenitz@gmx.net>
8419 * text.C: Vitaly Lipatov's small i18n fix
8421 2002-09-25 Angus Leeming <leeming@lyx.org>
8423 * ispell.h: doxygen fix.
8425 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8427 * buffer.h (readFile): Add a new argument to the method, to allow
8428 reading of old-format templates.
8430 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8432 * toc.C (getTocList): Get TOC from InsetWrap.
8434 2002-09-16 John Levon <levon@movementarian.org>
8436 * lyxfunc.C: check tabular for cut/copy too
8438 2002-09-12 John Levon <levon@movementarian.org>
8443 * factory.C: add header
8445 * paragraph_funcs.h:
8446 * paragraph_funcs.C: cleanup
8448 2002-09-11 John Levon <levon@movementarian.org>
8450 * PrinterParams.h: odd/even default to true
8452 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8454 * PrinterParams.h: update printer parameters for new xforms dialog
8456 2002-09-11 Angus Leeming <leeming@lyx.org>
8458 * lyxserver.C (read_ready): re-write to make it more transparent
8459 and to make it work in coherent fashion under Tru64 Unix.
8461 2002-09-11 André Pönitz <poenitz@gmx.net>
8465 * text3.C: implement LFUN_WORDSEL
8467 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8469 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8470 make floatlist_ a boost::shared_ptr<FloatList>
8472 * lyxtextclass.C: include FloatList.h
8473 (LyXTextClass): initialize floatlist_
8474 (TextClassTags): add TC_NOFLOAT
8475 (Read): match "nofloat" to TC_NOFLOAT and use it.
8476 (readFloat): modify call to floatlist_
8480 * FloatList.[Ch] (FloatList): remove commented out float
8482 (erase): new function
8484 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8486 * MenuBackend.C (expandToc): fix crash when there is no document
8489 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8491 * many files: Add insetwrap.
8493 2002-09-09 John Levon <levon@movementarian.org>
8495 * text2.C: remove confusing and awkward depth wraparound
8497 2002-09-09 John Levon <levon@movementarian.org>
8499 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8502 * buffer.C: remove getIncludeonlyList()
8505 * lyxfunc.C: remove headers
8507 2002-09-09 Juergen Vigna <jug@sad.it>
8509 * text.C (getColumnNearX): fix form Michael this is most
8510 probably a cut&paste bug.
8512 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8514 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8516 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8517 references, ws changes.
8519 * text2.C (init): update counters after init
8520 (insertParagraph): no need to set counter on idividual paragraphs.
8521 (setCounter): access the counters object in the textclass object
8522 on in the buffer object.
8523 (updateCounters): ditto
8525 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8526 shared_ptr<Counters> to avoid loading counters.h in all
8528 (LyXTextClass): initialize ctrs_
8529 (TextClassTags): add TC_COUNTER, and ...
8530 (Read): use it here.
8531 (CounterTags): new tags
8532 (readCounter): new function
8533 (counters): new funtion
8534 (defaultLayoutName): return a const reference
8536 * counters.C (Counters): remove contructor
8537 (newCounter): remove a couple of unneeded statements.
8538 (newCounter): simplify a bit.
8539 (numberLabel): some small formatting changes.
8541 * buffer.[Ch]: remove all traces of counters, move the Counters
8542 object to the LyXTextClass.
8544 2002-09-06 Alain Castera <castera@in2p3.fr>
8546 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8547 package to set the horizontal alignment on fixed width columns.
8550 * lyx_sty.h: added tabularnewline macro def.
8552 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8554 2002-09-06 John Levon <levon@movementarian.org>
8556 * LyXAction.C: tooltips for sub/superscript
8558 * MenuBackend.C: a bit more verbose
8560 * lyxfunc.C: tiny clean
8562 * undo_funcs.C: document undo_frozen
8564 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8566 * counters.C (Counters): add missing algorithm counter.
8568 * text2.C (setCounter): lookup the counter with layouts latexname
8569 instead of by section number.
8570 (setCounter): use a hackish way to lookup the correct enum
8572 a float name->type change
8573 reset enum couners with counter name directly instead of depth value.
8575 * counters.C (Counters): remove the push_backs, change to use the
8576 float type not the float name.
8577 (labelItem): remove unused string, float name->type change
8579 * counters.h: don't include vector, loose the enums and sects vectors
8581 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8583 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8584 (Read): add float->TC_FLOAT to textclassTags
8585 (Read): and handle it in the switch
8586 (readFloat): new function
8588 * FloatList.C (FloatList): comment out the hardcoded float
8591 * lyxlayout.h: ws change.
8593 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8595 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8597 2002-09-03 Angus Leeming <leeming@lyx.org>
8599 * BufferView_pimpl.h: qualified name is not allowed in member
8600 declaration: WorkArea & Pimpl::workarea() const;
8602 * factory.C: added using std::endl directive.
8604 * text3.C: added using std::find and std::vector directives.
8606 2002-08-29 André Pönitz <poenitz@gmx.net>
8609 * text2.C: remove unused member number_of_rows
8612 * BufferView2.C: remove file, move contents to...
8613 * BufferView.C: ... here
8615 * BufferView_pimpl.C:
8616 * factory.C: move more inset creation to factory
8618 * vspace.C: avoid direct usage of LyXText, ws changes
8621 don't provide direct access to WorkArea, use two simple
8622 acessors haveSelction() and workHeight() instead
8625 2002-08-29 John Levon <levon@movementarian.org>
8627 * BufferView_pimpl.C (dispatch): do not continue when
8630 2002-08-28 André Pönitz <poenitz@gmx.net>
8632 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8635 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8637 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8639 * buffer.C: increment LYX_FORMAT to 221
8641 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8642 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8644 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8646 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8648 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8650 * factory.C (createInset): use LyXTextClass::floats
8652 * MenuBackend.C (expandFloatListInsert):
8653 (expandFloatInsert):
8656 * text2.C (setCounter):
8658 * LaTeXFeatures.C (useFloat):
8659 (getFloatDefinitions):
8661 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8663 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8664 floatlist_, with accessor floats().
8666 * FloatList.h: remove global FloatList
8668 2002-08-26 André Pönitz <poenitz@gmx.net>
8670 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8674 * BufferView_pimpl.C:
8675 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8677 2002-08-25 John Levon <levon@movementarian.org>
8679 * LyXAction.C: fix margin note description
8681 2002-08-24 John Levon <levon@movementarian.org>
8685 * bufferview_funcs.C:
8687 * undo_funcs.C: cleanups
8689 * lyxfunc.C: disable CUT/COPY when no selection
8691 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8693 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8694 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8696 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8697 Add backward compatibility to "mono", "gray" and "no".
8699 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8701 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8702 (and file_format >= 200).
8704 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8706 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8708 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8710 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8712 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8714 * BufferView_pimpl.C:
8721 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8722 inset and code to make it work with the paragraph code. The inset
8723 can be anywhere in the paragraph, but will only do the expected
8724 thing in LaTeX if the layout file contains the parameter line
8726 (or more generally, a nonzero value) for that layout.
8728 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8730 * paragraph.h: remove the declaration of undefined counters class
8733 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8735 * text2.C (setCounter): fixed enumeration mis-count as reported by
8736 Dr. Richard Hawkins.
8738 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8740 * paragraph_funcs.h: remove some unneeded includes
8742 * text.C (backspace): pasteParagraph now in global scipe
8744 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8745 (pasteSelection): ditto
8747 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8748 * paragraph_funcs.C (pasteParagraph): ... here
8750 2002-08-20 André Pönitz <poenitz@gmx.net>
8752 * commandtags.h: new LFUNs for swapping/copying table row/colums
8755 * lyxfunc.C: support for new lfuns
8757 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8760 * buffer.[Ch]: remove NO_COMPABILITY stuff
8762 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8764 * boost.C (throw_exception): new file, with helper function for
8765 boost compiled without exceptions.
8770 * ParameterStruct.h:
8771 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8773 * bufferlist.C (emergencyWriteAll): use boost bind
8775 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8777 * text.C: include paragraph_funcs.h
8778 (breakParagraph): breakParagraph is now in global scope
8780 * paragraph_funcs.[Ch]: new files
8782 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8785 * buffer.C: include paragraph_funcs.h
8786 (insertStringAsLines): breakParagraph is now in global scope
8788 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8791 * CutAndPaste.C: include paragraph_funcs.h
8792 (cutSelection): breakParagraphConservative is now in global scope
8793 (pasteSelection): ditto
8795 * buffer.h: declare oprator== and operator!= for
8796 Buffer::inset_iterator
8798 * bufferlist.C (emergencyWrite): don't use fmt(...)
8800 * text3.C: add using std::endl
8802 * BufferView.C (moveCursorUpdate): remove default arg
8804 2002-08-20 André Pönitz <poenitz@gmx.net>
8806 * buffer.[Ch]: move inline functions to .C
8809 * BufferView_pimpl.C:
8811 * buffer.[Ch]: use improved inset_iterator
8814 * paragraph.[Ch]: write one paragraph at a time
8816 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8818 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8819 style if style is not specified.
8821 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8823 * text2.C (setCounter): when searching for right label for a
8824 caption, make sure to recurse to parent insets (so that a caption
8825 in a minipage in a figure float works) (bug #568)
8827 2002-08-20 André Pönitz <poenitz@gmx.net>
8829 * text3.C: new file for LyXText::dispatch() and helpers
8831 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8833 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8835 2002-08-19 André Pönitz <poenitz@gmx.net>
8838 * text.C: new LyXText::dispatch()
8840 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8842 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8844 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8846 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8849 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8851 * Makefile.am: use $(variables) instead of @substitutions@
8853 2002-08-15 André Pönitz <poenitz@gmx.net>
8856 * BufferView_pimpl.C: streamlining mathed <-> outer world
8860 * LyXAction.C: remove unused LFUN_MATH
8862 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8864 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8866 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8868 * paragraph.C (Paragraph): reformat a bit
8869 (cutIntoMinibuffer): use builtin InsetList function instad of
8873 * buffer.C: include boost/bind.hpp, add using std::for_each
8874 (writeFileAscii): use ParagraphList iterators
8875 (validate): use for_each for validate traversal of paragraphs
8876 (getBibkeyList): use ParagraphList iterators
8877 (resizeInsets): use for_each to resizeInsetsLyXText for all
8879 (getParFromID): use ParagraphList iterators
8881 * BufferView2.C (lockInset): use paragraph list and iterators
8883 2002-08-14 John Levon <levon@movementarian.org>
8885 * lyxserver.C: remove spurious xforms include
8887 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8889 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8891 2002-08-13 André Pönitz <poenitz@gmx.net>
8894 * lyxfunc.C: further cleaning
8896 2002-08-13 André Pönitz <poenitz@gmx.net>
8898 * funcrequest.h: new constructor
8900 * funcrequest.C: move stuff here from .h
8903 * BufferView_pimpl.C:
8906 * lyxfunc.C: subsequent changes
8908 * lyxfunc.h: new view() member function
8910 * lyxfunc.C: subsequent changes
8912 2002-08-13 Angus Leeming <leeming@lyx.org>
8915 * BufferView_pimpl.C:
8923 changes due to the changed LyXView interface that now returns references
8924 to member variables not pointers.
8926 2002-08-13 Angus Leeming <leeming@lyx.org>
8928 * WordLangTuple (word, lang_code): return references to strings,
8933 * lyxtext.h: forward-declare WordLangTuple.
8938 * text.C: #include "WordLangTuple.h".
8941 * text.C: (selectNextWordToSpellcheck): constify return type.
8943 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8949 * paragraph_pimpl.h:
8952 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8954 Made updateCounter always count from start of buffer, and removed
8955 second argument (par).
8956 Reverted floats number display to '#'. Perhaps I'll try again when the
8957 code base is sanitized a bit.
8959 2002-08-12 Angus Leeming <leeming@lyx.org>
8961 * buffer.[Ch] (getLabelList): constify.
8963 2002-08-07 André Pönitz <poenitz@gmx.net>
8965 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8967 * funcrequest.h: extension to keep mouse (x,y) position
8969 2002-08-12 Juergen Vigna <jug@sad.it>
8971 * BufferView2.C (insertErrors): forbid undo when inserting error
8974 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8976 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8978 * ParagraphList.[Ch]: new files
8980 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8982 * BufferView2.C (lockInset): ParagraphList changes
8985 * bufferlist.C: ditto
8989 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8991 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8992 unused class variable counter_,
8994 * paragraph.[Ch] (getFirstCounter): delete unused function
8996 * counters.C: include LAssert.h
8997 (reset): add a new function with no arg, change other version to
8998 not have def. arg and to not allow empty arg.
9000 * text2.C (setCounter): remove empty arg from call to Counters::reset
9002 2002-08-11 John Levon <levon@movementarian.org>
9004 * Makefile.am: add WordLangTuple.h
9006 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9008 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9009 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9011 * insets/insettext.C: InsetList changes
9013 * graphics/GraphicsSupport.C (operator()): InsetList changes
9015 * toc.C (getTocList): InsetList changes
9017 * paragraph_pimpl.[Ch]: InsetList changes
9019 * paragraph.[Ch]: InsetList changes
9021 * buffer.C (inset_iterator): InsetList changes
9022 (setParagraph): ditto
9023 * buffer.h (inset_iterator): ditto
9024 * iterators.C (operator++): ditto
9025 * iterators.h: ditto
9027 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9029 * InsetList.[Ch]: new files, most InsetList handling moved out of
9032 * BufferView2.C (removeAutoInsets): InsetList changes
9034 (ChangeInsets): ditto
9036 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9038 * paragraph_pimpl.h (empty): new function
9040 * paragraph.[Ch] (empty): new function
9042 * other files: use the new Paragraph::empty function
9044 2002-08-09 John Levon <levon@movementarian.org>
9046 * lyxtext.h: remove unused refresh_height
9048 2002-08-09 John Levon <levon@movementarian.org>
9055 * paragraph.C: move sgml char escaping out of paragraph
9058 * paragraph.C: remove id setter
9062 * paragraph_pimpl.C: remove dead tex_code_break_column
9064 * bufferview_funcs.C: small cleanup
9066 * lyxfunc.C: remove dead proto
9068 * lyxtext.h: make some stuff private. Remove some dead stuff.
9070 * lyxgluelength.C: make as[LyX]String() readable
9072 2002-08-08 John Levon <levon@movementarian.org>
9077 * ToolbarDefaults.C:
9080 * toc.C: lyxaction cleanup
9082 2002-08-08 John Levon <levon@movementarian.org>
9084 * BufferView2.C: small cleanup
9087 * lyxfind.C: move unnecessary header into the .C
9089 2002-08-08 John Levon <levon@movementarian.org>
9091 * funcrequest.h: just tedious nonsense
9094 * lyx_main.C: cleanups
9097 * vspace.C: remove dead header lyx_main.h
9099 2002-08-07 Angus Leeming <leeming@lyx.org>
9102 * paragraph_pimpl.h:
9103 Forward declare class Counters in paragraph.h by moving the ctrs member
9104 variable into Paragraph::Pimpl.
9105 (counters): new method, returning a reference to pimpl_->ctrs.
9107 * text2.C: ensuing changes.
9109 2002-08-07 John Levon <levon@movementarian.org>
9111 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9113 * BufferView_pimpl.C: announce X selection on double/triple
9116 * lyx_main.C: use correct bool in batch dispatch
9118 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9120 2002-08-07 André Pönitz <poenitz@gmx.net>
9122 * funcrequest.h: new class to wrap a kb_action and its argument
9125 * BufferView_pimpl[Ch]:
9129 * lyxrc.C: subsequent changes
9132 2002-08-07 John Levon <levon@movementarian.org>
9134 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9135 document options change.
9137 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9142 * makefile.am: move counters functionality over from
9143 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9145 2002-08-06 John Levon <levon@movementarian.org>
9147 * WordLangTuple.h: new file for word + language code tuple
9158 * BufferView2.C: use WordLangTuple
9161 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9163 2002-08-06 John Levon <levon@movementarian.org>
9165 * lyx_main.C: fix cmdline batch handling
9167 2002-08-06 André Pönitz <poenitz@gmx.net>
9169 * lyxrc.C: set default for show_banner to true
9171 2002-08-06 John Levon <levon@movementarian.org>
9173 * pspell.C: fix a crash, and allow new aspell to work
9175 2002-08-06 John Levon <levon@movementarian.org>
9178 * kbmap.C: small cleanup
9181 * vspace.C: add const
9183 2002-08-05 John Levon <levon@movementarian.org>
9185 * LyXAction.C: back to tabular-insert
9187 2002-08-04 John Levon <levon@movementarian.org>
9190 * BufferView.C: cosmetic change
9192 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9202 * BufferView2.C: purge all "Lyx" not "LyX" strings
9205 * lyxcursor.C: attempt to add some documentation
9210 * ToolbarDefaults.C:
9211 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9212 merge with LFUN_TABULAR_INSERT
9219 * pspell.C: split up i/pspell implementations into separate
9220 files, many cleanups
9222 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9224 * text2.C: some cleanup
9226 * lyxfunc.C: don't check for isp_command == "none" any more, it
9227 didn't make any sense
9229 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9234 * makefile.am: move counters functionality over
9235 from text2.C/paragraph.[Ch] to counters.[Ch], and
9237 2002-08-02 John Levon <levon@movementarian.org>
9239 * buffer.C: s/lyxconvert/lyx2lyx/
9241 2002-08-02 Angus Leeming <leeming@lyx.org>
9243 * lyxlex.C: revert John's change as it breaks reading of the user
9246 2002-08-02 Angus Leeming <leeming@lyx.org>
9248 * importer.C (Import):
9249 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9250 changes due to LyXView::view() now returning a boost::shared_ptr.
9252 2002-08-02 John Levon <levon@movementarian.org>
9254 * lyxlex.C: small cleanup
9256 2002-08-02 John Levon <levon@movementarian.org>
9258 * text2.C (status): small cleanup, no logic change
9260 2002-08-01 John Levon <levon@movementarian.org>
9263 * buffer.C (writeFile): don't output alerts, caller
9267 * lyx_cb.C: from above
9269 * lyxfunc.C: allow to open non-existent files
9271 2002-07-31 John Levon <levon@movementarian.org>
9273 * lyxserver.C: don't let incidental errors get
9276 2002-07-30 John Levon <levon@movementarian.org>
9278 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9280 2002-07-30 John Levon <levon@movementarian.org>
9283 * lyxserver.C: remove I/O callback too
9285 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9287 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9290 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9292 * many files: strip,frontStrip -> trim,ltrim,rtrim
9294 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9296 * PrinterParams.h: remove extern containsOnly, and include
9297 support/lstrings.h instead.
9299 * LaTeX.C (scanAuxFile): modify because of strip changes
9301 * buffer.C (makeLaTeXFile): ditto
9302 * bufferparams.C (writeFile): ditt
9303 * lyxfont.C (stateText): ditto
9304 * lyxserver.C (read_ready): ditto
9305 * vc-backend.C (scanMaster): ditto
9307 * BufferView_pimpl.h: ws changes
9309 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9311 2002-07-26 André Pönitz <poenitz@gmx.net>
9313 * kb_sequence.C: remove unnedred usings
9315 2002-07-26 Juergen Vigna <jug@sad.it>
9317 * lyxfind.C (LyXReplace): we have to check better if the returned
9318 text is not of theLockingInset()->getLockingInset().
9320 2002-07-25 Juergen Vigna <jug@sad.it>
9322 * lyxfind.C (LyXReplace): don't replace if we don't get the
9325 * undo_funcs.C (createUndo): remove debugging code.
9327 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9329 * buffer.C (parseSingleLyXformat2Token): Use default placement
9330 when reading old floats.
9332 * FloatList.C (FloatList): Change the default placement of figure
9333 and tables to "tbp".
9335 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9337 * MenuBackend.C: using std::max
9339 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9341 * MenuBackend.C (expandToc):
9342 (expandToc2): code moved from xforms menu frontend. It is now
9343 generic and TOCs are transparent to menu frontends.
9345 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9347 * toc.C (getTocList): protect against buf=0
9349 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9350 Menu as first parameter. Now, this calls itself recursively to
9351 expand a whole tree (this will be useful for TOC handling)
9352 (expandFloatInsert): remove 'wide' version of floats
9354 * MenuBackend.h (submenuname): returns the name of the submenu.
9355 (submenu): returns the submenu itself, provided it has been
9356 created by MenuBackend::expand
9358 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9360 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9361 insets which have noFontChange == true. (bug #172)
9363 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9365 * BufferView_pimpl.C: add connection objects and use them...
9368 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9370 * MenuBackend.C (expandLastfiles):
9373 (expandFloatListInsert):
9374 (expandFloatInsert):
9375 (expand): split expand in parts
9377 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9379 * lyx_gui.C: use lyx_gui::exit()
9381 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9383 * LyXAction.C: show the failing pseudo action
9385 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9387 * buffer.C (readFile): Run the lyxconvert script in order to read
9390 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9394 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9396 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9400 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9402 2002-07-22 Herbert Voss <voss@lyx.org>
9405 * lyxlength.[Ch]: add support for the vertical lengths
9407 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9409 * toc.[Ch]: std:: fixes
9411 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9413 * lyxrc.C: do not include lyx_main.h
9415 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9421 * BufferView2.C: include "lyxlex.h"
9424 * bufferparams.h: do not #include "lyxlex.h"
9426 * lyxtextclasslist.C (Add): remove method
9427 (classlist): renamed to classlist_
9429 * paragraph_pimpl.C:
9433 * bufferview_funcs.C:
9438 * toc.C (getTocList): use BufferParams::getLyXTextClass
9440 * toc.C (getTocList): use InsetFloat::addToToc
9442 * toc.[Ch]: new files, containing helper functions to handle table
9445 * lyxfunc.C (dispatch): no need to remove spaces around command
9447 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9448 first command of the sequence; it is not very clever, but I do not
9449 have a better idea, actually
9451 * LyXAction.C (LookupFunc): make sure to remove space at the
9452 beginning and end of the command
9454 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9456 * MenuBackend.C (getMenubar): new method: return the menubar of
9458 (read): treat differently reading of menu and menubar (in
9459 particular, the menubar has no name now)
9460 (Menu::menubar): remove
9462 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9465 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9467 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9468 a bibitem inset in a RTL paragraph.
9470 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9472 * paragraph_pimpl.C: constify
9474 * BufferView_pimpl.C:
9476 * lyxfunc.C: fix dispatch in a nicer way
9478 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9480 * lyxfunc.C (dispatch):
9481 * BufferView_pimpl.C:
9482 * BufferView_pimpl.h:
9484 * BufferView.h: rename Dispatch() to dispatch()
9486 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9488 * lyxlayout.C (Read): honor DependsOn tag
9490 * lyxlayout.[Ch] (depends_on): new method
9492 * version.C.in: update lyx_docversion
9494 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9496 * paragraph.C (validate): remove from here...
9497 * paragraph_pimpl.C (validate): ... and move here
9498 (isTextAt): make it const
9500 * buffer.C (getLists): ws cleanup
9502 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9504 * language.C (read): Use iso8859-1 encoding in latex_lang
9505 (this prevents LyX from crashing when using iso10646-1 encoding).
9507 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9509 * text2.C (toggleInset): if cursor is inside an inset, close the
9510 inset and leave cursor _after_ it
9512 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9514 * lyxfunc.C: move minibuffer completion handling out of here
9516 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9518 * BufferView_pimpl.C:
9519 * LaTeX.C: fix dispatch calls
9521 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9523 * text.C (drawChars): Fix Arabic text rendering.
9525 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9529 * lyxfunc.C: remove message-push/pop
9533 * lyxfunc.C: rationalise some code by removing verboseDispatch
9534 in favour of a bool argument to dispatch()
9536 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9538 * lyx_main.C (init): make sure to read symlinks as absolute paths
9540 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9543 * lyxfunc.C: no need for commandshortcut to be a member
9545 2002-07-15 André Pönitz <poenitz@gmx.net>
9547 * converter.C: add support for $$s (scripts from lib/scripts dir)
9548 * lyx_main.C: white space
9550 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9554 * lyxrc.C: remove second exit confirmation
9556 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9561 * BufferView_pimpl.h:
9562 * BufferView_pimpl.C:
9563 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9565 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9567 * MenuBackend.C (expand): add numeric shortcuts to document menu
9569 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9571 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9573 * lyxfont.C (setLyXFamily):
9580 * buffer.C (asciiParagraph): use ascii_lowercase
9582 2002-07-15 Mike Fabian <mfabian@suse.de>
9584 * lyxlex_pimpl.C (search_kw):
9585 * lyxlex.C (getLongString):
9586 * converter.h (operator<):
9587 * converter.C (operator<):
9588 * buffer.C (parseSingleLyXformat2Token):
9590 * ToolbarDefaults.C (read):
9591 * MenuBackend.C (checkShortcuts):
9593 * LColor.C (getFromGUIName):
9594 (getFromLyXName): use the compare_ascii_no_case instead of
9595 compare_no_case, because in turkish, 'i' is not the lowercase
9596 version of 'I', and thus turkish locale breaks parsing of tags.
9598 2002-07-16 Angus Leeming <leeming@lyx.org>
9600 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9601 now takes a Buffer const & argument.
9603 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9605 * BufferView.C (resize): check there's a buffer to resize
9607 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9609 * lyxfunc.C: remove dead code
9612 * lyxserver.C: use lyx_guii::set_read_callback
9614 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9616 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9617 an inset in a RTL paragraph.
9619 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9621 * lyxfunc.C: repaint after a font size update
9623 2002-07-15 André Pönitz <poenitz@gmx.net>
9625 * lyxlength.C: inBP should be able to return negative values
9627 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9629 * lyxfunc.C: use lyx_gui::update_fonts()
9631 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9633 * lyxfunc.C: use lyx_gui::update_color()
9635 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9641 * lyxrc.C: remove file->new asks for name option, and let
9642 buffer-new take an argument
9644 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9646 * BufferView_pimpl.C: remove unneeded extra repaint()
9648 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9650 * LyXAction.C: allow command-sequence with NoBuffer
9652 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9654 2002-07-10 Angus Leeming <leeming@lyx.org>
9656 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9658 2002-07-09 Angus Leeming <leeming@lyx.org>
9660 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9662 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9664 * lengthcommon.h: whitespace
9666 * lyxfunc.C: update scrollbar after goto paragraph
9668 * lyxtext.h: factor out page break drawing, and fix it so
9669 page break/added space paints as selected nicely
9671 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9673 * BufferView_pimpl.C: add FIXMEs, clean up a little
9675 2002-07-09 André Pönitz <poenitz@gmx.net>
9677 * lyxfont.[Ch]: support for wasy symbols
9679 2002-07-08 André Pönitz <poenitz@gmx.net>
9681 * BufferView_pimpl.C: apply John's patch for #93.
9683 2002-07-05 Angus Leeming <leeming@lyx.org>
9685 * BufferView_pimpl.C (buffer): generate previews if desired.
9687 * LColor.h: add "preview" to the color enum.
9689 * LColor.C (LColor): add a corresponding entry to the items array.
9691 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9694 2002-07-05 Angus Leeming <leeming@lyx.org>
9696 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9697 The body of the code is now in the method that is passed an ostream &
9698 rather than a file name.
9699 Pass an additional only_preamble parameter, useful for the forthcoming
9702 2002-07-03 André Pönitz <poenitz@gmx.net>
9704 * lyxfunc.C: simplify getStatus() a bit for math stuff
9706 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9708 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9710 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9712 * text.C (changeRegionCase): do not change case of all the
9713 document when region ends at paragraph end (bug #461)
9715 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9717 * paragraph.C (startTeXParParams):
9718 (endTeXParParams): add \protect when necessary
9720 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9722 * BufferView_pimpl.C (workAreaExpose): remove warning
9724 2002-06-27 Angus Leeming <leeming@lyx.org>
9726 * Makefile.am: add lyxlayout_ptr_fwd.h.
9728 2002-06-26 André Pönitz <poenitz@gmx.net>
9730 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9732 2002-06-25 Angus Leeming <leeming@lyx.org>
9734 * lyxfunc.C (dispatch): Comment out the call to
9735 grfx::GCache::changeDisplay. The method no longer exists now that the
9736 pixmap generation part of the graphics loader has been moved into
9739 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9741 * text2.C: layout as layout
9743 * text.C: layout as layout
9745 * tabular.C (OldFormatRead): layout as layout
9747 * paragraph_pimpl.C (TeXDeeper): layout as layout
9748 (realizeFont): layout as layout
9750 * paragraph.C (writeFile): layout as layout
9751 (validate): layout as layout
9752 (getFont): layout as layout
9753 (getLabelFont): layout as layout
9754 (getLayoutFont): layout as layout
9755 (breakParagraph): layout as layout
9756 (stripLeadingSpaces): layout as layout
9757 (getEndLabel): layout as layout
9758 (getMaxDepthAfter): layout as layout
9759 (applyLayout): layout as layout
9760 (TeXOnePar): layout as layout
9761 (simpleTeXOnePar): layout as layout
9762 (TeXEnvironment): layout as layout
9763 (layout): layout as layout
9764 (layout): layout as layout
9766 * lyxtextclass.C (compare_name): new functor to work with
9767 shared_ptr, layout as layout
9768 (Read): layout as layout
9769 (hasLayout): layout as layout
9770 (operator): layout as layout
9771 (delete_layout): layout as layout
9772 (defaultLayout): layout as layout
9774 * lyxlayout_ptr_fwd.h: new file
9776 * lyxlayout.C (Read): layout as layout
9778 * lyx_cb.C (MenuInsertLabel): layout as layout
9780 * bufferlist.C (newFile): layout as layout
9782 * buffer.C (readLyXformat2): layout as layout
9783 (parseSingleLyXformat2Token): layout as layout
9784 (insertStringAsLines): layout as layout
9785 (asciiParagraph): layout as layout
9786 (latexParagraphs): layout as layout
9787 (makeLinuxDocFile): layout as layout
9788 (simpleLinuxDocOnePar): layout as layout
9789 (makeDocBookFile): layout as layout
9790 (simpleDocBookOnePar): layout as layout
9791 (getLists): layout as layout
9793 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9795 * CutAndPaste.C (cutSelection): layout as layout
9796 (pasteSelection): layout as layout
9797 (SwitchLayoutsBetweenClasses): layout as layout
9799 * BufferView_pimpl.C (Dispatch): layout as layout
9800 (smartQuote): layout as layout
9802 * BufferView2.C (unlockInset): layout as layout
9804 2002-06-24 André Pönitz <poenitz@gmx.net>
9806 * lyxfunc.C: fix #487
9808 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9812 * lyxfunc.C: remove display_shortcuts, show_banner
9814 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9816 * Buffer_pimpl.C: oops, update on resize
9818 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9825 * BufferView.C: use repaint()
9827 * BufferView_pimpl.h:
9828 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9829 as it's a clearer description. Remove superfluous
9832 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9834 * text.C: fix bug 488. Not ideal, but getting
9835 getWord() to work properly for the insets that
9836 matter is more difficult ...
9838 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9840 * BufferView_pimpl.C:
9843 * lyxfunc.C: remove the six million index lyxfuncs to just
9844 one, and DTRT (bug 458)
9846 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9850 * BufferView_pimpl.h:
9851 * BufferView_pimpl.C: clean up resize() stuff,
9852 and unnecessary updateScreen()s
9854 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9858 * BufferView_pimpl.h:
9859 * BufferView_pimpl.C:
9862 * minibuffer.C: remove focus management of workarea,
9863 not needed. Use screen's greyOut()
9865 2002-06-17 Herbert Voss <voss@lyx.org>
9867 * converter.C: (convert) do not post a message, when converting
9868 fails, let the calling function decide what to do in this case
9870 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9872 * lyxfunc.C: tidy up a little
9874 2002-06-16 <alstrup@diku.dk>
9876 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9877 Got rid of FORMS_H_LOCATION include. Now we are
9880 2002-06-15 LyX Development team <lyx@rilke>
9882 * buffer.[Ch] (sgmlOpenTag):
9883 (sgmlCloseTag): Added support for avoiding pernicious mixed
9884 content. Return number of lines written.
9887 (makeDocBookFile): Fixed calls to sgml*Tag.
9888 Simple white space clean.
9890 (simpleDocBookOnePar): Simple white space clean.
9892 * tabular.[Ch] (docBook): Renamed to docbook and got another
9893 argument to related with the pernicious mixed content.
9895 (docbookRow): Fixed calls for docbook inset method.
9897 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9899 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9900 so it's X11 independent.
9904 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9906 2002-06-15 Lyx Development team <lyx@electronia>
9908 * intl.h: Renamed getTrans to getTransManager.
9910 2002-06-14 Angus Leeming <leeming@lyx.org>
9912 * Makefile.am: nuke forgotten stl_string_fwd.h.
9914 2002-06-12 Angus Leeming <leeming@lyx.org>
9916 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9918 2002-06-13 Angus Leeming <leeming@lyx.org>
9921 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9923 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9925 * kbmap.C (getiso): add support for cyrillic and greek
9927 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9931 * BufferView_pimpl.h:
9932 * BufferView_pimpl.C: move bogus scrolling logic
9935 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9938 * BufferView_pimpl.C: view->resize() change
9940 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9942 * BufferView_pimpl.C: topCursorVisible
9945 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9949 * lyx_gui.C: move to frontends/
9953 * lyx_main.C: changes from above
9955 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9962 * lyx_main.C: minor tidy
9964 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9966 * BufferView_pimpl.h:
9967 * BufferView_pimpl.C:
9969 * BufferView.C: make painter() const,
9972 * BufferView2.C: use screen() accessor
9975 * lyx_main.C: some minor cleanup
9977 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9979 * BufferView_pimpl.h:
9980 * BufferView_pimpl.C: remove enter/leaveView,
9983 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9988 * BufferView_pimpl.h:
9989 * BufferView_pimpl.C: only construct screen once,
9992 * lyxrc.C: remove pointless comment
9994 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9997 * BufferView.C: remove active() and belowMouse()
9999 * BufferView_pimpl.h:
10000 * BufferView_pimpl.C: use workarea() not workarea_,
10001 and make it use a scoped_ptr instead
10003 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10005 * lyx_gui.C: add debug message on BadWindow
10007 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10009 * sp_spell.C: fdopen is not part of the C++ standard.
10011 * paragraph.C (InsetIterator): use >= instead of ==
10013 2002-06-07 Angus Leeming <leeming@lyx.org>
10015 Fixes needed to compile with Compaq cxx 6.5.
10016 * BufferView_pimpl.C:
10023 * lyxtextclasslist.C:
10028 all c-library variables have been moved into namespace std. Wrap
10029 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10034 Add a using std::abs declaration.
10036 * kbmap.h (modifier_pair):
10037 * paragraph.h (InsetTable, InsetList):
10038 * lyxfont.h (FontBits):
10039 type definition made public.
10041 * bufferlist.C (emergencyWriteAll): the compiler complains that
10042 there is more than one possible lyx::class_fun template to choose from.
10043 I re-named the void specialisation as lyx::void_class_fun.
10045 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10047 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10048 the compiler is is unable to find tostr in write_attribute.
10050 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10052 * buffer.C (sgmlError): hide #warning
10054 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10056 * xtl/*: get rid of xtl, which is not in use anyway
10058 * LyXAction.C (init):
10059 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10060 were unimplemented xtl experimentation
10062 2002-06-04 André Pönitz <poenitz@gmx.net>
10064 * lyxfunc.C: disable array operation on simple formulae
10066 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10068 * converter.C: constify a bit
10070 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10072 * lyx_gui.C: check xforms version correctly
10074 2002-04-30 Herbert Voss <voss@lyx.org>
10076 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10079 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10081 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10082 attempt to register it with a VCS)
10084 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10086 * lyx_main.C (init): honor variables LYX_DIR_13x and
10089 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10093 * lyx_main.C: fix a crash on bad command line,
10094 and give a useful exit status on error
10096 * lyxfunc.C (doImport): allow -i lyx to work
10098 2002-03-30 André Pönitz <poenitz@gmx.net>
10100 * lyxfunc.C: mathed font changes
10102 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10117 * trans_mgr.h: srcdocs, and some minor cleanups
10119 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10121 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10122 call getFont all the time)
10124 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10126 * switch from SigC signals to boost::signals
10128 2002-05-29 André Pönitz <poenitz@gmx.net>
10130 * paragraph_pimpl.C (getChar): don't call size() too often...
10132 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10134 * paragraph_pimpl.C (insertChar): do not try to update tables when
10135 appending (pos == size())
10137 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10138 in order to reduce drastically the number of comparisons needed to
10139 parse a large document
10141 2002-05-29 André Pönitz <poenitz@gmx.net>
10147 * textclasslist.[Ch]:
10148 * sp_ispell.h: whitespace change
10150 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10152 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10153 lyxaction directly now.
10155 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10159 * lyxvc.C: remove unused headers
10161 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10168 * undo_funcs.C: some cleanups. Use shared_ptr
10169 and a template for the undo stacks.
10171 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10173 * BufferView_pimpl.h:
10174 * BufferView_pimpl.C:
10181 * text2.C: use key_state/mouse_state
10183 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10185 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10188 * chset.C: change include order
10189 (loadFile): use boost regex and get rid of LRegex and LSubstring
10191 * Makefile.am (BOOST_LIBS): new variable
10192 (lyx_LDADD): use it
10194 * LaTeX.C: change include order.
10195 (scanAuxFile): use boost regex and get rid of LRegex and
10199 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10204 * FontInfo.C: moved to frontends/xforms/
10207 * FontLoader.C: moved into frontends for GUIIzation
10212 * lyxfunc.C: changes from above
10214 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10216 * LColor.C: remove spurious X include
10218 * BufferView_pimpl.C:
10223 * text2.C: move font metrics to frontends/
10225 2002-05-24 Juergen Vigna <jug@sad.it>
10227 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10228 setting the undo_cursor.
10230 * ParagraphParameters.h: include local includes first.
10232 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10234 * BufferView_pimpl.C:
10235 * BufferView_pimpl.h:
10239 * screen.C: move WorkArea into frontends/
10245 * BufferView2.C: move LyXScreen into frontends/
10249 * lyx_gui.C: move lyxlookup into frontends/xforms/
10251 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10254 * BufferView_pimpl.C:
10264 * bufferview_funcs.C:
10277 * vc-backend.C: move LyX/XFormsView into frontends/
10279 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10291 * text2.C: move Painter to frontends/
10293 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10295 * buffer.C: comment out some some code that depend upon lyx_format
10298 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10299 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10301 * buffer.h (NO_COMPABILITY): turn off compability
10303 * ColorHandler.C: include scoped_array.hpp
10305 * font.C: Use more specific smart_ptr header.
10308 * ShareContainer.h: ditto
10309 * lyx_main.h: ditto
10311 * FontInfo.h: ditto
10312 * BufferView_pimpl.h: ditto
10313 * ColorHandler.h: ditto
10315 * kbmap.C (defkey): change call to shared_ptr::reset
10317 2002-05-21 Juergen Vigna <jug@sad.it>
10319 * buffer.C (insertErtContents): fix to insert ert asis if it is
10320 non empty. Skip it completely if it contains only whitespaces.
10322 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10324 * BufferView_pimpl.C:
10325 * BufferView2.C: clear selection on paste (bug 393)
10327 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10329 * DepTable.C: include ctime
10331 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10333 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10335 2002-05-14 Juergen Vigna <jug@sad.it>
10337 * text.C (breakParagraph): fixed function to honor the keepempty
10338 layout in the right maner and also to permit the right breaking
10339 algorithm on empty or non empyt keepempty paragraphs.
10341 * paragraph.C (breakParagraph): we have to check also if the par
10342 is really empty (!size()) for isempty otherwise we do the wrong
10345 2002-05-10 Juergen Vigna <jug@sad.it>
10347 * buffer.[Ch] : The following are only changes to the ert
10348 compatibility read reading old LaTeX layout and font stuff and
10349 convert it to ERTInsets.
10351 * buffer.h: added isErtInset().
10353 * buffer.C (struct ErtComp): add a fromlayout bool to check
10354 if we're inside a LaTeX layout.
10355 (isErtInset): new helper function.
10356 (insertErtContents): look for other ert insets before this one
10357 and insert the contents there, so that we don't have subsequent
10358 ERT insets with nothing between them. This way we create only one
10359 inset with multiple paragraphs. Also check if we don't insert only
10360 spaces ' ' as they are ignored anyway afterwards in the .tex file
10361 so if we have only spaces we will ignore this latex part in the
10363 (parseSingleLyXformat2Token \\layout): better compatibility when
10364 reading layout-latex stuff.
10365 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10367 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10368 stuff after reading the inset only get the information back from
10371 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10373 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10375 * LaTeXFeatures.C (getBabelOptions): New method.
10377 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10379 * BufferView_pimpl.C (Dispatch): work around missing argument for
10382 2002-05-08 Juergen Vigna <jug@sad.it>
10384 * text.C (leftMargin): handle paragraph leftindent.
10386 * paragraph.C (writeFile): write the new \\leftindent tag.
10387 (validate): handle leftindent code.
10388 (TeXEnvironment): handle paragraphleftindent code again.
10390 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10392 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10393 for paragrap_extra indent code and new token \\leftindent.
10394 (latexParagraphs): handle the leftindent as environment.
10396 * ParameterStruct.h: added leftindent support.
10398 * ParagraphParameters.C (leftIndent): added support functions for
10399 the paragraph left indent.
10401 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10404 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10406 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10409 * text.C (computeBidiTables): No bidi in insetERT.
10411 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10414 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10416 * version.C.in: pre 5
10418 2002-05-02 José Matos <jamatos@fep.up.pt>
10419 * buffer.C (makeDocBookFile): white space changes, add newline to
10421 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10423 * tabular.C (docBook): fix typo.
10425 2002-05-03 Juergen Vigna <jug@sad.it>
10427 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10428 change in LyXText as we can not be sure it was not freed.
10429 (drawOneRow): remove unused code.
10431 * text.C (drawInset): redo the calculation of the need_break_row as
10432 it could have a row which was already freed.
10433 (draw): look at the return value of drawInset and return false if
10434 it also returned false.
10435 (paintRowText): look at the return value of draw and return false if
10436 it also returned false.
10438 * lyxtext.h: added bool return type to drawInset() and draw() so that
10439 if we have a change in the row so that the rowbreak has to be redone
10440 we abort drawing as it will be called again.
10442 2002-05-02 Juergen Vigna <jug@sad.it>
10444 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10445 a change in the maintext also if we're inside an inset.
10446 (Dispatch): set the cursor again after a break line and after the
10447 screen has been updated as it could be we're in a different row.
10449 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10450 to set the cursor behind the pargraph with > size().
10451 (setCursor): check also for the same paragraph when checking where
10452 to put the cursor if we have a NFR inset.
10454 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10455 parts of layout read further up as it still was in the wrong
10458 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10460 * screen.C (drawFromTo): change sine fullRebreak always return
10463 * buffer.C (parseSingleLyXformat2Token): reindent some
10465 * BufferView_pimpl.C (update): change since fullRebreak always
10467 (Dispatch): git rid of the last hardcoded "Standard"s.
10469 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10471 * text2.[Ch] (fullRebreak): make it return void now that we always
10474 2002-04-30 Juergen Vigna <jug@sad.it>
10476 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10477 ert compatibility check for "latex" layout.
10479 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10481 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10482 minipages: use col% instead of p%, and also use the current font.
10483 (makeLaTeXFile): Fix use babel condition.
10484 (parseSingleLyXformat2Token): Correct font when reading old floats.
10486 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10488 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10489 inserting list of floats.
10491 2002-04-25 Herbert Voss <voss@lyx.org>
10493 * MenuBackend.C (expand): don't add the graphics extensions to the
10496 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10498 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10499 non-existing layout, do not complain if it was the default layout
10500 of the original class (bug #342)
10502 2002-04-24 Juergen Vigna <jug@sad.it>
10504 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10505 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10507 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10509 * buffer.C (getBibkeyList): If using \bibliography, return the
10510 option field with the reference itself. Enables us to provide natbib
10511 support when using \bibliography.
10513 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10515 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10517 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10518 natbib is provided by the LaTeX class.
10520 2002-04-23 Juergen Vigna <jug@sad.it>
10522 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10525 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10527 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10529 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10531 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10532 ensuremath around textordmasculine, textordfeminine and
10535 2002-04-19 Juergen Vigna <jug@sad.it>
10537 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10538 reinitializing the buffer otherwise row-dimensions may be wrong.
10539 (update): reset also the selection cursors if they do exits otherwise
10540 their x/y positions may be wrong.
10542 * text2.C (cursorDown): don't enter the inset if we came from a row
10543 above and are one row over the inset.
10545 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10546 really leaving an inset.
10548 2002-04-18 Juergen Vigna <jug@sad.it>
10550 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10551 of the selected paragraph does not have the selected layout also if
10554 * text2.C (setLayout): fixed bug which did not change last selected
10557 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10558 changed the read and substituted \\end_float with \\end_inset!
10560 * BufferView_pimpl.C (cursorPrevious):
10561 (cursorNext): fixed to make it work with rows heigher than the work
10562 area without moving the cursor only the draw of the row.
10563 (workAreaMotionNotify): fix jumping over high rows.
10565 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10567 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10570 2002-04-16 Juergen Vigna <jug@sad.it>
10572 * text2.C (setCursor): set also the irow().
10573 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10575 (cursorDown): support for locking an inset if the x_fix value goes
10576 inside it. That way I can transverse insets too with cursor up/down.
10578 * lyxrow.h: added irow helper function same as other (i) functions.
10580 * BufferView_pimpl.C (cursorPrevious):
10581 (cursorNext): fixed for insets!
10583 2002-04-15 Juergen Vigna <jug@sad.it>
10585 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10586 position otherwise it is wrong in some cases.
10588 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10589 inside the inset before the call.
10591 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10593 * buffer.[Ch] (getBibkeyList): make it const.
10595 2002-04-12 Juergen Vigna <jug@sad.it>
10597 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10599 * text2.C (getCursorX): new helper function
10600 (setCursor): compute also ix_
10601 (setCursorFromCoordinates): set also ix.
10603 * lyxcursor.h: added ix_ and helper functions.
10605 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10607 * buffer.C (insertStringAsLines): dont break paragraph if the this
10608 paragraph is inside an inset which does not permit it!
10610 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10611 also with no chars on this paragraph.
10612 (paintRowText): only paint stuff if it's inside the workarea!
10614 * paragraph.C (breakParagraph): honor keepempty flag and break the
10615 paragraph always below not above.
10617 * BufferView2.C (unlockInset): update the paragraph layout on inset
10618 unlock as we changed paragraph in such a case.
10620 * lyxfind.C (LyXFind): clear the former selection if not found!
10622 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10623 again called in insertChar().
10625 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10626 an inset which uses the whole row!
10627 (rightMargin): ditto.
10628 (insertChar): force a rebreak if we inserted an inset!
10630 2002-03-28 Herbert Voss <voss@lyx.org>
10632 * lyxlength.[Ch]: add inBP() to get the right PS-point
10633 units (BigPoint). With inPixels we have rounding errors
10635 2002-04-11 Juergen Vigna <jug@sad.it>
10637 * text2.C (setCursorFromCoordinates): set iy to the right value.
10638 (setCursor): add check if row->previous exists!
10640 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10641 an old float_type as this was the case in the old code!
10643 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10645 * BufferView2.C (showLockedInsetCursor): use iy
10646 (fitLockedInsetCursor): ditto
10648 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10649 locked insets as there we have the right value now.
10651 * lyxcursor.C: added iy_ variable and iy functions to set to the
10652 baseline of cursor-y of the locked inset.
10654 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10655 (setCursor): fixed for insets which need a full row.
10657 * text.C (rowLastPrintable): don't ignore the last space when before
10658 an inset which needs a full row.
10659 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10660 as last character of a row when before a inset which needs a full row.
10662 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10664 * version.C.in: update date
10666 * text2.C (fullRebreak): try to always return true and see what
10669 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10671 * MenuBackend.C (expand): use Floating::listName
10673 * FloatList.C (FloatList): add listName argument to the built-in
10676 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10677 text associated with the float.
10679 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10681 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10683 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10685 * ShareContainer.h: add a couple of missing typenames.
10687 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10689 * lyxrc.C (getDescription): use _() correctly rather than N_().
10691 2002-03-28 Herbert Voss <voss@lyx.org>
10693 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10694 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10696 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10698 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10699 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10701 2002-03-29 Juergen Vigna <jug@sad.it>
10703 * lyxfunc.C (dispatch): add a missing fitCursor call.
10705 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10706 it was scrolled by a cursor move, so return the bool status.
10708 * BufferView.C (fitCursor): return the bool flag also to the outside
10709 world as this is needed.
10711 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10713 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10714 call the edit() as it is not needed (and wrong) IMO.
10715 (workAreaButtonPress): set the screen_first variable before evt.
10716 unlock the inset as this may change screen_first and then we have
10717 a wrong y position for the click!
10719 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10721 * MenuBackend.C (expand): another translation that I missed
10723 2002-03-28 Juergen Vigna <jug@sad.it>
10725 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10727 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10729 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10731 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10733 * MenuBackend.C (expand): fix export/view/update when there is no
10736 2002-03-27 Herbert Voss <voss@lyx.org>
10738 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10741 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10743 * bufferview_funcs.C (currentState): only show paragraph number
10744 for is DEVEL_VERSION is set.
10746 * lyxfunc.C (dispatch): put warning in INFO channel
10748 * MenuBackend.C (expand): translate the name of floats
10750 * FloatList.C (FloatList): mark the float names for translation
10752 * converter.C (convert): use LibScriptSearch
10754 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10756 * MenuBackend.C (defaults): fix default menu (we might as well get
10759 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10761 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10764 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10766 * lyxvc.C: reorder includes.
10768 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10770 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10773 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10775 * CutAndPaste.C: change layouts earlier on paste
10776 to avoid crashing when calling getFont()
10778 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10780 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10783 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10785 * WorkArea.C: remove 'Pending' debug message.
10787 * most files: ws cleanup
10789 * buffer.[Ch]: ws changes
10791 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10793 2002-03-21 Juergen Vigna <jug@sad.it>
10795 * tabular.C (SetMultiColumn): collapse also the contents of the
10796 cells and set the last border right. Added a Buffer const * param.
10798 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10800 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10803 2002-03-19 Juergen Vigna <jug@sad.it>
10805 * text2.C (clearSelection): reset also xsel_cache.
10807 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10808 where it needs to be called (John tells us to do so too :)
10809 (selectionLost): reset sel_cache.
10811 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10813 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10815 * text2.C (setCursorIntern): put debuging code in INSETS channel
10817 2002-03-19 André Pönitz <poenitz@gmx.net>
10819 * lyxfunc.C: tiny whitespace change
10821 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10823 * ToolbarDefaults.C (init):
10824 * LyXAction.C (init):
10826 * BufferView_pimpl.C (Dispatch):
10827 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10829 2002-03-19 Allan Rae <rae@lyx.org>
10831 * exporter.C (Export): removeAutoInsets before doing anything else.
10832 While I've just introduced a dependency on BufferView this really is
10833 the best place to clean the buffer otherwise you need to cleanup in
10834 a dozen places before calling export or cleanup in a dozen functions
10837 * converter.C (runLaTeX):
10838 (scanLog): Better handling of removeAutoInsets and screen updates.
10840 * lyxfunc.C (dispatch): small whitespace changes
10842 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10844 * WorkArea.C (C_WorkAreaEvent): return a value.
10845 (event_cb): return 1 if we handled the event, 0 otherwise.
10847 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10849 2002-03-18 Juergen Vigna <jug@sad.it>
10851 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10852 (GetAdditionalWidth): ditto.
10853 (RightLine): ditto.
10856 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10857 inset if we're there actually (probably not used right now but this
10858 is the direction to go for unifying code).
10859 (paste): disable code to clear the selection.
10861 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10862 inside an InsetText and move the check further up as it is in the
10865 * text2.C (pasteSelection): set a selection over the pasted text.
10867 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10869 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10870 and libgraphics to build on Cygwin.
10872 2002-03-15 Juergen Vigna <jug@sad.it>
10874 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10875 inserting an Inset into the paragraph. I know this is not the best
10876 fix but we already use current_view in CutAndPaste so we will remove
10877 all of it's using at the same time.
10879 * buffer.C (sgmlError): deactivated function till it is rewritten in
10880 the right mode, now it can create problems.
10882 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10883 before accessing it.
10885 2002-03-14 Juergen Vigna <jug@sad.it>
10887 * undo_funcs.C (textHandleUndo): do the right thing when updating
10888 the inset after the undo/redo.
10890 * text2.C (setCursor): just some testcode for #44 not ready yet.
10892 * undo_funcs.C (textHandleUndo): set the next() and previous()
10893 pointers of the paragraph to 0 before deleting otherwise we have
10894 problems with the Paragraph::[destructor].
10896 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10897 on a paragraph insertion.
10899 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10901 * buffer.C (asciiParagraph): use += operator for char append to
10904 * paragraph.C (getFontSettings): compare >= not just >
10905 (highestFontInRange): ditto
10908 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10910 * paragraph.C: change several algorithm to be more appripriate for
10911 the problem domain. This is lookip in FontList and in the InsetList.
10913 2002-03-13 André Pönitz <poenitz@gmx.net>
10916 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10918 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10923 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10925 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10927 * Painter.C (display): anon helper function, adjust code for this
10929 (pixmap): remove function.
10931 * Painter.h: remove private display variable.
10933 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10935 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10937 * WorkArea.[Ch]: remove figinset_canvas cruft.
10939 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10941 * lyxtextclass.C (operator): add one item cache optimization.
10943 * bufferlist.h: doxy changes
10945 * bufferlist.C: ws changes
10947 * DepTable.[Ch] (ext_exist): place const in the right spot.
10949 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10951 (workAreaExpose): call resizeInsets when the with BufferView changes.
10952 (Dispatch): adjust for protectedBlank removal
10953 (specialChar): call updateInset if the insert went ok.
10955 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10956 specialChar instead.
10958 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10960 * BufferView.h: doxy change
10962 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10964 * lyxtextclass.C (operator[]): remove non-const version
10965 (defaultLayout): remove non-const version
10967 2002-03-12 Juergen Vigna <jug@sad.it>
10969 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10970 did resize the LyXText too.
10972 * buffer.C (readLyXformat2): set layout information on newly allocated
10975 * tabular.C (OldFormatRead): set layout information on the paragraph.
10977 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10979 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10981 2002-03-11 Juergen Vigna <jug@sad.it>
10983 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10985 (resizeCurrentBuffer): force also the insets to resize themselfes.
10986 (moveCursorUpdate): fixed up for InsetText.
10988 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10991 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10992 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10993 value of Dialogs::tooltipsEnabled().
10994 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10996 2002-03-08 Juergen Vigna <jug@sad.it>
10998 * BufferView_pimpl.C (updateInset): update inset inside inset also
10999 if it isn't inside theLockingInset().
11001 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11003 * buffer.C (asciiParagraph): redo some of the word and line length
11005 (getLists): look for Caption instead of caption.
11007 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11009 * buffer.C (Buffer): initialize niceFile to true
11011 (makeLinuxDocFile):
11012 (makeDocBookFile): make sure niceFile is true on exit
11014 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11016 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11018 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11020 * LyXSendto.C: remove.
11021 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11022 * lyx_gui.C: remove now-redundant comment.
11023 * ColorHandler.h: remove forward declaration of class WorkArea.
11024 * lyxfunc.C: remove #include "WorkArea.h".
11026 2002-03-07 Juergen Vigna <jug@sad.it>
11028 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11029 got moved away with the DEPM and also set the inset_owner always
11030 right which before could have been omitted.
11032 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11034 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11035 wanted layout is not found.
11037 2002-03-07 Juergen Vigna <jug@sad.it>
11039 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11041 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11043 * paragraph.C (breakParagraph): use default layout not layout of
11045 (Paragraph): clear ParagraphParameters.
11047 2002-03-06 Juergen Vigna <jug@sad.it>
11049 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11050 otherwise it would not be a valid lenght. Fixed a special case in
11051 the minipage compatibility read where we end the document with a
11054 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11055 was set as it could be 0 for InsetTexts first entry.
11057 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11059 * paragraph.C (writeFile): if layout is empty write out
11060 defaultLayoutName().
11062 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11063 file without named layout we set layout to defaultLayoutName().
11065 2002-03-06 Juergen Vigna <jug@sad.it>
11067 * CutAndPaste.C (copySelection): set layout for new paragraph.
11069 * text.C (prepareToPrint): leave ERT inset left aligned
11070 (leftMargin): don't indent paragraphs inside ERT insets
11072 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11074 * paragraph.C (breakParagraph): dont call clear do the work manually
11076 * paragraph.[Ch] (clear): remove function
11078 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11080 * paragraph.C (Paragraph): dont call clear, the work has already
11083 * lyxtextclass.C (operator): assert if n is empty
11085 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11086 work manually instead.
11088 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11090 * BufferView_pimpl.C: protect selectionLost against text == 0
11092 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11094 * text.C (breakParagraph): fix a setting layout to '0' problem.
11096 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11098 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11099 final location of file, for the included files, and graphics.
11101 2002-03-05 Juergen Vigna <jug@sad.it>
11103 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11105 2002-03-04 Juergen Vigna <jug@sad.it>
11107 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11109 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11110 last column of multicolumn cells.
11111 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11113 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11115 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11116 file if it doesn't go to a temporary file.
11118 * buffer.C (sgmlOpenTag):
11119 (sgmlCloseTag): remove extra newline insertion.
11121 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11123 * text.C (getRowNearY): comment out debug msg
11125 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11127 * text2.C: first -> first_y
11129 * text.C (getRowNearY): add some attemts at a possible
11130 optimization, not working.
11132 * tabular.[Ch]: add BufferParams to several function so that newly
11133 created paragraph can be initialized to he default layotu for the
11136 * tabular-old.C (ReadOld): add buf->params to call of Init
11138 * screen.C: rename text->first to text->first_y
11140 * paragraph.C (breakParagraph): always set layout in the broken
11143 * lyxtextclass.C (Read): remove lowercase
11146 (delete_layout): ditto
11148 * lyxtext.h: rename first -> first_y
11150 * lyxlayout.C (Read): remove lowercase
11153 (obsoleted_by): ditto
11155 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11157 * buffer.C (insertErtContents): add params are to InsetERT
11158 (parseSingleLyXformat2Token): add code to check if a paragraphs
11159 layout really exist.
11160 (parseSingleLyXformat2Token): add params to several inset
11162 (asciiParagraph): remove lowercase, do the layout comparisons with
11165 * BufferView_pimpl.C (cursorNext): first -> first_y
11166 (resizeCurrentBuffer): first -> first_y
11167 (updateScrollbar): first -> first_y
11168 (scrollCB): first -> first_y
11169 (workAreaMotionNotify): first -> first_y
11170 (workAreaButtonPress): first -> first_y
11171 (checkInsetHit): first -> first_y
11172 (cursorPrevious): first -> first_y
11173 (cursorNext): first -> first_y
11174 (Dispatch): add buffer_->params to severl inset contructors
11176 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * lyxlayout.C (Read): remove some debug info that I forgot.
11180 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11181 clean up the code slightly.
11182 (makeLinuxDocFile): ditto
11183 (makeDocBookFile): ditto
11185 * text2.C: layout as string
11187 * text.C: layout as string
11189 * paragraph_pimpl.C: layout as string
11191 * paragraph.[Ch]: layout as string
11193 * lyxtextclasslist.[Ch]: layout as string
11195 * lyxtextclass.[Ch]: layout as string
11197 * lyxtext.h: layout as string
11199 * lyxlayout.[Ch]: layout as string
11201 * lyx_cb.C: layout as string
11203 * bufferview_funcs.C: layout as string
11205 * bufferparams.C: layout as string
11207 * buffer.C: layout as string
11209 * LyXView.[Ch]: layout as string
11211 * LaTeXFeatures.[Ch]: layout as string
11213 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11215 * BufferView_pimpl.C: change current_layout to string, remove
11220 (workAreaButtonRelease): layout as string
11222 * BufferView2.C (unlockInset): adjust
11224 * vspace.C (asLatexCommand): use an explict temp variable.
11226 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11228 * Makefile.am: use FRONTEND_*
11230 2002-03-01 Juergen Vigna <jug@sad.it>
11232 * tabular.C (SetWidthOfMulticolCell): changed to something better
11233 I hope but still work in progress.
11234 (recalculateMulticolumnsOfColumn): renamed function from
11235 recalculateMulticolCells as it is more appropriate now.
11236 (SetWidthOfCell): calculate multicols better.
11238 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11240 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11242 * lyxfunc.C (processKeySym): print sequence also if it is
11243 `deleted' (complete)
11245 * kbsequence.C (print): print sequence even if it is deleted
11246 (complete would be a better word, actually).
11248 * lyxfunc.C (dispatch): print complete options after a prefix key
11250 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11252 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11254 * text2.C (setCharFont): eliminate setCharFont code duplication.
11256 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11258 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11259 LFUN_TABULAR_FEATURE (bug #177)
11261 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11263 * Makefile.am: remove figure.h
11265 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11267 * Bufferview_pimpl.C:
11279 * text2.C: remove #include "lyx_gui_misc.h".
11281 * LaTeX.C: added #include <cstdio>
11283 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11285 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11286 that the paragraph following this one can have.
11288 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11290 * vspace.C (asLatexCommand): fix bogus gcc warning
11292 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11294 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11296 * text2.C (setLayout): get rid of redundant code
11298 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11300 * text2.C (incDepth): make sure depth cannot be increased beyond
11303 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11305 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11306 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11308 * PainterBase.h (image):
11309 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11310 a LyXImage const *.
11312 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11316 * BufferView_pimpl.C:
11317 * BufferView_pimpl.h:
11337 * sp_spell.C: remove fig inset, and the crap house of
11338 cards that follows it
11340 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11345 * os2_errortable.h:
11346 * nt_defines.h: move .h into support/
11348 * vms_defines.h: remove
11350 * WorkArea.C: add space in debug output
11354 * buffer.C: add WITH_WARNINGS
11358 * bufferlist.C: s/retrive/retrieve/, add docs
11367 * chset.C: add docs
11369 * lyxgui.C: add ID to X error handler
11371 * lyxtestclass.c: fix typo
11373 2002-02-26 Juergen Vigna <jug@sad.it>
11375 * tabular_funcs.C (write_attribute): changed so that some default
11376 attributes are not written at all.
11377 (getTokenValue): set default values before trying to read the
11378 value so we have the return value always set as default if we don't
11379 find the token we search for.
11381 * tabular.C (Write): write bools as bools not as strings!
11383 2002-02-22 Juergen Vigna <jug@sad.it>
11385 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11386 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11388 * text.C (leftMargin): don't add an indent for paragraphs inside
11389 tabular cells (fix #208).
11391 2002-02-21 José Matos <jamatos@fep.up.pt>
11393 * tabular.C (docBook): fixed support for long tables.
11395 2002-02-20 Juergen Vigna <jug@sad.it>
11397 * text2.C (getFont): get the drawing font of the Inset if this
11398 paragraph is inside an inset (only important for InsetERT for now).
11400 * buffer.C (insertErtContents): use new lanugage params in ERT
11403 * CutAndPaste.C: commenting out seemingly uneeded code.
11405 2002-02-19 Allan Rae <rae@lyx.org>
11407 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11408 Iterators might be simple to use but they also get invalidated.
11409 (removeAutoInsets): renamed saved cursor tracking variables and added
11410 some comments to clarify what everything does.
11412 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11419 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11420 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11423 * vc-backend.h: remove #include "support/syscall.h"
11427 * converter.C: rearrange #includes in Lars' approved fashion.
11429 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11430 forward declare class Timeout in the header file.
11432 * XFormsView.C: changes due to the above.
11434 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11435 similar to LyXView.
11437 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11438 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11440 2002-02-18 José Matos <jamatos@fep.up.pt>
11442 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11445 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11447 * a lot of small ws changes
11448 * add a lot of using std::XXX
11449 * use std construcs some places where approp.
11450 * use some exisint stuff from lyxfunctional where approp.
11451 * Make file changes to use partial linking (lets test this now...)
11453 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11457 remove #include "support/syscontr.h" as it's redundant. Always has been.
11465 change Systemcalls::System to Systemcalls::Wait and
11466 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11467 No change of functionality, just reflects the stripped down Systemcalls
11470 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11472 * debug.[Ch]: add a GRAPHICS type to the enum.
11474 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11476 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11478 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11481 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11483 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11484 match the changes below.
11486 * text2.C (toggleInset): if there is not editable inset at cursor
11487 position, try to see if cursor is _inside_ a collapsable inset
11490 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11492 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11493 document menu has a nice checkbox
11495 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11497 * lyxlength.C (asLatexString): change PW to output as percent of
11500 * lengthcommon.C: change '%' to 't%'
11502 * lyxfunc.C (dispatch): a few comments from Martin
11504 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11508 * BufferView_pimpl.h:
11509 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11512 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11514 * vspace.C (inPixels): fix compiler warning
11516 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11518 * lyxfunc.C (getStatus): fix status message for disabled commands.
11520 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11522 * BufferView_pimpl.C: fix crash on close buffer
11523 during selection (#227)
11525 2002-01-27 Herbert Voss <voss@lyx.org>
11527 * buffer.C: link old Figure to new graphic inset
11529 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11531 * FontLoader.C (getFontinfo): Change the latex font names in order
11532 to match the names of type1inst.
11534 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11536 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11538 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11539 (extchanged): ditto
11541 (remove_files_with_extension): ditto
11542 (remove_file): ditto
11545 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11546 document is smaller than the work area height. Do not initialize
11547 static variables to 0.
11549 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11551 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11553 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11554 LFUN_LAYOUT_PARAGRAPHS.
11556 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11557 tabular. It is possible to provide a possible cell, which will
11558 typically be the actcell from the corresponding insettabular
11560 * lyxfunc.C (getStatus): small cleanup; disable
11561 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11564 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11566 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11568 * paragraph.C (startTeXParParams):
11569 (endTeXParParams): new methods. The LaTeX code to
11570 start/end paragraph formatting
11571 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11572 empty (fixes bug #200)
11574 * vspace.C (inPixels): adapt to the change below
11575 (inPixels): [later] more cleanups (remove unused variables)
11577 * lyxlength.C (inPixels): change to use a width and a height as
11580 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11582 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11583 Replaced with \paperwidth
11585 * DepTable.C (insert): add std:: qualifier
11587 2002-01-18 Allan Rae <rae@lyx.org>
11589 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11592 * text.C (drawInset): Turned out I didn't know enough about how
11593 rebreaking worked. This fixes most of the redraw problems. I see
11594 an occasional cursor trail when a line is broken now and the cursor
11595 placement can seem out by a few pixels also after a rebreak.
11597 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11599 * buffer.C (parseSingleLyXformat2Token): update because minipage
11600 width is now a LyXLength
11602 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11604 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11607 2002-01-17 Juergen Vigna <jug@sad.it>
11609 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11611 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11612 is set correctly and the inset is updated correctly.
11614 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11616 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11617 the beginning of the loop.
11619 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11621 * lyxrc.C: improve help for use_scalable_fonts
11623 2002-01-17 Allan Rae <rae@lyx.org>
11625 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11627 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11629 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11630 make sure to set their inset_owner to the right value (bug #171)
11632 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11635 * DepTable.C: Implement mtime checking to reduce time spent doing
11638 2002-01-16 Juergen Vigna <jug@sad.it>
11640 * tabular.C (GetAdditionalHeight): one of error fixed.
11642 * lyxrc.C (output): small fix in writing use_pspell.
11644 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11646 * sp_base.h: #include LString.h
11648 2002-01-16 Allan Rae <rae@lyx.org>
11650 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11651 Can someone check this please?
11653 * text.C (drawInset): It was possible that p.row would be removed by
11654 breakAgainOneRow upsetting a few other settings. There may be another
11655 small tweak possible by setting need_break_row = 0 when p.row has been
11656 removed but I don't know enough about the logic here.
11658 2002-01-15 Allan Rae <rae@lyx.org>
11660 * text.C (insertChar): removed conditional truism.
11662 * BufferView2.C (removeAutoInsets): More tweaks.
11663 cur_par_prev could be a stray pointer. Check for trailing empty line
11664 in case last line was cur_par and only had an error inset on it.
11666 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11668 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11671 * vc-backend.C (most methods):
11672 * exporter.C (Export):
11673 * converter.C (convert):
11675 * LyXSendto.C (SendtoApplyCB):
11676 * lyxfunc.C (dispatch):
11680 * lyx_cb.C (AutoSave):
11682 * BufferView_pimpl.C (MenuInsertLyXFile):
11683 * buffer.C (runChktex): use Buffer::filePath().
11685 * buffer.h: rename filename to filename_; rename filepath to
11686 filepath_ and make it private
11687 (filePath): new method
11689 * buffer.C (writeFile): use fileName()
11692 * lyx_main.C (init): fix starting of LyX when the binary is a
11693 link from so,ewhere else.
11695 * minibuffer.C: include <cctype> for isprint
11697 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11699 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11700 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11701 name clash with InsetCollapsable's width function.
11703 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11705 * lastfiles.C: include <iterator>
11707 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11709 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11712 * buffer.C (makeLaTeXFile): ditto.
11713 Also make loop operation more transparent.
11715 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11717 * ToolbarDefaults.C: remove trailing comma closing namespace.
11719 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11721 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11724 * trans.C (Load): comment out unused variable, allowed.
11726 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11728 * minibuffer.[Ch] (append_char): new method to recieve input from the
11729 drop-down completion browser. If a key was pressed, then recieve this
11730 char and append it to the existing string.
11731 (peek_event): modify the positioning data passed to the completion
11732 browser so that it can be placed above the minibuffer rather than below.
11733 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11735 * LyXAction.C (init): alloe error-next for readonly documents.
11737 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11740 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11742 * bufferlist.C (readFile): create the buffer _after_ checking that
11745 * lyxfunc.C (verboseDispatch): fix handling of arguments
11747 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11749 * lyxrc.C: use string::erase() instead of initializing to "".
11752 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11754 * BufferView_pimpl.h:
11755 * BufferView_pimpl.C:
11758 * text2.C: tell X when we have made a selection for copying
11760 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11762 * BufferView_pimpl.C (MenuInsertLyXFile):
11763 * lyxfunc.C (menuNew):
11765 (doImport): add shortcuts to directory buttons
11767 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11770 * lyxfunc.C (setStatusMessage):
11771 (getStatusMessage): new methods
11772 (getStatus):use setStatusMessage instead of setErrorMessage
11773 (dispatch): when function is disabled, set error message here
11774 [instead of in getStatus previously]
11776 * BufferView_pimpl.C (workAreaButtonRelease): update
11777 toolbar/menubar here too.
11779 2002-01-13 Allan Rae <rae@lyx.org>
11781 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11782 Now seems indestructible. Remaining task is to audit all other
11783 code affected by deleteEmptyParagraphMechanism. One small quirk
11784 left is that an empty document with an error in the preamble can
11785 be made to report an error but no error box appears. I don't know
11787 (removeAutoInsets): Improved comments.
11789 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11792 * Thesaurus.C: update for Aiksaurus 0.14
11794 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11796 * text2.C (firstParagraph): removed member function, all uses
11797 replaces with ownerParagraph
11798 (redoParagraphs): here
11799 (updateInset): here
11800 (toggleAppendix): here
11801 * BufferView2.C (insertErrors): here
11802 (setCursorFromRow): here
11804 2002-01-13 Allan Rae <rae@lyx.org>
11806 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11807 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11808 There is still a way to segfault this although you may have to do this
11809 multiple times: Have an InsetERT with an unknown command in it.
11810 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11811 <down-arrow>, <Enter> again, View->DVI, BANG!
11813 * text2.C (setCursor):
11814 (deleteEmptyParagraphMechanism):
11815 * lyxtext.h (setCursor):
11816 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11817 Making use of the return value may help fix other bugs.
11819 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11821 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11823 * LyXView.C (updateMenubar): call MenuBar::update here
11824 (updateToolbar): but not here
11825 (showState): do not update toolbar/menubar
11827 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11828 should need to care about that.
11830 * lyxfunc.C (verboseDispatch): simplify a bit
11831 (getStatus): have a version which takes a pseudoaction, and
11832 another which requires a (kb_action,string).
11834 * LyXAction.C (retrieveActionArg): make it work also when action
11835 is not a pseudo-action.
11836 (getActionName): simplify a bit
11839 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11841 * lyxfunc.C (verboseDispatch): new families of methods with
11842 several ways to specify a command and a bool to indicate whether
11843 the command name and shortcut should be displayed in minibuffer
11844 (eventually, we could extend that to a finer bitmask like
11845 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11846 (dispatch): the pristine dispatch command which just, well,
11847 dispatchs! Note it still sets its result to minibuffer; I'm not
11850 * lyxfunc.h: remove setHintMessage
11852 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11854 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11856 * BufferView_pimpl.C (specialChar): delete new inset if we have
11857 not been able to insert it.
11859 * kbmap.C: revert to using int instead of kb_action, since all we
11860 are dealing with is pseudo-actions.
11862 * LyXAction.C (searchActionArg): change to return int instead of
11863 kb_action, since the result is a pseudoaction.
11865 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11867 * buffer.C (insertErtContents): Fix (partially) the font bug.
11869 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11871 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11872 as the other one is broken on my machine!
11874 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11877 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11879 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11881 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11882 reflect their actual use. Provide compatibility code for older lyxrc
11885 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11887 change names of popup font variables in line with the changes to lyxrc.C
11889 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11891 * buffer.C (asciiParagraph): avoid outputing a word twice after
11894 * lyxrc.C (getDescription): document that document_path and
11895 template_path can be empty.
11897 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11899 * LaTeXFeatures.C (getMacros):
11900 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11902 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11904 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11906 (getPackages): rename feature "floats" to "float". Use an array to
11907 iterate over 'simple' features (i.e. just a \usepackage). Add
11908 handling of "amsmath" (renamed from "amsstyle").
11910 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11912 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11915 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11917 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11918 FuncStaus::FuncStatus & FuncStaus::some_method().
11920 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11922 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11923 of the func_satus stuff. Edited and massaged in various ways by
11926 * lyxfunc.C (getStatus): use FuncStatus
11928 2002-01-08 Juergen Vigna <jug@sad.it>
11930 * text.C (nextBreakPoint): use function Inset::isChar().
11932 * paragraph.C (TeXOnePar): use function
11933 Inset::forceDefaultParagraphs.
11935 * buffer.C (latexParagraphs): use function
11936 Inset::forceDefaultParagraphs.
11938 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11940 * lyx_gui.C (init): set the style of the menu popups to
11941 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11943 2002-01-07 Juergen Vigna <jug@sad.it>
11945 * text.C (setHeightOfRow): small fix
11946 (prepareToPrint): don't look at alignment if we don't have the place
11949 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11951 * box.C: New file. Move the Box methods and functions out of box.h,
11952 following Lars' suggestion.
11954 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11956 * box.h: #include "support/LOstream.h", needed for inlined function.
11959 * lyxtextclasslist.C: added some using std declarations.
11961 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11963 * box.h: make signed dimensions to allow insets wider than
11964 the screen (bug #162)
11966 * BufferView_pimpl.C: add some insetHit debug
11968 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11970 * vc-backend.C: add FIXME
11972 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11974 * lyxfunc.C (getStatus): enable code for showing math font status
11977 2002-01-07 Juergen Vigna <jug@sad.it>
11979 * text.C (nextBreakPoint): removed debug output not needed anymore.
11981 2002-01-06 Juergen Vigna <jug@sad.it>
11983 * text.C (nextBreakPoint): fixed up this function we had this bug
11984 since ever but now hopefully we break row better.
11985 (insertChar): we have to check if an inset is the next char as it
11986 could now happen that a large inset is causing a break.
11988 2002-01-05 Juergen Vigna <jug@sad.it>
11990 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11991 if it doesn't like to be drawed.
11993 2002-01-04 Juergen Vigna <jug@sad.it>
11995 * BufferView2.C (lockInset): forgot to set a cursor.
11997 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11999 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12001 * FormMathsPanel.C:
12004 * form_maths_panel.C:
12005 * form_maths_panel.h:
12006 * form_maths_panel.fd: implemented sub- and super- buttons in math
12009 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12010 (or ^ space) to be used as in TeX (req'd by André).
12012 * lyxfunc.C: Allow ^ and _ again to be used both as
12013 super/subscript (mathed) and as themselves (in text).
12015 2002-01-03 Allan Rae <rae@lyx.org>
12017 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12018 "LyX" or the filename of the current buffer if it has one. This is a
12019 modified form of John Levon's patch.
12021 * XFormsView.C (setWindowTitle): also set icon title.
12023 * LyXView.h (setWindowTitle): signature changed.
12024 * XFormsView.h (setWindowTitle): ditto.
12026 2002-01-02 Juergen Vigna <jug@sad.it>
12028 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12030 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12032 * screen.C (topCursorVisible): introduce a temp var for
12033 text->cursor.row(), handle the case where this row is null. (kindo
12036 * text2.C (setCursor): add a couple of asserts.
12038 * paragraph.h (inset_iterator): add -> operator
12040 * paragraph.[Ch] (autoDeleteInsets): remove member function
12042 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12043 cursor pos correctly and handle inset deletion by itself.
12044 (insertErrors): move iterator declaration out of for expression
12046 * lyxtextclass.C: add <algorithm>
12048 * Makefile.am: added the new files to sources, removed layout.C
12050 * layout.C: removed file
12052 * layout.h: remove LYX_DUMMY_LAYOUT
12054 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12058 * lyxtextclass.[Ch]:
12059 * lyxtextclasslist.[Ch]: new files
12061 * include order changes to a lot of files, also changes because of
12064 2001-12-27 Juergen Vigna <jug@sad.it>
12066 * buffer.C (asciiParagraph): more fixes.
12068 * tabular.C (ascii): make ascii export support export of only the
12069 data separated by a column-delimiter.
12070 (ascii): better support for ascii export.
12072 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12074 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12076 * tabular_funcs.C: use a "using std::getline" instead of the
12077 previous fix from Angus (necessary for cxx + lyxstring)
12079 2001-12-24 Juergen Vigna <jug@sad.it>
12081 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12083 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12084 problems. First check a minipage also if we have some ert-contents
12085 (not only on par->size(), second set the right depth of the paragraph
12086 on the relink to the root-paragraph-list!
12088 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12089 which then did not anymore update the main paragraphs on undo/redo!
12091 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12093 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12094 code. Support all font-changing funcs (even those which are not in
12095 menu currently). Support for reporting font settings in
12096 mathed (disabled until Andre provides a function on mathed's side).
12098 * func_status.h (toggle): small helper function to set toggle
12101 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12103 * tabular_funcs.C: getline -> std::getline
12105 2001-12-21 Juergen Vigna <jug@sad.it>
12107 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12108 accessed and could be 0 (I couldn't generate this but it seems
12111 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12113 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12114 * tabular_funcs.h: here and include iosfwd
12116 2001-12-20 Juergen Vigna <jug@sad.it>
12118 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12119 inside inset but undo_par was.
12121 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12123 * Thesaurus.C: always include <config.h> in sources.
12127 * box.h: do not include <config.h> in header files
12129 * text.C (paintLastRow): remove unused variable
12131 * text.C (transformChar):
12133 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12135 * Painter.C (text):
12136 * font.C (width): rewrite to use uppercase() instead of
12139 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12141 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12143 * lyxfind.C: clean up of find failure position change
12145 2001-12-20 Juergen Vigna <jug@sad.it>
12147 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12149 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12150 (TeXRow): added to LaTeX a single tabular row.
12151 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12152 (Latex): simplified and finally good LT-h/f support.
12153 (various_functions): just small adaptions for LT-h/f support.
12155 * tabular_funcs.[hC]: added and moved here all not classfunctions
12158 2001-12-19 Juergen Vigna <jug@sad.it>
12160 * tabular.[Ch]: better support for longtabular options (not finished
12163 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12165 * text.C (paintLastRow): use the label font instead of the font of
12166 the last character to compute the size of *_BOX. This makes more
12167 sense and avoids a crash with empty paragraphs.
12168 Use Painter::rectangle to draw EMPTY_BOX.
12170 2001-12-19 Juergen Vigna <jug@sad.it>
12172 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12173 the paragraphs if the replaced paragraph is not the first one!
12174 Tried to delete not used paragraphs but does not work yet so for
12175 now it's inside #ifdef's and by default off!
12177 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12179 * MenuBackend.C: include "lyx_main.h" instead of declaring
12180 lastfiles (actually was declared as LastFiles* instead of a
12183 2001-12-17 Juergen Vigna <jug@sad.it>
12185 * tabular.C (AppendColumn): applied John's fix
12187 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12191 * BufferView_pimpl.h:
12192 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12195 * box.h: new start of class for above
12197 * lyxfunc.C: ignore space-only minibuffer dispatches.
12198 Show the command name when it doesn't exist
12200 * minibuffer.C: don't add empty lines to the history
12202 * minibuffer.C: add a space on dropdown completion
12204 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12206 * text.C: fix line above/below drawing in insets
12208 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12210 * lyxlength.C (LyXLength): Initialize private variables.
12212 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12214 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12215 when inserting error insets.
12217 2001-12-13 Juergen Vigna <jug@sad.it>
12219 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12220 actually sometimes the before-paragraph.
12221 (setUndo): don't clear the redostack if we're not actually undoing!
12223 2001-12-06 Juergen Vigna <jug@sad.it>
12225 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12226 and fixed redoing of main paragraph, so we can use it now ;)
12228 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12230 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12232 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12235 2001-12-13 André Pönitz <poenitz@gmx.net>
12238 * undo_func.C: minor cleanup
12240 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12242 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12243 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12244 font in urw-fonts package which is marked as -urw-fontspecific and
12245 does not work (incidentally, changing the encoding in the
12246 fonts.dir of this package to -adobe-fontspecific fixes the
12249 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12250 is a crash when undoing first paragraph (Juergen, please take a
12251 look). THis does not mean the undo fix is wrong, just that it
12254 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12255 the (Paragraph*) version when needed instead of duplicating the
12258 * text.C (workWidth): use Inset::parOwner to find out where the
12259 inset has been inserted. This is a huge performance gain for large
12260 documents with lots of insets. If Inset::parOwner is not set, fall
12261 back on the brute force method
12263 * paragraph_pimpl.C (insertInset):
12264 * paragraph.C (Paragraph):
12265 (cutIntoMinibuffer): set parOwner of insets when
12266 inserting/removing them
12268 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12270 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12276 * mathed/formulabase.C:
12277 * mathed/math_cursor.[Ch]:
12278 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12281 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12283 * lyxlength.[Ch] (operator!=): new function
12285 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12287 * text.C (workWidth): use Inset::parOwner to find out where the
12288 inset has been inserted. This is a huge performance gain for large
12289 documents with lots of insets. If Inset::parOwner is not set, fall
12290 back on the brute force method
12292 * paragraph_pimpl.C (insertInset):
12293 * paragraph.C (Paragraph):
12294 (cutIntoMinibuffer): set parOwner of insets when
12295 inserting/removing them
12297 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12299 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12301 * tabular-old.C (getTokenValue):
12302 * tabular.C (getTokenValue):
12303 (write_attribute): new versions for LyXLength
12304 (everywhere): adjust the use of widths
12306 * tabular.h: change the type of widths from string to LyXLength
12308 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12310 * paragraph.C: fixed missing line number count when exporting
12311 Environments to LaTeX file
12313 * buffer.C: added informational message for checking line numbers.
12315 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12317 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12318 paragraph, do the 'double space' part, but not the 'empty
12321 * text.C (workWidth): small optimization
12322 (getLengthMarkerHeight): use minimal size for negative lengths.
12324 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12326 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12328 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12330 2001-12-11 André Pönitz <poenitz@gmx.net>
12333 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12335 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12337 * text2.C: keep selection on a setFont()
12339 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12341 * lyx_cb.C: another bv->text misuse, from insert label
12343 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12346 * kbsequence.C: re-instate nmodifier mask
12348 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12350 * lyx_main.h: make lyxGUI private.
12352 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12354 * lyxfind.C: place the cursor correctly on failed search
12356 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12358 * text.C (getLengthMarkerHeight): for small heights, the arrows
12359 are not always on top/bottom of the text
12360 (drawLengthMarker): smaller arrows; take the left margin in
12361 account; draw also vfills.
12363 (paintLastRow): remove special code for vfill and standard spaces,
12364 since everything is handled in drawLengthMarker now.
12366 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12368 * buffer.C (insertErtContents): try to handle font and language
12369 interaction a bit better.g
12371 * ColorHandler.C (updateColor): change the hash to cover the whole
12372 LColor enum, ws cleanup
12373 (getGCLinepars): ditto
12374 (getGCLinepars): only lookup in the linecache once.
12376 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12378 * iterators.C (operator++): Make the iterator more robust
12380 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12382 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12384 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12387 * text.C: better added space drawing
12389 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12392 * BufferView2.C: fix layout combo update on inset unlock
12394 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12396 * Makefile.am: don't compile unused files
12398 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12402 * LyXAction.C: remove old LFUN_LAYOUTNO
12404 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12406 * paragraph_pimpl.h:
12407 * paragraph_pimpl.C: isTextAt() doesn't need font param
12409 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12412 * lyxlex.C: little cleanup
12414 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12416 * BufferView_pimpl.C: fix insertAscii for insets
12418 2001-12-05 Juergen Vigna <jug@sad.it>
12420 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12421 set the right font on the "multi" paragraph paste!
12423 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12429 * lyxlength.C: remove out-commented code.
12431 * BufferView_pimpl:
12445 * vc-backend.C: change "while(" to "while ("
12447 * lyxlength.[Ch]: add zero function to check if length is zero or
12449 * lyxgluelength.C: use it
12451 2001-12-05 Allan Rae <rae@lyx.org>
12453 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12454 Works for 2.95.3, from what I understand of Garst's reports this should
12455 work for other g++ versions. We're screwed if the abs(int) definition
12456 changed between bugfix releases of gcc.
12458 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12460 * text.C: fix chapter label offset !
12462 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12465 * text.C: fix hfill at end of line, clean up
12467 2001-12-04 Juergen Vigna <jug@sad.it>
12469 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12470 that we force an update of the inset and it's owners if neccessary.
12472 2001-12-03 Juergen Vigna <jug@sad.it>
12474 * text.C (rowLast): simplified code
12476 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12478 * lyxfunc.C: fix show options on timeout
12480 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12482 * screen.C (topCursorVisible): scroll half a page when the cursor
12483 reached top of bottom of screen
12485 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12487 * minibuffer.C: deactivate on loss of focus
12489 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12491 * vspace.[Ch] (operator!=): add operator.
12493 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12495 * BufferView_pimpl.C: refuse to open an inset when
12496 there's a selection.
12498 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12500 * BufferView_pimpl.C: allow to click on RHS of full row insets
12502 2001-11-30 Juergen Vigna <jug@sad.it>
12504 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12505 insets for undo reasons.
12507 2001-11-28 André Pönitz <poenitz@gmx.net>
12509 * vspace.[Ch]: cosmetical changes
12511 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12521 * kbsequence.C: part re-write of old kb code
12524 * WorkArea.C: remove Lgb_bug_find_hack
12526 2001-11-30 José Matos <jamatos@fep.up.pt>
12528 * buffer.C (makeDocBookFile): add a comment to point a hack.
12529 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12530 Fixed a double write of labels.
12532 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12535 * LaTeX.h Fixed bug in LaTeX class where it would not
12536 re-run latex if no depfiles were changed, but the .dvi was removed.
12538 2001-11-28 André Pönitz <poenitz@gmx.net>
12540 * all the files from the change on 2001/11/26:
12541 use lyx::layout_type instead of LyXTextClass::size_type
12542 use lyx::textclass_type instead of LyXTextClassList::size_type
12544 2001-11-29 Juergen Vigna <jug@sad.it>
12546 * text.C: added support for paragraph::isFreeSpacing()
12548 * buffer.C: same as above
12550 * paragraph.h: inserted isFreeSpacing() function to enable
12551 FreeSpacing inside InsetERT.
12553 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12554 of the paragraph's in the cut/copy buffer to 0!
12556 * text2.C (removeRow): remove the assert as it can!
12558 * lyxtext.h: added helper function firstRow returning firstrow and
12559 made firstrow private again.
12561 * BufferView2.C (lockInset): don't relock if we're already locked!
12563 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12564 the only paragraph.
12565 (removeRow): added Assert::(firstrow)
12567 * debug.C: forgot to add INSETTEXT here.
12569 2001-11-28 Juergen Vigna <jug@sad.it>
12571 * sp_spell.C (initialize): changed error text to more general
12572 spellchecker command use (not only ispell!)
12574 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12576 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12578 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12580 * vspace.C: initialise lyxgluelength on failure
12582 2001-11-28 Allan Rae <rae@lyx.org>
12584 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12585 declaration & definition that looks like a function declaration.
12587 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12589 * BufferView2.C (copy):
12590 (copyEnvironment): do not clear the selection when doing a copy.
12592 * text.C (paintFirstRow): compilation fix
12594 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12596 * tabular.C (Latex): correct line count when writing latex.
12598 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12600 * paragraph_pimpl.h:
12601 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12604 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12608 * LColor.C: change vfillline->added_space
12610 * text.C: add markers and text for added space
12612 * vspace.C: fix comment
12614 2001-11-28 André Pönitz <poenitz@gmx.net>
12616 * paragraph.C: whitespace changes
12617 * all the other files from the change on 2001/11/26:
12618 change *::pos_type into lyx::pos_type
12620 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12622 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12623 language of the document when inserting error insets.
12625 2001-11-26 André Pönitz <poenitz@gmx.net>
12627 * BufferView_pimpl.[Ch]:
12635 * paragraph_pimpl.[Ch]:
12638 * text2.C: reduce header dependencies, introduce type for positions
12640 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12642 * <various>: change to use Alert.h
12644 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12646 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12647 when encountering an unknown token.
12648 (readLyXformat2): Show an error message if there were unknown tokens.
12650 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12653 * BufferView_pimpl.C:
12657 * text2.C: use par->isInset()
12659 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12661 * paragraph_pimpl.h:
12662 * paragraph_pimpl.C: cleanup
12664 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12666 * text2.C (removeRow):
12667 * text.C (setHeightOfRow): remove useless (and costly) call to
12670 2001-11-20 Allan Rae <rae@lyx.org>
12672 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12673 Now need Inset*::checkInsertChar() to return true for appropriate
12674 cases so that the characters in the minibuffer will actually be
12677 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12679 * text.C: change the order of the includes.
12680 (workWidth): initialize it at once.
12681 (workWidth): make maxw unsigned
12682 (setHeightOfRow): remove unused variable (inset)
12683 (selectSelectedWord): remove unused variable (inset)
12684 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12686 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12688 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12689 server is not running.
12691 (closeConnection): add debug info when server is disabled.
12693 * ColorHandler.C (getGCForeground): send debug message to GUI
12696 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12698 * kbmap.C (bind): modify because return conventions of
12699 kb_sequence::parse have changed.
12701 * kbsequence.C (parse): only ignore spaces and not any stupid
12702 control character. This avoids tests like s[i] <= ' ', which are
12703 guaranteed to fail with 8bit characters and signed chars.
12704 Change return code to string::npos when there have been no error
12705 (0 was a bad idea when error is at first character)
12707 2001-11-14 José Matos <jamatos@fep.up.pt>
12710 * buffer.C (simpleDocBookOnePar): removed unused argument.
12712 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12714 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12715 insets which are part of a word. Paragraph::isLetter takes care of
12716 that now. Use Paragraph::isInset to identify insets.
12717 (selectSelectedWord): do not test for hyphenation break.
12719 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12720 that protected spaces are considered as spaces.
12722 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12725 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12728 * lyxserver.C: fix it. and small cleanup.
12730 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12732 * BufferView_pimpl.C: use inline helpers
12735 * LaTeXFeatures.C: fix typos
12738 * Spacing.C: move spacing_string into class
12740 * ToolbarDefaults.C: move stuff into namespace anon
12742 * layout.h: update enum
12744 * lyxfunc.C: use better debug
12746 * minibuffer.h: fix typo
12750 * WorkArea.C: add and use Debug::WORKAREA
12754 * text2.C: code re-organisation, inline helpers
12756 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12758 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12759 std::vector.empty().
12761 2001-11-09 Allan Rae <rae@lyx.org>
12763 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12764 '\n's after tables. Tabular and ERT inset work now makes this no
12767 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12770 * minibuffer.C: fix crash, improve drop-down completion
12772 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12775 * lyxserver.C: invalidate fd's when doing endPipe()
12777 2001-11-08 José Matos <jamatos@fep.up.pt>
12779 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12780 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12783 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12785 2001-11-07 José Matos <jamatos@fep.up.pt>
12788 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12791 * buffer.C (sgmlOpenTag):
12792 * buffer.C (sgmlCloseTag): removed debug info.
12794 * buffer.h (sgmlOpenTag):
12795 * buffer.h (sgmlCloseTag): made public.
12797 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12799 * buffer.C (saveParamsAsDefaults):
12800 * lyx_cb.C (MenuLayoutSave): remove
12802 * LyXAction.C (init):
12804 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12806 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12808 * buffer.C (setPaperStuff): removed from here...
12810 * bufferparams.C (setPaperStuff): ... and moved there.
12812 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12816 * XFormsView.C: add support for drop-down completion
12818 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12820 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12823 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12825 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12828 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12830 * lyx_main.C: change ref to known bugs
12832 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12834 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12835 to work around older babel problems.
12837 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12839 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12841 2001-10-24 Juergen Vigna <jug@sad.it>
12843 * tabular-old.C (ReadOld): below variable changes reflected.
12845 * tabular.[Ch]: added ltType struct for longtable header/footer
12846 defines and changed all instances where they are used. Added
12847 future support for double top/bottom rows.
12849 2001-10-24 José Matos <jamatos@fep.up.pt>
12851 * buffer.h (docbookHandleCaption):
12852 * buffer.C (docbookHandleCaption): removed unused function.
12853 (makeDocBookFile): moved docbook supported version to v4.1.
12855 2001-10-24 José Matos <jamatos@fep.up.pt>
12858 * tabular.C (docbookRow): new function to export docbook code of a row.
12859 (DocBook): now honors the longtable flags.
12861 2001-10-23 José Matos <jamatos@fep.up.pt>
12864 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12865 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12867 * buffer.C (makeLinuxDocFile):
12868 (makeDocBookFile): reworked the preamble, more clean, and with
12869 support for lyx defined entities. Changed the document declaration
12870 to be more XML friendly.
12872 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12873 if we need to output XML that should be done with a filter.
12875 2001-10-22 Juergen Vigna <jug@sad.it>
12877 * sp_pspell.h (class PSpell): add alive function needed in the
12878 controller to see if the spellchecker could be started.
12880 2001-10-22 Juergen Vigna <jug@sad.it>
12882 * buffer.C (insertStringAsLines): modify the font for inserting
12883 chars in certain conditions by calling checkInsertChar(font).
12885 2001-10-19 Juergen Vigna <jug@sad.it>
12887 * text.C (workWidth): use getRow instead of wrong algorithm.
12888 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12890 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12895 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12897 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12899 * text.C (workWidth): do not search for the exact row when
12900 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12901 optimization for big documents.
12903 2001-10-18 Juergen Vigna <jug@sad.it>
12905 * text.C (workWidth): new function with added Inset * parameter.
12907 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12909 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12911 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12912 change return type of getColumnNearX.
12915 * text.C (changeRegionCase): use uppercase/lowercase instead of
12918 (rightMargin): simplify code by factoring out the uses of
12923 (appendParagraph): use Paragraph::size_type
12925 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12927 * vspace.C (asLatexString): add a missing break
12929 2001-10-15 Herbert Voss <voss@perce.de>
12931 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12933 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12935 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12938 2001-10-10 André Pönitz <poenitz@gmx.net>
12940 * lyxfunc.C: removed greek_kb_flag.
12942 2001-10-10 Herbert Voss <voss@perce.de>
12944 * lyx_main.C: delete global string help_lyxdir.
12946 2001-10-09 Herbert Voss <voss@perce.de>
12948 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12950 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12952 * lyx_main.C: added global string help_lyxdir.
12954 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12956 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12958 * lyxrc.C (set_font_norm_type): support iso8859-4
12960 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12962 * LaTeX.C (deplog): add another regex for MikTeX
12964 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12966 * lyxrc.C (set_font_norm_type): support iso8859-3
12968 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12970 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12972 * LaTeXFeatures.C: remove special case of french and index
12974 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12975 before \begin{document}). This solves several incompatibilities.
12977 2001-10-03 Garst Reese <reese@isn.net>
12979 * lyx_cb.C: change CheckTex error msg.
12981 2001-10-03 José Matos <jamatos@fep.up.pt>
12983 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12985 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12987 * .cvsignore: update
12989 * lyx_main.C (commandLineVersionInfo): use new style version info.
12991 * buffer.C (writeFile):
12993 (makeLinuxDocFile):
12994 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12996 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12998 * version.h: update to use stuff in version.C
13000 * version.C.in: new file. Contains version information determined
13001 at compile time. This is a merging of version.h and
13004 2001-10-03 Juergen Vigna <jug@sad.it>
13006 * BufferView_pimpl.C (update): don't change "dirty" status in
13009 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13011 * WorkArea.C (c-tor): re-position version string slightly.
13013 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13015 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13016 revert to previous code.
13018 WorkArea.[Ch]: (show, destroySplash): methods removed.
13020 WorkArea.C: rework code so that it's an amalgam of the codes before and
13021 after the splash screen was moved to WorkArea.
13023 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13026 * vspace.C (inPixels):
13029 * buffer.C (insertStringAsLines):
13030 (asciiParagraph): fix types to be large enough
13032 * lyxlex_pimpl.h: change member status from short to int
13034 * layout.h: fix type of endlabeltype
13037 * kbsequence.C (parse): change return type to string::size_type
13039 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13042 * Bullet.C (bulletSize):
13043 (bulletEntry): do not use short ints as parameters
13045 * BufferView2.C (insertLyXFile): change a char to an int.
13047 * WorkArea.C (WorkArea): remove unneeded floats in computation
13049 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13051 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13053 * paragraph.C (asString): Do not ignore newline/hfill chars when
13054 copying to the clipboard.
13056 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13058 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13059 after a multi-line inset.
13061 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13063 * paragraph.C (validate): Set NeedLyXFootnoteCode
13065 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13067 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13068 and decrease-error to decrease.
13070 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13072 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13073 it more readable (should be equivalent)
13075 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13077 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13079 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13081 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13082 of a cursor (row, etc.) after a character has been deleted
13083 (deleteEmptyParagraphMechanism): call the method above on _all_
13084 cursors held by the LyXText when a double space has been
13087 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13089 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13091 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13093 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13094 background. Use greyOut() and the new show() methods to toggle between
13095 the foreground and background. Add code to remove the splash after
13096 its initial showing.
13098 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13099 (create_forms): no longer call Dialogs::showSplash.
13101 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13103 * .cvsignore: add version_info.h
13105 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13107 * version_info.h.in: new file
13109 * Makefile.am: add version_info.h.in
13111 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13112 version_info.h instead of VERSION_INFO
13114 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13116 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13117 The ERT inset now returns string().
13119 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13121 * lyxtext.h, text.C (selectNextWord): renamed as
13122 selectNextWordToSpellcheck.
13124 * text.C (selectNextWordToSpellcheck): Modified to not select
13125 words inside an ERT inset.
13127 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13129 * lyx_cb.C (MenuLayoutSave): change a bit the question
13131 * sp_base.h: include <sys/types.h>
13133 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13135 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13137 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13139 * several files: fix typos in user-visible strings
13141 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13143 * text2.C (pasteSelection): do not set the selection, since it
13144 will be cleared later. Actually, the intent was to fix the way the
13145 selection was set, but I figured rmoving the code was just as good.
13147 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13149 * FontLoader.C (available): Check if font is available without
13152 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13154 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13156 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13158 * lyxrc.[Ch]: added display_graphics variable and associated code.
13160 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13162 * bufferparams.C (hasClassDefaults): new method. Returns true if
13163 the buffer parameters correspond to known class defaults
13165 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13167 * XFormsView.C (show): set minimum size to the main window.
13169 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13171 * text2.C (copySelection):
13173 * lyxfind.C (LyXReplace):
13174 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13175 LyXText::selectionAsString.
13177 * paragraph.C (asString): add "label" argument to the second form
13179 * text2.C (selectionAsString): add "label" argument and pass it to
13180 Paragraph::asString.
13182 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13184 * lyx_main.C (commandLineHelp): remove version information
13186 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13188 * lyx_main.C: add -version commandline option
13190 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13192 * paragraph.h: make the optional constructor arg required instead.
13193 some modifications to other files because of this.
13195 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13197 * lyxserver.C (C_LyXComm_callback): make it static
13199 * lyx_main.C (error_handler): make it static
13201 * lyx_gui.C (LyX_XErrHandler): make it static
13203 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13205 * WorkArea.C: make the extern "C" methods static.
13207 * Makefile.am (lyx_LDADD): simplify
13209 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13211 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13212 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13214 * LyXAction.C (init):
13215 * lyxfunc.C (dispatch): associated code removal.
13217 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13219 * lyxfont.h (isSymbolFont): shut off warning
13221 * text.C (setHeightOfRow):
13222 (getVisibleRow): fix crash with empty paragraphs which have a
13225 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13227 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13230 2001-09-04 José Matos <jamatos@fep.up.pt>
13233 * tabular.C (docbook): rename docBook method to docbook.
13235 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13237 * Makefile.am: add dependencies to main.o.
13239 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13241 * FontLoader.C (available): Return false if !lyxrc.use_gui
13243 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13245 * FontInfo.C (query):
13246 * converter.C (view):
13247 * importer.C (Import):
13248 * exporter.C (Export): Can not -> cannot.
13250 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13252 * BufferView_pimpl.C: allow to create index inset even if
13255 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13257 * buffer.C (getLists): replace boost::tie code with an explicit pair
13258 as boost::tie can break some compilers.
13260 * iterators.h: Added a std:: declaration to the return type of
13263 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13265 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13268 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13270 * iterators.[Ch]: New files. Provide paragraph iterators.
13272 * buffer.C (changeLanguage): Use paragraph iterators.
13273 (isMultiLingual): ditto
13275 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13277 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13279 * FontLoader.C: Support for cmr font.
13281 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13283 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13284 (available): New method.
13286 * FontInfo.C (getFontname): Use scalable fonts even when
13287 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13290 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13292 * converter.C (Formats::view): reverted! Incorrect fix.
13294 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13296 * converter.C (Formats::view): only output the -paper option
13297 if the dvi viewer is xdvi, thereby fixing bug #233429.
13299 2001-08-23 Herbert Voss <voss@perce>
13301 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13303 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13305 * Spacing.h (Spacing): Set space to Default on in the default
13308 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13310 * vc-backend.h (RCS::versionString): add RCS to version
13311 (CVS::versionString): add CVS to version
13313 * vc-backend.C (scanMaster): do not add CVS to version.
13314 (scanMaster): do not add RCS to version
13316 * lyxvc.C (versionString): new method
13318 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13320 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13322 * Spacing.C (set): initialize fval
13324 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13326 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13329 2001-08-16 Juergen Vigna <jug@sad.it>
13331 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13333 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13335 * BufferView_pimpl.C:
13338 * text2.C: setParagraph takes linespacing now
13340 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13342 * LyxAction.C: add internal LFUN_CITATION_INSERT
13344 * LyXView.C: actually apply fix
13346 * bufferlist.C: fix open non-existent file
13348 * lyxfind.C: fix indentation
13350 * lyxfunc.C: remove unneeded assert, fix typo
13352 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13354 * MenuBackend.C: use "Floatname List"
13356 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13358 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13359 when converting LaTeX layout to insetERT.
13360 Generate a non-collapsed float when reading old float
13362 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13364 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13367 2001-08-13 Juergen Vigna <jug@sad.it>
13369 * text.C (fill): return 0 instead of 20 as this seems to be the more
13372 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13374 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13377 2001-08-13 Juergen Vigna <jug@sad.it>
13379 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13381 (SearchBackward): comment out the unlocking of the inset_owner this
13382 should not be needed!
13384 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13386 * Many files: Remove inherit_language, and add latex_language
13388 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13389 collapsible insets.
13391 2001-08-10 Juergen Vigna <jug@sad.it>
13393 * text.C (prepareToPrint): fixed hfill-width in draw!
13395 * BufferView2.C (selectLastWord): save the selection cursor as this
13396 now is cleared in the function LyXText::clearSelection!
13398 2001-08-08 Juergen Vigna <jug@sad.it>
13400 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13401 BACKSPACE type functions.
13403 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13404 is only cutted from the document but not put in the cut-buffer, where
13405 still the old stuff should be.
13407 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13409 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13411 * tabular.C (SetWidthOfCell): fixed special case where the width
13413 (LeftLine): handle '|' in align_special.
13415 (LeftAlreadyDrawed): ditto
13416 (SetWidthOfCell): ditto
13418 2001-08-07 Juergen Vigna <jug@sad.it>
13420 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13422 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13424 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13425 * lyxlex.[hC]: ditto
13427 2001-08-06 Juergen Vigna <jug@sad.it>
13429 * text.C (getVisibleRow): fix up row clearing a bit.
13431 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13433 * minibuffer.C: make sure the X server sees the changes in the input.
13435 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13437 * paragraph.C (getFont): split into...
13438 (getLabelFont): this
13439 (getLayoutFont): and this
13440 * paragraph_pimpl.C (realizeFont): calling this
13442 * text2.C (getFont): split into...
13443 (getLayoutFont): this
13444 (getLabelFont): and this
13445 (realizeFont): all three calling this
13447 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13450 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13452 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13454 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13456 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13457 layouts from the Quote inset insertion.
13459 2001-08-03 Juergen Vigna <jug@sad.it>
13461 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13463 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13464 only if status not is already CHANGED_IN_DRAW (second level).
13466 * text.C (draw): don't set the need_break_row when inside an
13469 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13471 * buffer.C (parseSingleLyXformat2Token): handle more latex
13474 * bufferview_funcs.[hC]: change function names to
13475 begin with small char, adjust other files.
13477 2001-08-02 André Pönitz <poenitz@gmx.net>
13480 BufferView_pimpl.C: remove broken special code for math-greek
13482 2001-08-02 Juergen Vigna <jug@sad.it>
13484 * BufferView_pimpl.C (update): redone this function so that we
13485 update the text again if there was a CHANGE_IN_DRAW.
13487 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13488 (drawFromTo): added a new internal bool which is used by draw() and
13490 (general): some cursor drawing problems fixed.
13492 2001-08-01 Juergen Vigna <jug@sad.it>
13494 * lyxfind.C (LyXFind): fixed
13495 (SearchForward): ditto
13496 (SearchBackward): ditto
13498 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13499 spurius drawing of the cursor in the main area.
13501 * text2.C (status): small fix which could lead to a segfault!
13502 (clearSelection): remove unneeded BufferView param.
13504 2001-08-01 André Pönitz <poenitz@gmx.net>
13506 * lyxfunc.C: small change due to changed mathed interface
13508 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13510 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13512 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13514 * lyxfunc.c: fail gracefully if file doesn't exist
13519 * BufferView_pimpl.C: IsDirWriteable() proto changed
13521 * LyXView.C: fix updateWindowTitle() to store the last title
13523 2001-07-31 Juergen Vigna <jug@sad.it>
13525 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13526 the font (wrong since using of Paragraph::highestFontInRange).
13528 * paragraph.C (highestFontInRange): added a default_size parameter.
13530 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13531 (setHeightOfRow): reformat
13533 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13535 * converter.[hC] + affected files: move to (inital-char)lowercase
13538 * ParagraphParameters.C (ParagraphParameters): remove commented code
13540 * PainterBase.[Ch]: remove commented code
13542 * LaTeXFeatures.h: add "bool floats" for float.sty
13544 * LaTeXFeatures.C (LaTeXFeatures): init floats
13545 (require): handle float
13546 (getPackages): do it with floats
13548 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13550 * BufferView_pimpl.C (Dispatch): improve handling of
13551 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13553 * commandtags.h: #include lyxfont.h here temporarily to avoid
13556 * bufferlist.h: include LString.h here.
13558 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13560 * text2.C (getStringToIndex): new method.
13562 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13564 * *: Reduced header file dependencies all over.
13566 2001-07-30 Baruch Even <baruch@lyx.org>
13568 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13570 2001-07-29 Baruch Even <baruch@lyx.org>
13572 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13574 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13576 * ParameterStruct.h (endif): add a default constructor to make
13577 sure that all variables is initialized.
13579 * ParagraphParameters.C (ParagraphParameters): adjust
13581 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13583 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13584 index; also, check that there is something to index, and that it
13585 does not span over several paragraphs.
13586 (doubleClick): use WHOLE_WORD_STRICT for double click.
13588 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13590 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13593 2001-07-26 Baruch Even <baruch@lyx.org>
13595 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13596 an InsetFig figure, backwards compatible reading of old figure code.
13598 2001-07-27 Juergen Vigna <jug@sad.it>
13600 * text2.C: font.realize function adaption.
13602 * text.C (draw): add a warnings lyxerr text if needed.
13604 * layout.C: font.realize function adaption.
13606 * language.C: add inherit_language and implement it's handlings
13608 * bufferview_funcs.C (StyleReset): remove language parameter from
13609 font creation (should be language_inherit now).
13611 * bufferparams.C (writeFile): handle ignore_language.
13613 * paragraph.C (getFontSettings): the language has to be resolved
13614 otherwise we have problems in LyXFont!
13616 * lyxfont.C (lyxWriteChanges): added document_language parameter
13617 (update): removed unneeded language parameter
13619 * paragraph.C (validate): fixed wrong output of color-package when
13620 using interface colors for certain fonts in certain environments,
13621 which should not seen as that on the final output.
13623 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13625 * BufferView_pimpl.C:
13630 * LyXAction.C: add thesaurus support
13633 * lyxfind.C: add "once" parameter, for thesaurus, to not
13634 move to the next match
13636 2001-07-26 Juergen Vigna <jug@sad.it>
13638 * lyxfont.C (realize): honor ignore_language too!
13641 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13643 * text.C (draw): one place more for ignore_language to not draw
13646 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13648 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13650 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13652 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13653 the minipage conversion problem.
13655 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13657 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13660 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13662 * BufferView.h: don't forward declare WorkArea
13664 * BufferView.C: don't include WorkArea.h
13666 2001-07-25 André Pönitz <poenitz@gmx.net>
13670 * lyxfunc.C: new LFUN 'math-space'
13672 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13674 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13676 * text2.C (toggleInset): call open/close
13678 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13680 * lyxfunc.C (dispatch): add debug for the disabled case
13682 * font.C (buttonText): make similar to rectText
13684 * buffer.C (readInset): comment out parsing of insetlist and
13687 * PainterBase.C (rectText): small correction
13689 * BufferView_pimpl.C: comment out insettheorem and insetlist
13690 * LyXAction.C: ditto
13691 * commandtags.h: ditto
13693 2001-07-24 Juergen Vigna <jug@sad.it>
13695 * text.C (draw): honor the ignore_language.
13697 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13699 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13701 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13704 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13706 * lyxtext.h: remove unused (and unimplemented) methods
13708 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13710 * text.C (getVisibleRow): honor background color
13713 * Painter.h: remove default color argument for fillRectangle
13715 * text.C (backgroundColor): new method
13717 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13719 * text.C (getVisibleRow): adjust
13721 * font.[Ch] (rectText): new method, metrics
13722 (buttonText): new method, metrics
13724 * PainterBase.[hC]: make rectText and buttonText always draw and take
13727 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13729 * ToolbarDefaults.C (read):
13730 * MenuBackend.C (read): allow escaping in all strings
13732 * BufferView_pimpl.C (insertAndEditInset): new method.
13733 (Dispatch): use insertAndEditInset whenever appropriate.
13735 * BufferView_pimpl.C (insertNote): removed
13737 * BufferView_pimpl.C (smartQuote): new method, moved from
13738 BufferView; if an insetquote cannot be inserted, insert a '"'
13741 * BufferView2.C: remove insertCorrectQuote();
13743 * lyxfunc.C (getStatus): Add support for all remaingin
13744 inset-insert lfuns.
13746 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13748 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13749 command (necessary to pass " as parameter of self-insert.
13751 * text.C (selectWordWhenUnderCursor):
13752 (selectWord): add word_location parameter
13753 (selectWordWhenUnderCursor): same + remove special code for word
13755 (selectNextWord): use kind() to guess type of insetspecialchar,
13758 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13759 (insertErtContents): create ert insets as collapsed.
13760 (readInset): better compatibility code for Info inset.
13762 2001-07-20 Juergen Vigna <jug@sad.it>
13764 * lyxfunc.C (dispatch): use always LyXFind now!
13766 * text2.C (init): add a reinit flag so that the LyXText can be
13767 reinited instead of deleted and reallocated (used in InsetText).
13769 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13775 2001-07-18 Juergen Vigna <jug@sad.it>
13777 * text.C (selectNextWord): handle insets inside inset by calling
13778 always the bv->text functions so that we can go up the_locking_inset!
13780 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13781 in strange locations when inside an inset!
13783 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13784 handling to include insets.
13786 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13788 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13790 * LyXAction.C (init):
13792 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13793 LIGATURE_BREAK, since the name is so stupid.
13795 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13797 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13800 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13802 * sp_form.[Ch]: remove.
13804 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13806 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13809 * src/buffer.C (readInset): ditto.
13811 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13813 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13814 menuSeparator(), endOfSentenceDot(), ldots() and
13815 hyphenationPoint(), which are therefore removed.
13816 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13818 * LyXAction.C (init):
13819 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13821 * paragraph.C (getWord): removed.
13823 * BufferView_pimpl.C (Dispatch): use last word or selection for
13824 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13826 * lyx_main.C (queryUserLyXDir): do not ask before creating
13827 user_dir, except if it has been named explicitely.
13829 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13831 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13832 a document of zero size.
13834 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13836 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13837 approriately in the c-tor and in require().
13838 (getPackages): output the appropriate LaTeX for natbib support.
13840 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13841 variables "use_natbib" and "use_numerical_citations" when reading the
13843 (readInset): read the various natbib cite commands.
13844 (validate): white-space change.
13846 * bufferparams.[Ch]: new variables "bool use_natbib" and
13847 "bool use_numerical_citations".
13848 (writeFile): output them in the LyX file.
13850 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13852 * lyxfunc.C (getStatus): add support for all the inset insertion
13855 * text2.C (insertInset):
13856 * paragraph.C (insetAllowed):
13857 * BufferView_pimpl.C (insertInset): update to take in account the
13858 renaming of insertInsetAllowed
13860 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13862 * text2.C (getInset): new method. returns inset at cursor position.
13864 * BufferView_pimpl.C (Dispatch): changes because of this.
13866 * LyXAction.C (init): rename open-stuff to inset-toggle.
13868 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13870 * text2.C (toggleInset): renamed from openStuff; use
13873 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13875 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13877 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13879 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13881 * buffer.C (readLyXformat2): Add filename to the error dialog
13883 2001-07-18 Juergen Vigna <jug@sad.it>
13885 * tabular.C (GetCellNumber): put an assert here instead of the check!
13887 2001-07-17 Juergen Vigna <jug@sad.it>
13889 * BufferView_pimpl.C (toggleSelection): adapted too.
13891 * text.C (selectNextWord): adapted for use with insets.
13892 (selectSelectedWord): ditto
13894 2001-07-17 Juergen Vigna <jug@sad.it>
13896 * sp_spell.C (PSpell): fix initialitation order.
13898 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13900 * paragraph.C: spacing
13902 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13904 * sp_spell.C: repair language selection for pspell
13906 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13908 * lyxfunc.h: change more methods to begin with lower char.
13910 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13912 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13913 for unknown layouts.
13915 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13917 * buffer.C (readLyXformat2): Generate an error dialog if there are
13920 2001-07-16 Juergen Vigna <jug@sad.it>
13922 * sp_spell.C: always compile ISpell part.
13924 * lyxrc.C: added use_pspell entry and it's handling.
13926 2001-07-13 Juergen Vigna <jug@sad.it>
13928 * sp_spell.C: removed double includes.
13930 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13932 Consistent use of Lsstream.h:
13933 * Lsstream.h: added using std::stringstream for consistencies sake.
13935 * buffer.C: removed using std::stringstream
13937 * lyxfont.C (stateText):
13938 * paragraph.C (asString):
13939 * text.C (selectNextWord, selectSelectedWord):
13940 * text2.C (setCounter):
13941 * vspace.C (asString, asLatexString):
13942 std::ostringstream -> ostringstream.
13944 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13946 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13947 * commandtags.h: add LFUN_HELP_ABOUTLYX
13948 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13950 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13952 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13954 * lyx_gui_misc.C: remove spellchecker
13955 * lyxfunc.C: showSpellchecker
13957 * sp_ispell.h: added
13958 * sp_pspell.h: added
13959 * sp_spell.C: added
13960 * sp_form.[Ch]: removed
13961 * spellchecker.[Ch]: removed
13963 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13965 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13967 (simpleTeXSpecialChars): Simply print the input character without
13968 any special translation if pass_thru is set.
13970 * layout.h: Added bool pass_thru to layout class for being able to
13971 implement pass through of a paragraph for Literate Programming.
13973 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13974 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13975 * layout.C (Read): add "passthru" to list of layout tags and add
13976 code to set the pass_thru boolean when it is read.
13978 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13980 * trans_decl.h: remove allowed from KmodInfo
13982 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13983 remove allowed code
13986 * paragraph_pimpl.C (erase): use boost::prior
13988 * Painter.C (text): use data() instead of c_str() when length is
13990 * WorkArea.C (putClipboard): ditto
13991 * font.h (width): ditto
13993 * BufferView2.C: use it-> instead of (*it). for iterators
13995 * paragraph_pimpl.C: ditto
13996 * paragraph.C: ditto
13997 * minibuffer.C: ditto
13998 * language.C: ditto
14000 * encoding.C: ditto
14001 * counters.C: ditto
14002 * converter.C: ditto
14004 * Variables.C: ditto
14005 * TextCache.C: ditto
14006 * MenuBackend.C: ditto
14007 * LyXAction.C: ditto
14009 * FloatList.C: ditto
14010 * DepTable.C: ditto
14011 * ColorHandler.C (LyXColorHandler): ditto
14013 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14015 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14017 * text2.C (openStuff): reintroduce this method (which had been
14018 nuked in NEW_INSETS frenzy).
14020 * lyxfunc.C (Dispatch): when an action has not been handled, use
14021 its name in the error message, not its number.
14023 * paragraph.C (inInset): change method name to begin with lowercase.
14026 * text2.C: updates because of this.
14028 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14030 * ToolbarDefaults.C (add): add spaces in error message
14032 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14034 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14035 (readLyXformat2): rename return_par to first_par, use lyxlex's
14036 pushToken and remove the manual push handling.
14037 (parseSingleLyXformat2Token): add another ert comp. variable:
14038 in_tabular, rename return_par to first_par. handle newlines better
14040 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14042 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14044 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14046 * text2.C (getParFromID): removed
14048 * buffer.C (getParFromID): new method moved form lyxtext.
14049 * BufferView2.C (insertErrors): adjust
14050 (setCursorFromRow): adjust
14051 * BufferView_pimpl.C (restorePosition): adjust
14052 * lyxfunc.C (Dispatch): adjust
14053 * undo_funcs.C (textUndo): adjust
14055 (textHandleUndo): adjust
14056 (textHandleUndo): adjust
14058 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14060 * buffer.C: up' the LYX_FORMAT
14062 * lyxfont.h: turn NO_LATEX on as default
14064 * buffer.C (insertErtContents): new methods of tex style compability.
14065 (parseSingleLyXformat2Token): use it several places.
14066 * tabular.C (OldFormatRead): and here
14068 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14070 * text2.C: remove some commented code.
14073 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14074 * trans.C: changes because of the above.
14076 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14078 * text2.C (setCounter): Fix counters bug with bibliography layout.
14080 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14082 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14083 own member functions
14084 (simpleTeXSpecialChars): ditto
14086 2001-07-06 Juergen Vigna <jug@sad.it>
14088 * a lot of files: changed the access to LyXText::status and the
14089 call of undo-functions.
14091 * undo.[Ch]: added a inset_id to the undo informations.
14093 * undo_funcs.[Ch]: added and moved here all undo functions.
14095 * lyxtext.h: give the status enum a weight, made status_ a private
14096 variable and made accessor functions for it, removed the whole bunch
14097 of undo-functions as they are now in their own file, make some
14098 functions publically available. Added function ownerParagraph with
14101 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14102 made InInset() a const function, added getParFromID() function.
14104 * buffer.[Ch]: added const version for inset_iterator functions,
14105 added getInsetFromID() function.
14107 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14108 changed undo functions for new version.
14110 2001-07-05 Juergen Vigna <jug@sad.it>
14112 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14113 unknow mechanism does not call the proper constructor but only this
14114 one also if I request the other!?
14116 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14118 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14120 * text2.C (LyXText): use initialization lists.
14122 * lyxtext.h (Selection): initialize set_ and mark_
14123 (init): remove method
14125 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14127 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14129 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14131 * screen.[Ch]: change method names to begin with lowercase
14133 * BufferView_pimpl.C (updateScrollbar): simplify further and
14134 hopefully make it a bit faster.
14136 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14138 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14139 calling directly xforms functions.
14141 * Painter.C (Painter):
14142 * lyx_cb.C (MenuWrite):
14143 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14146 * lyx_gui.C: remove bogus guiruntime extern declaration.
14148 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14150 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14152 (redoDrawingOfParagraph): ditto
14153 (redoParagraphs): ditto
14154 (cutSelection): don't create a object for CutAndPaste use the
14155 static method directly
14156 (pasteSelection): ditto
14158 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14161 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14163 * modifications to some other files because of this.
14165 * Makefile.am (lyx_SOURCES): add XFormsView
14167 * XFormsView.[Ch]: new files
14169 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14170 the main window. Move the gui dependent stuff to XFormsView
14172 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14174 * tabular.C (GetCellInset): update cur_cell also in the row/col
14175 version of this function.
14177 * lyxfunc.C: no need to include figure_form.h here.
14183 * lyxvc.C: no need to include forms.h here.
14185 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14187 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14189 * lyxfunc.C (Dispatch):
14191 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14192 constructor argument.
14194 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14196 * paragraph.C (Paragraph): dont't clear, and just set layout.
14197 (makeSameLayout): use params's copy contructor.
14199 * ParagraphParameters.[Ch] (makeSame): delete method
14201 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14203 * Variables.[Ch]: fix indentation, rename set to isSet
14205 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14207 * lyxfunc.C (Dispatch): fix typo
14209 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14211 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14214 * bufferlist.C: include assert.h for emergencyWrite().
14216 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14218 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14219 give up at last (bug #425202) !
14221 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14227 * spellchecker.C: strip spellchecker options and bring up
14228 preferences tab instead
14230 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14232 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14233 the istringstream constructor
14235 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14237 * paragraph.C (getLayout): fix return value
14239 * paragraph.h: do not declare getLayout as inline.
14241 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14243 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14245 * lyxcursor.h (operator<): new func
14246 (operator>): new func
14247 (operator>=): new func
14248 (operator<=): new func
14250 * text.C (changeCase): use selection.start and selection.end
14251 (changeRegionCase): require from to be <= to. Require par to be a
14254 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14256 2001-06-27 Juergen Vigna <jug@sad.it>
14258 * text.C (cursorLeftOneWord): changed to return the cursor and added
14259 overlay with BufferView * parameter which calls this one.
14261 (selectWord): use new getWord function.
14262 (changeCase): renamed from changeWordCase as and extended to work
14263 also on selections.
14265 * lyxtext.h: added enum word_location
14267 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14268 changeCase as this operates now also on selections.
14270 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14272 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14274 * many files: send debug output to Debug::INFO instead of
14277 * converter.C (View):
14279 (Move): send debug output to Debug::FILES instead of console.
14281 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14283 * lyxfunc.C (getStatus): use func_status
14285 * func_status.h: new header, describing the results of
14286 LyXFunc::getStatus;
14288 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14291 2001-06-25 The LyX Project <jug@sad.it>
14293 * buffer.C (sgmlOpenTag):
14295 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14297 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14299 * text2.C: remove some dead code
14301 * tabular.C (GetCellInset): store the last cell checked (gotten)
14303 * tabular.h: add the helper for the speedup
14305 * lyxtext.h: remove some dead code
14307 2001-06-26 The LyX Project <Asger>
14309 * paragraph.C: Change export to LaTeX of alignment to
14310 \begin{center} and family for better roundtrip work with reLyX.
14312 * Tune the math drawing a bit.
14314 2001-06-25 The LyX Project <Asger>
14316 * LColor.C (LColor): New color for math background. New color
14319 2001-06-25 The LyX Project <jug@sad.it>
14321 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14323 * lyxfunc.C (Open):
14324 * bufferlist.C (newFile): do not restrict to files ending with
14327 * BufferView_pimpl.C (MenuInsertLyXFile):
14329 2001-06-24 The LyX Project <jug@sad.it>
14331 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14334 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14336 * lyxtext.h: rename most methods to begin with a small char.
14337 Lots of changes because of this.
14339 * paragraph.C (Paragraph): do not call fitToSize
14340 (erase): call Pimpl::erase
14341 (insertChar): call Pimpl::insertChar
14342 (insertInset): call Pipl::insertInset
14343 (breakParagraph): do not call fitToSize
14344 (breakParagraphConservative): do not call fitToSize
14345 (fitToSize): remove method
14347 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14349 2001-06-24 The LyX Project <Asger>
14351 * Fix Qt compilation^2
14353 2001-06-24 The LyX Project <jug@sad.it>
14355 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14356 depthHook(getDepth()-1).
14359 * ParagraphParameters.h:
14360 * ParameterStruct.h: change type of depth to unsigned int ==
14361 depth_type. Many adaptations to other files before of that.
14363 2001-06-24 The LyX Project <Asger>
14365 * Fix Qt compilation.
14367 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14369 * paragraph.h: renamed several methods to begin with small letter.
14370 several changes to many parts of the code because of this.
14372 2001-06-23 The LyX Project <jug@sad.it>
14374 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14375 rewritten to discard all double spaces when KeepEmpty is off
14376 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14377 to only handle newlines but not fiddle with spaces and friends.
14379 * lyxfunc.C (MenuNew): when doing 'new from template', use
14380 template_path as default directory
14382 2001-06-23 The LyX Project <Asger>
14384 * Clean-up of header file includes all over
14385 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14387 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14389 * paragraph.h: renamed from lyxparagraph.h
14391 2001-06-23 Asger <lyx@violet.home.sad.it>
14393 * Buffer.h: Removed Buffer::resize
14394 * BufferList.h: Removed BufferList::resize
14395 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14396 the document lazily when we change the width, or the font settings.
14398 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14400 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14402 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14404 * buffer.h: remove out of date comment
14406 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14409 * screen.C: fix "theoretical" GC leak
14411 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14413 * LaTeX.C (scanAuxFile):
14414 (deplog): remove trailing \r when reading stream (useful under
14417 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14419 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14420 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14421 and BufferView::theLockingInset(Inset*), so should use them and not
14422 access bv_->text->the_locking_inset directly.
14424 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14426 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14429 * tex-defs.h: remove old unused file
14431 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14433 * BufferView_pimpl.C: fix typo, remove minibuffer message
14434 when buffer has loaded
14436 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14438 * lyxfunc.C (Dispatch): use stringstream
14439 (MenuNew): use stringstream
14440 (Open): use stringstream
14442 * importer.C (Import): use stringstream
14444 * bufferview_funcs.C (CurrentState): use stringstream
14446 * LaTeX.C (run): use stringstream
14448 * BufferView_pimpl.C (savePosition): use stringstream
14449 (restorePosition): use stringstream
14450 (MenuInsertLyXFile): use stringstream
14452 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14465 * vspace.C: removed // -*- C++ -*- as first line.
14468 * version.h: added // -*- C++ -*- as first line.
14470 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14472 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14474 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14477 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14479 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14482 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14484 * gettext.C: include LString.h even when --disable-nls is on.
14486 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14488 * converter.h (Get): changed argument type from int to
14489 FormatList::size_type to avoid unnecessary conversion.
14491 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14494 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14496 * gettext.h: include LString.h even when --disable-nls is on.
14498 2001-06-07 Juergen Vigna <jug@sad.it>
14500 * text.C (BreakAgain): subst spaces with tabs.
14502 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14503 (resizeInsetsLyXText): set force on resizeLyXText.
14505 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14507 * gettext.h (gettext_init):
14508 (locale_init): use a real definition instead of a macro
14510 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14512 * Bufferview_pimpl.C:
14514 * LColor.C: further lcolor tidies
14516 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14518 * BufferView_pimpl.C (updateScrollbar): simplify.
14520 * BufferView2.C: don't include insets/insetinfo.h, change
14521 prototype for insertInset and call the Pimpl version. let
14522 updateInset call Pimpl version.
14524 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14525 gotoInset to BufferView::Pimpl
14527 2001-06-01 Juergen Vigna <jug@sad.it>
14529 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14530 inside a LockingInset (is the update needed at all?).
14532 2001-05-31 Juergen Vigna <jug@sad.it>
14534 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14535 here not the old one otherwise how should we compare it afterwards
14538 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14543 * FontInfo.C: bring C functions into global namespace when
14546 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14548 * LString.h: make sure config.h has been loaded before LString.h.
14550 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14551 (one for each char read by EatLine!).
14553 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14556 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14558 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14559 to the same as the par we break from
14561 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14563 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14565 * MenuBackend.C (expand): also create menu entries for wide
14566 versions of the floats.
14568 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14570 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14572 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14573 frontends/Makefile.am
14579 * tabular.C (getTokenValue): add std::
14581 * tabular-old.C (getTokenValue): add std::
14582 (getTokenValue): ditto
14583 (getTokenValue): ditto
14585 * screen.C (ToggleSelection): adjust
14587 * lyxtext.h: put selection cursors inside a Selection struct.
14589 * lyxfunc.C (moveCursorUpdate): adjust
14591 * lyxfont.C (latexWriteStartChanges): add std::
14593 * lyxfind.C: adjust
14595 * font.h: delete with(char const *, LyXFont const &)
14597 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14599 * FontInfo.C (getFontname): add std::
14601 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14602 (workAreaButtonPress): adjust
14603 (tripleClick): adjust
14605 (moveCursorUpdate): adjust
14608 * BufferView2.C (gotoInset): adjust
14610 2001-05-30 Juergen Vigna <jug@sad.it>
14612 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14613 to check pspell I add this as default as I now have new pspell
14614 libraries and they seem to use this.
14616 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14618 * text2.C (CutSelection): make the cursor valid before the call to
14621 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14623 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14624 relied on 0 terminated strings and other horrors. Bug found due to
14625 the new assert in lyxstring!
14627 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14630 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14632 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14635 * lyxfunc.C (processKeySym): change method of getting to the
14638 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14639 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14640 * BufferView_pimpl.[Ch]: here as private methods.
14642 2001-05-28 Juergen Vigna <jug@sad.it>
14644 * text.C (SetHeightOfRow): added the update() call again as it is
14645 needed to initialize inset dimensions!
14647 2001-05-16 Juergen Vigna <jug@sad.it>
14649 * text2.C (SetCharFont): Add new function with BufferView * and
14650 bool toggleall parameters for setting insets internal fonts.
14651 (SetFont): Freeze the undo as we may change fonts in Insets and
14652 all this change should be inside only one Undo!
14654 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14655 setting font's in insets as for them we have the SetFont function!
14657 2001-05-15 Juergen Vigna <jug@sad.it>
14659 * text2.C (ClearSelection): to be sure we REALLY don't have any
14662 * tabular.C (TeXCellPreamble): fixed the left border problem for
14665 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14667 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14670 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14672 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14673 LFUN_BREAKPARAGRAPH.
14675 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14676 help test to "internal only", similar for LFUN_INSERT_URL
14678 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14679 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14680 auto_region_delete and deadkeys.
14682 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14685 * LColor.C: remove some dead entries, tidy a little
14687 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14689 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14691 (Dispatch): implement LFUN_ESCAPE
14693 * commandtags.h: add LFUN_ESCAPE
14695 * LyXAction.C (init): add entry for LFUN_ESCAPE
14697 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14698 Remove commented code.
14699 (insertNote): moved here
14700 (open_new_inset): moved here
14702 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14705 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14707 * kbmap.C (findbinding): clean it up and make it work correctly.
14709 * lyx_main.C (init): do not pass argc and argv as parameters
14711 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14713 * buffer.C: fix path for OS/2 & Win32
14717 * lyx_main.C: Added os:: class.
14719 * os2_defines.h: update
14721 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14723 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14724 better by trying again with reduced state.
14726 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14728 * lyxrc.C (read): print error about invalid key sequence only when
14729 debugging (because not all latinX keysyms are known to some X
14732 * kbsequence.C (getiso): add a few std:: qualifiers
14733 (getiso): comment out extra return statement.
14735 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14737 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14739 (Dispatch): enhance the accent inset a bit. (not perfect)
14741 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14743 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14745 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14747 * bufferlist.C (emergencyWrite): fix assert() call
14749 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14751 * text.C (InsertChar): Added trivial patch to only send the "you
14752 can not do multiple spaces this way" message once during a
14755 2001-05-08 Baruch Even <baruch@lyx.org>
14757 * Makefile.am: Changed order of libraries to get LyX to link properly
14758 with the gnome frontend.
14760 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14762 * LaTeXFeatures.h: add a std:: qualifier
14764 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14766 * paragraph.C (String): use stringstream
14768 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14770 * paragraph.C (writeFile): remove footflag arg
14772 * buffer.C (makeLaTeXFile): use stringstream
14773 (latexParagraphs): remove footnot gurba
14775 * LaTeXFeatures.C (getPackages): use stringstream
14776 (getMacros): likewise
14777 (getTClassPreamble): likewise
14778 (getFloatDefinitions): new method
14780 * paragraph.C (writeFile): reindent
14783 * WorkArea.h: revert the xpos + etc changes.
14785 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14787 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14789 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14790 (pasteSelection): likewise
14791 * text2.C (CreateUndo): likewise
14793 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14795 * minibuffer.C (peek_event): temporarily reduce the functionality
14796 of the minibuffer (to allow args on lfuns)
14798 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14799 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14801 * buffer.C (readInset): add compability reading of old float
14802 lists, add reading of new style float list.
14803 (readInset): avoid reevaluation of inscmd.getCmdName()
14804 (getLists): reindent
14806 * MenuBackend.C (MenuItem): implement parsing of
14807 md_floatlistinsert and md_floatinsert.
14808 (expand::LastFiles): move initalizaton of iterators out of loop,
14809 avoid reevaluation.
14810 (expand::Documents): introduce typdedef vector<string> Strings,
14812 (expand::ExportFormats): introduce typedef vector<Format const *>
14813 Formats, and use it.
14814 (expand): implement FloatListInsert and FloatInsert.
14816 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14817 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14818 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14820 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14822 (Dispatch::LFUN_FLOAT_LIST): implement
14824 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14826 * LaTeX.C (run): Fix problem with --export code.
14828 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14830 * BufferView.[Ch] (workarea): removed.
14831 (getClipboard) new method; wrapper for workarea()->getClipboard()
14833 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14836 * WorkArea.h (width, height, xpos, ypos): These methods all
14837 returned the dimensions of the work_area sub-area of WorkArea,
14838 resulting in a position error if the WorkArea were resized. Now
14839 return the dimensions of the entire WorkArea.
14841 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14843 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14845 * LaTeX.C (deplog): correct the syntax of regex reg1
14847 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14849 * undo.C: remove !NEW_INSETS cruft
14851 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14853 * text2.C: remove !NEW_INSETS cruft
14855 * text.C: remove !NEW_INSETS cruft
14857 * tabular.C: remove !NEW_INSETS cruft
14859 * spellchecker.C: remove !NEW_INSETS cruft
14861 * lyxtext.h: remove !NEW_INSETS cruft
14863 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14865 * lyxfunc.C: remove !NEW_INSETS cruft
14867 * lyxfind.C: remove !NEW_INSETS cruft
14869 * lyx_cb.C: remove !NEW_INSETS cruft
14871 * figureForm.C: remove !NEW_INSETS cruft
14873 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14875 * buffer.[Ch]: remove !NEW_INSETS cruft
14877 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14879 * CutAndPaste.C: remove !NEW_INSETS cruft
14881 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14883 * BufferView2.C: remove !NEW_INSETS cruft
14885 * BufferView.h: remove !NEW_INSETS cruft
14887 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14889 * Lsstream.h: include LString.h before the sstream headers to
14890 fix problem with gcc 2.95.3 and lyxstring
14892 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14894 * lyx_main.C: add using directives when needed for C functions
14895 declared in std:: namespace.
14897 2001-04-27 Juergen Vigna <jug@sad.it>
14899 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14900 (SetHeightOfRow): comment out the update call should not be needed!
14902 2001-04-13 Juergen Vigna <jug@sad.it>
14904 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14905 (LyXTabular): tried to minimize operator= operations (and realized
14906 hopfully Lars wish).
14908 2001-04-27 Juergen Vigna <jug@sad.it>
14910 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14912 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14914 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14916 * buffer.C (readInset): hack to make listof algorithm work
14918 * BufferView_pimpl.C: hack to make listof algorithm work
14920 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14922 * LyXAction.C: removed all !NEW_INSETS cruft
14923 (init): moved lfun_item in method
14925 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14927 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14929 * BufferView2.C (theLockingInset): white space.
14931 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14933 * minibuffer.C: include <iostream>
14935 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14937 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14939 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14941 * text.[Ch] (TransposeChars): new method
14943 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14945 * call message directly through LyXView instead of through LyXFunc
14946 * BufferView2.C: adjust
14947 * BufferView_pimpl.C: adjust
14948 * FontLoader.C: adjust
14950 * bufferview_funcs.C: adjust
14951 * converter.C: adjust
14952 * figureForm.C: adjust
14953 * importer.C: adjust
14955 * lyx_gui_misc.C: adjust
14956 * lyxfunc.C: adjust
14959 + more files in subdirs
14961 * lyxparagraph.h (size): move up int file
14964 * adjust all uses of Assert to lyx::Assert.
14966 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14967 lyxfunctional in namespace lyx
14968 * layout.C (hasLayout): ditto
14971 (delete_layout): ditto
14972 (NumberOfClass): ditto
14973 * converter.C (GetFormat): ditto
14978 * bufferlist.C (getFileNames): ditto
14979 (emergencyWriteAll): ditto
14982 * MenuBackend.C (hasSubmenu): ditto
14985 * BufferView_pimpl.C (getInsetByCode): ditto
14987 2001-04-18 Juergen Vigna <jug@sad.it>
14989 * vspace.C (asLatexString): fixed the 100% problem.
14991 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14993 * lyxfunc.C (Dispatch):
14995 * minibuffer.h: add a few std:: qualifiers
14997 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14999 * minibuffer.[Ch]: reimplement so that commands is initiated and
15000 run from lyxfunc, simplified som handling, and made the completion
15001 and history code for complete. wip.
15003 * lyxfunc.C (processKeySym): call message
15004 (miniDispatch): new temporary method
15005 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15006 (LFUN_MESSAGE): implement
15007 (LFUN_MESSAGE_PUSH): implement
15008 (LFUN_MESSAGE_POP): implement
15009 (initMiniBuffer): the initial/defualt minibuffer message.
15011 * lyxfont.[Ch]: inline some more getters
15013 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15015 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15017 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15018 (AutoSave): use LFUN_MESSAGE
15019 (Reconfigure): ditto
15021 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15023 * figureForm.C: use LFUN_MESSAGE
15025 * converter.C (runLaTeX): use LFUN_MESSAGE
15027 * bufferview_funcs.C: use LFUN_MESSAGE
15029 (changeDepth): ditto
15031 * bufferparams.h: use boost::
15033 * bufferlist.h: inherit privately from noncopyable
15035 * bufferlist.C (loadLyXFile): remove some commented code.
15037 * buffer.C (runChktex): use LFUN_MESSAGE
15039 * ShareContainer.h: inherit privately from noncopyable
15041 * ParagraphParameters.[hC] (depth): inline it.
15043 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15045 (message): new method
15046 (messagePush): ditto
15047 (messagePop): ditto
15048 (show): init minibuffer
15049 (showState): direct call
15051 * LaTeX.[Ch]: inherit privately from noncopyable
15052 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15053 instead of WriteStatus.
15055 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15057 * BufferView_pimpl.C (buffer): don't init minibuffer
15058 (workAreaButtonPress): use LFUN_MESSAGE
15059 (workAreaButtonRelease): ditto
15060 (savePosition): ditto
15061 (restorePosition): ditto
15062 (MenuInsertLyXFile): ditto
15063 (workAreaExpose): don't init minibuffer
15064 (update): remove commented code, simplify
15066 * BufferView2.C (openStuff): use LFUN_MESSAGE
15067 (toggleFloat): ditto
15070 (copyEnvironment): ditto
15071 (pasteEnvironment): ditto
15076 (updateInset): remove some commented code
15078 * lastfiles.h: inherit privately from noncopyable
15081 * lyx_main.h: ditto
15083 * lyxlex_pimpl.h: ditto
15085 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15086 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15087 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15089 * LyXAction.h: inherit privately from noncopyable, add methods
15090 func_begin, func_end, returning iterators to the func map.
15092 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15093 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15094 (func_begin): new method
15095 (func_end): new method
15097 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15099 (copySelection): ditto
15100 (pasteSelection): ditto
15102 * BufferView.C: whitespace change
15103 * BufferView.h: inherit privately from noncopyable
15105 2001-04-16 Allan Rae <rae@lyx.org>
15107 * tabular-old.C (l_getline):
15108 * spellchecker.C (sc_check_word):
15109 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15110 an unrecognised preprocessor directive. So ensure they're wrapped.
15112 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15114 * src/exporter.C (Export): Give an error message when path to file
15117 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15119 * LaTeX.C (deplog): Always check that foundfile exists.
15121 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15124 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15126 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15128 * tabular.[Ch] (getLabelList): implement new method
15130 * minibuffer.h: comment ouf setTiimer
15132 * minibuffer.C (ExecutingCB): constify res
15133 (peek_event): constify s
15134 (Set): constify ntext
15135 (Init): constify nicename
15137 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15139 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15140 (savePosition): use two params to Minibuffer::Set
15141 (restorePosition): ditto
15143 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15145 * lyx_main.C: include language.h
15147 * Makefile.am (lyx_main.o): add language.h
15149 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15155 * CutAndPaste.C: include gettext.h
15157 * lyxfont.h: remove old hack with ON and OFF.
15160 * lyxfont.h: do not include language.h...
15165 * bufferview_funcs.C:
15171 * paragraph.C: ... but do it here instead
15173 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15175 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15177 * tabular.C: small reformat
15179 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15182 (BreakParagraph): ditto
15183 (SetOnlyLayout): ditto
15186 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15189 * lastfiles.C: removed most using decl, add std:: where needed
15191 * buffer.C: ws changes
15193 * MenuBackend.C (class compare_format): put into anon namespace
15194 (expand): constify label, names, action, action2
15197 * text.C (SingleWidth): constify font
15198 (IsBoundary): constify rtl2
15199 (GetVisibleRow): constify ww
15201 * LaTeX.C (deplog): constify logfile
15203 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15205 (workAreaExpose): constify widthChange, heightChange
15207 * lyxrow.C (par): moved
15210 * lyxrow.h: as inlines here
15212 * lyxfont.h (shape): moved from lyxfont.C
15213 (emph): moved from lyxfont.C
15215 * lyxfont.C (LyXFont): use initialization list for all
15217 (shape): move to lyxfont.h as inline
15218 (emph): move to lyxfont.h as inline
15221 2001-04-04 Juergen Vigna <jug@sad.it>
15223 * vspace.C: had to include stdio.h for use of sscanf
15225 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15228 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15229 independent of xforms.
15231 2001-04-02 Juergen Vigna <jug@sad.it>
15233 * spellchecker.C: fixed namespace placing!
15235 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15237 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15238 the LyXParagraph * is 0.
15240 2001-03-29 Juergen Vigna <jug@sad.it>
15242 * vspace.C: added support for %, c%, p%, l%.
15243 (stringFromUnit): added helper function.
15244 (asLatexString): changed to give right results for the %-values.
15246 * buffer.C: convert the widthp in a width%.
15248 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15250 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15253 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15254 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15256 * lyx_cb.[Ch]: see above.
15258 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15262 * lyx.[Ch]: replaced by figure_form.[Ch].
15266 * lyxfunc.C: changed headers associated with above changes.
15268 2001-03-27 Juergen Vigna <jug@sad.it>
15270 * BufferView_pimpl.C: set the temporary cursor right!
15272 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15274 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15276 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15278 * LString.h: removed "using std::getline"!
15280 * BufferView_pimpl.C (Dispatch): changes due to changes in
15281 InsetInclude::Params.
15283 * buffer.C (tag_name): removed redundant break statements as they were
15284 producing lots of warnings with my compiler.
15286 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15288 * LString.h: add "using std::getline" when using the real <string>.
15290 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15292 * buffer.C: removed bitset usage.
15293 PAR_TAG moved to an anonymous name space.
15294 (tag_name): new funtion, also in the anonymous namespace.
15295 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15296 (makeDocBookFile): clean code. Completed transition from string arrays
15298 (SimpleDocBookOnePar): code clean.
15300 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15302 * tabular.C: add some comments.
15304 2001-03-22 Juergen Vigna <jug@sad.it>
15306 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15307 compatibility read a bit and fixed bug with minipage in different
15310 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15312 * buffer.C (pop_tag): removed.
15313 (push_tag): removed.
15314 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15315 array replaced with vector. Added support for CDATA sections.
15316 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15318 (makeDocBookFile): XML conformant declaration of CDATA section,
15319 fixed bug related to <emphasis> in the first paragraph char.
15320 (sgmlOpenTag): exclude empty tags.
15321 (sgmlCloseTag): ditto.
15323 * buffer.h (pop_tag): removed.
15324 (push_tag): removed.
15326 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15328 * language.h (Languages): added size_type and size().
15330 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15332 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15333 response on compability reading of minipages. One probliem is that
15334 the old usage of minipages was «flertydig»
15336 * several files here and in subdirs: don't use static at file
15337 scope use anon namespaces instead.
15339 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15341 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15342 LaTeX output. This is necessary for Literate document
15345 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15347 * buffer.C: insert hfill when needed.
15349 * tabular.C (l_getline): use string::erase, small whitespace change.
15351 * BufferView_pimpl.C: try the anon namespace.
15352 * WorkArea.C: ditto
15354 2001-03-16 Juergen Vigna <jug@sad.it>
15356 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15357 otherwise it won't open options-dialogs.
15359 * buffer.C: honor pextraWidth(p) on converting minipages.
15361 * tabular.C (l_getline): changed the functions to strip trailing \r.
15363 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15365 * BufferView_pimpl.C:
15366 * minibuffer..C: added "using SigC::slot" declaration.
15368 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15370 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15376 * paragraph.C: ditto
15378 * lyxtext.h: NO_PEXTRA
15380 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15382 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15383 * ParameterStruct.h: ditto
15384 * ParagraphParameters.h: ditto
15385 * lyxparagraph.h: ditto
15387 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15389 * buffer.C: add compability for minipage alignment.
15390 (latexParagraphs): remove unwanted pextra check.
15392 * several files: remove CXX_WORKING_NAMESPACES
15394 * buffer.C (pop_tag): tie is in namespace boost
15396 * BufferView.h: noncopyable is in namespace boost
15398 * lyx_main.h: ditto
15401 * lastfiles.h: ditto
15402 * bufferlist.h: ditto
15403 * ShareContainer.h: ditto
15405 * LyXAction.h: ditto
15408 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15410 * Merging changes from BRANCH_MVC back into HEAD.
15412 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15414 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15416 * BufferView_pimpl.C: change from intl.C
15420 * Makefile.am: move combox.*
15426 * intl.C: remove dialog (covered by prefs)
15428 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15430 * lyxfunc.C (Dispatch): removed redundant break statement.
15432 2001-03-14 Juergen Vigna <jug@sad.it>
15434 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15436 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15438 * buffer.C: add hack to fix compability reading of minipages.
15440 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15442 * buffer.C (getLists): Cleanup.
15444 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15446 * lyxfont.C (update): don't honor toggleall on font size.
15448 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15452 * Makefile.am: moved to frontends/xforms/
15456 * BufferView_pimpl.C: changes for moved mathpanel
15458 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15460 * gettext.h: fix gettext_init() in --disable-nls
15462 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15464 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15466 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15469 * lyx.h: strip external form
15471 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15473 * BufferView_pimpl.C: add comment, destroySplash()
15475 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15477 * BufferView_pimpl.C:
15481 * lyxfunc.C: use re-worked insetinclude
15483 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15485 * buffer.C: add using std::stringstream.
15487 * lyx_cb.C: readd using std::ios.
15489 * buffer.C: add using std::map.
15491 * BufferView_pimpl.C: add using std::vector.
15493 * ShareContainer.h: add std:: to swap.
15495 * buffer.h: add some typedefs
15496 * buffer.C (getLists): use them
15497 (getLists): renamed from getTocList.
15498 add a counter for the different float types and use it in the
15500 (getLists): use the same counter for the NEW_INSETS and the "non"
15503 * lyx_cb.h: remove unused items, includes, using etc.
15505 * ShareContainer.h: remove some commented code, add more comments
15506 and "documentation".
15508 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15510 * buffer.C (getTocList): make the list also when NEW_INSETS is
15513 * buffer.h: remove TocType
15515 * buffer.C (getTocList): change to return a map<string,
15516 vector<TocItem> >, implement for dynamic number of list.
15518 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15519 * text2.C (PasteSelection): adjust
15520 * CutAndPaste.C (pasteSelection): adjust
15522 * FloatList.C (FloatList): update from the new_insets branch.
15523 * Floating.[Ch]: ditto
15524 * LaTeXFeatures.C: ditto
15526 * lyxlex_pimpl.C: ditto
15528 * paragraph.C (Last): remove when NEW_INSETS is defined.
15530 * other file: changes because of the above.
15532 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15534 * lyxparagraph.h: rename next to next_, previous to previous_,
15535 make them private for NEW_INSETS. Rename Next() to next(),
15536 Previous() to previous().
15538 * other files: changes because of the above.
15540 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15543 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15546 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15548 * main.C (main): pass lyx_localedir to gettext_init().
15550 * gettext.h: remove locale_init and gettext_init macros
15552 * gettext.C (locale_init): new function
15553 (gettext_init): new function
15555 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15558 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15560 * Moved credits to frontends:
15561 * credits.[Ch]: removed
15562 * credits_form.[Ch]: removed
15563 * lyx_gui_misc.C: remove credits stuff
15566 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15568 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15570 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15571 unneeded destructor.
15573 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15574 a standalone pointer again.
15576 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15578 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15584 * ToolbarDefaults.C:
15593 * BufferView_pimpl.C: use new file dialog in GUII
15596 * lyx_cb.C: remove LayoutsCB to Toolbar
15598 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15600 * ShareContainer.h (get): add std:: qualifier
15602 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15604 * ShareContainer.h: define a proper ShareContainer::value_type
15605 type (and use typename to please compaq cxx)
15607 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15609 * lyxparagraph.h: move serveral local vars to
15610 ParameterStruct/ParagraphParameters., use ShareContainer in
15611 FontTable., make vars in FontTable private and add getter and
15614 * paragraph.C: changes because of the above.
15616 * lyxfont.h: remove copy constructor and copy assignment. (the
15617 default ones is ok), move number inside FontBits. move inlines to
15620 * lyxfont.C: add number to initializaton of statics, move several
15621 inlines here. constify several local vars. some whitespace
15622 cleanup. Dont hide outerscope variables.
15624 * Spacing.h: add two new constructors to match the set methods.
15626 * ShareContainer.h: new file, will perhaps be moved to support
15628 * ParameterStruct.h: new file
15630 * ParagraphParameters.h: new file
15632 * ParagraphParameters.C: new file
15634 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15635 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15637 * BufferView_pimpl.C: ParagraphParameter changes.
15638 * buffer.C: Likewise.
15639 * bufferview_funcs.C: Likewise.
15640 * text.C: Likewise.
15641 * text2.C: Likewise.
15643 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15645 * lyxfind.C (LyXReplace): do not redefine default argument in
15647 (IsStringInText): ditto
15648 (SearchForward): ditto
15649 (SearchBackward): ditto
15651 2001-03-06 Juergen Vigna <jug@sad.it>
15653 * lyxfind.C (IsStringInText): put parentes around expressions.
15655 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15657 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15659 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15661 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15663 * stl_string_fwd.h: add comment
15665 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15668 * tabular.C: remove unused DocBook methods
15674 killed DO_USE_DEFAULT_LANGUAGE
15676 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15678 * lyx_gui.C: do not include language.h.
15680 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15681 arguments in function implementation.
15683 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15685 * BufferView_pimpl.C: add <ctime>
15687 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15689 * BufferView_pimpl.C: add using std::find_if
15691 2001-02-27 José Matos <jamatos@fep.up.pt>
15693 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15696 2001-02-11 José Matos <jamatos@fep.up.pt>
15698 * buffer.C (makeDocBookFile): command styles now have a parameter as
15699 "title" by default.
15701 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15703 * layout_forms.[Ch]: removed
15704 * lyx_cb.[Ch]: out character
15705 * lyx_gui.C: out character
15706 * lyx_gui_misc.C: out character
15707 * bufferview_funcs.C: : out character,
15708 added toggleall as parameter in ToggleAndShow
15710 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15712 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15714 * text2.C (SetCurrentFont): Disable number property at boundary.
15716 2001-02-26 Juergen Vigna <jug@sad.it>
15718 * lyxfunc.C (getStatus): added a string argument override function so
15719 that this is correctly called from LyXFunc::Dispatch if it contains a
15720 do_not_use_argument which is used!
15721 (Dispatch): added check for "custom" export and call appropriate func.
15723 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15725 * lyxrc.C: Add language_command_local, language_use_babel and
15726 language_global_options.
15728 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15730 * buffer.C (makeLaTeXFile): Use language_use_babel and
15731 language_global_options.
15733 2001-02-23 Juergen Vigna <jug@sad.it>
15735 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15736 which works with LyXText and putted it inside BufferView. Here now we
15737 only call for that part the BufferView::Dispatch() function.
15739 * BufferView.C (Dispatch): added.
15741 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15742 functions which needs to use a LyXText over from LyXFunc.
15743 (MenuInsertLyXFile): added
15744 (getInsetByCode): added
15745 (moveCursorUpdate): added
15746 (static TEXT): added
15748 2001-02-22 Juergen Vigna <jug@sad.it>
15750 * BufferView_pimpl.C (update): call a status update to see if LyXText
15753 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15755 * vc-backend.C (revert): implement for CVS
15756 (getLog): implement for CVS
15758 2001-02-20 Juergen Vigna <jug@sad.it>
15760 * text2.C (ClearSelection): added BufferView param for inset_owner call
15762 * lyxfunc.C (TEXT): added this function and use it instead of
15763 directly owner->view()-text of getLyXText().
15765 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15767 * src/layout_forms.C: out preamble
15768 * src/layout_forms.h: out preamble
15769 * src/lyx_cb.C: out preamble
15770 * src/lyx_cb.h: out preamble
15771 * src/lyx_gui.C: out preamble
15772 * src/lyx_gui_misc.C: out preamble
15773 * src/lyxfunc.C: connect with guii preamble
15775 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15777 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15779 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15781 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15782 whether to run bibtex.
15784 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15786 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15788 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15790 * Makefile.am (lyx_SOURCES): removed bibforms.h
15792 * vspace.h: doxygen
15794 * text.C (GetVisibleRow): make several local vars const
15796 * tabular.C: small cleanup.
15798 * lyxserver.C (callback): use compare instead of strncmp
15800 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15801 inlines to after class or to paragraph.C
15803 * lyxfont.h: remove friend operator!=
15805 * converter.h: move friend bool operator< to non friend and after
15808 * combox.h: small cleanup
15810 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15811 to inlines after class def.
15813 * buffer.C (pop_tag): use string operations instead of strcmp
15815 * bmtable.c: doxygen, small cleanup
15817 * LaTeX.h: remove friend operator==
15819 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15831 * BufferView_pimpl.C:
15832 * BufferView.[Ch]: remove cruft
15834 2001-02-14 Juergen Vigna <jug@sad.it>
15836 * lyxfunc.C: removed #if 0 unused code
15838 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15840 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15842 * text2.C (SetSelection): added a BufferView * parameter
15844 2001-02-13 Juergen Vigna <jug@sad.it>
15846 * lyxfunc.C (Dispatch): fixed protected blank problem.
15847 * BufferView2.C (protectedBlank): added LyxText * parameter.
15849 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15850 (AppendColumn): same as above for column_info.
15852 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15853 (moveCursorUpdate): use a LyXText param for support of InsetText.
15855 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15856 (tripleClick): ditto
15858 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15860 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15862 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15864 * text2.C (SetSelection): set correct update status if inset_owner
15865 (ToggleFree): ditto
15867 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15869 * tabular.C: remove some commented code.
15871 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15873 * BufferView_pimpl.C: call hideSplash()
15875 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15878 * bibforms.h: remove
15881 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15882 add LFUN_CHILD_CREATE
15884 * counters.h: fix tiny typo
15889 * lyx.C: move splash to frontends/xforms/
15891 * lyx_gui_misc.C: move Include and Bibform to frontends
15893 * lyxvc.h: clarify comment
15895 * vspace.C: tiny housekeeping
15897 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15899 * text.C (PrepareToPrint): RTL Fix.
15901 * paragraph.C (GetUChar): New method.
15902 (String): Use GetUChar.
15904 * buffer.C (asciiParagraph): Use GetUChar.
15906 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15908 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15910 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15913 * buffer.C: rename to getLogName(), handle
15914 build log / latex log nicely
15916 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15919 * MenuBackend.h: remove support for reference menuitem type.
15921 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15923 * BufferView_pimpl.C: housekeeping
15924 * BufferView_pimpl.h:
15929 * minibuffer.h: move Timeout GUI-I
15931 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15933 * lyxrc.C (read): Update converters data-structures.
15935 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15937 * LaTeX.h (operator!=): add operator != for Aux_Info
15939 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15941 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15943 * LaTeXLog.C: deleted, useful code moved to Buffer
15946 * buffer.C: new function getLatexLogName()
15952 * lyxfunc.C: use frontends for LaTeX and VC logs
15954 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15956 * LaTeX.h: yet another std:: that Allan forgot.
15958 * Variables.C (set): renamed from isset(), because this clashes
15959 with some HP-UX macros (grr).
15961 2001-02-06 Allan Rae <rae@lyx.org>
15963 * LaTeX.h: Another bug fix. Missing std:: this time.
15965 2001-02-04 Allan Rae <rae@lyx.org>
15967 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15968 floats problem. I've left it commented out because it's not quite
15969 correct. It should also test that the current object is a table or
15970 figure inset. But I haven't gotten around to figuring out how to do
15971 that. I *think* it'll be something like: "table" == inset.type()
15973 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15976 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15978 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15979 all the citation/databases/styles in the auxilary file.
15980 (run): Rerun latex if there was a babel language error.
15982 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15984 * text.C (Backspace): Preserve the font when changing newline char
15986 (BreakParagraph): If the cursor is before a space, delete the space.
15988 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15990 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15992 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15993 new argument (code).
15994 (ChangeCitationsIfUnique): New method.
15996 * paragraph.C (GetPositionOfInset): Handle bibkey.
15998 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16000 * BufferView_pimpl.h: change type of Position::par_pos to
16001 LyXParagraph::size_type.
16003 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16005 * BufferView_pimpl.C (savePosition, restorePosition): Write
16006 messages to minibuffer.
16008 2001-01-28 José Matos <jamatos@fep.up.pt>
16010 * buffer.C (makeDocBookFile): adds support for document language.
16011 A silly restriction on the name of LatexCommand types where removed.
16012 Added support for CDATA sections, allows to chars unescaped, used
16013 among others in code, to avoid escape < and >.
16015 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16017 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16018 saved positions instrad of a stack. Furthermore, a position is
16019 stored using paragraph id/paragraph position.
16021 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16022 Remove LFUN_REF_BACK.
16024 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16026 * converter.C (dvipdfm_options): New method.
16028 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16030 * vspace.C (isValidLength): Fix for empty input string.
16032 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16034 * LyXAction.C (init): change description of LFUN_FIGURE to
16037 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16039 * LaTeX.C: add using directive
16041 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16043 * MenuBackend.C (expand): Fix the sorting of the formats.
16045 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16047 * lyx_main.C: tiny error message fix
16049 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16051 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16052 calling fl_initialize(). This fixes the problem with ',' as
16053 decimal separator in text files.
16055 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16057 * trans.C (process): Fix the keymap bug.
16059 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16061 * LaTeX.C (scanAuxFiles): New method. Provides support for
16062 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16063 (scanLogFile) Scan for "run BibTeX" messages.
16065 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16066 OT1 font encoding. Also, load the aecompl package if the ae
16069 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16071 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16073 * texrow.C (increasePos): turn two error messages into debug
16076 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16078 * LaTeX.C (scanAux): Handle the \@input macro.
16079 (runBibTeX): Use scanAux().
16081 * language.C (latex_options_): New field.
16083 * LaTeXFeatures.C (getMacros): Add language macros.
16085 * buffer.C (makeLaTeXFile): Small fix.
16087 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16089 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16091 * text2.C: add a using directive.
16093 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16098 * lyxfunc.C: kill LyXBell.
16100 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16102 * text.C (IsBoundary): Remove the error message
16104 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16106 * lyxrc.C (setDefaults): Correct initialization value for
16109 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16111 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16114 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16115 and GotoNextNote().
16117 * src/LyXAction.C: Added reference-next.
16119 * text.C (InsertChar): Use contains instead of strchr.
16121 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16123 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16125 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16126 alignment commands (when needed).
16128 * text.C (InsertChar): Add ':' to number separator chars.