1 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
5 * bufferlist.C (previous, next): new methods
8 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
10 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
12 * buffer.C (makeDocBookFile): add dsssl stylesheet control
15 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
17 * messages.C (Pimpl): strip off translation context information
19 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
21 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
22 the cursor is correct (bug 1694)
24 2004-10-13 José Matos <jamatos@lyx.org>
26 * output_docbook.C (docbookParagraphs): fix closing tags in the
29 2004-10-09 José Matos <jamatos@lyx.org>
31 * buffer.C: format up to 237.
32 * bufferparams.C (write): use tostr to convert booleans to strings.
34 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
36 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
38 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
40 * LaTeX.C: implement use of babel language in xindy.
42 2004-10-05 José Matos <jamatos@lyx.org>
44 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
45 Add new translators to help reading and writing the lyx file.
47 2004-10-05 José Matos <jamatos@lyx.org>
49 * ParagraphParameters.C (read):
50 * text.C (readParToken): replace nexToken by more appropriate lex
53 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
55 * LaTeX.C (runMakeIndex):
56 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
57 (usually 'makeindex') configurable.
59 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
60 with a variable rather than with a number.
62 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
64 * output_latex.C (TeXOnePar): make sure font setting is the first
65 thing that gets output (and the last at the end). Should fix bug
68 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
70 * pch.h: use proper signal include
72 * LaTeX.h: Use preferred calling of Boost.Signal
75 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
77 * pch.h: dont include <boost/function/function0.hpp>
79 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
81 * paragraph_pimpl.h: remove usage of ShareContainer
83 * paragraph_pimpl.C: remove initialization of ShareContainer.
85 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
89 * BufferView.C (putSelectionAt): change the semantics when
90 backwards == true: now, this just swaps cursor and anchor wrt the
93 * BufferView.h (putSelectionAt): add some documentation
95 * lyxfind.C (findBackwards): rewrite using while(). In particular,
96 make sure backwardChar is done at least once (to avoid getting
98 (findNextChange): use putSelectionAt in the forward direction
99 (operator()): use Paragraph::isWord
101 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
103 * Spacing.C (set): c_str fix
105 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * lyx_cb.C (Reconfigure): quote the name of configure script in
108 case it contains spaces
110 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
114 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
115 (BOOST_LIBS): use top_buildir when looking for the file
117 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
119 * pch.h: do not use include boost/format.hpp, multiple symbols
120 will result (gcc bug)
123 2004-08-23 José Matos <jamatos@lyx.org>
125 * bufferparams.C (readToken): fix reading of the author field.
127 2004-08-20 José Matos <jamatos@lyx.org>
129 * lyxrc.C: remove support/translator.h inclusion since it is not used.
131 2004-08-20 José Matos <jamatos@lyx.org>
133 * lyxlex.[Ch] (findToken): remove function.
135 * ParagraphParameters.C (findToken):
136 * bufferparams.C (findToken): replace call for previous function
137 with local copy. This local function has one more argument, the
138 read string argument.
140 2004-08-16 José Matos <jamatos@lyx.org>
142 * ParagraphParameters.C (write):
143 * Spacing.C (writeFile):
144 * bufferparams.C (writeLaTeX):
145 * lyx_cb.C (Reconfigure):
146 * paragraph.C (write):
147 * tabular.C (write): remove unnecessary space at end of line.
150 2004-08-16 José Matos <jamatos@lyx.org>
152 * text.C (readParagraph): remove debug message.
154 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
159 * output_plaintext.C (asciiParagraph): set depth correctly
161 * outputparams.h: add member depth
163 * paragraph_funcs.C (ownerPar): remove.
165 * text2.C (setCounter): remove first_pit; comment out some
166 non-working code that uses ownerPar
168 * BufferView.C (getParentLanguage): remove. Not used anymore, and
171 2004-08-16 José Matos <jamatos@lyx.org>
173 * text.C (readParToken, readParagraph, read): report all unknown tokens.
174 For the same level of importance use the same chanel to report problems.
175 (read): add code to deal with \begin_body and \end_body.
178 2004-08-15 José Matos <jamatos@lyx.org>
180 * lyxlex.C (getString): fix comment, buffer::readBody is now
183 * tex-strings.C (string_papersize): Default -> default,
184 Custom -> custom, for consistency with other options.
186 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
190 * Makefile.am: support pch
192 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * text.C (readParToken): remove the static LyXFont variable and
195 pass it as a parameter instead. This fixes a nasty bug where an
196 inset will be inserted with a bad font in some situations
197 (readParagraph): adapt
199 * text2.C (setCounter): reduce number of calls to pars_[pit]
201 * text.C (singleWidth): add an assert, fix a test
203 * rowpainter.C (paintText): reduce number of calls to singleWidth
205 * paragraph.C (isHfill):
208 2004-08-14 André Pönitz <poenitz@gmx.net>
213 * lyxtext.h (several functions): use a Paragraph & argument
216 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
218 * metricsinfo.h: add a new field ltr_pos to PainterInfo
220 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
222 * text.C (singleWidth): remove useless test
224 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
226 * tabular.h: remove bogus comments
228 * tabular.C (getDescentOfRow):
229 (isPartOfMultiColumn): add assertions
231 * lyxlength.C (inPixels): remove #warning
233 2004-08-14 André Pönitz <poenitz@gmx.net>
235 * paragraph.h: inline getChar()
237 * BufferView.h: remove unused declarations
239 2004-08-14 José Matos <jamatos@lyx.org>
241 * Buffer.[Ch] (readDocument): new name for old readBody.
242 * Buffer.C: new file format, new keywords: \begin_document,
243 \begin_header, \begin_body, \end_body.
245 * bufferparams.C (readToken): replace all calls to lex.nextToken
246 by lex.next(). Do the same to eatLine except where really needed.
248 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
249 line when writing to the lyx file.
251 * output_plaintext.C (asciiParagraph): fix Bibliography style
254 * text.C (read): fix end of file handling.
256 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * MenuBackend.C (Menu::operator[]): new method to access
259 individual menu items
260 (Menu::hasFunc): new method. search for an item that corresponds
262 (MenuBackend::specialMenu): new method
263 (MenuBackend::expand): if a special menu has been set, skip
264 entries whose func() appears in this menu
266 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
268 * text3.C: use Debug::DEBUG a bit more
270 * text.C (leftMargin): try to simplify a tiny bit change var x to
271 l_margin. Dont output the wide margins always.
272 (rightMargin): no margin in inner texts
274 * rowpainter.h (nestMargin): new func
275 (changebarMargin): new func
276 (rightMargin): new func
278 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
282 * factory.C (createInset): modify setDrawFrame
284 * cursor.C: use Debug::DEBUG a bit more
286 2004-08-14 André Pönitz <poenitz@gmx.net>
289 * Makefile.am: new files to accomodate an 'external' (x,y)-position
290 cache for all insets in (at least partially) visible (top-level)
293 * BufferView_pimpl.C: reset external coord cache before every update.
294 This means the coord cache only contains valid entries.
296 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
299 * BufferView_pimpl.C (getInsetByCode): move function out of class
300 and change in to a template in anon namespace. Also fix to do what
303 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
306 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
308 (breakParagraph): rename par to par_offset and use a local
309 reference. Add code to keep the language over a rebreak.
310 (breakParagraphConservative): rename par to par_offset, use a
312 (mergeParagraph): ditto
314 (isFirstInSequence): ditto
315 (outerFont): rename pit to par_offset
317 * paragraph.C: ws change
322 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
324 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
327 * paragraph.C (simpleTeXOnePar): when we have a \item with
328 optional argument, enclose the argument with curly brackets (in
329 case it contains a closing square bracket)
333 * text3.C (checkInsetHit): constify
335 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
337 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
340 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
342 Fix toggling of collapsable insets with the mouse (bug 1558)
344 * lyxfunc.C (dispatch): adapt to LCursor changes
346 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
347 make sure that dispatch is not invoked twice
349 * cursor.C (needsUpdate): new method
350 (dispatch): return void
351 (result): new method, to access the DispatchResult of the cursor.
353 2004-08-13 José Matos <jamatos@lyx.org>
355 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
357 2004-08-13 André Pönitz <poenitz@gmx.net>
359 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
361 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
364 2004-08-12 André Pönitz <poenitz@gmx.net>
366 * text3.C: take out the 'cursor right' form insertInset and only
367 do it in those places when it is really needed. Fixes crash on
370 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
374 * BufferView_pimpl.C (setBuffer): initialize the current font of
375 the underlying LyXText
377 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
379 * kbsequence.C (print): use UI native formatting for menu
382 * text.C (insertChar): call Paragraph::insertChar with a font
385 * paragraph.C (insertInset, insertChar): the version that takes a
386 LyXFont argument is now a wrapper around the other one (the
387 opposite used to be true).
389 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
390 argument. Font setting is done in Paragraph now.
392 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
394 * outputparams.h: add new members intitle and lang.
396 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
397 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
399 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
401 * text3.C (dispatch): remove special handling of button 4 and 5,
402 it is now taken care of in the frontend code.
404 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
406 * Spacing.h: add <string> (STLPort compile fix)
408 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
410 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
412 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
414 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
417 * converter.C (showMessage): inherit from unary_function, make
420 * buffer.C (writeFile): initialize retval
422 * InsetList.h: rename private variable list to list_
423 * InsetList.[Ch]: adjust accordingly.
425 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
427 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
428 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
429 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
430 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
431 * ParagraphParameters.C, LaTeXFeatures.C: replace
432 "support/std_sstream.h" with <sstream>
434 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
436 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
437 * lyxsocket.C (LyXServerSocket): ditto
438 (serverCallback): ditto
440 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
442 * LaTeXFeatures.C: check release date when loading jurabib.
444 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
446 * lyxserver.C (startPipe): call register_socket_callback
447 (endPipe): call unregister_socket_callback
449 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
451 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
452 (LyXServerSocket): register the callback
453 (LyXServerSocket): unregister the callback
454 (fd): delete function
455 (serverCallback): improve error checking and setup the callbacks.
456 (dataCallback): change arg to fd.
457 (writeln): new func (copied fro the client socket) used for server
459 (LyXDataSocket): simplify
460 (~LyXDataSocket): close ann unregiser callback
461 (server): delete function
462 (fd): delete function
463 (readln): small changes, improve some std::string usage
464 (writeln): constify a bit
466 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
468 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
471 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
473 * BufferView_pimpl.C (setBuffer): set the layout combox value only
474 after it has been populated
476 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
478 * text2.C (insertInset): move cursor when inserting inset.
480 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
482 * kbmap.C (findbindings): a couple of new methods. returns a
483 container of kb_sequence objects. The real work is done by the
484 private recursive version
485 (printbindings): uses findbindings to print out a bracketed list
486 of bindings (renamed from findbinding).
488 * MenuBackend.C (binding): use kb_keymap::findbindings
490 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
492 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
494 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
496 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * paragraph.C (isWord): return true on insets that report
501 * text.C (getWord): use Paragraph::isWord to decide what is in a
502 word and what is not; fix bug 1609.
504 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
506 * tex-strings.C: add "none" to string_paperpackages[], fixes
507 off-by-one-error in the paperpackage selection.
510 * tex-strings.[Ch]: char const * string[n]
511 -> char const * const string[]
513 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
515 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
516 command, return early.
518 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
520 * debug.h: add DEBUG to enum and fix size of ANY.
522 * debug.C: add support for Debug::DEBUG
523 (showTags): cast errorTags.level to unsigned int
525 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
526 (redoCurrentBuffer): ditto
527 (updateScrollbar): ditto
528 * cursor.C (dispatch): ditto
529 * text2.C (setLayout): ditto
531 (updateCounters): ditto
533 (deleteEmptyParagraphMechanism): ditto
535 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
537 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
538 annotations to cleanup the Makefile slightly.
540 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
542 * lyxrc.C: do not set user_email to a default value but use empty
543 instead. The entry used to be translated, which does not work
544 since at the point where lyxrc is constructed there is no
545 translation service available
547 * messages.C (getLocaleDir): remove and use directly
548 lyx_localedir() instead
550 2004-06-02 Angus Leeming <leeming@lyx.org>
552 Fix crash caused by dereferencing null pointer 'exportdata' in
553 OutputParams by creating a new ExportData variable on the heap,
554 storing it in a boost::shared_ptr.
555 The crash was triggered when generating an Instant Preview
556 of an external inset.
558 * Makefile.am: add outputparams.C
560 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
561 (c-tor): allocate memory to it.
563 * exporter.C (c-tor): associated changes.
565 2004-06-01 Angus Leeming <leeming@lyx.org>
567 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
568 contains data before calling isInset(0). (Bug 1513.)
570 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
572 * exporter.C (checkOverwrite): new method
573 * exporter.C (copyFile): new method
574 * exporter.C (Export): copy referenced files to the document dir
575 * exporter.[Ch]: new class ExportedFile
576 * exporter.[Ch]: new class ExportData. Contains currently the
577 names of referenced external files
578 * outputparams.h: add exportdata member.
580 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
582 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
585 2004-05-19 Angus Leeming <leeming@lyx.org>
590 * lyxfunc.C: small changes due to the introduction of namespace
591 lyx::frontend and the moving of namespace biblio to lyx::biblio.
593 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
595 * text3.C (dispatch): supress update when only moving the cursor
596 * cursor.C (selHandle): remove commented code
598 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
600 * paragraph.C (startTeXParParams): correct column count
601 * CutAndPaste.C (pasteSelection): remove const_cast
602 * output_docbook.C (docbookParagraphs): remove const_cast
603 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
604 const_cast and return ParagraphList::const_iterator
605 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
606 * output_plaintext.C (writeFileAscii): remove const_cast
607 * paragraph.[Ch] (simpleTeXOnePar): make const
608 * paragraph_funcs.C (outerPar): use const iterators
609 * paragraph_pimpl.C (validate): use const iterators
610 * text.C (setHeightOfRow): use const iterators
612 2004-05-17 Angus Leeming <leeming@lyx.org>
615 * LyXAction.C (init): new LFUN_INSET_REFRESH.
617 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
618 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
619 if the citation engine has changed.
621 2004-05-14 José Matos <jamatos@lyx.org>
623 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
624 if the textclass does not provide it. Have it different for sgml and
626 support the language of document.
627 * output_docbook.C (docbookParagraphs):
628 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
629 first anchor as the id of the paragraph, remove special case code.
630 * sgml.C (escapeChar): escape only < & >.
632 2004-05-14 Angus Leeming <leeming@lyx.org>
634 * bufferparams.h: move biblio::CiteEngine enum here to minimize
635 dependencies on src/frontends/controllers/biblio.h. Define a
636 CiteEngine_enum wrapper class to enable the enum to be forward
639 2004-05-12 Angus Leeming <leeming@lyx.org>
641 * buffer.C: up LYX_FORMAT to 234.
642 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
643 use_numerical_citations with a single biblio::CiteEngine cite_engine
645 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
647 2004-05-13 José Matos <jamatos@lyx.org>
650 * converter.C (Converter, readFlags): add xml member.
651 * outputparams.h: add XML flavor.
652 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
654 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
656 * lyxfunc.C (dispatch):
657 (getStatus): fix handling of LFUN_SEQUENCE
659 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
661 * debug.C (showLevel): do not forget the end-of-line marker
663 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
665 * kbmap.C (read): do not stop parsing a bind file when an error
668 2004-04-29 Angus Leeming <leeming@lyx.org>
673 * text2.C: wrap a bunch of #warning statements
674 inside #ifdef WITH_WARNINGS blocks.
676 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
678 * buffer.C: increment format to 233.
680 2004-04-28 Angus Leeming <leeming@lyx.org>
682 * BufferView_pimpl.C:
685 s/updateToolbar()/updateToolbars()/
686 s/Toolbar.h/Toolbars.h/
688 2004-04-28 Angus Leeming <leeming@lyx.org>
690 * BufferView.[Ch] (c-tor):
691 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
692 No longer passes these data to the WorkArea generator.
694 2004-04-28 Angus Leeming <leeming@lyx.org>
696 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
698 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
700 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
702 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
704 * output_latex.C (TeXEnvironment): make sure that there is a line
705 break before \end{foo} for the last paragraph of a document
706 (TeXOnePar): if the paragraph is at the end of the document (or
707 inset) and the language has to be reset, then make sure that the
708 line break is _before_ the language command, not after (fixes bug
709 1225); also make sure that the language reset command is the first
710 thing after the paragraph (to ensure proper nesting of
711 environments and thus fix bug 1404)
713 2004-04-21 John Levon <levon@movementarian.org>
716 * ToolbarBackend.C: make "name" be a programmatic name
717 and a gui_name field.
719 * lyxfunc.C: display the minibuffer on M-x
721 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
723 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
726 2004-04-19 Angus Leeming <leeming@lyx.org>
728 * BufferView_pimpl.C (setBuffer): changed preview interface.
730 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
733 2004-04-19 John Levon <levon@movementarian.org>
735 * BufferView_pimpl.C:
736 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
738 2004-04-05 Angus Leeming <leeming@lyx.org>
740 * text.C (redoParagraphs): add call to updateCounters(), thereby
741 fixing the missing "Figure #:" label from the caption of a
744 2004-04-13 Angus Leeming <leeming@lyx.org>
746 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
747 cursor is clicked out of an inset.
749 2004-04-13 Angus Leeming <leeming@lyx.org>
751 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
752 than an InsetOld one.
754 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
756 * format.[Ch]: add editor to Format
757 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
758 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
760 2004-04-08 André Pönitz <poenitz@gmx.net>
762 * metricsinfo.h: remove PainterInfo::width member
764 2004-04-08 Angus Leeming <leeming@lyx.org>
766 * lyx_sty.C (boldsymbol_def): modify so that it outputs
767 "\providecommand" rather than "\newcommand", thereby preventing
768 clashes with packages that define "\boldsymbol" themselves.
771 2004-04-08 Angus Leeming <leeming@lyx.org>
773 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
774 thereby squashing an unnecessary warning.
776 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
778 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
781 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
783 * BufferView.C (setCursor): call redoParagraph (some insets could
785 (putSelectionAt): remove the 'double update' trick
787 * BufferView_pimpl.C (fitCursor): call refreshPar
788 (workAreaDispatch): remove an uneeded update call
789 (dispatch): remove some manual update calls
791 * cursor.[Ch]: remove cached_y_, updatePos
792 (selHandle): set noUpdate when appropriate
794 * lyxfunc.C (dispatch): track if we need an update
796 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
798 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
799 (paintSelection): cheap optimization, do not call cursorX when not
801 (paintPars): change signature
804 (paintTextInset): adjust
808 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
810 * lengthcommon.C: compilation fix: remove explicit array size from
811 unit_name[] and friends
813 2004-04-05 Angus Leeming <leeming@lyx.org>
815 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
817 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
818 present only for the preferences dialog.
819 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
821 2004-04-05 Angus Leeming <leeming@lyx.org>
823 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
824 to enable the frontends to export changes to lyxrc correctly.
826 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
828 2004-04-07 André Pönitz <poenitz@gmx.net>
830 * cursor.[Ch] (selClear, adjust): remove math
832 * cursor_slice.C: more agressive assert
835 * BufferView_pimpl.C: rework mouse event dispatch
842 2004-04-05 André Pönitz <poenitz@gmx.net>
844 * cursor.[Ch] (valign, halign...): remove unneeded functions
846 2004-04-05 Angus Leeming <leeming@lyx.org>
848 * lyxlength.[Ch] (unit_name et al.): const-correct.
850 2004-04-05 Angus Leeming <leeming@lyx.org>
852 * BufferView_pimpl.C:
861 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
863 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
865 * text3.C (getStatus): add LFUN_BEGINNINGBUF
867 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
869 * lyxfind.C: add a couple of inTexted() tests + other small fixes
870 * BufferView_pimpl.[Ch] (getStatus)
871 * BufferView.[Ch] (getStatus): add
872 * lyxfunc.C (getStatus): move lfuns handled in
873 BufferView::dispatch to te function above
874 * Cursor.C (setSelection): set selection() = true
876 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
878 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
880 2004-03-31 Angus Leeming <leeming@lyx.org>
882 * lyxfunc.C (dispatch): Fall through to the generic
883 Dialogs::show("preamble").
885 2004-03-31 Angus Leeming <leeming@lyx.org>
887 * lyxfunc.C (dispatch): Fall through to the generic
888 Dialogs::show("spellchecker").
890 2004-03-31 Angus Leeming <leeming@lyx.org>
892 * lyxfunc.C (getStatus, dispatch): changed invocation of the
895 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
900 * insetiterator.[Ch]:
905 * undo.[Ch]: s/DocumentIterator/DocIterator/g
907 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
909 * BufferView.C (setCursor, putSelectionAt): call edit to open the
910 insets where we are putting the cursor.
912 2004-03-31 Angus Leeming <leeming@lyx.org>
915 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
917 * lyxrc.[Ch] (read, write): overloaded member functions taking
918 a std::[io]stream arguments.
920 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
922 2004-03-31 Angus Leeming <leeming@lyx.org>
924 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
925 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
927 * lyxtextclass.C (load): if the text class couldn't be loaded, then
928 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
930 2004-03-31 Angus Leeming <leeming@lyx.org>
932 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
933 the LFUN_ALL_INSETS_TOGGLE code.
935 2004-03-30 Angus Leeming <leeming@lyx.org>
937 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
938 has died. Fall through to the generic Dialogs::show("document").
940 2004-03-30 Angus Leeming <leeming@lyx.org>
943 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
944 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
946 * lyxfunc.C (getStatus, dispatch): define the actions for these
947 lfuns. Little more than a cut and pste job from ControlDocument.C
949 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
951 2004-03-30 Angus Leeming <leeming@lyx.org>
954 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
955 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
957 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
958 open/closed state of ollapsable insets. Usage:
960 all-inset-toggle <state> <name>, where
961 <state> == "open" || "closed" || "toggle" and
962 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
964 * lyxtext.h, text2.C (toggleInset): removed.
966 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
967 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
968 now passes LFUN_INSET_TOGGLE to the found inset.
970 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
971 is now invoked as "all-insets-toggle toggle branch".
973 2004-03-30 Angus Leeming <leeming@lyx.org>
977 * pariterator.[Ch]: added/corrected header blurb.
979 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
981 * dociterator.[Ch]: add an inset_ member
982 (backwardPos): implemented
983 (backwardPos, forwardPos): use inset_ when the stack is empty.
984 (doc_iterator_begin, doc_iterator_end): implemented
985 * pariterator.[Ch]: adjust, add begin, end
986 * insetiterator.[Ch]: adjust, add begin, end
990 * BufferView_pimpl.C:
991 * CutAndPaste.C: adjust
993 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
995 * buffer.C: increment file format to 232.
996 * LaTeXFeatures.C: add bibtopic package.
997 * bufferparams.[Ch]: param \use_bibtopic.
999 * lyxrc.[Ch]: add lyxrc bibtex_command
1000 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1002 * buffer.C: increment file format to 231.
1004 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1006 * dociterator.C: implement forwardPar
1007 * iterators.[Ch]: remove, replaced by
1008 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1010 * BufferView_pimpl.C:
1013 * bufferview_funcs.C:
1019 * Makefile.am: adjust
1021 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1023 * CutAndPaste.C (pasteSelection): fix 2 crashes
1024 (eraseSelection): fix a crash
1025 * paragraph_funcs.C: remove a warning
1027 2004-03-28 Angus Leeming <leeming@lyx.org>
1030 * LyXAction.C (init): new LFUN_PRINT.
1032 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1034 2004-03-27 Angus Leeming <leeming@lyx.org>
1037 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1039 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1041 2004-03-27 Angus Leeming <leeming@lyx.org>
1043 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1044 insetlist always contains non-null pointers to insets.
1046 2004-03-26 Angus Leeming <leeming@lyx.org>
1048 * src/BufferView_pimpl.C:
1049 * src/CutAndPaste.C:
1052 * src/output_plaintext.C:
1053 * src/outputparams.h:
1054 * src/paragraph_funcs.C:
1058 * src/frontends/controllers/ControlErrorList.C:
1059 * src/frontends/gtk/FileDialogPrivate.C:
1060 * src/frontends/gtk/GPainter.C:
1061 * src/frontends/gtk/GToolbar.C:
1062 * src/frontends/qt2/QRef.C:
1063 * src/mathed/math_scriptinset.C: squash compiler warnings.
1065 2004-03-26 Angus Leeming <leeming@lyx.org>
1067 * ispell.C (LaunchIspell::start):
1068 * lyx_cb.C (AutoSaveBuffer::start):
1069 invoke run(DontWait) rather than runNonBlocking().
1071 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1073 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1075 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1077 * kbsequence.C (print): adjust
1079 * kbmap.C (printKeySym): rename and change signature
1080 (printKey): use LyXKeySym::print()
1082 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1084 * undo.C: add using std::advance to compile for stlport
1086 2004-03-24 Angus Leeming <leeming@lyx.org>
1088 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1089 it leads to a crash when no buffer is present.
1091 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1092 Martin Vermeer <martin.vermeer@hut.fi>
1094 * lyxfunc.C (dispatch):
1095 * bufferparams.C (readToken): use the new LColor::setColor
1097 * LColor.[Ch] (setColor): new version that takes two strings as
1098 argument and creates a new color entry if necessary
1100 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1102 * buffer.C (makeLaTeXFile): if the main latex file that is
1103 processed is usually a subdocument of some master, then pretend
1104 for a while that it is actually the master
1106 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1108 * buffer.C (getLabelList):
1109 (getBibkeyList): use getMasterBuffer()
1110 (getMasterBuffer): new method. Returns the main document in the
1111 case where one is using included documents.
1113 2004-03-25 André Pönitz <poenitz@gmx.net>
1117 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1119 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1121 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1122 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1124 * ParameterStruct.h: merge with ParagraphParameters
1126 * lyxtext.h: remove LyXText::parOffset() and getPar()
1128 * text3.C: Remove all 'manual' update calls. We do now one per user
1129 interaction which is completely sufficient.
1133 * BufferView_pimpl.C:
1134 * FontIterator.[Ch]:
1136 * ParagraphParameters.[Ch]:
1141 * cursor_slice.[Ch]:
1148 * output_docbook.[Ch]:
1149 * output_latex.[Ch]:
1150 * output_linuxdoc.[Ch]:
1151 * output_plaintext.[Ch]:
1153 * paragraph_funcs.[Ch]:
1154 * paragraph_pimpl.[Ch]:
1162 * frontends/controllers/ControlDocument.C:
1163 * frontends/controllers/ControlErrorList.C:
1164 * frontends/controllers/ControlSpellchecker.C:
1167 * insets/insetbase.h:
1168 * insets/insetbibitem.C:
1169 * insets/insetbox.C:
1170 * insets/insetbranch.C:
1171 * insets/insetcaption.C:
1172 * insets/insetcharstyle.C:
1173 * insets/insetcharstyle.h:
1174 * insets/insetcollapsable.C:
1175 * insets/insetcollapsable.h:
1176 * insets/insetert.C:
1177 * insets/insetfloat.C:
1178 * insets/insetfoot.C:
1179 * insets/insetmarginal.C:
1180 * insets/insetnote.C:
1181 * insets/insetoptarg.C:
1182 * insets/insettabular.C:
1183 * insets/insettext.C:
1184 * insets/insettext.h:
1185 * insets/insetwrap.C:
1186 * mathed/math_mboxinset.C:
1187 * mathed/math_nestinset.C:
1188 * mathed/math_scriptinset.C:
1189 * mathed/math_scriptinset.h:
1192 2004-03-24 Angus Leeming <leeming@lyx.org>
1194 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1195 deal with any child processes that have finished but are waiting to
1196 communicate this fact to the rest of LyX.
1198 2004-03-24 Angus Leeming <leeming@lyx.org>
1200 64-bit compile fixes.
1202 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1203 (c-tor): pass lyx::pos_types rather than ints.
1205 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1208 * text.C (Delete): compile fix.
1209 (getPar): ensure that function declaration is the same as that in
1212 2004-03-23 Angus Leeming <leeming@lyx.org>
1214 * ispell.C (LaunchIspell):
1215 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1216 a boost::shred_ptr rather than a std::auto_ptr.
1218 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1220 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1221 handle LFUN_FILE_INSERT_*
1223 * lyxrc.C (setDefaults, getDescription, output, read):
1224 * lyxrc.h: remove ps_command
1226 2004-03-22 Angus Leeming <leeming@lyx.org>
1228 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1229 Ensure that error_handler is processed once only and that all data
1230 is saved before attempting to output any warning messages.
1232 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1234 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1236 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1238 2004-03-19 André Pönitz <poenitz@gmx.net>
1240 * cursor.[Ch] (reset): take main text inset as argument
1242 * BufferView: adjust
1243 * BufferView_pimpl.C: adjust
1245 * paragraph.[Ch]: fix completely broken operator=()
1247 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1249 * LColor.C (getFromLyXName): make sure that the color name is used
1252 2004-03-17 Angus Leeming <leeming@lyx.org>
1255 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1257 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1258 dialog and to kill a forked process.
1260 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1262 * text2.C (setCursorFromCoordinates): fix font problem
1264 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1266 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1267 bogus "rebuild cursor" code
1269 2004-03-11 André Pönitz <poenitz@gmx.net>
1271 * buffer.[Ch]: use InsetText instead of LyXText as container for
1274 * dociterator.[Ch]: drop the BufferView * member which is not needed
1275 anymore after the change to buffer.C
1277 * paragraph_funcs.C:
1281 * BufferView_pimpl.[Ch]:
1283 * cursor_slice.[Ch]: adjust
1285 * text3.C: fix bug in mathDispatch
1287 2004-03-08 André Pönitz <poenitz@gmx.net>
1289 * undo.[Ch]: use 'StableDocumentIterator' as base for
1292 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1295 * bufferparams.[Ch]: add jurabib support and param.
1297 * LaTeX.C: add FIXME/comment.
1299 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1301 * buffer.C: increment file format to 230.
1303 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1305 * cursor.C (dispatch): avoid infinite loops
1307 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1309 * rowpainter.C (paintSelection): fix x coordinates
1311 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1313 * text.C (rowBreakPoint): fix breaking before displayed insets
1315 2004-03-01 André Pönitz <poenitz@gmx.net>
1317 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1319 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1323 * BufferView_pimpl.C:
1331 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1337 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1338 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1340 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1342 * Bidi.[Ch] (computeTables): const correctness
1343 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1344 fill_hfill, fill_label_hfill and x from Row
1345 * lyxtext.h: prepareToPrint returns a RowMetrics
1346 * rowPainter.C: adjust
1347 * text.C (prepareToPrint): use width, not textWidth. adjust
1348 (redoParagraphInternal, cursorX): adjust
1349 * text2.C (getColumnNearX): adjust
1350 (init): put a default value to the top LyXText::width
1352 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1354 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1356 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1358 * lyxtext.h: add FontIterator class
1360 * text.C (FontIterator, operator*, operator->, operator++): add
1361 (rowBreakPoint, setRowWidth): adjust (fixing a
1364 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1366 * BufferView_pimpl.C (workAreaDispatch): allow also
1367 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1369 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1371 * text.C (rowBreakPoint): fix a bug showing with very large insets
1373 2004-02-25 André Pönitz <poenitz@gmx.net>
1376 * cursor.[Ch]: move some mathed specific code to mathed
1378 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1380 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1381 use_tempdir in preferences
1382 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1384 * lyx_main.C: ensure that tempdir is valid
1385 * lyxlex.h: correct typo
1386 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1387 * paragraph.[Ch] (isMultiLingual): make const
1388 * cursor.[Ch] (openable): make const
1390 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1392 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1394 2004-02-20 André Pönitz <poenitz@gmx.net>
1396 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1398 * cursor.[Ch]: prepare for localized getStatus()
1404 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1406 2004-02-20 André Pönitz <poenitz@gmx.net>
1408 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1410 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1412 * text2.C (setCursorFromCoordinates): switch to absolute coords
1414 (cursorDown): adjust
1415 * text3.C (dispatch): adjust
1417 2004-02-16 André Pönitz <poenitz@gmx.net>
1419 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1422 * cursor_slice.[Ch]: remove unneeded acessor function
1424 * lyxtext.h: rename rtl() to isRTL()
1432 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1434 * rowpainter.C (paintSelection): coord fix
1436 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1438 * Spacing.C: compile fix
1440 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1442 * cursor.C (dispatch): restore current_ before returning
1444 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1446 * text2.C (cursorUp, cursorDown): fix coords
1449 2004-02-12 André Pönitz <poenitz@gmx.net>
1454 * text3.C: add LCursor & parameter to most cursor movement functions
1455 remove usage of LyXText::cursorRow() and cursorPar()
1457 * cursor.[Ch]: add textRow() needed members
1460 * BufferView_pimpl.C:
1463 * BufferView_pimpl.C: adjust
1465 2004-02-11 André Pönitz <poenitz@gmx.net>
1469 * BufferView_pimpl.C: shift undo/redo handling
1471 * cursor.[Ch]: fix mathed crash
1474 * lyxtext.h: move selectionAsText to LCursor
1482 * rowpainter.C: fix excessive drawing
1484 2004-02-06 André Pönitz <poenitz@gmx.net>
1487 * BufferView_pimpl.[Ch]:
1488 * text3.C: move some text specific LFUN handling
1490 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1492 * text3.C (checkInsetHit): adjust coords
1493 * text2.C (getColumnNearX): adjust coords
1494 (edit): adjust coords
1495 * text.C (getRowNearY): add two asserts
1497 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1500 * format.C: add using std::distance to compile on gcc 2.95/stlport
1502 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1504 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1506 2004-02-04 André Pönitz <poenitz@gmx.net>
1508 * BufferView.[Ch] (insertInset):
1509 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1514 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1516 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1517 on the default clause of the switch
1518 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1519 wasn't catched by LCursor::dispatch
1521 2004-02-03 André Pönitz <poenitz@gmx.net>
1524 * cursor.[Ch]: some additional asserts
1526 * undo.[Ch]: remove LyXText dependency in interface
1530 * lyxtext.h (firstPar, lastPar): remove dead functions
1535 * paragraph.[Ch]: adjust
1537 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1539 * lyxfind.C (find): fix argument order in call to ::find
1541 2004-02-02 André Pönitz <poenitz@gmx.net>
1543 * cursor.[Ch]: remove direct access to anchor
1545 * text.C: remove findText() hack
1547 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1549 * iterators.[Ch] (lockPath): remove in favour of...
1550 * BufferView.[Ch] (setCursor): this addition
1551 * BufferView.C (putSelectionAt): adjust
1552 * undo.C (performUndoOrRedo): adjust
1553 * lyxfunc.C (dispatch): adjust
1555 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1557 * iterators.C (lockPath): add a missing slice
1558 * undo.C (performUndoOrRedo): remove redundant positioning code
1560 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1562 * vc-backend.C (scanMaster): ";" -> ';'
1564 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1566 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1567 std::binary_function
1569 * lyxtextclass.C (compare_name): rename to...
1570 (LayoutNamesEqual): ...this
1572 * lyxlex_pimpl.C (compare_tags): inherit from
1573 std::binary_function, put back into anon namespace
1575 * lyxfind.C (MatchString): inherig from std::binary_function
1576 (findChange): use empty() istead of !size()
1578 * format.C (FormatNamesEqual): new functor
1585 * converter.C (compare_Converter): rename to...
1586 (ConverterEqual): ...this, and fixup a bit.
1587 (getConverter): use it, and make function const
1588 (getNumber): use it, and make function const
1592 * bufferlist.C: add using boost::bind
1594 * MenuBackend.C (MenuNamesEqual): new functor
1595 (hasMenu): use it, and make function const
1596 (hasSubmenu): use nested bind to get rid of compare_memfun.
1598 2004-01-30 André Pönitz <poenitz@gmx.net>
1600 * BufferView_pimpl.C:
1603 * cursor_slice.[Ch]:
1606 * paragraph_funcs.C:
1607 * paragraph_funcs.h:
1611 * text3.C: move some of the edit(x,y) handling to the insets
1612 some coordinate changes.
1614 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1616 * text.C: add using statements for std::advance and std::distance
1618 * paragraph.C: add using statement for std::distance
1620 * lyxfind.C: add using statement for std::advance
1622 * cursor.C (region): remove std:: from swap
1623 (openable): use nucleus in stead of operator->
1625 * BufferView.C: add using statements for std::distance and std::swap
1627 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1629 * iterators.C: Remove the pimple, move the needed structures to
1630 the header file. Create accessor for the positions stack.
1631 (asPosIterator): remove function
1633 * PosIterator.C (PosIterator): move constructors to top of file
1634 (PosIterator): reimplement the constructor taking a ParIterator in
1636 (setFrom): new function
1637 (operator!=): inline it
1639 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1641 * lyxfind.C (replaceAll): use std::advance
1643 * iterators.h: inherit from std::iterator.
1645 * PosIterator.C (advance, distance): remove
1646 * PosIterator.h: interit from std::iterator.
1648 2004-01-26 André Pönitz <poenitz@gmx.net>
1651 * BufferView_pimpl.[Ch]:
1655 * bufferview_funcs.C:
1665 * output_linuxdoc.C:
1666 * output_plaintext.C:
1668 * paragraph_funcs.[Ch]:
1669 * paragraph_pimpl.[Ch]:
1675 * text3.C: more IU: dumps most of the rest of the mathcursor
1676 implementation into cursor.[Ch]; "globalize" a bit of it.
1678 2004-01-25 Angus Leeming <leeming@lyx.org>
1680 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1682 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1684 * LaTeXFeatures.h: add nice_ and nice() const
1685 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1687 2004-01-20 André Pönitz <poenitz@gmx.net>
1690 * BufferView_pimpl.C:
1692 * bufferview_funcs.C:
1694 * cursor_slice.[Ch]:
1705 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1706 LCursor and mathcursor parts to LCursor and InsetBase.
1708 2004-01-15 André Pönitz <poenitz@gmx.net>
1710 * cursor_slice.[Ch]: add a few covienience functions
1712 * funcrequest.[Ch]: remove BufferView * member
1714 * BufferView_pimpl.C:
1721 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1723 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1725 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1726 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1728 2004-01-13 André Pönitz <poenitz@gmx.net>
1731 * lyxtext.h: hide cursor and selection anchor behind accessor function
1734 * BufferView_pimpl.[Ch]:
1736 * bufferview_funcs.C:
1746 * cursor_slice.[Ch]: some integer type changes for inset unification
1748 * lyxcursor.[hC]: remove, it's CursorSlice now.
1751 * BufferView_pimpl.[Ch]:
1752 * bufferview_funcs.C:
1758 * textcursor.[Ch]: adjust
1760 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1762 * text2.C (undoSpan): add and use
1763 * text.C (breakParagraph): use undoSpan (fix bug 578)
1766 2004-01-08 Angus Leeming <leeming@lyx.org>
1768 * BufferView_pimpl.C (MenuInsertLyXFile):
1769 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1770 * lyxfunc.C (menuNew, open, doImport):
1771 FileFilterList change to the FileDialog open and save functions.
1773 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1775 * ShareContainer.h: make isEqual and isUnique adaptable
1777 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1779 2004-01-07 Angus Leeming <leeming@lyx.org>
1782 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1784 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1786 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1787 functions replacing find, replace and replaceAll.
1789 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1790 LFUN_WORDFIND(FORWARD|BACKWARD).
1792 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1794 * text.C (breakParagraph): remove an outdated #warning
1796 2004-01-07 André Pönitz <poenitz@gmx.net>
1798 * lyxfind.C: somewhat clearer logic
1800 * text.C: prevent crash in cursorX on unitialized row cache
1802 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1804 * lyxcursor.[Ch] (operator>): add
1805 * textcursor.C (selStart, selEnd): use std::min and std::max
1807 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1809 * Chktex.C: include boost/format.hpp
1811 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1813 * InsetList.C: replace functor MathcIt with adaptable functor
1815 (insetIterator): modify accordingly
1817 * BranchList.h: move the BranchNamesEqual functor here from...
1818 * BranchList.C: ... to here
1820 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1822 (add): replace a finding loop with std::find_if.
1824 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1826 * output_docbook.C: moving LatexParam functionality into
1829 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1831 * buffer.C: increment format to 229.
1833 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1836 * lyx_sty.[Ch]: remove minipageindent_def
1842 * text3.C: remove LFUN_INSET_MINIPAGE
1844 2003-12-28 Angus Leeming <leeming@lyx.org>
1846 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1848 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1850 * text2.C (setParagraph): fix off-by-one crash
1852 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1854 * output_docbook.C: header stuff for AGU
1856 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1858 * text2.C (redoCursor): remove
1861 * BufferView_pimpl.C: remove calls to redoCursor and
1862 setCursor(cursor.par(), cursor.pos()) all around
1864 2003-12-15 Angus Leeming <leeming@lyx.org>
1866 * buffer.C: up the format to 228.
1868 2003-12-15 André Pönitz <poenitz@gmx.net>
1870 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1875 * BufferView_pimpl.C:
1884 2003-12-15 Angus Leeming <leeming@lyx.org>
1886 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1887 than getFromGUIName to manipulate the color.
1889 2003-12-14 Angus Leeming <leeming@lyx.org>
1891 * BranchList.[Ch]: minimize the API.
1892 (Branch::getBranch, getColor): now return a 'const &'.
1893 (Branch::setSelected) now returns a bool set to true if the
1894 selection status changes.
1895 (BranchList::clear, size, getColor, setColor, setSelected,
1896 allBranches, allSelected, separator): removed.
1897 (BranchList::find): new functions, returning the Branch with
1899 (BranchList::add, remove): return a bool indicating that
1900 the operation was successful.
1902 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1903 new InsetBranch::isBranchSlected member function.
1905 * LColor.[Ch]: mimimize the API.
1906 (fill): renamed as addColor and made private.
1907 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1908 versions of these functions taking a string arg have been removed.
1910 * bufferparams.C (readToken):
1911 * lyxfunc.C (dispatch):
1912 * lyxrc.C (read): changes due to the altered BranchList and
1915 * factory.C (createInset, readInset): changes due to altered
1918 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1921 * lyxfunc.C: remove insetminipage. "minipage-insert"
1922 now produces a frameless minipage box inset.
1924 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1926 * textcursor.[Ch] (selStart,selEnd): add new methods
1927 remove selection::start, end, use LyXCursor::operator<
1928 * lyxcursor.[Ch] (operator<): add
1929 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1930 * BufferView.[Ch] (unsetXSel): add
1931 * text2.C (clearSelection): use unsetXSel,adjust
1934 * rowpainter.C: adjust
1935 * bufferview_funcs.C (put_selection_at): adjust
1937 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1939 * BufferView_pimpl.C: small coord. correction
1941 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1943 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1944 dragging over the splash screen.
1946 2003-12-11 Angus Leeming <leeming@lyx.org>
1948 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1949 as it is now handled in LyXText::dispatch.
1951 * text3.C (doInsertInset): remove a level of nesting.
1953 2003-12-11 Angus Leeming <leeming@lyx.org>
1955 * factory.C (createInset): changes due to the changed interface to
1956 InsetCommandMailer::string2params.
1958 2003-12-10 Angus Leeming <leeming@lyx.org>
1960 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1961 'dialog-show-new-inset <inset name>'
1963 2003-12-10 Angus Leeming <leeming@lyx.org>
1965 * buffer.C: up the format to 227.
1967 * factory.C: the box inset is now identified simply by 'Box'.
1969 2003-12-10 Angus Leeming <leeming@lyx.org>
1971 * buffer.C: up the format to 226.
1973 * factory.C: the note inset is now identified simply by 'Note'.
1975 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1977 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1978 when a pit is enough. Standarize a couple of loops.
1980 2003-12-05 Angus Leeming <leeming@lyx.org>
1982 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1983 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1984 data to the re-worked "log" dialog.
1986 2003-12-03 André Pönitz <poenitz@gmx.net>
1992 * paragraph_funcs.C:
1994 * text2.C: use Inset::getText instead of Inset::getParagraph
1996 2003-12-03 André Pönitz <poenitz@gmx.net>
2000 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2001 InsetText::read() as LyXText::read()
2003 2003-12-02 Angus Leeming <leeming@lyx.org>
2005 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2006 type. Add a comment in the implementation that the function uses
2007 the stream's bad() function rather than fail() as the std::streams
2010 2003-12-02 André Pönitz <poenitz@gmx.net>
2012 * lyxlex.[Ch]: make interface more similar to std::stream
2014 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2016 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2018 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2020 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2022 * vspace.[Ch]: remove VSpace::NONE
2024 2003-12-01 André Pönitz <poenitz@gmx.net>
2027 * lyxtext.h: move ParagraphList member to LyXText
2028 rename LyXText::ownerParagraphs to LyXText::paragraph
2031 * bufferview_funcs.C:
2041 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2043 * undo.C: fix cursor positioning
2045 2003-12-01 John Levon <levon@movementarian.org>
2047 * BufferView_pimpl.C: fix a crash on exit with
2050 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2052 * BranchList.C: fix setSelected() method.
2054 2003-11-28 André Pönitz <poenitz@gmx.net>
2056 * ParagraphParameters.[Ch]:
2057 * ParameterStruct.h: remove space above/below from Paragraph to
2060 * BufferView_pimpl.C:
2066 * paragraph_funcs.C:
2072 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2074 * factory.C: Syntax change for CharStyles
2076 2003-11-28 André Pönitz <poenitz@gmx.net>
2081 * buffer.[Ch]: move LyXText member
2083 2003-11-28 André Pönitz <poenitz@gmx.net>
2085 * BufferView.[Ch]: make LyXText * text a private member
2087 * BufferView_pimpl.C:
2098 * output_plaintext.C: cleanup
2100 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2103 * lyxtextclass.[Ch]: parametrize SGML document header
2105 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2108 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2111 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2113 * text2.C (setFont): rework using PosIterator (no more recursive)
2114 (setCharFont): no more needed
2115 (setLayout): no more selection cursors fiddling (done by redoCursor)
2116 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2117 destroy remaining ones)
2119 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2121 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2123 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2126 * text3.C: adjust + re-allow multi par depth changes
2127 * textcursor.C: simplify a bit
2129 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2135 * src/output_docbook.C:
2136 * src/output_latex.C:
2141 * src/text2.C: Introducing a number of tags parametrizing various
2142 XML formats that we may want to support
2144 2003-11-25 André Pönitz <poenitz@gmx.net>
2146 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2148 * lyxtext.h (leftMargin/rightMargin): simplify interface
2155 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2157 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2158 master file to any child files. Fixes bug 546.
2160 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2162 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2164 2003-11-24 André Pönitz <poenitz@gmx.net>
2166 * rowpainter.C: simplification
2168 * text2.C (updateCounters): remove call to redoParagraph on
2169 changed labels as this is far too expensive.
2171 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2173 * converter.C (convert): fix a crash: this function gets
2174 called with buffer == 0 from importer code.
2176 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2178 * text3.C (cursorPrevious): make sure that we do not compare
2179 iterators form different containers.
2182 * rowpainter.C (paintSelection): make sure that we do not compare
2183 iterators from different containers.
2185 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2186 iterators from different ParagraphList containers.
2189 * text2.C (LyXText): change order of initialization slightly
2190 (operator=): new function. copy all variables except cache_par_
2191 (moveUp): make sure that we do not compare iterators from
2192 different ParagraphList constainers.
2195 * text.C (firstPar): new function
2196 (lastPar): new function
2197 (endPar): new function
2199 * lyxtext.h: move things around and group public functions, public
2200 variables, private functions, private variables
2202 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2204 * factory.C: change call to InsetERT constructor to avoid
2205 additional invocation of method status
2206 * text2.C (toggleInset): remove redundant update() call
2207 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2208 instead of a Bufferview pointer
2210 2003-11-21 André Pönitz <poenitz@gmx.net>
2212 * rowpainter.C: simplification
2214 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2216 * text3.C (dispatch): make possible to extend a word/row selection
2219 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2221 * lyxtext.h: x0_,y0_ -> xo_,yo_
2222 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2223 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2224 * rowpainter.C (paintRows): paint full paragraphs
2226 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2228 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2231 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2233 * lyxtext.h: add x0_, y0_
2234 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2235 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2237 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2239 * text2.C (setCursorIntern): move the x_target update here *
2240 * text3.C: change some bv() to true/false in calls to
2241 cursorUp/Down/Right/Left
2242 * cursor.C: use helper function.
2244 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2246 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2247 * paragraph_funcs.[Ch]: correct comment
2248 * rowpainter.C: do not paint selections away from bv->cursor()
2249 Fix a long standing selection painting bug.
2250 * text3.C: generalize mouse-selection code to LyXTexts other that
2252 * textcursor.C: do not use y coords if we can use par offsets
2254 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2256 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2257 cursor position after e.g. inset insert)
2259 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2261 * lyxfind.C (replace): adjust to locking removal + some
2264 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2266 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2269 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2272 * output_docbook.C: XML sanitation: new layout
2273 parameters InnerTag and CommandDepth
2275 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2277 * BufferView_pimpl.C:
2279 * text3.C: Fix the insertion and modification of button-style
2282 2003-11-13 André Pönitz <poenitz@gmx.net>
2284 * InsetList.[Ch]: remove deleteLyXText
2286 * paragraph.[Ch]: cache beginOfBody position
2291 * text3.C: remove superfluous update() calls
2295 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2297 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2298 * BufferView.C (fitLockedInsetCursor): remove
2299 * cursor.[Ch] (getDim): add
2300 * text.C (getRowNearY): add faster version
2301 * text3.C: remove some update calls
2303 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2315 * text3.C: The Character Style /XML short element patch.
2317 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2320 * factory.C: Small step to solving 'unable to insert some insets'
2323 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2325 * cursor.[Ch] (updatePos): new function for updating the y
2326 position of the tip inset
2327 * bufferview_funcs.C (put_selection_at):
2328 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2330 2003-11-11 André Pönitz <poenitz@gmx.net>
2332 * text.C: remove big comment on invalid Paragraph pointers as it is
2335 2003-11-11 André Pönitz <poenitz@gmx.net>
2337 * text_funcs.[Ch]: merge with ...
2345 * Makefile.am: remove text_funcs.[Ch]
2347 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2349 * cursor.C (getPos): return absolute cached y coord
2351 * BufferView_pimpl.C (fitCursor): new simplistic code
2352 (workAreaDispatch): add a fitCursor call
2354 2003-11-10 André Pönitz <poenitz@gmx.net>
2357 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2359 2003-11-10 André Pönitz <poenitz@gmx.net>
2361 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2362 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2363 indicate that the cursor needs to leave an inset
2365 * lyxtext.h: remove inset locking
2367 * cursor.[Ch]: re-implement functionality provided by inset locking
2370 * BufferView_pimpl.[Ch]:
2372 * bufferview_funcs.[Ch]:
2384 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2386 * PosIterator.[Ch]: replace the stack with a vector, add inset
2388 * iterators.[C]: adjust
2390 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2392 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2394 * paragraph_funcs.C (readParToken): put the correct id in the
2395 error item, not the id of the top paragraph
2397 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2399 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2400 * bufferview_funcs.C (put_selection_at): use the above
2402 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2404 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2406 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2408 * output_linuxdoc.h:
2409 * output_plaintext.h:
2411 * output_docbook.h: add #include statements
2413 2003-11-05 José Matos <jamatos@lyx.org>
2415 * output_docbook.[Ch]:
2416 * output_latex.[Ch]:
2417 * output_linuxdoc.[Ch]:
2418 * output_plaintext.[Ch]: New files for output formats.
2419 * output.[Ch]: New file for helper functions.
2422 * paragraph_funcs.[Ch]: output functions moved to new files.
2424 * outputparams.h: rename of latexrunparams.h
2432 * paragraph_funcs.[Ch]:
2433 * paragraph_pimpl.[Ch]:
2434 * tabular.[Ch]: rename ascii to plaintext
2435 and LatexRunParams to OutputParams.
2437 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2439 * iterators.[Ch] (text): require bv argument
2440 * undo.C (recordUndo):
2441 * lyxfunc.C (dispatch):
2442 * bufferview_funcs.C (put_selection_at): adjust
2444 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2446 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2448 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2450 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2453 2003-11-04 André Pönitz <poenitz@gmx.net>
2455 * cursor.[Ch]: restructure
2458 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2460 * iterators.[Ch] (asCursor): remove
2462 * lfuns.h: remove LFUN_INSET_EDIT
2468 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2470 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2472 * lyxfind.[Ch]: complete overhaul
2473 * BufferView_pimpl.C:
2475 * paragraph.[Ch] (insert): add
2477 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2481 * text.C: remove dead spellcheck code
2483 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2485 * dispatchresult.h: add a val setter
2487 * cursor.C (dispatch): use a tempvar for data_[i]
2489 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2491 * PosIterator.[Ch]: compile fix
2493 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2495 * text.C (cursorPar): deactivate the cursor cache
2497 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2499 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2501 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2503 * text3.C (dispatch): adjust for new DisptchResult semantics.
2505 * lyxfunc.C (dispatch): handle update when return from
2506 Cursor::dispatch, adjust for new DispatchResult semantics.
2508 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2509 DispatchResult(true) mean to not update. Add class functions for
2510 setting dispatched and update, as well as reading.
2512 * cursor.C (dispatch): don't handle update here
2514 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2516 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2517 * trans_mgr.C: adjust
2519 * paragraph_funcs.C (readParToken): exception safety
2521 * lyxvc.h: store the vcs pointer in a scoped_ptr
2524 * lyxsocket.C (serverCallback): exception safety
2526 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2528 * ispell.C (clone): make it return a auto_ptr
2530 * factory.C (createInset): exception safety
2531 (readInset): exception safety
2533 * bufferlist.C (newBuffer): exception safety
2535 * Thesaurus.C (Thesaurus): use initialization for aik_
2537 * MenuBackend.C (expandToc): exception safety.
2539 2003-11-03 André Pönitz <poenitz@gmx.net>
2543 * bufferview_funcs.C: remove getInsetFromId()
2546 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2552 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2554 * PosIterator.C (distance, advance): new
2555 * bufferview_funcs.[Ch] (put_selection_at): new
2556 * iterators.[Ch] (lockPath): new
2558 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2560 * iterators.[Ch] (asPosIterator): added
2561 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2562 * PosIterator.[Ch]: added
2564 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2568 * cursor.C (dispatch):
2569 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2571 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2572 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2573 contructor, add a class function dispatched. Remove operator>=
2575 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2577 * debug.C: only use the default constructor for debugstream
2580 * main.C (main): include debug.h and setup the lyxerr streambuf
2583 2003-10-31 José Matos <jamatos@lyx.org>
2585 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2587 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2588 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2589 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2590 * paragraph_pimpl.C (simpleTeXSpecialC):
2591 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2592 add LatexRunParams argument.
2594 * exporter.C (Export): change call accordingly.
2596 * latexrunparams.h: add new member to take care of the other backends.
2597 2003-10-30 José Matos <jamatos@lyx.org>
2599 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2600 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2601 factorise code for paragraph output.
2603 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2606 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * text3.C (dispatch):
2609 * lyxfunc.C (dispatch):
2610 * cursor.C (dispatch):
2611 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2613 * dispatchresult.h: make the dispatch_result_t ctor explicit
2615 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2618 * buffer.C: small refactoring of docbook stuff
2620 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2622 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2625 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2627 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2628 operator dispatch_result_t, and operators for == != and >=
2630 * cursor.C (dispatch): adjust for operator dispatch_result_t
2631 removal. comment out call to update
2633 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2635 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2646 * dispatchresult.h: new file, DispatchResult broken out of
2649 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2651 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2653 * text.C (rowBreakPoint): put a hack inside #if 0
2655 2003-10-28 André Pönitz <poenitz@gmx.net>
2659 * paragraph_funcs.C:
2662 * text2.C: general cleanup (lots of small stuff)
2664 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2666 * text2.C (cursorEnd): simple fix to the "end key goes to one
2667 before the end on last row" bug
2669 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2671 * text.C (backspace): fix the "zombie characters"
2673 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2675 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2677 2003-10-27 André Pönitz <poenitz@gmx.net>
2679 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2681 * factory.C: handle new InsetPagebreak, InsetLine
2683 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2684 and move handling into new InsetPagebreak, InsetLine
2686 * BufferView_pimpl.C:
2688 * ParagraphParameters.C:
2689 * ParameterStruct.h:
2694 * paragraph_funcs.C:
2695 * paragraph_pimpl.C:
2701 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2704 * lyxrow_funcs.[Ch]:
2710 * text3.C: remove lastPos uses in favour of Row::endpos
2712 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2714 * undo.C (performUndoOrRedo): fix two crashes by setting a
2715 cursor by hand and reordering some calls. Use bv->lockInset instead
2716 of inset->edit because the latter loses cursor information
2718 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2720 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2722 (rowBreakPoint): fix width. change point to point + 1.
2723 Add a missing check.
2725 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2728 * lyxfunc.C: fix (at least partly) the problems
2729 with the Nav menu and headers inside branch insets
2732 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2734 * paragraph.C (getChar): add strong asserts
2736 * lyxrow_funcs.C (lastPos): remove hideous hack
2738 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2739 (fill): adjust to that (avoid an infinite loop)
2741 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2743 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2745 2003-10-23 André Pönitz <poenitz@gmx.net>
2747 * RowList_fwd.h: change list<> to vector<> to gain speed
2748 after suggestion from Alfredo
2750 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2752 * lyxtext.h: move the bidi stuff from here...
2755 * Bidi.[Ch]: ... to here
2757 2003-10-23 André Pönitz <poenitz@gmx.net>
2760 * text.C (isLastRow, isFirstRow): new functions
2762 * paragraph.h: new width cache member
2764 * rowpainter.C: replace RowList::iterator with Row & where possible
2766 * lyxfunc.C: replace several view()->text with a single call
2768 * toc.C: fix 'unused' warning
2770 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2772 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2773 when woring with stream::pos_type
2774 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2776 2003-10-22 André Pönitz <poenitz@gmx.net>
2779 * text.C: use Row & instead of RowList::iterator
2781 * lyxrow.h: rename end() to endpos()
2787 2003-10-22 Angus Leeming <leeming@lyx.org>
2789 * buffer.[Ch] (fully_loaded): new member function, returning true
2790 only when the file has been loaded fully.
2791 Used to prevent the premature generation of previews and by the
2792 citation inset to prevent computation of the natbib-style label.
2794 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2795 templates are all set up.
2797 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2799 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2801 * text.C: fixed an "oops" in the "is a bit silly"
2804 2003-10-21 André Pönitz <poenitz@gmx.net>
2806 * FuncStatus.[Ch]: small stuff, whitespace
2808 * lyxfont.[Ch]: operator<<() for debug reasons
2812 * lyxtext.h: whitespace, spelling
2814 * paragraph.C: naming of variables
2817 * text2.C: small stuff
2820 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2822 * text.C: (1) finish off the inset display() work;
2823 (2) fix the "is a bit silly" bug (accessing char
2826 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2828 * text.C: re-introduce display() for insets, fixing the
2829 various bugs (stretch of line above, math inset
2832 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2834 * text.C (rightMargin): remove spurious semicolon
2836 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2839 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2841 * text3.C: fix one crash due to wrong cursor def
2843 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2845 * vc-backend.C (scanMaster): make the regex static
2847 * LaTeX.C (scanAuxFile): make the regexs static
2849 * text3.C (doInsertInset, dispatch, dispatch):
2850 * text2.C (cursorUp, cursorDown):
2851 * text.C (selectNextWordToSpellcheck):
2852 * BufferView_pimpl.C (dispatch):
2853 * lyxfunc.C (dispatch): localDispatch -> dispatch
2855 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2857 * lyxsocket.C: include <cerrno>
2859 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2861 * lyxfunc.C (dispatch): remove textcache stuff
2863 * bufferlist.C (release): remove textcache stuff
2866 * TextCache.C: delete file
2867 * TextCache.h: delete file
2869 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2871 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2872 delete of the bv_->text.
2873 (resizeCurrentBuffer): remove texcache stuff
2874 (workAreaResize): ditto
2876 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2878 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2881 2003-10-16 André Pönitz <poenitz@gmx.net>
2888 * text3.C: speed up by storing y positions per paragraph plus per-row
2889 offset instead of having a 'full' y position in the row.
2891 2003-10-15 André Pönitz <poenitz@gmx.net>
2895 * undo.[Ch]: make undo aware of inner insets
2897 2003-10-14 Angus Leeming <leeming@lyx.org>
2899 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2900 static member functions LyX::ref() and LyX::cref.
2901 (lastfiles): new accessor functions for the new lastfiles_ member var.
2902 (addLyXView, views_): add a new LyXView to the list of views_.
2903 (updateInset): loop over all LyXViews to call their own updateInset
2904 member function, returning a pointer to the Buffer owning the inset.
2906 * BufferView_pimpl.C (loadLyXFile):
2907 * MenuBackend.C (expandLastfiles):
2908 * bufferlist.C (MenuWrite, QuitLyX):
2909 lastfiles is no longer a global variable.
2910 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2912 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2913 static function. Access through LyX::cref().emergencyCleanup().
2915 2003-10-14 André Pönitz <poenitz@gmx.net>
2917 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2919 * undo.[Ch]: restoring part of 'undo in insets'
2922 * undo_funcs.[Ch]: merge with undo.[Ch]
2924 * tabular.C: small cleansing stuff
2926 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2928 * paragraph_funcs.C (readParToken): report unknown insets as error
2929 boxes. Use the outer paragraph as location (also for unknown
2932 * factory.C (readInset): do not abort on reading an unknown inset.
2933 Eat it and return 0.
2935 2003-10-13 Angus Leeming <leeming@lyx.org>
2937 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2939 * lyxrc.C: displayTranslator is now a function,
2940 declared in GraphicsTypes.h.
2942 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2944 * format.C: new placeholder $$a to pass the socket address.
2946 * bufferlist.[Ch]: new function getBufferFromTmp.
2948 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2949 files in the temporary dir.
2951 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2953 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2955 * Makefile.am: add lyxsocket.[Ch].
2957 * lyx_main.C (error_handler): handle SIGPIPE.
2959 2003-10-13 André Pönitz <poenitz@gmx.net>
2961 * BufferView_pimpl.C:
2966 * undo_funcs.[Ch]: use paroffset_type instead of
2967 ParagraphList::iterators to prevent multiple conversion
2968 (and get a more robust interface)
2970 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2972 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2974 * text3.C (dispatch): ditto
2976 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2978 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2979 move the onlyfile, use onlyfile instead of foundfile in a couple
2982 * DepTable.C (update): flush the error stream a bit more
2984 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2986 * lyxserver.C (callback): adjust
2988 * lyxfunc.C (getStatus): add a missing brace in commented code
2989 (ensureBufferClean): reindent
2990 (dispatch): delete version taking a string
2992 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2994 * LaTeX.C (deplog): move found file handlig from here...
2995 (handleFoundFile): .. to new function here.
2996 (deplog): make sure to discover several files mentioned on the
2999 2003-10-10 André Pönitz <poenitz@gmx.net>
3006 * text3.C: fix some of the tabular crashes
3008 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3010 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3012 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3014 2003-10-09 André Pönitz <poenitz@gmx.net>
3016 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3019 * BufferView_pimpl.C:
3020 * bufferview_funcs.C:
3031 * undo_funcs.C: adjust
3033 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3035 * text2.C (incrementItemDepth): new function, use a backtracking
3036 algorithm to discover the correct item depth.
3037 (resetEnumCounterIfNeeded): new function, use a backtracking
3038 algorithm to discover if counter reset is needed.
3039 (setCounter): use them. Simplify a bit. Add different labels for
3040 different item depths for itemize.
3042 * paragraph.C (Paragraph): remove initialization of enumdepth
3045 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3046 enumerate and itemize. Change the type of itemdepth to signed char.
3048 2003-10-08 André Pönitz <poenitz@gmx.net>
3050 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3055 * tabular.[Ch]: fix crash after 'row-insert'
3057 2003-10-08 Angus Leeming <leeming@lyx.org>
3059 Fix doxygen warnings.
3061 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3062 Remove CutAndPaste:: prefix from header file declaration.
3064 * LColor.h (fill): remove LColor:: prefix from declaration.
3066 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3067 use lyx::depth_type rather than Paragraph::depth_type so that
3068 header file and .C file match.
3070 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3072 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3073 * aspell.C: \file aspell_local.C -> \file aspell.C
3074 * gettext.C: \file gettext.C -> \file src/gettext.C
3075 * gettext.h: \file gettext.h -> \file src/gettext.h
3076 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3077 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3078 * text.C: \file text.C -> \file src/text.C
3080 * toc.C: move comment so that doxygen is not confused.
3082 2003-10-07 Angus Leeming <leeming@lyx.org>
3084 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3086 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3089 * aspell_local.h: add forgotten std::string's.
3091 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3098 * text3.C: The Box patch. Fancybox support, minipage, parbox
3100 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3106 * ParagraphParameters.h:
3116 * lyxtextclasslist.h:
3119 * paragraph_pimpl.C:
3120 * textcursor.h: add <string> and other small fixes to make Lars'
3121 std::string patch compile with STLport.
3123 2003-10-06 Angus Leeming <leeming@lyx.org>
3125 * LColor.h: Add missing #include <string>.
3127 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3129 * All most all file in all subdirs: Make <string> be the prefered
3130 way of getting to std::string, add using declarations.
3132 2003-10-06 André Pönitz <poenitz@gmx.net>
3134 * metricsinfo.C: initialize LyXFont before changing attribute.
3135 (fixes the 'math in \emph is upright' bug)
3137 2003-10-06 André Pönitz <poenitz@gmx.net>
3139 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3141 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3144 * paragraph_pimpl.C: Small fixes to build using STLport
3146 2003-10-02 André Pönitz <poenitz@gmx.net>
3149 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3151 2003-10-01 André Pönitz <poenitz@gmx.net>
3153 * factory.C: assert early
3155 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3157 * lyx_main.C: remove the global debug object
3159 * debug.h: adjust for new debugstream
3161 * debug.C: adjust for new debugstream and keep the global debug
3164 2003-09-22 Angus Leeming <leeming@lyx.org>
3166 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3167 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3168 an incomplete class LyXFont.
3170 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3172 * factory.C: bug fix in branches
3174 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3176 * lyxfunc.C (processKeySym): adjust
3178 (dispatch): change arg name from ev to func, adjust
3179 (sendDispatchMessage): ditto
3181 * lyx_main.C (defaultKeyBindings): adjust keybindings
3182 (deadKeyBindings): ditto
3184 * kbsequence.C (addkey): return a FuncRequest
3186 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3188 * kbmap.C (bind): take a FuncRequest as arg, adjust
3191 (defkey): change to take a FuncRequest as arg, adjust
3192 (findbinding): take a FuncRequest as arg, adjust.
3194 * funcrequest.h (operator=): added
3196 * funcrequest.C (FuncRequest): default kb_action changed from
3197 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3199 * buffer.C (dispatch): simplify
3200 (dispatch): adjust to take a FuncRequest as arg, adjust
3202 * boost.C (assertion_failed): change assertion message slightly
3204 * ToolbarBackend.C (read): simplify
3206 * MenuBackend.C (binding): adjust call to findbinding, add a
3207 message if no binding is found.
3209 (expandToc): correct by adding a empty FuncRequest
3211 * LyXAction.C: include <boost/assert.hpp>
3212 (isPseudoAction): delete function
3213 (LookupFunc): change name to...
3214 (lookupFunc): this. change return type to FuncRequest.
3215 (getActionName): take kb_action as arg, simplify
3216 (funcHasFlag): add an assert, simplify.
3218 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3220 * toc.C (action): return a FuncRequest, simplify
3222 * lyxfunc.C (processKeySym): adjust
3223 (getStatus): delete version that takes an int.
3225 (dispatch): delete version that takes action as int
3227 (sendDispatchMessage): simplify and adjust
3229 * funcrequest.C (getArg): take unsigned int as arg
3231 * ToolbarBackend.C (read): adjust
3232 (add): delete version that takes func as a string.
3233 (getIton): take a FuncRequest as arg
3235 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3238 * MenuBackend.C (MenuItem): add a new construct that only takes a
3239 Kind, simplify the constructor use for submenus.
3241 (expandLastfiles): adjust
3242 (expandDocuments): adjust
3243 (expandFormats): adjust
3244 (expandFloatListInsert): adjust
3245 (expandFloatInsert): adjust
3246 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3248 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3249 Remove class variables lyx_pseudo_map and lyx_arg_map
3251 * LyXAction.C (searchActionArg): delete function
3252 (getPseudoAction): delete function
3253 (retrieveActionArg): delete function
3254 (LookupFunc): make it return kb_action, simplify.
3255 (getActionName): simplify
3257 * factory.C (createInset): fix new bug
3259 2003-09-19 Angus Leeming <leeming@lyx.org>
3261 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3262 masterFilename_ parameter in the include inset.
3264 * factory.C (createInset): changes due to the changes to InsetInclude.
3266 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3268 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3270 2003-09-18 Angus Leeming <leeming@lyx.org>
3273 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3274 Inset::fillWithBibKeys.
3275 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3277 2003-09-18 Angus Leeming <leeming@lyx.org>
3279 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3281 (ctor): pass and store a 'Buffer const &'
3282 (buffer): new member function.
3284 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3285 '*this' to the LaTeXFeatures ctor.
3287 2003-09-18 Angus Leeming <leeming@lyx.org>
3293 * text.C: rename EnumLColor as LColor_color.
3295 2003-09-18 Angus Leeming <leeming@lyx.org>
3297 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3298 remove #include "insets/insetbase.h" from cursor.h.
3300 2003-09-18 Angus Leeming <leeming@lyx.org>
3302 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3303 InsetOld_code to remove #include "inset.h".
3305 * iterators.C: add #include "insets/inset.h"
3307 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3309 * BufferView.C: remove more locking stuff that apparently doesn't
3310 do anything sensible.
3312 2003-09-16 André Pönitz <poenitz@gmx.net>
3315 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3318 2003-09-16 Angus Leeming <leeming@lyx.org>
3320 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3322 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3325 * paragraph.h: remove #include "lyxfont.h". Forward declare
3328 2003-09-16 Angus Leeming <leeming@lyx.org>
3330 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3331 of support/textutils.h.
3332 (isWord): move the contents of support/textutils.h's IsWordChar here.
3338 * text2.C: add #include "paragraph.h".
3341 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3343 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3349 * LaTeX.C: use namespace alias for lyx::support::os
3351 2003-09-16 Angus Leeming <leeming@lyx.org>
3354 * bufferview_funcs.C:
3357 * paragraph_pimpl.C:
3359 * text.C: add #include "LColor.h".
3361 2003-09-16 Angus Leeming <leeming@lyx.org>
3363 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3364 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3366 Store the FontBits::color variable as an int rather than as an
3367 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3370 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3371 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3372 string calls together.
3374 * lyxrc.C: add #include "LColor.h".
3376 2003-09-15 Angus Leeming <leeming@lyx.org>
3378 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3381 2003-09-15 Angus Leeming <leeming@lyx.org>
3383 * LColor.h: add an EnumLColor wrapper for LColor::color.
3385 * lyxfont.[Ch] (color, setColor, realColor):
3386 * lyxtext.h, text.C (backgroundColor):
3387 pass EnumLColor args to/from the functions, rather than LColor::color
3391 * lyxtext.h: forward declare EnumLColor.
3393 * lyx_main.C: add #include "LColor.h".
3395 2003-09-15 Angus Leeming <leeming@lyx.org>
3397 * .cvsignore: add lyx-gtk.
3399 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3404 * ParagraphParameters.C
3408 * bufferview_funcs.C
3418 * vc-backend.C: remove usage of STRCONV
3420 2003-09-15 Angus Leeming <leeming@lyx.org>
3422 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3423 explicitly define the color passed to the painter.
3425 2003-09-15 Angus Leeming <leeming@lyx.org>
3427 * bufferparams.C (BufferParams): reorder member initializers to avoid
3430 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3432 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3433 * text.C (updateRowPositions): remove an unusual nop
3435 2003-09-12 André Pönitz <poenitz@gmx.net>
3437 * BufferView_pimpl.C:
3446 * Counters.[Ch]: finish the 'automatic counters' job
3448 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3450 * aspell.C: include <boost/assert.cpp> (compile fix)
3452 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3454 * boost.C (assertion_failed): use lyx::support::abort instead of
3457 2003-09-10 Angus Leeming <leeming@lyx.org>
3459 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3460 with their _fwd progeny.
3462 2003-09-09 Angus Leeming <leeming@lyx.org>
3464 134 files throughtout the source tree: replace 'using namespace abc;'
3465 directives with the appropriate 'using abc::xyz;' declarations.
3467 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3469 * boost.C (emergencyCleanup): moved here from LAssert.c
3470 (assertion_failed): new function, called by BOOST_ASSERT
3472 * several files: change Assert to BOOST_ASSERT
3474 2003-09-09 Angus Leeming <leeming@lyx.org>
3476 * buffer.[Ch]: Add an Impl class and move Buffer's member
3477 variables into it. As a result move several header files out of
3480 Add header files to lots of .C files all over the tree as a result.
3482 2003-09-09 Angus Leeming <leeming@lyx.org>
3484 * buffer.[Ch]: make Buffer's member variables private. Add
3487 Lots of changes all over the tree as a result.
3489 2003-09-08 Angus Leeming <leeming@lyx.org>
3491 * graph.C: #include <config.h>.
3493 2003-09-08 Angus Leeming <leeming@lyx.org>
3497 * BufferView_pimpl.C:
3526 * toc.C: remove redundant using directives.
3528 2003-09-07 Angus Leeming <leeming@lyx.org>
3530 * LaTeXFeatures.h: remove #include "support/types.h".
3531 * ToolbarBackend.h: remove #include <algorithm>.
3532 * changes.h: remove #include <ctime>.
3533 * debug.h: remove #include <iosfwd>.
3534 * graph.h: remove #include "support/std_string.h".
3535 * lyx_main.h: remove #include <csignal>.
3536 * lyxlex_pimpl.h: remove #include <fstream>.
3537 * sgml.h: remove #include <algorithm>, <utility>.
3538 * toc.h: remove #include "support/std_ostream.h".
3539 Add #include <iosfwd>.
3541 2003-09-07 Angus Leeming <leeming@lyx.org>
3543 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3545 * converter.h: forward declare LatexRunParams.
3546 * encoding.h: remove #include "lyxrc.h".
3547 * lyxtext.h: remove #include "LColor.h".
3548 * lyxtextclass.h: remove #include "support/types.h".
3549 * trans.h: remove #include "tex-accent.h".
3550 * trans_mgr.h: remove #include "tex-accent.h".
3551 * insets/inset.h: remove #include "support/types.h", <vector>.
3552 * insets/insetcollapsable.h: remove #include "LColor.h".
3553 * insets/insetinclude.h: remove #include "dimension.h".
3554 * insets/insetlatexaccent.h: remove #include "dimension.h".
3555 * insets/insetoptarg.h:: remove #include "insettext.h".
3556 * insets/insettext.h: remove #include "dimension.h",
3557 <boost/shared_ptr.hpp>
3559 * insets/renderers.h: add #include "dimension.h".
3560 * insets/updatableinset.h: add #include "support/types.h".
3562 * many .C files: Associated changes.
3564 2003-09-06 Angus Leeming <leeming@lyx.org>
3566 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3567 one, inside testInvariant.
3569 * PrinterParams.C: new file.
3570 * PrinterParams.[Ch]: move the function bodies out of line.
3572 2003-09-06 Angus Leeming <leeming@lyx.org>
3574 * ParagraphParameters.h: forward declare ParameterStruct rather than
3575 including its header file.
3576 (depth): moved out-of-line.
3578 2003-09-06 Angus Leeming <leeming@lyx.org>
3580 * BufferView_pimpl.h:
3583 * lyxfunc.h: forward declare LyXKeySym rather than
3584 #include "frontends/LyXKeySym.h".
3586 * BufferView_pimpl.C:
3589 * lyxfunc.C: associated changes.
3591 2003-09-06 Angus Leeming <leeming@lyx.org>
3593 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3594 As a result, can remove the #include "insets/inset.h" from BufferView.h
3596 2003-09-06 Angus Leeming <leeming@lyx.org>
3598 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3599 As a result, can remove the #include "insets/inset.h" from BufferView.h
3601 2003-09-06 Angus Leeming <leeming@lyx.org>
3607 * bufferview_funcs.C:
3608 * BufferView_pimpl.C:
3613 * ParagraphParameters.C:
3618 * frontends/controllers/ControlDocument.C:
3619 * insets/insetcaption.C: rearrange the #includes into some sort of
3622 * buffer.h: remove #includes ErrorList.h, undo.h
3624 2003-09-06 Angus Leeming <leeming@lyx.org>
3626 * support/types.h: add a 'depth_type' typedef, used to store the
3627 nesting depth of a paragraph.
3630 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3631 defining explicitly.
3634 * paragraph_funcs.h:
3635 * ParagraphParameters.h:
3636 * sgml.h: use lyx::depth_type rather than Paragraph or
3637 ParameterStruct's depth_type.
3640 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3643 * BufferView_pimpl.C:
3645 * ParagraphParameters.C:
3648 * bufferview_funcs.C:
3655 * frontends/LyXView.C:
3656 * frontends/controllers/ControlDocument.C:
3657 * frontends/controllers/ControlErrorList.C:
3658 * insets/insetbibitem.C:
3659 * insets/insetbranch.C:
3660 * insets/insetcaption.C:
3661 * insets/insetcollapsable.C:
3662 * insets/insetenv.C:
3663 * insets/insetert.C:
3664 * insets/insetfloat.C:
3665 * insets/insetfoot.C:
3666 * insets/insetfootlike.C:
3667 * insets/insetnewline.C:
3668 * insets/insetquotes.C:
3669 * insets/insettabular.C:
3670 * insets/insettext.C:
3671 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3673 * frontends/controllers/ControlChanges.C: #include "changes.h".
3675 2003-09-06 Angus Leeming <leeming@lyx.org>
3677 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3678 than #including paragraph.h.
3681 * RowList.h: deleted. Superfluous.
3691 * insets/insettext.h: use ParagraphList_fwd.h rather than
3694 * paragraph.h: don't forward declare ParagraphList.
3697 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3698 rather than ParagraphList.h. paragraph.h is still needed for the
3699 Paragraph::depth_type parameters.
3701 * textcursor.h: enable it to compile stand-alone in light of the
3704 * bufferview_funcs.C:
3716 * frontends/controllers/ControlParagraph.C:
3717 * frontends/controllers/ControlTabular.C:
3718 * insets/insetmarginal.C:
3719 * insets/insetminipage.C:
3720 * insets/insetnote.C:
3721 * insets/insetoptarg.C: add header files needed to compile again.
3723 2003-09-06 Angus Leeming <leeming@lyx.org>
3725 * RowList_fwd.h: new file, forward-declaring Row rather than
3726 #including lyxrow.h.
3731 * insets/insettext.h: use it instead of RowList.h
3733 * bufferview_funcs.C:
3740 * text3.C: #include "RowList.h".
3742 2003-09-05 Angus Leeming <leeming@lyx.org>
3744 * factory.C (createInset):
3745 * vspace.C (c-tor): replace sscanf call with an istringstream.
3746 * ispell.C: re-add missing HP/UX headers.
3747 * lyxserver.C: re-add missing os2 headers.
3749 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3758 * text3.C: re-add missing system headers, needed for 2.95.2.
3760 2003-09-05 Angus Leeming <leeming@lyx.org>
3762 Changes most place everywhere due to the removal of using directives
3763 from support/std_sstream.h.
3765 2003-09-05 Angus Leeming <leeming@lyx.org>
3767 Replace LString.h with support/std_string.h,
3768 Lsstream.h with support/std_sstream.h,
3769 support/LIstream.h with support/std_istream.h,
3770 support/LOstream.h with support/std_ostream.h.
3772 Changes resulting throughout the tree.
3774 2003-09-05 Angus Leeming <leeming@lyx.org>
3776 * sgml.h: ensure that the header file can be compiled stand-alone.
3777 * *.C: strip out redundant #includes. (320 in total.)
3779 2003-09-04 Angus Leeming <leeming@lyx.org>
3781 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3782 here (from getPackages).
3784 * debug.[Ch]: add a new EXTERNAL tag.
3786 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3788 * text2.C (cursorEnd): simplify
3790 (getColumnNearX): adjust
3792 * text.C (computeBidiTables): adjust
3795 * rowpainter.C (paintChars): adjust
3796 (paintSelection): adjust
3797 (paintChangeBar): adjust
3800 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3802 (numberOfSeparators): adjust
3804 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3810 * text3.C: Restricts the mouse click functionality
3811 of insets like bibtex, include, toc and floatlist to the visible
3812 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3813 up the dialogs. Cursor has to be in front of the inset (i.e.
3814 start of row) for this to function.
3816 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3818 * bufferview_funcs.C (currentState): output row information
3820 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3822 * bufferview_funcs.C (currentState): output paragraph position
3824 2003-09-04 Angus Leeming <leeming@lyx.org>
3826 * FloatList.h: move out #include "Floating.h".
3827 * LaTeX.h: move out #include "DepTable.h".
3828 * LyXAction.h: move out #include "funcrequest.h".
3829 * buffer.h: move out #include "author.h", "iterators.h".
3830 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3831 * lyx_main.h: move out #include "errorlist.h".
3832 * lyxfunc.h: move out #include "FuncStatus.h".
3833 * lyxtext: move out #include "lyxcursor.h".
3834 * paragraph_pimpl.h: move out #include "counters.h".
3836 2003-09-03 Angus Leeming <leeming@lyx.org>
3838 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3839 preamble_snippets list, enabling us to add snippets to the preamble
3840 only if the snippet was not there already.
3842 2003-09-04 Angus Leeming <leeming@lyx.org>
3844 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3846 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3848 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3851 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3853 * BranchList.C: point fix, earlier forgotten
3855 2003-09-02 Angus Leeming <leeming@lyx.org>
3857 * box.C (contains): renamed from 'contained' after a fantastic
3860 2003-09-02 John Levon <levon@movementarian.org>
3866 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3868 2003-09-02 John Levon <levon@movementarian.org>
3870 * text2.C: simplification of cursorEnd(), including partial
3873 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3875 * buffer.C (readFile): add a space
3877 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3879 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3881 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3883 * buffer.C (readFile): new function, take a filename and a
3884 ParagraphList::iterator
3886 (readFile): adjust, make it private. don't use setStream, make
3887 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3888 always contain the filename.
3890 * BufferView.C (insertLyXFile): simplify and make it work for
3893 2003-08-30 John Levon <levon@movementarian.org>
3895 * Makefile.am: fix dist (from Kayvan)
3897 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3899 * most files: change to use const Buffer refs
3901 2003-08-27 André Pönitz <poenitz@gmx.net>
3903 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3904 on top of ownerPar().
3906 2003-08-27 John Levon <levon@movementarian.org>
3908 * funcrequest.C: properly initialise POD members
3910 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3912 * lyxtext.h (top_y): move top_y from here
3917 * BufferView_pimpl.[Ch]: to here
3918 * frontends/screen.C:
3919 * insets/insettabular.C:
3920 * insets/insettext.C: adjust
3921 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3923 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3926 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3928 2003-08-26 André Pönitz <poenitz@gmx.net>
3930 * paragraph_func.[Ch] (outerPar): new function
3933 * paragraph_funcs.C:
3934 * paragraph_funcs.h:
3935 * paragraph_pimpl.C:
3936 * text2.C: remove Inset::par_owner
3938 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3943 * text2.C: eliminates the needFullRow/display() stuff
3944 altogether, putting the logic in metrics/draw in the insets.
3946 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3948 * text2.C (redoParagraphInternal, redoParagraphs):
3949 * text.C (redoParagraph): add a call to updateRowPositions at the
3950 end of each 'metrics-like' call. Remove all others.
3951 (getRow): remove the 'y-computing' version.
3952 (getRowNearY): do not compute nor return the real y. Solve the
3953 'y < 0' problem and simplify.
3955 2003-08-22 Angus Leeming <leeming@lyx.org>
3957 * *.[Ch]: clean-up of licence and author blurbs.
3958 Also move config.h out of a few .h files and into a few .C files.
3960 2003-08-22 André Pönitz <poenitz@gmx.net>
3962 * lyxrow.[Ch]: add x_ and *fill_ members
3967 * text2.C: adjust/remove prepareToPrint() calls
3969 2003-08-22 André Pönitz <poenitz@gmx.net>
3971 * lyxrow.[Ch]: add end_ member
3973 * lyxrow_funcs.C: use LyXRow::end_
3975 * lyxtext.h (singleWidth): add LyXFont parameter
3978 * text2.C: adjust LyXText::singleWidth() calls
3980 * text.C (redoParagraph): simplify row breaking logic
3983 2003-08-19 André Pönitz <poenitz@gmx.net>
3985 * funcrequest.C: initialize button_ member
3988 * rowpainter.[Ch]: interface consolidation
3990 2003-08-18 André Pönitz <poenitz@gmx.net>
3993 * BufferView_pimpl.C:
3995 * paragraph_funcs.C:
3997 * text3.C: remove LyXScreen::draw() and fitCursor calls
3999 * BranchList.h: remove spurious semicolons
4001 * MenuBackend.C: fix branchlist related crash
4003 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4011 * bufferparams.[Ch]:
4015 * text3.C: implements the 'branch inset'
4016 idea. This allows the output of various versions of a document
4017 from a single source version, selectively outputing or suppressing
4018 output of parts of the text.
4019 This implementation contains a 'branch list editor' in a separate
4020 tab of the document settings dialog. Branches are user definable
4021 and have a "display colour" to distinguish them on-screen.
4023 ColorHandler was somewhat cleaned up.
4024 (1) make possible a dynamically growing LColor list by allowing
4025 the graphic context cache to grow along (vector);
4026 (2) eliminate an IMHO unnecessary step in colour allocation.
4028 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4030 * BufferView_pimpl.C: compile fix
4032 2003-08-15 André Pönitz <poenitz@gmx.net>
4034 * rowpainter.C: remove extra metrics calls
4036 * lyxtext.h: merge the two constructors into a single one,
4037 pass reference to owner's par list
4039 * BufferView_pimpl.C:
4043 2003-08-15 André Pönitz <poenitz@gmx.net>
4045 * lyxrow_funcs.[Ch]:
4048 * paragraph_funcs.C:
4053 * text_funcs.C: split LyXText::rowlist_ into individual
4054 Paragraph::rows_ chunks
4057 * BufferView_pimpl.[Ch]:
4060 * text3.C: remove toggleSelection()
4062 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4064 * bufferlist.C: beautify two alerts (shorter text of buttons)
4065 * buffer.C: Remove redundant ' ' from message
4067 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4068 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4069 rename VALIGN_CENTER to VALIGN_MIDDLE
4071 2003-08-11 André Pönitz <poenitz@gmx.net>
4073 * lyxtext.h (getPar):
4074 * text.C: new function
4076 2003-08-11 André Pönitz <poenitz@gmx.net>
4079 * tracer.[Ch]: remove unneeded files
4081 * InsetList.[Ch]: remove resizeInsetsLyXText()
4086 * text3.C: merge insertParagraphs() and appendParagraph()
4087 remove breakAgain(), update()
4089 * BufferView_pimpl.[Ch]:
4090 * bufferview_funcs.[Ch]:
4094 * tabular.C: adjust after text & InsetList changes.
4096 2003-08-08 André Pönitz <poenitz@gmx.net>
4098 * text.C (insertChar, backspace): replace rowlist fiddling
4099 with rebreak of full par
4102 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4103 checkParagraph, updateInset): removed
4105 2003-08-07 André Pönitz <poenitz@gmx.net>
4108 * text3.C: merge some LFUN handlers, remove dead code
4110 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4112 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4114 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4116 * text2.C (DEPM): fix part of bug 1255 and 1256
4118 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4120 * BufferView_pimpl.C (workAreaDispatch): change to use
4121 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4122 that are no mouse related.
4124 2003-08-05 André Pönitz <poenitz@gmx.net>
4127 * BufferView_pimpl.[Ch]:
4128 * bufferview_funcs.C:
4130 * text3.C: rip out "deep update"
4132 * textcursor.[Ch] (last_sel_cursor): remove unused member
4134 2003-08-04 André Pönitz <poenitz@gmx.net>
4137 * BufferView_pimpl.[Ch]:
4138 * ParagraphParameters.C:
4139 * bufferview_funcs.C:
4145 * text3.C: replace "complicated" BufferView::update(...) calls with
4148 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4150 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4152 * Makefile.am (lyx_SOURCES): add paper.h
4154 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4156 * Makefile.am: move things around so that both lyx-qt and
4157 lyx-xforms can be built (according to --with-frontend). Then lyx
4158 is a symbolic link to lyx-[firstfrontend]
4160 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4162 * Always use std::endl with lyxerr
4164 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4166 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4168 2003-08-01 André Pönitz <poenitz@gmx.net>
4171 * BufferView_pimpl.[Ch]:
4173 * text3.C: merge BufferView::repaint() and BufferView::update()
4175 2003-08-01 José Matos <jamatos@lyx.org>
4177 * buffer.[Ch]: file_format is no longer a buffer data element.
4179 2003-08-01 André Pönitz <poenitz@gmx.net>
4184 * text2.C: make redoParagraph more independent of current cursor
4186 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4188 * text2.C: remove unneeded members
4190 2003-07-30 André Pönitz <poenitz@gmx.net>
4192 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4194 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4195 create a single function...
4197 * paragraph_funcs.C (moveItem): ... here.
4200 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4202 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4204 * LColor.[Ch]: Add comment and greyedout logical colors.
4206 2003-07-30 André Pönitz <poenitz@gmx.net>
4208 * tabular.C: don't use Assert too heavily. This crashes where it
4211 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4213 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4214 is disabled (bug 1232)
4216 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4218 * factory.C: limited 'arg' scope
4220 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4222 * factory.C: fixed Note submenu issues
4224 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4226 * factory.C: submenu for Note/Comment/Greyedout
4228 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4231 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4233 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4236 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4237 greyedout. Patch provided by Jürgen Spitzmüller.
4239 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4241 * kbmap.C (read): fix error message when reading bind files
4243 2003-07-29 Angus Leeming <leeming@lyx.org>
4245 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4246 certainly does not do what it purports to do. I am doing it, and
4247 us, a favour by killing it.
4249 2003-07-28 José Matos <jamatos@lyx.org>
4251 * buffer.C (readBody, do_writeFile):
4252 * paragraph.C(readParagraph): \end_document replaces \the_end.
4254 2003-07-29 André Pönitz <poenitz@gmx.net>
4257 * BufferView_pimpl.[Ch]:
4261 * textcursor.[Ch]: remove toggleToggle & Co
4263 2003-07-28 José Matos <jamatos@fep.up.pt>
4265 * buffer.C (readParagraph):
4266 * params_func (readParToken, readParagraph):
4267 * paragraph.C (write): \layout -> \begin_layout.
4269 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4271 * lyxlex_pimpl.C (setFile): clean up slightly.
4273 * bufferparams.h: add compressed var
4275 * buffer_funcs.C (readFile): adjust for LyXLex change
4276 (newFile): ditto + simplify
4278 * buffer.C (writeFile): handle writing of compressed files
4280 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4281 Check if the file is compressed and set a bufferparm if so.
4283 * Makefile.am (lyx_LDADD): remove explicit -lz
4285 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4287 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4288 makeDocBookFile): put the real LyX version in the first line of
4292 * version.C.in: remove lyx_docversion
4294 * tabular.C (write_attribute): add a template-based version to
4295 write enums properly
4297 2003-07-28 André Pönitz <poenitz@gmx.net>
4302 * text3.C: use doubles again for x-coordinates. They are needed.
4304 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4306 * messages.C (getLocaleDir): use lyx_localedir()
4308 * lyxlex_pimpl.C (setFile): compress stuff
4310 * buffer.C (writeFile): add some compression stuff
4311 (do_writeFile): new func, dont call expliti close... will this
4314 * Makefile.am (lyx_LDADD): add -lz
4316 2003-07-28 José Matos <jamatos@fep.up.pt>
4318 * buffer.C: increment file format.
4319 * paragraph_funcs (readParagraph, readParToken):
4320 * paragraph.C (readParagraph): add \end_layout.
4322 2003-07-27 Angus Leeming <leeming@lyx.org>
4324 * Makefile.am: remove special casing for configure-time setting of
4325 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4327 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4328 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4330 2003-07-26 André Pönitz <poenitz@gmx.net>
4332 * paragraph_func.[Ch]:
4333 * paragraph.C (realizeFont): inline it whereever it is used
4338 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4341 2003-07-26 André Pönitz <poenitz@gmx.net>
4345 * text2.C: get rid of LyXText::need_break_row
4347 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4349 * toc.[Ch]: put namespace toc inside namespace lyx
4351 * MenuBackend.C (expandToc2): adjust for lyx::toc
4354 * lyxfunc.C (dispatch): adjust for lyx::find
4356 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4357 lyx::find instead. Reorganize a bit.
4358 (LyXReplace): rename to replace
4359 (LyXFind): rename to find
4361 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4364 2003-07-26 André Pönitz <poenitz@gmx.net>
4366 * text.C (setHeightOfRow): restrict scope of temporary variable
4368 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4369 code (never has been used?)
4371 2003-07-27 Asger Alstrup <alstrup@local>
4373 * text.C (fill): Optimise algorithm to exploit that we can reuse
4374 the LyXFont for many characters.
4375 (setHeightOfRow): Same thing.
4376 (rowBreakPoint): Same thing.
4378 2003-07-26 Asger Alstrup <alstrup@local>
4380 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4382 * text.C (singleWidth): Spurious font copying in hot-spot
4383 singleWidth avoided. Reorder tests for arabic for efficiency.
4385 * text.C (fill): handle empty paragraphs better.
4387 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4390 * encoding.h: add includes
4392 * lyxrc.C: remove reading of bind files
4394 * lyx_main.C (init): setup bindings and menus only if we have a
4397 * kbmap.C (read): new method. Do the actual reading of bind
4400 * converter.C (dvipdfm_options):
4403 (output): adapt PAPER_* enums.
4405 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4407 * bufferparams.h: remove paper-related enums from there
4409 * paper.h: New file. A trivial header file to hold paper-related
4410 enums. It should later expand to contain many paper-related
4413 * lyxrc.C: declare extern displayTranslator
4415 2003-07-27 José Matos <jamatos@fep.up.pt>
4417 * tabular.[Ch] (linuxdoc): add support for tables and figures
4420 2003-07-27 José Matos <jamatos@fep.up.pt>
4422 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4423 consistency in both functions.
4424 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4426 2003-07-26 Asger Alstrup <alstrup@local>
4428 * rowpainter.C (paintRows): Change algorithm to work directly on
4429 the insets rather than asking every character in the document
4430 whether its an inset.
4432 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4434 * buffer.C (openFileWrite): factorize some code
4436 2003-07-26 Angus Leeming <leeming@lyx.org>
4439 * lyx_main.[Ch]: replace occurances of system_tempdir with
4442 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4444 * rename Inset to InsetOld
4446 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4448 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4449 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4450 which I think is a bit clearer. EDIT is gone, since it was
4451 premature optimisation, and broken for mathed anyway.
4452 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4453 with cursor positioning in insets as well (math insets still do not
4454 work, but that's a different story anyway.) It mysteriously
4455 crashes sometimes with undo in the first paragraph, but I'm fairly
4456 confident that this is a compiler bug.
4458 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4460 * paragraph.C (Paragraph): adjust for new clone return type
4462 (copyIntoMinibuffer): ditto
4464 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4466 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4467 by not having a special case, and always doing a full rebreak of
4468 the document after undo.
4470 2003-07-23 Angus Leeming <leeming@lyx.org>
4472 * factory.C (createInset): InsetExternal::setParams now takes a
4475 2003-07-23 Angus Leeming <leeming@lyx.org>
4477 * factory.C (createInset): changed interface to the external and
4478 graphics mailers' string2params functions.
4480 2003-07-23 Angus Leeming <leeming@lyx.org>
4482 * factory.C (createInset): pass a
4483 Buffer const * parameter to InsetExternalMailer's string2params.
4485 2003-07-22 John Levon <levon@movementarian.org>
4487 * Thesaurus.h: include the right aiksaurus header
4489 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4491 * MenuBackend.C (expand): check menu shortcuts unconditionally
4493 2003-07-21 Angus Leeming <leeming@lyx.org>
4495 * factory.C (createInset): pass a
4496 buffer_path parameter to InsetGraphicsMailer's string2params.
4498 2003-07-21 Angus Leeming <leeming@lyx.org>
4500 * BufferView_pimpl.C (buffer):
4503 * lyxfunc.C (dispatch):
4504 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4505 rather than the grfx shortcut.
4507 2003-07-21 André Pönitz <poenitz@gmx.net>
4509 * rowpainter.C: remove unused variables
4512 * tabular_funcs.h: move to tabular.C
4513 * Makefile.am: adjust
4515 * tabular.[Ch]: basic optical cleaning
4517 * author.h: pass references, not values
4519 2003-07-18 André Pönitz <poenitz@gmx.net>
4527 * text3.C: two-phase drawing for InsetText and InsetTabular
4528 some float -> int changes.
4530 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4532 * lyx_main.C: fix the fix
4534 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4536 * lyx_main.C: fix a crash in batch mode if no files specified
4539 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4541 * format.[Ch] (papersize): moved to BufferParams
4542 * converter.[Ch] (dvips_options): moved to BufferParams
4543 (dvipdfm_options): moved to anon namespace
4544 * bufferparams.[Ch]: added above functions.
4546 2003-07-17 André Pönitz <poenitz@gmx.net>
4550 * text2.C: don't call inset->update() anymore
4552 * metricsinfo.[Ch]: add convenience constructor
4554 2003-07-16 André Pönitz <poenitz@gmx.net>
4559 * text2.C: replace the LyXCursor::irow_ member with
4560 on-demand computation of the value
4562 2003-07-16 John Levon <levon@movementarian.org>
4564 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4566 2003-07-15 André Pönitz <poenitz@gmx.net>
4569 * text2.C: remove no more needed refresh_row
4571 2003-07-15 André Pönitz <poenitz@gmx.net>
4576 * text3.C: refresh_status tristate -> need_update bool
4578 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4580 * lyxtext.h (init): remove reinit argument (act as if always true)
4581 * text2.C: adjust to that
4583 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4585 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4586 * text3.C: use it to delete selections in some cases
4587 (bugs 441, 673, 702, 954).
4589 2003-07-14 André Pönitz <poenitz@gmx.net>
4591 * rowpainter.[Ch]: reduce interface
4593 2003-07-14 André Pönitz <poenitz@gmx.net>
4595 * BufferView_pimpl.C:
4596 * text2.C: adjust after removing unused BufferView * argument
4598 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4600 * text2.C (init): fix a crash fired on resize
4602 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4604 * buffer.[Ch]: added new closing signal
4605 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4606 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4607 BufferView::Pimpl via the closing the signal
4609 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4611 * buffer.[Ch]: take out all bv-related from buffer
4613 * BufferView_pimpl.[Ch]: connect to new signals
4614 * CutAndPaste.C: removed useless asserts
4615 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4618 * lyxfunc.C: moved view-related funciontality from vc here
4619 * paragraph.C: removed outdated comments
4622 2003-07-10 André Pönitz <poenitz@gmx.net>
4624 * BufferView_pimpl.C:
4628 * text2.C: remove InsetText::InnerCache, clean up consequences
4630 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4632 * ispell.C: fix two typos in error messages
4634 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4636 * Extend Note inset to other forms of annotation like Comment
4637 and Greyedout. Right button click gives dialog.
4639 Files modified or added (+):
4643 * ControlNote.[Ch] +
4645 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4646 frontends/controllers
4650 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4652 * aspell.C: add missing namespace lyx::support
4654 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4656 * BufferView.[Ch] (newFile): Add
4657 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4658 * LaTeX.[Ch] (message): added this signal and use it
4659 * buffer.[Ch] (busy, message): added these signals and use them
4660 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4664 * importer.C: use buffer signals instead of direct bv calling
4665 * lyx_cb.[Ch] (ShowMessage): removed
4668 * paragraph_funcs.C:
4669 * text2.C: use buffer signals
4671 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4673 * introduce namespace lyx::graphics
4675 2003-07-02 André Pönitz <poenitz@gmx.net>
4677 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4679 2003-07-01 André Pönitz <poenitz@gmx.net>
4686 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4687 text*.C to text_func.C
4689 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4691 * introduce namespace lyx::support
4693 2003-06-30 André Pönitz <poenitz@gmx.net>
4698 * text.C: re-enable --with-included-string
4700 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4702 * textcursor.C: add <config.h>
4704 * text.C (getWord): remove const from word_location arg
4706 * lyxvc.C (getLogFile): fix const type order
4708 * lyxtext.h: remove const from word_location arg, add arg name
4710 * lyxlayout.h: currect type on labeltype.
4712 * importer.C: correct \file
4714 * converter.C (intToFormat): use std:: on ret val, ws changes
4716 * bufferlist.h: correct \file
4718 * buffer.C (makeLinuxDocFile): fix const type order
4719 (makeDocBookFile): ditto
4720 (fillWithBibKeys): use std:: on stdlib args.
4722 * CutAndPaste.C: fix authors.
4723 (availableSelections): use std:: on return vector
4725 2003-06-27 André Pönitz <poenitz@gmx.net>
4727 * BufferView_pimpl.C:
4728 * bufferview_funcs.C:
4736 * text3.C: remove LyXCursor::row_ member
4739 * text.C: rename fullRebreak() to partialRebreak() and implement
4740 a fullRebreak() that really bereks fully
4742 * textcursor.h: new struct for cursor-related data
4744 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4746 * lyx_main.C (LyX): get full path of document loaded on the
4749 2003-06-26 André Pönitz <poenitz@gmx.net>
4751 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4752 remove unused/broken operator>,<,>=.
4754 * text.C: remove only use of broken operator<= in an Assert().
4756 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4758 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4759 moved errorlist_.clear to showErrorList
4761 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4763 * converter.C (scanLog, runLaTeX):
4764 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4765 move the bv->showErrorList call to the callers
4766 * lyxfunc.C: i.e. here...
4768 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4769 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4770 namespace, the second to...
4771 * buffer_funcs (BufferFormat, parseErrors): added
4772 * errorlist.C (ErrorList(TeXErrors const &)): removed
4774 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4776 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4778 2003-06-24 "Garst R. Reese" <reese@isn.net>
4782 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4784 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4786 * version.C.in: change docversion to 1.4
4788 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4790 * buffer.C: fix a bug just introduced
4792 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4794 * buffer.[Ch]: added the parseError signal and use it, removed
4796 * BufferView.[Ch] (addError): moved to ...
4797 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4798 to the Buffer::parseError signal to catch (guess what) parse errors
4799 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4801 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4803 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4804 ability to create a buffer and to return an existing one from
4805 the list. Moved these functions to...
4806 * buffer_funcs.[Ch]: added
4807 * BufferView.[Ch] (loadLyXFile): added
4808 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4809 job removed from bufferlist::loadLyXFile.
4810 * buffer.C (setReadOnly): make it work without view
4811 (i.e added an if (users))
4813 2003-06-19 Angus Leeming <leeming@lyx.org>
4816 * LyXAction.C (init):
4817 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4818 with LFUN_DIALOG_SHOW <name> <data>.
4820 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4822 * CutAndPaste.C (availableSelections): small compilation fix for
4823 ancient (gcc 2.9x) compilers
4825 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4827 * text3.C (cursorNext): add tmp var
4829 * text2.C (updateCounters): for function calling out of for clause
4830 (replaceSelectionWithString): ditto
4831 (insertStringAsParagraphs): ditto
4832 (getColumnNearX): add tmp var
4833 (setCursorFromCoordinates): add tmp var
4834 (cursorDownParagraph): add tmp var
4835 (deleteEmptyParagraphMechanism): add tmp var
4837 * text.C (insertChar): add tmp var
4839 * rowpainter.C (paintDepthBar): add tmp var
4841 * CutAndPaste.C (availableSelections): potentially check all
4842 paragraphs in a cut to fill the shown strings.
4844 2003-06-18 André Pönitz <poenitz@gmx.net>
4846 * kbmap.[Ch]: use vector<> instead of list<>
4848 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4850 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4851 pasteSelection with index
4853 * text2.C (pasteSelection): modify, call pasteSelection with index
4855 * paragraph.C (asString): reimplement version with no interval to
4856 call the one with interval.
4858 * lyxtext.h: add index arg to pasteSelection
4860 * MenuBackend.C (MenuItem): handle PasteRecent
4861 (Menu::read::Menutags): add md_pasterecent
4863 (expandPasteRecent): new function
4866 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4868 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4870 (availableSelections): new function
4872 2003-06-17 Angus Leeming <leeming@lyx.org>
4874 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4876 2003-06-17 Angus Leeming <leeming@lyx.org>
4879 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4881 * lyxfunc.C (dispatch): invoke it.
4883 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4885 * iterators.C (operator++, ParPosition): reintroduce some
4886 const_cast for the benefit of older compilers.
4888 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4890 * text3.C (dispatch): do not modify clipboard when doing
4891 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4892 LFUN_DELETE_SKIP on a selection selection
4894 2003-06-16 André Pönitz <poenitz@gmx.net>
4900 * tabular.[Ch]: IU of clone() and getLabelList();
4902 2003-06-13 André Pönitz <poenitz@gmx.net>
4904 * tabular.h: compactification
4906 2003-06-12 André Pönitz <poenitz@gmx.net>
4910 * tabular_funcs.h: some renaming plus whitespace
4912 2003-06-12 André Pönitz <poenitz@gmx.net>
4915 * BufferView_pimpl.C:
4921 * toc.C: Return a Paragraph & for ParIterator::operator*()
4923 2003-06-11 John Levon <levon@movementarian.org>
4927 * ToolbarBackend.C: add "Toolbars" section and
4930 2003-06-10 Angus Leeming <leeming@lyx.org>
4933 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4935 * lyxfunc.C (dispatch): invoke it.
4937 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4939 * main.C: protect <ios> with HAVE_IOS
4940 (main): protect sync_with_stdio with HAVE_IOS
4942 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4944 * text2.C (cutSelection): adjust
4945 (pasteSelection): adjust
4947 * messages.C: handle get of empty string
4949 * main.C (main): use sync_with_stdio(false)
4951 * lyxfunc.C (dispatch): adjust
4953 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4954 (WriteAs): remove unneeded BufferView arg.
4956 * bufferparams.h: use correct types on papersize, papersize2 and
4959 * bufferparams.C (readToken): adjust for type
4960 (writeLaTeX): add missing cases to switch.
4962 * bufferlist.C (quitWriteBuffer): adjust
4965 * buffer.C (asciiParagraph): remove some commented code.
4967 * CutAndPaste.C: remove current_view extern variable.
4968 (cutSelection): add BufferParams arg.
4969 (eraseSelection): add BufferParams arg.
4970 (pasteSelection): add Buffer const & arg
4972 2003-06-07 John Levon <levon@movementarian.org>
4975 * paragraph_funcs.C:
4976 * paragraph_pimpl.C:
4980 * paragraph.C: allow InsetERT to freely space lines,
4981 and some consolidation of code
4983 2003-06-06 José Matos <jamatos@fep.up.pt>
4985 * buffer.C (makeDocBookFile): fix bug #821
4987 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4989 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4991 2003-06-04 Angus Leeming <leeming@lyx.org>
4993 * buffer.C: bump format to 224.
4995 2003-06-05 André Pönitz <poenitz@gmx.net>
4997 * text2.C (redoParagraphs): remove two const_cast<>
4999 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5001 * ParagraphList.h: remove last remnants of NO_STD_LIST
5003 2003-06-03 Angus Leeming <leeming@lyx.org>
5005 * factory.C (createInset): small change to the way InsetExternal's params
5008 2003-06-04 André Pönitz <poenitz@gmx.net>
5010 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5012 * paragraph_pimpl.h:
5013 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5015 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5017 * undo_funcs.C: make some simple cases of undo work again
5019 2003-06-03 John Levon <levon@movementarian.org>
5021 * ispell.C: HPUX doesn't have sys/select.h
5024 2003-06-03 John Levon <levon@movementarian.org>
5026 * CutAndPaste.C: update tabular and include inset
5031 * paragraph.C: remove owningBuffer(), don't pass Buffer
5034 * factory.C: insetGraphicsParams changed
5036 2003-06-02 John Levon <levon@movementarian.org>
5042 * text3.C: remove insetparent
5044 2003-06-02 John Levon <levon@movementarian.org>
5047 * buffer.C: fix inset_iterator.end(), move out of line
5050 2003-06-01 John Levon <levon@movementarian.org>
5052 * text3.C: use a proper cut/paste when doing inset
5053 insert (from Jürgen Spitzmüller)
5055 2003-06-01 John Levon <levon@movementarian.org>
5057 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5059 2003-05-30 André Pönitz <poenitz@gmx.net>
5061 * rowpainter.C: unify second drawing phase
5063 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5065 * trans_mgr.C: remove one case of current_view
5067 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5069 * paragraph_funcs.h: remove paragraph.h include
5071 * paragraph.h: delete NO_STD_LIST stuff
5073 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5075 * buffer.h: remove paragraph.h include
5077 * ParagraphList.C: delete file
5079 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5081 * toc.C (getTocList): adjust
5083 * paragraph_pimpl.C (validate): adjust
5085 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5087 * paragraph.C (Paragraph): adjust
5088 (getPositionOfInset): use const_iterator, adjust
5089 (bibitem): use const_iterator, adjust
5090 (setInsetOwner): adjust
5092 * iterators.C (operator++): adjust
5094 * InsetList.[Ch]: Replace selfmade iterator with standard
5095 vector::iterator also introduce const_iterator. Remove getPos,
5096 getInset and setInset from InsetTable. Adjust accordingly.
5098 * BufferView.C (lockInset): adjust
5099 (ChangeInsets): adjust
5101 * tabular.[Ch]: delete commented same_id functions
5103 2003-05-28 John Levon <levon@movementarian.org>
5105 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5107 2003-05-28 André Pönitz <poenitz@gmx.net>
5109 * metricsinfo.[Ch]: remove 'fullredraw' member
5111 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5113 * lyxtextclass.C (operator): remove caching.
5115 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5119 * text2.C (cursorBottom): adjust
5120 (setCounter): use ParagraphList::find, adjust
5122 * text.C (workWidth): use ParagraphList::find, adjust
5124 * lyxcursor.C (LyXCursor): adjust
5126 * buffer.C (inset_iterator): adjust
5128 * ParagraphList.h: make iterator(value_type) private, make
5129 ParagraphList a friend of iterator.
5131 * ParagraphList.C (find): new function
5133 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5135 2003-05-27 André Pönitz <poenitz@gmx.net>
5137 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5139 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5141 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5143 2003-05-26 John Levon <levon@movementarian.org>
5145 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5147 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5149 * remove same_id from function signatures, adjust.
5151 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5155 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5157 * paragraph.C (Paragraph): get rid of same_ids parameter
5159 * ParagraphList.C (insert): adjust
5162 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5164 * paragraph_funcs.C (breakParagraph): adjust
5165 (breakParagraphConservative): adjust
5167 * buffer.C (readParagraph): adjust
5169 * ParagraphList.C (insert): take a reference instead of a pointer
5172 * paragraph.[Ch] (id): new function
5174 * bufferlist.C (newFile): adjust
5176 * ParagraphList.C (ParagraphList): adjust
5178 (push_back): take a reference instead of a pointer.
5180 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5182 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5185 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5186 set else use old code.
5188 * ParagraphList.C: remove all NO_NEXT code and only compile this
5189 code of NO_STD_LIST is set.
5191 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5193 * BufferView_pimpl.C:
5203 * graphics/GraphicsConverter.C:
5204 * graphics/PreviewLoader.C: header adjustment
5206 2003-05-23 Angus Leeming <leeming@lyx.org>
5208 * LaTeXFeatures.[Ch] (useBabel): new method.
5209 * bufferparams.C (writeLaTeX): use it.
5211 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * ParagraphList.h (set): remove unused function.
5215 2003-05-23 André Pönitz <poenitz@gmx.net>
5218 * BufferView_pimpl.C:
5222 * undo_funcs.C: setUndo reworked
5224 * iterators.[Ch]: add access to topmost ParagraphList
5226 * lyxtext.[Ch] (workWidth): add a const
5228 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5230 * texrow.[Ch] (increasePos): remove function
5231 * exporter.C (export): removed unused var and outdated comment
5233 2003-05-23 Angus Leeming <leeming@lyx.org>
5235 * latexrunparams.h: rename fragile as moving_arg.
5236 * paragraph.C (simpleTeXOnePar): ditto.
5237 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5239 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5241 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5243 (textUndoOrRedo): comment out a currently unused var.
5245 * paragraph.h (NO_NEXT): enable NO_NEXT
5247 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5249 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5251 * exporter.C (Export): adjust for removeAutoInsets removal.
5253 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5255 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5257 * BufferView.[Ch] (removeAutoInsets): delete function
5259 2003-05-22 Angus Leeming <leeming@lyx.org>
5261 * latexrunparams.h: add a free_spacing variable.
5263 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5264 to pass moving_arg, as the data is stored in runparams.fragile.
5266 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5267 to Inset::latexOptional or to simpleTeXOnePar.
5269 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5270 free_spacing arg to Inset::latexOptional.
5272 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5275 2003-05-22 Angus Leeming <leeming@lyx.org>
5277 * latexrunparams.h: add fragile and use_babel variables.
5279 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5280 * buffer.C (makeLaTeXFile): store this returned value in
5281 runparams.use_babel, thus passing it to the inset::latex methods.
5283 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5284 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5286 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5287 longer has a fragile arg, as it is stored in runparams.fragile.
5289 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5290 moving_arg parameter as the data is stored in runparams.fragile.
5292 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5293 a fragile parameter as the data is stored in runparams.fragile.
5295 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5297 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5299 2003-05-22 Angus Leeming <leeming@lyx.org>
5301 * latexrunparams.h: add a 'bool nice' which defaults to false.
5303 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5304 now encapsulated within runparams.
5306 * bufferlist.C (updateIncludedTeXfiles):
5307 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5309 2003-05-22 Angus Leeming <leeming@lyx.org>
5311 * latexrunparams.h: new file containing struct LatexRunParams.
5312 * Makefile.am: add new file.
5314 * LaTeX.[Ch] (c-tor, run):
5315 * buffer.[Ch] (makeLaTeXFile):
5316 * bufferlist.[Ch] (updateIncludedTeXfiles):
5317 * converter.C (convert, scanLog):
5318 * converter.[Ch] (runLaTeX):
5319 * exporter.C (Export):
5320 * paragraph.[Ch] (simpleTeXOnePar):
5321 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5322 * paragraph_funcs.[Ch] (latexParagraphs):
5323 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5324 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5325 pass around a LatexRunParams parameter.
5327 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5329 * paragraph.[Ch]: remove unused constructor
5331 * ParagraphList.C (erase): new function, taking two iterators
5333 2003-05-22 André Pönitz <poenitz@gmx.net>
5335 * undo_funcs.C: remove duplicated code
5337 * iterator.[Ch]: operator=
5339 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5341 * tabular.C (SetMultiColumn): ws changes
5343 * rowpainter.C (paintFirst): get rid of a ->previous
5345 * lyx_cb.C (getPossibleLabel): parlist simplification
5347 * BufferView.C (ChangeInsets): simplify slightly.
5349 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5351 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5352 * lfuns.h: new LFUN_SPACE
5353 * lyxfunc.C: protected space has a new lfun
5354 * paragraph_funcs.C: read new space insets
5356 * factory.C: handle new space insets
5358 2003-05-22 André Pönitz <poenitz@gmx.net>
5361 * BufferView_pimpl.C:
5364 * undo_funcs.C: return a ParIterator from getParFromID.
5366 * iterators.[Ch]: add two const's
5368 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5370 * toc.C (getTocList): adjust
5372 * iterators.[Ch]: rework for parlist
5374 * buffer.C (par_iterator_begin): adjust
5375 (par_iterator_end): adjust
5377 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5379 * BufferView.C (removeAutoInsets): adjust
5380 (ChangeInsets): adjust
5382 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5384 * text.C (top_y): fix bug 1110
5386 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5388 * errorlist.[Ch]: added
5391 * BufferView_pimpl.C:
5392 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5395 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5397 * Makefile.am: ensure that lyx is relinked upon changes to the
5398 various "convenience" libs.
5400 2003-05-20 Angus Leeming <leeming@lyx.org>
5402 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5403 files are compiled in alphabetical order again.
5405 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5407 2003-05-19 Angus Leeming <leeming@lyx.org>
5409 * gettext.[Ch]: remove "char const * _(char const *)".
5411 2003-05-19 André Pönitz <poenitz@gmx.net>
5413 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5422 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5424 2003-05-19 André Pönitz <poenitz@gmx.net>
5428 * lyxtextclass.[Ch]:
5430 * paragraph_funcs.[Ch]:
5432 * text3.C: more insetenv work
5434 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5436 * ParagraphParameters.C (params2string): small bug fixed
5438 2003-05-16 André Pönitz <poenitz@gmx.net>
5441 * bufferview_funcs.C: patch from Kornel Benko to prevent
5442 crash when _(...) is called twice in a statement
5444 2003-05-16 André Pönitz <poenitz@gmx.net>
5451 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5453 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5455 * lyx_main.C (init): remove spurious static_cast
5457 2003-05-14 André Pönitz <poenitz@gmx.net>
5459 * BufferView.C: fix format string
5461 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5463 * BufferView.[Ch] (insertErrors): removed
5464 * BufferView.[Ch] (showErrorList): added
5465 * buffer.C (runChkTeX):
5466 * converter.C (scanLog): call showErrorList instead of inserterrors
5468 2003-05-13 André Pönitz <poenitz@gmx.net>
5470 * BufferView_pimpl.C:
5472 * bufferview_func.C:
5479 * tabular_funcs.h: tostr() from its own header
5481 * ParagraphParameters.C:
5486 * text3.C: STRCONV()
5488 2003-05-12 André Pönitz <poenitz@gmx.net>
5491 * BufferView_pimpl.C:
5495 * ParagraphParameters.C:
5499 * bufferview_funcs.C:
5512 * paragraph_funcs.C:
5516 * text3.C: boost::format -> bformat all over the place
5519 2003-05-09 André Pönitz <poenitz@gmx.net>
5521 * LColor.[Ch]: Pimpl the #include <map> away
5523 2003-05-09 John Levon <levon@movementarian.org>
5525 * bufferlist.C: never remove emergency saves
5527 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5529 * Makefile.am: better lib building
5531 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5533 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5535 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5536 (simpleTeXSpecialChars): adjust
5537 (simpleTeXSpecialChars): adjust
5538 * paragraph.C (simpleTeXOnePar): adjust
5539 * buffer.C (makeLaTeXFile): adjust
5541 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5543 * text2.C (changeDepth): parlist cleanup
5544 (getColumnNearX): ditto
5546 * rowpainter.C (getLabelFont): parlist cleanup
5548 * bufferlist.C (newFile): parlist cleanup
5550 * CutAndPaste.C (eraseSelection): parlist cleanup
5552 * BufferView_pimpl.C (trackChanges): parlist cleanup
5555 * BufferView.C (lockInset): parlist cleanup.
5556 (ChangeInsets): ditto
5558 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5560 * CutAndPaste.h: Update file header.
5562 * CutAndPaste.C: Update file header.
5563 Store the parts cut out of the Document in a limited_stack.
5564 (copySelection): adjust
5565 (pasteSelection): new function, takes the index in the limited stack.
5566 (nrOfParagraphs): adjust
5567 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5568 simplify error inset insertion.
5569 (checkPastePossible): adjust
5571 2003-05-06 John Levon <levon@movementarian.org>
5573 * text2.C: don't cast wrap inset to float
5575 2003-05-05 André Pönitz <poenitz@gmx.net>
5578 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5580 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5581 few naked Paragraph *.
5583 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5585 * bufferparams.C: Output warning if a document with missing
5586 TeX document class is loaded
5587 * exporter.C: Disable TeX exports if the document class is missing
5590 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5591 isTeXClassAvailable()
5593 2003-05-03 John Levon <levon@movementarian.org>
5596 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5597 explicit cursor show/hide
5599 * BufferView_pimpl.h:
5600 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5601 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5603 * lyxfunc.C: hide cursor before dispatching.
5608 * text3.C: remove explicit cursor hides
5610 2003-05-02 André Pönitz <poenitz@gmx.net>
5612 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5615 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5618 * text2.C: tiny whitespace
5620 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5622 * undo_funcs.C: almost only ws changes.
5624 * ParagraphList.C (splice): just return if pl is empty.
5626 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5628 * ParagraphList.C (splice): new function.
5630 * CutAndPaste.C (pasteSelection): use it
5632 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5634 * CutAndPaste.C (pasteSelection): remove the last next and
5635 previous from this file.
5637 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5639 * CutAndPaste.C (pasteSelection): more clean up, user proper
5640 ParagraphList functions for pasteing.
5642 * ParagraphList.C (insert): new function, three arg insert
5644 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5646 * ParagraphList.C (insert): new function, three arg insert
5648 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5651 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5653 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5655 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5657 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5659 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5661 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5662 (copySelection): clean up a bit.
5663 (pasteSelection): use make_pair
5665 * ParagraphList.C (ParagraphList): implement copy constructor
5666 (operator=): implement, base on copy constructor.
5669 * paragraph.C (erase): return a bool
5671 * paragraph_pimpl.C (erasePos): remove function, move contents...
5672 (erase): ... here. Return a bool.
5673 (erase): call erase instead of erasePos.
5675 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5677 * ParagraphList.h: define PitPosPair
5678 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5679 ParagraphList, fix a bug on pasting multiple pars
5680 * text2.C: change interface to C&P
5682 2003-04-30 André Pönitz <poenitz@gmx.net>
5684 * undo_func.C: revert part of yesterday's patch 2
5686 2003-04-30 John Levon <levon@movementarian.org>
5688 * LColor.C: s/tabular/table/
5690 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5692 * text3.C (dispatch): do not convert iterator -> pointer
5693 * undo_funcs.C (setCursorParUndo): ditto
5694 * text_funcs.C (transposeChars): ditto
5696 * text2.C (setLayout): ws changes only
5698 * text.C (breakParagraph): do not convert iterator -> pointer
5700 (acceptChange): ditto
5701 (rejectChange): ditto
5706 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5709 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5711 * text3.C (gotoInset): YABG (yet another bad getChar)
5713 2003-04-29 André Pönitz <poenitz@gmx.net>
5715 * paragraph.h: make operator= private unimplemented as long as
5718 * ParagraphList.C: whitespace
5721 * paragraph_pimpl.[Ch]:
5722 * paragraph_funcs.C:
5724 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5727 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5729 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5731 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5732 * paragraph.[Ch] (erase):
5733 * paragraph_pimpl.[Ch] (erase): change return type and value
5734 * text2.C (cutSelection): some rework
5736 2003-04-28 John Levon <levon@movementarian.org>
5738 * bufferlist.C: changes for unsaved changes dialog
5740 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5742 * bufferlist.C (newFile): set language (messages_) for new
5745 * buffer.C (readFile): ws changes only.
5747 2003-04-28 André Pönitz <poenitz@gmx.net>
5752 * BufferView_pimpl.C:
5753 * BufferView.C: getParFromID related ParagraphList::iterator changes
5755 2003-04-28 André Pönitz <poenitz@gmx.net>
5757 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5760 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5762 * messages.C: remove one more localedir class variable.
5764 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5766 * messages.C (getLocaleDir): singleton generation function
5768 (Messages): add a default constructor.
5770 * main.C (main): do not setup localedir here, do not call
5773 * gettext.C (_): use it.
5774 (gettext_init): delete funciton
5776 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5778 * gettext.C (getLyXMessages): new singleton generating function.
5780 * buffer.C (updateDocLang): adjust
5782 * Makefile.am (messages.o): add target
5783 (main.o): remove target
5785 2003-04-27 John Levon <levon@movementarian.org>
5790 * lyxvc.C: specify cancel button in Alert::prompt
5792 2003-04-26 John Levon <levon@movementarian.org>
5797 * LyXAction.C: add LFUN_INSET_SETTINGS
5799 * lyxfunc.C: don't enable tabular-feature when there's
5800 just any locking inset
5802 2003-04-26 John Levon <levon@movementarian.org>
5804 * bufferlist.C: re-add Cancel to buffer close question
5806 * lyxfunc.C: fix import UI a bit
5808 2003-04-25 John Levon <levon@movementarian.org>
5810 * gettext.C: remove the broken asserts for now
5812 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5814 * messages.C: make case where setlocale cannot comply work better.
5816 * buffer.C (updateDocLang): new function
5817 (changeLanguage): use it
5820 * text2.C (setCounter): use B_ a bit.
5822 * lyxlayout.C (Read): be sure to trim the label strings.
5824 * messages.C (Messages): fix typo in comment
5826 * buffer.C (readFile): set message_ after file is loaded.
5827 (makeDocBookFile): remove double return
5828 (changeLanguage): reset message_ upon language change.
5829 (B_): new func, use this to get translated buffer strings.
5831 * main.C: add myself and Jean Marc as authors.
5833 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5835 * messages.[hC]: pimplify Messages, and three different pimpls to be
5836 used in different circumstances.
5838 * gettext.[Ch]: change for use with new message code.
5840 2003-04-24 André Pönitz <poenitz@gmx.net>
5842 * factory.C: support for eqref
5844 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5846 * messages.[Ch]: add missing char
5848 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5850 * messages.[Ch]: New files
5852 2003-04-18 John Levon <levon@movementarian.org>
5856 * BufferView_pimpl.C:
5860 * text2.C: remove layout-copy/paste (bug 778)
5862 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5864 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5866 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5868 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5869 if they succeed. Act accordingly.
5871 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5873 * text2.C (setCharFont): adjust
5874 (setCounter): adjust
5875 (insertStringAsLines): adjust
5877 * text.C (leftMargin): adjust
5878 (setHeightOfRow): adjust
5880 * rowpainter.C (paintFirst): adjust
5883 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5885 (isFirstInSequence): ditto
5886 (getEndLabel): ditto
5889 * paragraph.C (getParLanguage): comment out some hard stuff.
5891 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5893 (simpleDocBookOnePar): ditto
5894 (makeDocBookFile): use ParagraphList::iterator
5896 * CutAndPaste.C (pasteSelection): adjust
5898 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5900 * text2.C (getFont): adjust
5901 (getLayoutFont): adjust
5902 (getLabelFont): adjust
5904 * paragraph_funcs.C (TeXOnePar): adjust
5906 * buffer.C (simpleLinuxDocOnePar): adjust
5907 (simpleDocBookOnePar): adjust
5909 * CutAndPaste.C (pasteSelection): adjust
5911 * BufferView.C (getEncoding): adjust
5913 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5915 2003-04-16 John Levon <levon@movementarian.org>
5917 * lyxfind.C: use parlist stuff for search/changes
5919 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5921 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5923 * text2.C (deleteEmptyParagraphMechanism): adjust
5925 * text2.[Ch] (ownerParagraph): delete func (both of them
5927 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5929 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5931 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5933 * ParagraphList.C: prepare for NO_NEXT
5935 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5937 * text2.C (getFont): adjust
5938 (getLayoutFont): adjust
5939 (getLabelFont): adjust
5941 * paragraph.C (getFont): adjust
5942 (getLabelFont): adjust
5943 (getLayoutFont): adjust
5945 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5947 2003-04-15 John Levon <levon@movementarian.org>
5951 * lyx_main.C: handle Include in .ui files
5953 2003-04-15 John Levon <levon@movementarian.org>
5955 * MenuBackend.C: make the doc files length shorter
5958 * ToolbarBackend.C: handle toolbar placement flags,
5961 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5963 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5966 * paragraph_funcs.C (TeXOnePar): adjust
5968 * paragraph.C (getLabelFont): add outerfont arg, adjust
5969 (getLayoutFont): ditto
5970 (simpleTeXOnePar): adjust
5972 * paragraph_pimpl.C (realizeFont): delete func
5974 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5976 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5977 row argument, constify cur argument.
5979 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5981 * text2.C (getFont): adjust
5982 (getLayoutFont): adjust
5983 (getLabelFont): adjust
5985 * paragraph_funcs.C (TeXOnePar): adjust
5986 (outerFont): new func...
5987 (realizeFont): ...moved out from here, changed this to facilitate
5990 * paragraph.C (getFont): take outerfont as arg, adjust
5991 (simpleTeXOnePar): add outerfont arg, adjust
5993 * buffer.C (simpleLinuxDocOnePar): adjust
5994 (simpleDocBookOnePar): adjust
5996 * CutAndPaste.C (pasteSelection): adjust
5998 * BufferView.C (getEncoding): adjust
6000 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6002 * text2.C (setCharFont): adjust
6003 (setCounter): adjust
6005 * text.C (leftMargin): adjust
6006 (setHeightOfRow): adjust
6008 * rowpainter.C (paintFirst): adjust
6011 * paragraph_pimpl.C (realizeFont): adjust
6013 * paragraph.C (isFirstInSequence): move from here...
6014 * paragraph_funcs.C (isFirstInSequence): ...to here
6016 * paragraph.C (outerHook): move from here...
6017 * paragraph_funcs.C (outerHook): ...to here
6019 * paragraph.C (depthHook): move from here...
6020 * paragraph_funcs.C (depthHook): ...to here
6022 * paragraph.C (getEndLabel): move from here...
6023 * paragraph_funcs.C (getEndLabel): ...to here
6025 * text2.C (realizeFont): move from here...
6026 * paragraph_funcs.C (realizeFont): ...to here
6028 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6030 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6032 2003-04-14 Angus Leeming <leeming@lyx.org>
6034 * LColor.[Ch]: scrap LColor mathcursor.
6036 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6038 * lyxlex.[Ch] (text): delete function
6039 * trans.C (Load): adjust
6040 * paragraph_funcs.C (readParToken): adjust
6042 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6044 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6045 vector<char> instead of a char[].
6047 * lyxlex_pimpl.C (getString): adjust
6049 (lex): use getString
6053 * lyxlex.C (text): use pimpl_->getString()
6057 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6059 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6060 (makeFontEntriesLayoutSpecific): temp var for par.size()
6061 (setLayout): temp var for ownerParagraphs().end()
6062 (fullRebreak): temp var for rows().end()
6063 (selectionAsString): temp var for boost::next(startpit), realize
6064 that the while really is a regular for loop.
6065 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6066 setCursor in one place.
6067 (setParagraph): temp vr for ownerParagraphs().end()
6068 (updateCounters): make the while loop a for loop
6069 (cutSelection): temp var for ownerParagraphs().end()
6070 (updateInset): make the do {} while() a regular for loop
6071 (getCursorX): use temp vars
6072 (setCurrentFont): use temp vars
6073 (getColumnNearX): use temp vars
6075 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6077 * text.C (transformChar): use temp var for getChar
6078 (computeBidiTables): use temp var for row->par()
6079 (fill): move temp vars for row->par() and pit->layout() earlier in
6081 (labelFill): use temp var for row->par()
6082 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6083 asc and desc, realize that pit never changes and that firstpit is
6084 just a duplicate and not needed. Exchange rit->par() with pit in a
6086 (breakAgain): use a temp var for boost::next(rit)
6087 (breakAgainOneRow): ditto
6088 (breakParagraph): use a temp var for rows().begin()
6089 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6090 (cursorRightOneWord): use temp var for cursor.par() and
6091 cursor.pos(), remove usage of tmpcursor.
6092 (cursorLeftOneWord): use temp var for cursor.par() and
6093 cursor.pos() only set cur at end of function.
6095 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6097 * text.C, text2.C: exchange all usage of Paragraph::next with
6098 boost::next(ParagraphList::iterator)
6100 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6102 * text2.C (cursorTop): simplify implementation
6103 (cursorBottom): ditto
6104 (setParagraph): use ParagraphList::iterator
6105 (setCurrentFont): adjust
6106 (getColumnNearX): adjust
6107 (cursorRight): adjust
6108 (cursorLeft): remove usage of Paragraph::previous
6109 (cursorUpParagraph): ditto
6110 (deleteEmptyParagraphMechanism): slight cleanup
6112 * text.C (isBoundary): take a Paragraph const & instead of a
6114 (addressBreakPoint): ditto
6115 (leftMargin): remove usage of Paragraph::previous.
6116 (setHeightOfRow): ditto
6117 (cursorLeftOneWord): ditto
6118 (selectNextWordToSpellcheck): ditto
6121 (breakParagraph): remove one usage of Paragraph::next
6122 (redoParagraph): ditto
6123 (acceptChange): ditto
6124 (insertChar): adjust
6125 (rowBreakPoint): adjust
6127 * bufferview_funcs.C (toggleAndShow): adjust
6129 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6131 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6132 methods to access it.
6134 * text.C: Added updateRowPositions to compute all row positions.
6135 Make top_y and getRowNearY() to use the cached y position
6137 2003-04-11 John Levon <levon@movementarian.org>
6139 * text.C (rowBreakPoint): reintroduce the labelEnd
6140 checks, code copied from the row fill stuff. Deep voodoo.
6142 * text.C (fill): add a comment and debugging for the
6145 2003-04-11 John Levon <levon@movementarian.org>
6147 * text.C: make sure fullrow insets get wrapped to the next line,
6148 even when they're in a manual label
6150 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6152 * text2.C (insertParagraph): make it take ParagraphList::iterator
6154 (setLayout): make it return ParagraphList::iterator
6155 (redoParagraphs): ditto
6157 (checkParagraph): ditto
6159 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6161 * text2.C: adjust several funcs.
6162 (realizeFont): take a ParagraphList::iterator as arg.
6163 (getLayoutFont): ditto
6164 (getLabelFont): ditto
6165 (setCharFont): ditto
6167 * text.C: adjust several funcs.
6169 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6171 * text.C (selectNextWordToSpellcheck): don't accidentally
6174 2003-04-10 John Levon <levon@movementarian.org>
6176 * ToolbarBackend.C (getIcon): special handling for
6179 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6181 * text2.C (cursorRight): a getChar assert fixed
6183 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6185 * text2.C (getFont): change to take a ParagraphList::iterator
6186 instead of Paragraph*
6187 Adjust several functions.
6189 * text.C (transformChar): change to take a ParagraphList::iterator
6190 instead of Paragraph*
6191 (singleWidth): ditto
6192 Adjust several functions.
6194 * rowpainter.C: adjust several functions
6195 * rowpainter.h:store a ParagraphList::iterator and not a
6199 2003-04-09 John Levon <levon@movementarian.org>
6204 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6205 and the "help" bits as well
6207 2003-04-09 John Levon <levon@movementarian.org>
6210 * ToolbarBackend.C: allow multiple toolbars
6212 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6214 * undo_funcs.C (setCursorParUndo): adjust
6216 * text_funcs.C (transposeChars): adjust
6218 * text3.C (gotoNextInset): adjust
6221 * text2.C (setLayout): adjust
6222 (changeDepth): adjust
6224 (redoParagraphs): adjust
6225 (selectionAsString): adjust
6226 (setParagraph): adjust
6227 (insertInset): adjust
6228 (cutSelection): adjust
6229 (copySelection): adjust
6230 (pasteSelection): adjust
6231 (insertStringAsLines): adjust
6232 (updateInset): adjust
6233 (setCursor): change to take a ParagraphList::iterator parameter
6234 (setCursorIntern): change to take a ParagraphList::iterator parameter
6235 (setCurrentFont): adjust
6236 (cursorLeft): adjust
6237 (cursorRight): adjust
6238 (deleteEmptyParagraphMechanism): adjust
6240 * text.C (breakParagraph): adjust
6241 (insertChar): adjust
6242 (acceptChange): adjust
6243 (rejectChange): adjust
6244 (selectNextWordToSpellcheck): adjust
6245 (changeCase): adjust
6249 * lyxfind.C (SearchForward): adjust
6250 (SearchBackward): adjust
6251 (nextChange): adjust
6253 * lyxcursor.C (par): adjust
6255 * lyxcursor.h: store a ParagraphList::iterator instead of a
6258 * lyx_cb.C (getPossibleLabel): adjust
6260 * bufferview_funcs.C (toggleAndShow): adjust
6262 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6265 * BufferView.C (removeAutoInsets): adjust
6266 (lockedInsetStoreUndo): adjust
6268 2003-04-09 John Levon <levon@movementarian.org>
6270 * ToolbarBackend.C: try icon without argument
6271 if with argument fails
6273 2003-04-08 John Levon <levon@movementarian.org>
6276 * ToolbarBackend.C: add getIcon(), handle tooltip,
6277 and change from "Icon" to "Item".
6279 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6281 * BufferView.C (lockInset): another bad getchar crunched
6283 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6285 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6288 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6290 * lyxfind.C (searchForward, searchBackwards): bug 782
6292 2003-04-07 John Levon <levon@movementarian.org>
6294 * paragraph.C: remove dead comment
6296 * text.C: remove troublesome depth-fiddling code
6297 in leftMargin() and rightMargin() (bug 1017)
6299 * text.C: fix breaking of rows in nested lists
6302 * text2.C (updateCounters): fix up depth values
6305 2003-04-07 John Levon <levon@movementarian.org>
6307 * BufferView_pimpl.C: clear message when doc finishes resizing,
6308 and after a mouse event
6310 * lyxfunc.C: clear message after exiting inset
6312 2003-04-07 John Levon <levon@movementarian.org>
6314 * bufferview_funcs.C: show math status not outside
6315 status in the statusbar
6317 2003-04-07 John Levon <levon@movementarian.org>
6319 * lyxfunc.C: note status changed after a depth change
6321 2003-04-04 Angus Leeming <leeming@lyx.org>
6323 * LaTeX.h: move AuxInfo operator==, != out of line.
6324 Remove LaTeX virtual destructor; nothing derives from it.
6325 Move operator()() out of public area and rename it startscript().
6326 Change protected for private.
6328 2003-04-04 Angus Leeming <leeming@lyx.org>
6331 * text2.C: remove unneeded #includes.
6333 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6335 * text2.C (dEPM): fix the heigth of the next row
6337 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6339 * text.C: squashed an invalid getChar requester + some ws changes
6341 2003-04-03 John Levon <levon@movementarian.org>
6343 * bufferview_funcs.h:
6344 * bufferview_funcs.C:
6347 * text2.C: make getStatus work for the env depth lfuns
6349 2003-04-03 John Levon <levon@movementarian.org>
6351 * bufferview_funcs.h:
6352 * bufferview_funcs.C:
6355 * text2.C: parlistize decDepth(), by merging it with incDepth()
6357 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6359 * lyxrow.h: store a ParagraphList::iterator instead of a
6360 Paragraph* and adjust other class functions to suit.
6362 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6365 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6367 * text2.C (setCursor): do not anchor to cursor row for the time being
6369 2003-04-02 John Levon <levon@movementarian.org>
6376 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6378 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6380 * paragraph.h: make ParagraphList and ParagraphList::iterator
6381 friends of Paragraph.
6383 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6385 * ParagraphList.C: Use the private next_ and previous_ from
6388 2003-04-01 John Levon <levon@movementarian.org>
6392 * Makefile.am: rename, remove defaults gunk
6395 * MenuBackend.C: remove defaults gunk
6398 * Languages.C: remove defaults gunk
6401 * lyx_main.C: error out if files couldn't be found.
6403 2003-04-02 John Levon <levon@movementarian.org>
6405 * text2.C: make incDepth() use parlist
6407 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6409 * undo_funcs.C (firstUndoParagraph): adjust
6411 * text3.C (gotoInset): adjust
6412 (dispatch): adjust, and rewrite loop.
6414 * text2.C (init): adjust, and rewrite loop.
6415 (redoParagraphs): adjust
6416 (updateInset): adjust, and rewrite loop.
6417 (deleteEmptyParagraphMechanism): adjust
6419 * tabular.C (LyXTabular): adjust
6420 (SetMultiColumn): adjust
6423 * lyxtext.[Ch] (ownerParagraph): delete function
6424 (ownerParagraphs): new function returns a ParagraphList.
6426 * BufferView.C (removeAutoInsets): adjust
6427 (insertErrors): adjust
6428 (setCursorFromRow): adjust
6430 2003-04-01 Angus Leeming <leeming@lyx.org>
6432 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6435 2003-04-02 John Levon <levon@movementarian.org>
6441 * text_funcs.C: make transposeChars a free function
6443 * lyxrow_funcs.C: remove wrong comment
6445 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6448 * rowpainter.C: adjust
6453 * lyxrow_funcs. [Ch]: new files
6455 * lyxrow.[Ch]: remove next and previous pointers
6456 (next,previous): remove accessor functions
6457 (isParEnd): move to lyxrow_funcs
6458 (lastPos): move to lyxrow_funcs
6459 (nextRowIsAllInset): move to lyxrow_funcs
6460 (lastPrintablePos): move to lyxrow_funcs
6461 (numberOfSeparators): move to lyxrow_funcs
6462 (numberOfHfills): move to lyxrow_funcs
6463 (numberOfLabelHfills): move to lyxrow_funcs
6464 (hfillExpansion): move to lyxrow_funcs
6468 * bufferview_funcs.C (toggleAndShow): adjust
6470 * RowList.h: Remove class RowList from file leave just a
6473 * RowList.C: delete file
6475 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6478 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6480 * text3.C (cursorPrevious): adjust
6481 (cursorNext): adjust
6484 * text2.C (redoHeightOfParagraph): adjust
6485 (redoDrawingOfParagraph): adjust
6488 * text.C (breakParagraph): adjust
6489 (insertChar): adjust
6492 * rowpainter.C (RowPainter): adjust
6493 (leftMargin): simplify and adjust
6494 (most rowpainter functions): adjust.
6496 * rowpainter.h: store the row as RowList::iterator not as Row*
6498 * lyxcursor.C (row): taka RowList::iterator as arg
6501 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6504 2003-04-01 Angus Leeming <leeming@lyx.org>
6506 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6507 stuff like bool Bool.
6509 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6511 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6514 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6516 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6519 * lyxtext.h (rows): drop one version and leve a const variant that
6520 returns a RowList::iterator.
6522 2003-03-31 Angus Leeming <leeming@lyx.org>
6524 * text.C (fill): ensure that the signature is the same as that in the
6527 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6529 * text2.C (redoParagraphs): adjust
6530 (updateCounters): adjust
6531 (checkParagraph): adjust
6532 (getColumnNearX): adjust and reformat a bit.
6534 * text.C (top_y): adjust
6536 (leftMargin): adjust
6537 (prepareToPrint): adjust
6539 (getRowNearY): adjust
6541 * lyxtext.h: make rowlist_ mutable.
6543 * RowList.h: add const_iterator
6544 * RowList.C: adjust for RowList::const_iterator.
6546 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6549 2003-03-31 John Levon <levon@movementarian.org>
6552 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6554 * lyx_main.C: set default fonts from using lyx_gui funcs
6556 * exporter.C: pdf_mode moved from lyxrc
6559 * lyxfunc.C: changes from above
6561 2003-03-31 John Levon <levon@movementarian.org>
6563 * lyx_main.C: fix to the last fix
6565 2003-03-31 John Levon <levon@movementarian.org>
6567 * bufferlist.C: "Load original" -> "Load Original"
6573 * format.C: more Alert cleanups
6575 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6577 * text2.C (removeParagraph): make it take a RowList::iterator as
6579 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6580 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6582 * text.C (anchor_row): make it take a RowList::iterator as arg,
6584 (computeBidiTables): make it take a const reference to Row instead
6585 of Row pointer, adjust.
6586 (leftMargin): make it take a RowList::iterator as arg, adjust.
6587 (rowBreakPoint): adjust
6588 (breakAgainOneRow): make it take a RowList::iterator as arg,
6590 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6592 * bufferview_funcs.C (toggleAndShow): adjust
6594 2003-03-30 John Levon <levon@movementarian.org>
6598 * boost-inst.C: moved to support
6600 * several files: changes as a result
6602 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6604 * text2.C (LyXText): adjust.
6606 (removeRow): make it take a RowList::iterator as arg, adjust.
6607 (fullRebreak): adjust
6608 (deleteEmptyParagraphMechanism): adjust
6609 (clearPaint): adjust
6612 * text.C (top_y): adjust
6613 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6614 (breakAgain): make it take a RowList::iterator as arg, adjust.
6615 (breakParagraph): adjust
6616 (insertChar): adjust
6619 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6620 need_break_row, and refresh_row.
6622 * text3.C (dispatch): adjust
6624 * text2.C (checkParagraph): adjust
6626 (setCursorFromCoordinates): adjust
6628 * text.C (top_y): adjust
6630 (getRow): make it return a RowList::iterator, adjust
6631 (getRowNearY): make it return a RowList::iterator, adjust
6633 * text2.C (init): adjust
6634 (insertRow): remove function
6635 (insertParagraph): adjust
6636 (redoParagraphs): adjust
6637 (fullRebreak): adjust
6638 (updateCounters): adjust
6640 * text.C (top_y): rewrite to use RowList iterators.
6642 (setHeightOfRow): rewrite to sue RowList iterators.
6643 (appendParagraph): adjust
6644 (breakAgain): adjust
6645 (breakAgainOneRow): adjust
6646 (breakParagraph): adjust
6648 (getRowNearY): adjust, and remove commented code.
6650 * lyxtext.h (firstRow): delete function
6651 (lastRow): delete function
6652 (rows): new function (const and non-const versions.)
6653 (insertRow): delete function
6655 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6657 2003-03-29 John Levon <levon@movementarian.org>
6659 * BufferView_pimpl.C: always update scrollbar top
6660 because pasting text when we're anchored could mean we
6661 miss an update altogether
6663 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6665 * text2.C (init): use rowlist_.end() and not 0.
6666 (insertRow): change to take a RowList::iterator as arg, adjust
6668 (insertParagraph): change to take a RowList::iterator as arg,
6670 (redoParagraphs): remove some debug msgs.
6672 * text.C (appendParagraph): change to take a RowList::iterator
6673 arg, adjust for this.
6674 (breakAgain): add an assert
6675 (breakAgainOneRow): ditto
6677 2003-03-29 John Levon <levon@movementarian.org>
6679 * text2.C: do not clear selection after inc/decDepth
6682 2003-03-29 John Levon <levon@movementarian.org>
6685 * buffer.C: fix broken strerrors according to Lars
6687 2003-03-29 John Levon <levon@movementarian.org>
6689 * converters.C: more Alert cleanups
6691 2003-03-29 John Levon <levon@movementarian.org>
6693 * bufferview_funcs.C: remove pointless Alert
6695 * buffer.C: fix confusing error message when
6696 a template is chmoded 000
6698 2003-03-29 John Levon <levon@movementarian.org>
6702 * BufferView_pimpl.C: Alert fixes
6706 * tabular-old.C: remove unused table compat reading
6708 2003-03-29 John Levon <levon@movementarian.org>
6713 * lyx_cb.C: more Alert cleanups
6715 * lyxfunc.C: don't allow chktex if not latex document
6717 2003-03-29 John Levon <levon@movementarian.org>
6721 * buffer.C: warnings pushed down from support/,
6724 2003-03-29 John Levon <levon@movementarian.org>
6726 * lyxfunc.C: safety check for C-r (revert)
6728 2003-03-29 John Levon <levon@movementarian.org>
6731 * bufferlist.C: several UI fixes using Alert::prompt.
6732 Fix the pointless looping quit code. Fix stupid revert
6737 * lyx_cb.C: use Alert::prompt
6739 * lyx_main.C: remove a silly question
6741 * lyxfunc.C: remove a couple of silly questions,
6744 2003-03-28 John Levon <levon@movementarian.org>
6746 * text2.C: fix bug 974 (End on empty par)
6748 2003-03-28 John Levon <levon@movementarian.org>
6750 * BufferView_pimpl.C:
6752 * lfuns.h: remove do-nothing math greek lfuns
6754 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6756 * lyxgluelength.h (isValidGlueLength): add default arg on
6757 parameter 2. Remove default arg from friend in class.
6759 * lyxlength.h (isValidLength): add default arg on parameter 2.
6760 Remove default arg from friend in class.
6762 * text2.C (LyXText): adjust, initialize refresh_row.
6766 (insertParagraph): adjst
6767 (redoParagraphs): adjust
6768 (fullRebreak): adjust
6769 (updateCounters): adjust
6770 (deleteEmptyParagraphMechanism): first attempt at fixing a
6773 * text.C (top_y): adjust
6774 (setHeightOfRow): adjust
6776 (getRowNearY): adjust
6778 * lyxtext.h: include RowList.h
6779 (~LyXText): not needed anymore, deleted.
6780 (firstRow): modify for RowList
6781 (lastRow): new function
6782 Delete firstrow and lastrow class variables, add a Rowlist
6783 rowlist_ class variable.
6785 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6788 * RowList.C (insert): fix case where it == begin().
6790 2003-03-26 Angus Leeming <leeming@lyx.org>
6792 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6793 the thesaurus dialog.
6795 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6797 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6799 * RowList.[Ch]: new files
6801 * ParagraphList.C (erase): handle the case where it == begin
6804 2003-03-25 John Levon <levon@movementarian.org>
6808 * aspell.C: add new aspell support
6811 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6814 2003-03-25 Angus Leeming <leeming@lyx.org>
6817 * LyXAction.C (init): new LFUN_INSET_INSERT.
6819 * BufferView_pimpl.C (dispatch): split out part of the
6820 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6822 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6825 2003-03-25 Angus Leeming <leeming@lyx.org>
6827 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6829 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6832 * text3.C: remove useless row->height(0)
6834 2003-03-25 John Levon <levon@movementarian.org>
6838 * text3.C: rename the refreshing stuff to better names
6840 2003-03-24 John Levon <levon@movementarian.org>
6842 * BufferView_pimpl.h:
6843 * BufferView_pimpl.C: update layout choice on a mouse
6846 2003-03-23 John Levon <levon@movementarian.org>
6848 * Makefile.am: fix commandtags.h reference
6850 2003-03-22 John Levon <levon@movementarian.org>
6852 * BufferView_pimpl.C:
6857 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6859 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6862 * text.C: take the rtl methods out of line
6864 2003-03-21 André Pönitz <poenitz@gmx.net>
6866 * metricsinfo.[Ch]: new files containing structures to be passed around
6867 during the two-phase-drawing...
6869 2003-03-21 André Pönitz <poenitz@gmx.net>
6871 * lyxtextclass.C: read 'environment' tag.
6873 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6875 * text2.C (removeRow): fix bug 964
6877 2003-03-20 John Levon <levon@movementarian.org>
6881 * text2.C: paint cleanups. Inset::update() dropped font
6884 2003-03-19 John Levon <levon@movementarian.org>
6886 * lyxfunc.C: only fitcursor/markDirty if available()
6888 2003-03-19 John Levon <levon@movementarian.org>
6890 * commandtags.h: rename to ...
6892 * lfuns.h: ... this, and renumber / cleanup
6894 2003-03-19 John Levon <levon@movementarian.org>
6896 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6897 fit the cursor after an lfun
6901 * BufferView_pimpl.h:
6902 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6904 * LyXAction.C: layout-character should have ReadOnly
6906 * ParagraphParameters.C:
6908 * bufferview_funcs.C:
6915 * undo_funcs.C: changes from above
6917 2003-03-18 John Levon <levon@movementarian.org>
6919 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6920 remove it from update()
6922 * lyxfunc.C: update layout choice after an lfun
6924 * text3.C: remove extra updateLayoutChoice()s
6926 2003-03-18 John Levon <levon@movementarian.org>
6928 * text.C: top_y change means full repaint, fix
6929 a drawing bug with cursor movement
6931 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6935 * text2.C: anchor row on setCursor
6937 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6939 * lyxtext.h: remove almost all mutable keywords
6942 * text3.C: remove const keywords accordingly
6944 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6946 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6948 (TeXEnvironment): ditto
6951 2003-03-17 John Levon <levon@movementarian.org>
6953 * text.C (rowBreakPoint): remove attempt to fix displayed
6954 math insets inside a manual label
6956 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6958 * lyxtext.h: remove BufferView* as first arg from almost all class
6960 * other files: adjust.
6962 2003-03-17 John Levon <levon@movementarian.org>
6966 * text2.C: more paint cleanups
6968 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6971 * rowpainter.C: remove "smart" background painting code
6973 2003-03-16 John Levon <levon@movementarian.org>
6978 * text3.C: add helper functions for setting refresh_row/y
6980 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6982 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6983 newline inset which *can* get inserted in the pass_thru layouts.
6984 This is primarily for literate documents.
6986 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6988 * buffer.C: increment LYX_FORMAT to 223
6990 2003-03-14 André Pönitz <poenitz@gmx.net>
6992 * textclass.h: prepare for environment handling, ws changes
6993 * lyxlayout.C: read latexheader and latexfooter tags
6995 2003-03-14 John Levon <levon@movementarian.org>
6997 * text2.C: rewrite ::status() a bit
6999 2003-03-13 John Levon <levon@movementarian.org>
7001 * lyxtext.h: add some docs
7003 2003-03-13 John Levon <levon@movementarian.org>
7008 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7010 2003-03-13 John Levon <levon@movementarian.org>
7012 * text3.C: fix appendix redrawing
7014 2003-03-13 John Levon <levon@movementarian.org>
7016 * text.C (setHeightOfRow):
7018 * rowpainter.C: make appendix mark have the text
7019 "Appendix" so the user knows what it is
7022 * LColor.C: s/appendixline/appendix/ from above
7024 2003-03-13 John Levon <levon@movementarian.org>
7026 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7028 * text.C: fix a getChar(pos) bug properly
7030 2003-03-13 Angus Leeming <leeming@lyx.org>
7033 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7034 Probably only temporary. Let's see how things pan out.
7036 * BufferView.C (unlockInset):
7037 * BufferView_pimpl.C (fitCursor):
7038 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7040 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7041 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7043 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7044 new functions that convert ParagraphParameters to and from a string.
7046 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7047 BufferView::Pimpl's dispatch.
7048 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7050 2003-03-13 André Pönitz <poenitz@gmx.net>
7054 * factory.C: make it aware of InsetEnv
7056 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * text2.C (setCursor): never ask for one past last
7059 (setCursor): add some debugging messages.
7061 * text.C (singleWidth): never ask for one past last
7062 (singleWidth): ditto
7064 (rightMargin): ditto
7065 (rowBreakPoint): ditto
7066 (setHeightOfRow): ditto
7067 (prepareToPrint): ditto
7069 * rowpainter.C (paintBackground): never ask for one past last
7070 (paintText): never ask for one past last
7072 * paragraph_pimpl.C (getChar): make the assert stricter, never
7073 allow the one past last pos to be taken
7075 * paragraph.C (getChar): ws changes only
7077 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7078 (numberOfSeparators): ditto
7079 (numberOfHfills): ditto
7081 2003-03-12 John Levon <levon@movementarian.org>
7087 * paragraph_funcs.C: fix per-buffer authorlists
7089 2003-03-12 John Levon <levon@movementarian.org>
7091 * text.C: fix newline in right address
7093 2003-03-12 Angus Leeming <leeming@lyx.org>
7095 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7096 duplicate those in LyXFunc::dispatch.
7100 * ToolbarDefaults.C:
7101 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7102 Add LFUN_FONTFREE_UPDATE.
7104 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7105 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7107 * bufferview_func.[Ch]: several new functions to facilliate
7108 transfer of data to and from the character dialog.
7110 2003-03-12 John Levon <levon@movementarian.org>
7115 * paragraph_funcs.C:
7116 * paragraph_pimpl.C:
7120 * text3.C: remove META_NEWLINE in favour of an inset
7123 * rowpainter.C: remove paintNewline (done by inset)
7125 2003-03-12 John Levon <levon@movementarian.org>
7127 * paragraph_pimpl.C: complain about bad getChar()s
7128 for a while at least
7130 2003-03-12 John Levon <levon@movementarian.org>
7133 * buffer.C: move paragraph read into a separate function,
7134 a little renaming to reflect that.
7137 * bufferparams.C: remove the author_ids map, not necessary now
7140 * factory.C: moved Buffer::readInset to here
7142 * paragraph_funcs.h:
7143 * paragraph_funcs.C: readParagraph free function moved from
7146 * tabular.C: name change
7148 2003-03-12 John Levon <levon@movementarian.org>
7151 * ParagraphParameters.C: move par params input to
7154 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7155 behave like a normal read from the stream wrt reading
7156 a line vs. a \\token
7158 2003-03-12 John Levon <levon@movementarian.org>
7161 * ParagraphParameters.h:
7162 * ParagraphParameters.C: move output code to a
7165 2003-03-12 John Levon <levon@movementarian.org>
7167 * BufferView.C (insertLyXFile):
7170 * tabular.C: use a parlist iterator for creating the
7173 2003-03-12 John Levon <levon@movementarian.org>
7175 * buffer.C: make current_change static local not
7178 2003-03-12 John Levon <levon@movementarian.org>
7180 * buffer.C: fix insertStringAsLines for change tracking
7182 2003-03-12 John Levon <levon@movementarian.org>
7189 * bufferparams.C: move author list into params. Rename some
7190 functions. Move the header reading into a separate token
7191 loop. Move the header token reading into BufferParams.
7193 2003-03-12 John Levon <levon@movementarian.org>
7195 * changes.C: put debug inside lyxerr.debugging() checks
7197 2003-03-11 André Pönitz <poenitz@gmx.net>
7199 * factory.C: make it aware of InsetHFill
7201 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7203 * buffer.C (latexParagraphs): move function from here...
7204 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7207 2003-03-10 Angus Leeming <leeming@lyx.org>
7209 * LyXAction.C (init): fix bug in poplating array with multiple entries
7210 with the same LFUN (spotted by JMarc).
7212 2003-03-10 John Levon <levon@movementarian.org>
7215 * text2.C: move getColumnNearX() near its
7218 2003-03-10 John Levon <levon@movementarian.org>
7220 * text.C: fix break before a minipage
7222 2003-03-10 John Levon <levon@movementarian.org>
7224 * text.C: fix the last commit
7226 2003-03-09 John Levon <levon@movementarian.org>
7230 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7231 bug 365 (don't break before insets unless needed). Don't
7232 return a value > last under any circumstances.
7234 2003-03-09 Angus Leeming <leeming@lyx.org>
7236 * BufferView_pimpl.C (trackChanges, dispatch): call
7237 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7239 2003-03-09 Angus Leeming <leeming@lyx.org>
7241 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7242 than Dialogs::showAboutlyx().
7244 2003-03-09 Angus Leeming <leeming@lyx.org>
7246 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7247 than Dialogs::showTabularCreate().
7249 2003-03-09 John Levon <levon@movementarian.org>
7253 * text2.C: 3rd arg to nextBreakPoint was always the same.
7256 2003-03-08 John Levon <levon@movementarian.org>
7263 * text2.C: Remove the "main" bit from the "main body"
7266 2003-03-08 John Levon <levon@movementarian.org>
7268 * text.C (leftMargin): The left margin of an empty
7269 manual label paragraph should not include the label width
7272 * text.C (prepareToPrint): don't attempt to measure hfills
7273 for empty manual label paragraphs - the answer should be 0
7275 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7277 * CutAndPaste.C: remove commented code and reindent.
7279 2003-03-08 John Levon <levon@movementarian.org>
7282 * lyxfunc.C: move reloadBuffer()
7285 * BufferView.C: to here
7287 * lyxvc.C: add comment
7290 * vc-backend.C: call bv->reload() to avoid
7291 getStatus() check on MENURELOAD
7293 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7295 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7296 to an old format .dep file.
7298 2003-03-07 Angus Leeming <leeming@lyx.org>
7300 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7301 when the LFUN_MOUSE_RELEASE should have been handled by
7302 inset->localDispatch.
7304 2003-03-07 Angus Leeming <leeming@lyx.org>
7306 * BufferView_pimpl.C (dispatch):
7307 * LyXAction.C (init):
7308 * ToolbarDefaults.C (init):
7310 * lyxfunc.C (getStatus):
7311 remove LFUN_INSET_GRAPHICS.
7313 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7315 2003-03-07 Angus Leeming <leeming@lyx.org>
7318 * LyXAction.C (init):
7319 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7321 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7324 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7326 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7327 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7329 2003-03-07 Angus Leeming <leeming@lyx.org>
7331 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7334 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7336 * ParagraphList.C (front): new function
7339 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7341 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7342 and top_row_offset_. removed var first_y.
7344 * text2.C (LyXText, removeRow):
7346 * BufferView_pimpl.C:
7347 use these methods instead of using first_y
7349 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7351 * text2.C (pasteSelection): adjust for checkPastePossible
7353 * CutAndPaste.C: remove Paragraph * buf and replace with
7354 ParagraphList paragraphs.
7355 (DeleteBuffer): delete
7356 (cutSelection): change the tc type to textclass_type
7357 (copySelection): change the tc type to textclass_type
7358 (copySelection): adjust for ParagraphList
7359 (pasteSelection): change the tc type to textclass_type
7360 (pasteSelection): adjust for Paragraphlist
7361 (nrOfParagraphs): simplify for ParagraphList
7362 (checkPastePossible): simplify for ParagraphList
7363 (checkPastePossible): remove unused arg
7365 * ParagraphList.C (insert): handle the case where there are no
7368 * CutAndPaste.h: make CutAndPaste a namespace.
7370 * text3.C (dispatch): adjust
7372 * text.C (breakParagraph): add a ParagraphList as arg
7374 * paragraph_funcs.C (breakParagraph): change to take a
7375 BufferParams and a ParagraphList as args.
7376 (breakParagraphConservative): ditto
7377 (mergeParagraph): ditto
7378 (TeXDeeper): add a ParagraphList arg
7379 (TeXEnvironment): ditto
7382 * buffer.C (readLyXformat2): adjust
7383 (insertStringAsLines): adjust
7384 (latexParagraphs): adjust
7386 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7387 (cutSelection): adjust
7388 (pasteSelection): adjust
7390 * BufferView_pimpl.C (insertInset): adjust
7392 2003-03-05 Angus Leeming <leeming@lyx.org>
7395 * LyXAction.C (init):
7396 * BufferView_pimpl.C (dispatch):
7397 * lyxfunc.C (getStatus):
7398 remove LFUN_CHILD_INSERT.
7400 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7402 2003-03-05 Angus Leeming <leeming@lyx.org>
7405 * LyXAction.C (init):
7406 * src/factory.C (createInset):
7407 * lyxfunc.C (getStatus):
7408 * text3.C (dispatch):
7409 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7411 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7413 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7415 * ParagraphList.C (insert): handle insert right before end()
7416 (erase): fix cases where it can be first or last paragraph.
7418 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7420 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7421 Paragraph::next and Paragraph::previous
7424 * text.C (breakParagraph): adjust
7426 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7427 BufferParams& as arg.
7428 (breakParagraph): use ParagraphList::insert
7429 (breakParagraphConservative): take a Buffer* instead of a
7430 BufferParams& as arg.
7431 (breakParagraphConservative): use ParagraphList::insert.
7433 * buffer.C (insertStringAsLines): un-const it
7434 (insertStringAsLines): adjust
7436 * ParagraphList.C (insert): new function
7438 * CutAndPaste.C (pasteSelection): adjust
7440 * text.C (backspace): adjust
7442 * tabular.C (SetMultiColumn): adjust
7444 * CutAndPaste.C (cutSelection): adjust
7445 (pasteSelection): adjust
7447 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7448 Buffer const * as arg
7450 * ParagraphList.C (erase): new function
7451 * paragraph_funcs.C (mergeParagraph): use it
7452 (mergeParagraph): make it take a Buffer* instead of a
7453 BufferParams* as arg
7455 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7457 (breakParagraphConservative): ditto
7459 * paragraph.h: remove the breakParagraph friend
7461 * paragraph.C (eraseIntern): new function
7462 (setChange): new function
7464 * paragraph_funcs.C (mergeParagraph): make it take a
7465 ParagraphList::iterator instead of a Paragraph *, adjust
7468 * paragraph.h: move an #endif so that the change tracking stuff
7469 also works in the NO_NEXT case.
7471 2003-03-04 Angus Leeming <leeming@lyx.org>
7474 * LyXAction.C: new LFUN_INSET_MODIFY.
7476 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7477 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7479 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7481 * several files: ws changes only
7483 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7484 (TeXEnvironment): ditto
7487 * buffer.C (makeLaTeXFile): adjust
7488 (latexParagraphs): make it take ParagraphList::iterator as args
7490 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7492 * buffer.C (latexParagraphs): adjust
7494 * paragraph.C (TeXOnePar): move function...
7495 (optArgInset): move function...
7496 (TeXEnvironment): move function...
7497 * paragraph_pimpl.C (TeXDeeper): move function...
7498 * paragraph_funcs.C: ...here
7500 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7502 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7504 * buffer.C (readInset): remove compability code for old Figure and
7507 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7509 * buffer.C: ws changes
7512 * BufferView_pimpl.C: ditto
7515 * bufferlist.h: ditto
7519 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7521 * converter.[Ch]: split into itself +
7524 * Makefile.am: += graph.[Ch] + format.[Ch]
7531 * lyxrc.C: added #include "format.h"
7533 2003-02-27 Angus Leeming <leeming@lyx.org>
7535 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7538 * factory.C (createInset): add "label" to the factory.
7540 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7541 string and do no more.
7543 2003-02-27 Angus Leeming <leeming@lyx.org>
7546 * LyXAction.C (init):
7547 * factory.C (createInset):
7548 * BufferView_pimpl.C (dispatch):
7549 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7551 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7553 * lyxfunc.C (dispatch):
7554 * text3.C (dispatch): pass name to params2string.
7556 2003-02-26 Angus Leeming <leeming@lyx.org>
7558 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7560 Rearrange the ~includes. Strip out the unnecessary ones.
7562 * factory.C (createInset): reformat.
7563 create new insets for the various LFUN_XYZ_APPLY lfuns.
7565 2003-02-26 John Levon <levon@movementarian.org>
7568 * lyxrow.C: add isParStart,isParEnd helpers
7570 * paragraph.h: make isInserted/DeletedText take refs
7572 * paragraph_funcs.h:
7573 * paragraph_funcs.C: remove #if 0'd code
7578 * text.C: use lyxrow helpers above.
7579 Move draw and paint routines to RowPainter.
7580 Make several methods use refs not pointers.
7581 Make backgroundColor() const.
7582 Add markChangeInDraw(), isInInset().
7583 Merge changeRegionCase into changeCase.
7584 Make workWidth() shouldn't-happen code into an Assert.
7587 * rowpainter.C: new class for painting a row.
7590 * vspace.C: make inPixels take a ref
7592 2003-02-26 Angus Leeming <leeming@lyx.org>
7594 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7597 2003-02-25 John Levon <levon@movementarian.org>
7599 * ispell.C: give the forked command a more accurate name
7601 2003-02-22 John Levon <levon@movementarian.org>
7604 * toc.C: make TocItem store an id not a Paragraph *
7607 2003-02-21 Angus Leeming <leeming@lyx.org>
7609 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7610 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7611 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7612 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7613 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7614 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7616 * BufferView_pimpl.C (dispatch):
7617 * LyXAction.C (init):
7618 * factory.C (createInset):
7619 * lyxfunc.C (getStatus, dispatch):
7620 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7622 2003-02-21 Angus Leeming <leeming@lyx.org>
7624 * BufferView_pimpl.C (MenuInsertLyXFile):
7625 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7626 * lyxfunc.C (menuNew, open, doImport):
7627 no longer pass a LyXView & to fileDlg.
7629 2003-02-21 Angus Leeming <leeming@lyx.org>
7631 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7632 * LyXAction.C: change, BIBKEY to BIBITEM.
7633 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7634 Change InsetBibKey to InsetBibitem.
7635 Change BIBKEY_CODE to BIBITEM_CODE.
7636 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7637 * factory.C: replace insetbib.h with insetbibitem.h.
7638 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7639 * paragraph.C: replace insetbib.h with insetbibitem.h.
7640 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7641 Change bibkey() to bibitem().
7642 * text.C: remove insetbib.h.
7643 * text2.C: replace insetbib.h with insetbibitem.h.
7644 change bibkey() to bibitem().
7645 * text3.C: remove insetbib.h.
7646 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7648 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7650 * lyxrc.C (output): enclose user email in quotes (in case there are
7653 2003-02-18 John Levon <levon@movementarian.org>
7655 * buffer.h: add std::
7657 2003-02-17 John Levon <levon@movementarian.org>
7663 * pspell.C: reworking. Especially in ispell, a large
7664 number of clean ups and bug fixes.
7666 * lyxfunc.C: fix revert to behave sensibly
7668 2003-02-17 André Pönitz <poenitz@gmx.net>
7671 * commandtags.h: new LFUN_INSERT_BIBKEY
7681 * paragraph_func.C: remove special bibkey handling
7683 2003-02-17 John Levon <levon@movementarian.org>
7685 * text.C (Delete): fix case where delete at the end of
7686 the very first paragraph would not merge the pars
7688 2003-02-17 John Levon <levon@movementarian.org>
7690 * lyxrow.C: fix lastPrintablePos()
7692 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7694 * bufferparams.C (writeLaTeX): add a std:here
7696 * buffer.C: and remove a using directive there
7698 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7700 * buffer.C (makeLaTeXFile): move the code that generates the
7703 * bufferparams.C (writeLaTeX): ... in this new method
7705 * LaTeXFeatures.C (getEncodingSet): make const
7706 (getLanguages): make const
7708 * MenuBackend.C (binding): returns the binding associated to this
7710 (add): sets the status of each item by calling getStatus. Adds
7712 (read): add support for OptSubMenu
7713 (expand): remove extra separator at the end of expanded menu
7715 2003-02-15 John Levon <levon@movementarian.org>
7718 * BufferView_pimpl.C:
7720 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7721 inset code that had no actual effect. Remove unneeded status
7724 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7726 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7729 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7731 * text.C (drawLengthMarker): also draw an arrow marker for
7732 symbolic lengths (medskip...)
7734 2003-02-14 John Levon <levon@movementarian.org>
7737 * tabular.C: better method names
7739 2003-02-14 John Levon <levon@movementarian.org>
7741 * BufferView_pimpl.C:
7746 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7747 it's a more accurate name. Remove some pointless uses.
7749 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7751 * text2.C (LyXText): change order of initilizers to shut off
7754 2003-02-14 John Levon <levon@movementarian.org>
7756 * buffer.C: use ParIterator for getParFromID()
7760 * paragraph_pimpl.h:
7761 * paragraph_pimpl.C: remove unused getParFromID()
7763 2003-02-14 John Levon <levon@movementarian.org>
7765 * buffer.C: remove some very old #if 0'd parse code
7767 2003-02-13 John Levon <levon@movementarian.org>
7771 * text2.C: move hfillExpansion(), numberOfSeparators(),
7772 rowLast(), rowLastPrintable(), numberofHfills(),
7773 numberOfLabelHfills() ...
7776 * lyxrow.C: ... to member functions here.
7781 * text.C: remove LyXText::beginningOfMainBody(), and call
7782 p->beginningOfMainBody() directly. Move the check for
7783 LABEL_MANUAL into the latter.
7790 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7796 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7797 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7799 2003-02-13 John Levon <levon@movementarian.org>
7801 * CutAndPaste.C: remove debug
7803 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7805 * paragraph.C (asString): remove two unused variables
7807 * lyxtextclass.C (readTitleType):
7809 (LyXTextClass): handle new members titletype_ and titlename_
7811 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7813 2003-02-09 John Levon <levon@movementarian.org>
7816 * buffer.C: replace hand-coded list with a map for the dep clean
7818 2003-02-08 John Levon <levon@movementarian.org>
7820 * LaTeX.C: consolidate code into showRunMessage() helper
7822 2003-02-08 John Levon <levon@movementarian.org>
7827 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7828 and pass the size in explicitly
7830 * BufferView_pimpl.h:
7831 * BufferView_pimpl.C:
7833 * BufferView.C: add getCurrentChange()
7835 * BufferView_pimpl.h:
7836 * BufferView_pimpl.C: handle change lfuns
7838 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7839 for changes. Mark pasted paragraphs as new.
7841 * support/lyxtime.h:
7842 * support/lyxtime.C:
7843 * DepTable.C: abstract time_t as lyx::time_type
7846 * LColor.C: add colours for new text, deleted text, changebars
7848 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7849 package use "usenames" option.
7853 * LyXAction.C: add change lfuns
7857 * author.C: author handling
7860 * buffer.C: add a per-buffer author list, with first entry as
7861 current author. Handle new .lyx tokens for change tracking. Output
7862 author list to .lyx file. Output dvipost stuff to .tex preamble.
7863 Bump lyx format to 222.
7866 * bufferlist.C: add setCurrentAuthor() to reset current author details
7870 * bufferparams.C: add param for tracking
7872 * bufferview_funcs.C: output change info in minibuffer
7876 * changes.C: add change-tracking structure
7879 * debug.C: add CHANGES debug flag
7882 * lyxfind.C: add code for finding the next change piece
7885 * lyxrc.C: add user_name and user_email
7888 * lyxrow.C: add a metric for the top of the text line
7891 * text.C: implement accept/rejectChange()
7894 * text.C: paint changebars. Paint new/deleted text in the chosen
7895 colours. Strike through deleted text.
7899 * paragraph_pimpl.h:
7900 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7901 in the current change to the insert functions. Rework erase to
7902 mark text as deleted, adding an eraseIntern() and a range-based
7903 erase(). Implement per-paragraph change lookup and
7906 * paragraph_funcs.C: Fixup paste for change tracking.
7908 * tabular.C: mark added row/columns as new.
7910 * text.C: fix rowLast() to never return -1. Don't allow
7911 spellchecking of deleted text. Track transpose changes. Don't
7912 allow paragraph break or merge where appropriate.
7914 * text2.C: leave cursor at end of selection after a cut.
7916 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7918 * text.C (getLengthMarkerHeight):
7919 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7920 visible on screen too.
7922 2003-02-07 John Levon <levon@movementarian.org>
7924 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7926 2003-02-05 Angus Leeming <leeming@lyx.org>
7928 * lyxserver.C (read_ready): revert my patch of 11 September last year
7929 as it sends PC cpu through the roof. Presumably this means that
7930 the lyxserver will no longer run on an Alpha...
7932 2003-01-30 Angus Leeming <leeming@lyx.org>
7934 * factory.C (createInset): create an InsetCommandParam of type "index"
7935 and use it to 'do the right thing'.
7937 * text2.C (getStringToIndex): ensure that cursor position is always
7938 reset to the reset_cursor position.
7940 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7942 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7945 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7949 * lyxfunc.C: Output messages with identical spelling, punctuation,
7952 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7954 * MenuBackend.C (expandFormats): List only viewable export formats
7957 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7960 * lyxfunc.C (getStatus): Make sure that formats other than
7961 "fax" can also be disabled
7963 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7965 * text3.C (dispatch): put the lfuns that insert insets in 3
7966 groups, and call doInsertInset with appropriate arguments.
7967 (doInsertInset): new function, that creates an inset and inserts
7968 it according to some boolean parameters.
7970 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7972 * buffer.C (readFile): remember to pass on 'par' when calling
7973 readFile recursively.
7975 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7977 * MenuBackend.C (expandFormats): add "..." to import formats.
7979 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7981 * paragraph.C (asString): Remove XForms RTL hacks.
7983 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7984 * buffer.C: fix typo
7986 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7988 * Makefile.am (LIBS): delete var
7989 (lyx_LDADD): add @LIBS@ here instead.
7991 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7993 * Clarify the meaning of "wheel mouse jump"
7995 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7997 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8000 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8002 * importer.C (Loaders): do not preallocate 3 elements in the
8003 vector, since one ends up with 6 elements otherwise
8005 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8007 * DepTable.C (write): write the file name as last element of the
8008 .dep file (because it may contain spaces)
8009 (read): read info in the right order
8011 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8013 * paragraph_pimpl.C (simpleTeXBlanks):
8014 (simpleTeXSpecialChars):
8015 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8017 * tabular.C (latex): add some missing case statements. Reindent.
8019 * MenuBackend.C (expandToc): remove unused variable.
8021 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8030 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8033 2003-01-05 John Levon <levon@movementarian.org>
8036 * BufferView.C: add getEncoding()
8039 * kbsequence.C: do not store last keypress
8042 * lyxfunc.C: store last keypress here instead. Pass encoding
8045 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8047 * lyx_main.C (init): remove annoying error message when following
8048 symbolic links (bug #780)
8050 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8052 * text.C (insertChar):
8053 * lyxrc.C (getDescription): remove extra spaces
8055 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8057 * lyxrc.C (getDescription): remove extra spaces
8059 2002-12-20 John Levon <levon@movementarian.org>
8061 * text3.C: hack fix for page up/down across tall rows
8063 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8065 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8068 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8070 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8071 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8072 thesaurus is not compiled in
8074 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8076 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8078 2002-12-16 Angus Leeming <leeming@lyx.org>
8081 * lyx_main.C (init): remove override_x_deadkeys stuff.
8083 2002-12-12 John Levon <levon@movementarian.org>
8085 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8086 insert. Only remove shift modifier under strict
8089 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8091 * MenuBackend.C (expandToc): fix crash.
8093 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * MenuBackend.C (expandToc): gettext on float names.
8097 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8099 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8100 implement bool empty() [bug 490]
8102 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8104 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8106 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8108 * several files: ws changes
8110 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8112 * text2.C (setCounter): clean up a bit, use boost.format.
8113 (updateCounters): initialize par upon declaration.
8115 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8116 if the layout exists. We do not just store the layout any more.
8117 (SwitchLayoutsBetweenClasses): use boost.format
8119 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8121 * converter.C (convert): if from and to files are the same, use a
8122 temporary files as intermediary
8124 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8127 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8129 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8131 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8133 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8135 * tabular.C (asciiPrintCell): use string(size, char) instead of
8138 * sgml.C (openTag): fix order of arguments to string constructor
8141 * lyxfunc.C (dispatch): use boost.format
8143 * lots of files: change "c" -> 'c'
8145 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8147 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8149 2002-11-25 Angus Leeming <leeming@lyx.org>
8151 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8153 * lyx_main.C (init): compile fix.
8155 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8157 * lyx_cb.C (start): boost.formatify
8158 do not include <iostream>
8160 * lengthcommon.C: ws only
8162 * boost-inst.C,BoostFormat.h: add more explict instantations
8164 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8166 * lots of files: handle USE_BOOST_FORMAT
8168 2002-11-21 John Levon <levon@movementarian.org>
8170 * pspell.C: fix compile
8172 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8174 * lyxfunc.C (dispatch): use boost::format
8178 * lyxfont.C (stateText): use boost::format
8180 * lyx_main.C (LyX): use boost::format
8182 (queryUserLyXDir): ditto
8185 (typedef boost::function): use the recommened syntax.
8187 * importer.C (Import): use boost::format
8189 * debug.C (showLevel): use boost::format
8191 * converter.C (view): use boost::format
8196 * bufferview_funcs.C (currentState): use boost::format
8198 * bufferlist.C (emergencyWrite): use boost::format
8200 * buffer.C (readLyXformat2): use boost::format
8201 (parseSingleLyXformat2Token): ditto
8203 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8205 * LaTeX.C (run): use boost::format
8207 * Chktex.C (scanLogFile): use boost::format
8209 * BufferView_pimpl.C (savePosition): use boost::format
8210 (restorePosition): ditto
8211 (MenuInsertLyXFile): ditto
8213 * BoostFormat.h: help file for explicit instation.
8215 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8217 * tabular.C (latex): Support for block alignment in fixed width
8220 2002-11-17 John Levon <levon@movementarian.org>
8222 * BufferView_pimpl.C:
8224 * lyxfunc.C: split filedialog into open/save
8226 2002-11-08 Juergen Vigna <jug@sad.it>
8228 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8229 by my last patch (hopefully).
8231 2002-11-08 John Levon <levon@movementarian.org>
8240 * toc.C: ParConstIterator, and use it (from Lars)
8242 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8244 * lyxtextclass.[Ch]: revise and add doxygen comments
8246 2002-11-07 John Levon <levon@movementarian.org>
8248 * text.C: fix progress value for spellchecker
8250 * toc.C: fix navigate menu for insetwrap inside minipage
8252 * paragraph_funcs.C: added FIXME for suspect code
8254 2002-11-07 John Levon <levon@movementarian.org>
8256 * BufferView_pimpl.C: fix redrawing of insets
8259 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8261 * text2.C (updateCounters): fix bug 668
8263 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8265 * text3.C (dispatch): Do not make the buffer dirty when moving the
8268 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8270 * vc-backend.C: STRCONV
8273 * text2.C (setCounter): STRCONV
8275 * paragraph.C (asString): STRCONV
8277 * lyxlength.C (asString): STRCONV
8278 (asLatexString): ditto
8280 * lyxgluelength.C (asString): STRCONV
8281 (asLatexString): ditto
8283 * lyxfunc.C (dispatch): STRCONV
8286 * lyxfont.C (stateText): STRCONV
8288 * importer.C (Import): STRCONV
8290 * counters.C (labelItem): STRCONV
8291 (numberLabel): ditto
8292 (numberLabel): remove unused ostringstream o
8297 * bufferview_funcs.C (currentState): STRCONV
8299 * buffer.C (readFile): STRCONV
8300 (asciiParagraph): ditto
8301 (makeLaTeXFile): ditto
8303 * Spacing.C (writeEnvirBegin): STRCONV
8305 * LaTeXFeatures.C (getLanguages): STRCONV
8306 (getPackages): ditto
8308 (getBabelOptions): ditto
8309 (getTClassPreamble): ditto
8310 (getLyXSGMLEntities): ditto
8311 (getIncludedFiles): ditto
8315 (scanAuxFile): ditto
8318 * LString.h: add the STRCONV macros
8320 * BufferView_pimpl.C (savePosition): STRCONV
8321 (restorePosition): ditto
8322 (MenuInsertLyXFile): ditto
8324 * vc-backend.C (scanMaster): change from submatch[...] to
8327 * funcrequest.C: include config.h
8329 * factory.C: include config.h
8331 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8333 * box.C: include config.h
8335 * LaTeX.C (scanAuxFile): change from submatch[...] to
8339 2002-10-25 Angus Leeming <leeming@lyx.org>
8341 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8343 * ispell.[Ch] (setError): new method.
8344 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8345 Use setError() insetead of goto END.
8347 * lyx_cb.C (AutoSave): move out child process into new class
8350 2002-10-30 John Levon <levon@movementarian.org>
8352 * text3.C: make start appendix undoable
8354 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8356 * lyxlength.C (inPixels): Fix returned value.
8358 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8361 2002-10-24 Angus Leeming <leeming@lyx.org>
8363 * lyxgluelength.h: no need to forward declare BufferParams
8364 or BufferView, so don't.
8366 2002-10-21 John Levon <levon@movementarian.org>
8368 * BufferView.C: menuUndo ->undo, redo
8370 * BufferView.h: document, remove dead, make some methods private
8372 * paragraph_funcs.h:
8373 * paragraph_funcs.C:
8374 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8379 * sgml.C: move sgml open/close tag into sgml.C
8381 * bufferview_funcs.h: unused prototype
8384 * lyxfunc.C: remove unused
8387 * text.C: remove unused
8389 2002-10-21 John Levon <levon@movementarian.org>
8393 * BufferView_pimpl.h:
8394 * BufferView_pimpl.C: fix mouse wheel handling based on
8395 patch from Darren Freeman
8397 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8399 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8401 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8403 * lyxlength.C (inPixels): Fix hanfling of negative length.
8404 Fix LyXLength::MU case.
8406 2002-10-16 John Levon <levon@movementarian.org>
8408 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8410 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8412 * converter.C (view): add support for $$i (file name) and $$p
8413 (file path) for the viewer command. If $$i is not specified, then
8414 it is appended to the command (for compatibility with old syntax)
8416 2002-10-14 Juergen Vigna <jug@sad.it>
8418 * undo_funcs.C (textHandleUndo): alter the order in which the
8419 new undopar is added to the LyXText, as we have to set first
8420 the right prev/next and then add it as otherwise the rebuild of
8421 LyXText is not correct. Also reset the cursor to the right paragraph,
8422 with this IMO we could remove the hack in "redoParagraphs()".
8424 2002-10-09 Angus Leeming <leeming@lyx.org>
8426 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8427 to turn off an optimisation if a new inset is to be inserted.
8429 2002-10-11 André Pönitz <poenitz@gmx.net>
8431 * lyxtext.h: make some functions public to allow access
8432 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8434 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8436 * text3.C (dispatch): when changing layout, avoid an infinite loop
8439 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8441 * lyxrc.C (read): treat a viewer or converter command of "none" as
8444 * MenuBackend.C (expandFormats): for an update, also allow the
8445 formats that are not viewable
8447 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8448 script if it is newer than the lyxrc.defaults in user directory
8450 2002-10-07 André Pönitz <poenitz@gmx.net>
8452 * text.C: Vitaly Lipatov's small i18n fix
8454 2002-09-25 Angus Leeming <leeming@lyx.org>
8456 * ispell.h: doxygen fix.
8458 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8460 * buffer.h (readFile): Add a new argument to the method, to allow
8461 reading of old-format templates.
8463 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8465 * toc.C (getTocList): Get TOC from InsetWrap.
8467 2002-09-16 John Levon <levon@movementarian.org>
8469 * lyxfunc.C: check tabular for cut/copy too
8471 2002-09-12 John Levon <levon@movementarian.org>
8476 * factory.C: add header
8478 * paragraph_funcs.h:
8479 * paragraph_funcs.C: cleanup
8481 2002-09-11 John Levon <levon@movementarian.org>
8483 * PrinterParams.h: odd/even default to true
8485 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8487 * PrinterParams.h: update printer parameters for new xforms dialog
8489 2002-09-11 Angus Leeming <leeming@lyx.org>
8491 * lyxserver.C (read_ready): re-write to make it more transparent
8492 and to make it work in coherent fashion under Tru64 Unix.
8494 2002-09-11 André Pönitz <poenitz@gmx.net>
8498 * text3.C: implement LFUN_WORDSEL
8500 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8502 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8503 make floatlist_ a boost::shared_ptr<FloatList>
8505 * lyxtextclass.C: include FloatList.h
8506 (LyXTextClass): initialize floatlist_
8507 (TextClassTags): add TC_NOFLOAT
8508 (Read): match "nofloat" to TC_NOFLOAT and use it.
8509 (readFloat): modify call to floatlist_
8513 * FloatList.[Ch] (FloatList): remove commented out float
8515 (erase): new function
8517 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8519 * MenuBackend.C (expandToc): fix crash when there is no document
8522 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8524 * many files: Add insetwrap.
8526 2002-09-09 John Levon <levon@movementarian.org>
8528 * text2.C: remove confusing and awkward depth wraparound
8530 2002-09-09 John Levon <levon@movementarian.org>
8532 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8535 * buffer.C: remove getIncludeonlyList()
8538 * lyxfunc.C: remove headers
8540 2002-09-09 Juergen Vigna <jug@sad.it>
8542 * text.C (getColumnNearX): fix form Michael this is most
8543 probably a cut&paste bug.
8545 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8547 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8549 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8550 references, ws changes.
8552 * text2.C (init): update counters after init
8553 (insertParagraph): no need to set counter on idividual paragraphs.
8554 (setCounter): access the counters object in the textclass object
8555 on in the buffer object.
8556 (updateCounters): ditto
8558 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8559 shared_ptr<Counters> to avoid loading counters.h in all
8561 (LyXTextClass): initialize ctrs_
8562 (TextClassTags): add TC_COUNTER, and ...
8563 (Read): use it here.
8564 (CounterTags): new tags
8565 (readCounter): new function
8566 (counters): new funtion
8567 (defaultLayoutName): return a const reference
8569 * counters.C (Counters): remove contructor
8570 (newCounter): remove a couple of unneeded statements.
8571 (newCounter): simplify a bit.
8572 (numberLabel): some small formatting changes.
8574 * buffer.[Ch]: remove all traces of counters, move the Counters
8575 object to the LyXTextClass.
8577 2002-09-06 Alain Castera <castera@in2p3.fr>
8579 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8580 package to set the horizontal alignment on fixed width columns.
8583 * lyx_sty.h: added tabularnewline macro def.
8585 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8587 2002-09-06 John Levon <levon@movementarian.org>
8589 * LyXAction.C: tooltips for sub/superscript
8591 * MenuBackend.C: a bit more verbose
8593 * lyxfunc.C: tiny clean
8595 * undo_funcs.C: document undo_frozen
8597 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8599 * counters.C (Counters): add missing algorithm counter.
8601 * text2.C (setCounter): lookup the counter with layouts latexname
8602 instead of by section number.
8603 (setCounter): use a hackish way to lookup the correct enum
8605 a float name->type change
8606 reset enum couners with counter name directly instead of depth value.
8608 * counters.C (Counters): remove the push_backs, change to use the
8609 float type not the float name.
8610 (labelItem): remove unused string, float name->type change
8612 * counters.h: don't include vector, loose the enums and sects vectors
8614 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8616 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8617 (Read): add float->TC_FLOAT to textclassTags
8618 (Read): and handle it in the switch
8619 (readFloat): new function
8621 * FloatList.C (FloatList): comment out the hardcoded float
8624 * lyxlayout.h: ws change.
8626 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8628 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8630 2002-09-03 Angus Leeming <leeming@lyx.org>
8632 * BufferView_pimpl.h: qualified name is not allowed in member
8633 declaration: WorkArea & Pimpl::workarea() const;
8635 * factory.C: added using std::endl directive.
8637 * text3.C: added using std::find and std::vector directives.
8639 2002-08-29 André Pönitz <poenitz@gmx.net>
8642 * text2.C: remove unused member number_of_rows
8645 * BufferView2.C: remove file, move contents to...
8646 * BufferView.C: ... here
8648 * BufferView_pimpl.C:
8649 * factory.C: move more inset creation to factory
8651 * vspace.C: avoid direct usage of LyXText, ws changes
8654 don't provide direct access to WorkArea, use two simple
8655 acessors haveSelction() and workHeight() instead
8658 2002-08-29 John Levon <levon@movementarian.org>
8660 * BufferView_pimpl.C (dispatch): do not continue when
8663 2002-08-28 André Pönitz <poenitz@gmx.net>
8665 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8668 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8670 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8672 * buffer.C: increment LYX_FORMAT to 221
8674 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8675 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8677 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8679 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8681 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8683 * factory.C (createInset): use LyXTextClass::floats
8685 * MenuBackend.C (expandFloatListInsert):
8686 (expandFloatInsert):
8689 * text2.C (setCounter):
8691 * LaTeXFeatures.C (useFloat):
8692 (getFloatDefinitions):
8694 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8696 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8697 floatlist_, with accessor floats().
8699 * FloatList.h: remove global FloatList
8701 2002-08-26 André Pönitz <poenitz@gmx.net>
8703 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8707 * BufferView_pimpl.C:
8708 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8710 2002-08-25 John Levon <levon@movementarian.org>
8712 * LyXAction.C: fix margin note description
8714 2002-08-24 John Levon <levon@movementarian.org>
8718 * bufferview_funcs.C:
8720 * undo_funcs.C: cleanups
8722 * lyxfunc.C: disable CUT/COPY when no selection
8724 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8726 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8727 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8729 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8730 Add backward compatibility to "mono", "gray" and "no".
8732 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8734 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8735 (and file_format >= 200).
8737 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8739 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8741 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8743 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8745 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8747 * BufferView_pimpl.C:
8754 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8755 inset and code to make it work with the paragraph code. The inset
8756 can be anywhere in the paragraph, but will only do the expected
8757 thing in LaTeX if the layout file contains the parameter line
8759 (or more generally, a nonzero value) for that layout.
8761 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8763 * paragraph.h: remove the declaration of undefined counters class
8766 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8768 * text2.C (setCounter): fixed enumeration mis-count as reported by
8769 Dr. Richard Hawkins.
8771 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8773 * paragraph_funcs.h: remove some unneeded includes
8775 * text.C (backspace): pasteParagraph now in global scipe
8777 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8778 (pasteSelection): ditto
8780 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8781 * paragraph_funcs.C (pasteParagraph): ... here
8783 2002-08-20 André Pönitz <poenitz@gmx.net>
8785 * commandtags.h: new LFUNs for swapping/copying table row/colums
8788 * lyxfunc.C: support for new lfuns
8790 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8793 * buffer.[Ch]: remove NO_COMPABILITY stuff
8795 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8797 * boost.C (throw_exception): new file, with helper function for
8798 boost compiled without exceptions.
8803 * ParameterStruct.h:
8804 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8806 * bufferlist.C (emergencyWriteAll): use boost bind
8808 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8810 * text.C: include paragraph_funcs.h
8811 (breakParagraph): breakParagraph is now in global scope
8813 * paragraph_funcs.[Ch]: new files
8815 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8818 * buffer.C: include paragraph_funcs.h
8819 (insertStringAsLines): breakParagraph is now in global scope
8821 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8824 * CutAndPaste.C: include paragraph_funcs.h
8825 (cutSelection): breakParagraphConservative is now in global scope
8826 (pasteSelection): ditto
8828 * buffer.h: declare oprator== and operator!= for
8829 Buffer::inset_iterator
8831 * bufferlist.C (emergencyWrite): don't use fmt(...)
8833 * text3.C: add using std::endl
8835 * BufferView.C (moveCursorUpdate): remove default arg
8837 2002-08-20 André Pönitz <poenitz@gmx.net>
8839 * buffer.[Ch]: move inline functions to .C
8842 * BufferView_pimpl.C:
8844 * buffer.[Ch]: use improved inset_iterator
8847 * paragraph.[Ch]: write one paragraph at a time
8849 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8851 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8852 style if style is not specified.
8854 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8856 * text2.C (setCounter): when searching for right label for a
8857 caption, make sure to recurse to parent insets (so that a caption
8858 in a minipage in a figure float works) (bug #568)
8860 2002-08-20 André Pönitz <poenitz@gmx.net>
8862 * text3.C: new file for LyXText::dispatch() and helpers
8864 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8866 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8868 2002-08-19 André Pönitz <poenitz@gmx.net>
8871 * text.C: new LyXText::dispatch()
8873 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8875 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8877 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8879 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8882 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8884 * Makefile.am: use $(variables) instead of @substitutions@
8886 2002-08-15 André Pönitz <poenitz@gmx.net>
8889 * BufferView_pimpl.C: streamlining mathed <-> outer world
8893 * LyXAction.C: remove unused LFUN_MATH
8895 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8897 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8899 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8901 * paragraph.C (Paragraph): reformat a bit
8902 (cutIntoMinibuffer): use builtin InsetList function instad of
8906 * buffer.C: include boost/bind.hpp, add using std::for_each
8907 (writeFileAscii): use ParagraphList iterators
8908 (validate): use for_each for validate traversal of paragraphs
8909 (getBibkeyList): use ParagraphList iterators
8910 (resizeInsets): use for_each to resizeInsetsLyXText for all
8912 (getParFromID): use ParagraphList iterators
8914 * BufferView2.C (lockInset): use paragraph list and iterators
8916 2002-08-14 John Levon <levon@movementarian.org>
8918 * lyxserver.C: remove spurious xforms include
8920 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8922 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8924 2002-08-13 André Pönitz <poenitz@gmx.net>
8927 * lyxfunc.C: further cleaning
8929 2002-08-13 André Pönitz <poenitz@gmx.net>
8931 * funcrequest.h: new constructor
8933 * funcrequest.C: move stuff here from .h
8936 * BufferView_pimpl.C:
8939 * lyxfunc.C: subsequent changes
8941 * lyxfunc.h: new view() member function
8943 * lyxfunc.C: subsequent changes
8945 2002-08-13 Angus Leeming <leeming@lyx.org>
8948 * BufferView_pimpl.C:
8956 changes due to the changed LyXView interface that now returns references
8957 to member variables not pointers.
8959 2002-08-13 Angus Leeming <leeming@lyx.org>
8961 * WordLangTuple (word, lang_code): return references to strings,
8966 * lyxtext.h: forward-declare WordLangTuple.
8971 * text.C: #include "WordLangTuple.h".
8974 * text.C: (selectNextWordToSpellcheck): constify return type.
8976 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8982 * paragraph_pimpl.h:
8985 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8987 Made updateCounter always count from start of buffer, and removed
8988 second argument (par).
8989 Reverted floats number display to '#'. Perhaps I'll try again when the
8990 code base is sanitized a bit.
8992 2002-08-12 Angus Leeming <leeming@lyx.org>
8994 * buffer.[Ch] (getLabelList): constify.
8996 2002-08-07 André Pönitz <poenitz@gmx.net>
8998 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9000 * funcrequest.h: extension to keep mouse (x,y) position
9002 2002-08-12 Juergen Vigna <jug@sad.it>
9004 * BufferView2.C (insertErrors): forbid undo when inserting error
9007 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9009 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9011 * ParagraphList.[Ch]: new files
9013 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9015 * BufferView2.C (lockInset): ParagraphList changes
9018 * bufferlist.C: ditto
9022 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9024 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9025 unused class variable counter_,
9027 * paragraph.[Ch] (getFirstCounter): delete unused function
9029 * counters.C: include LAssert.h
9030 (reset): add a new function with no arg, change other version to
9031 not have def. arg and to not allow empty arg.
9033 * text2.C (setCounter): remove empty arg from call to Counters::reset
9035 2002-08-11 John Levon <levon@movementarian.org>
9037 * Makefile.am: add WordLangTuple.h
9039 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9041 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9042 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9044 * insets/insettext.C: InsetList changes
9046 * graphics/GraphicsSupport.C (operator()): InsetList changes
9048 * toc.C (getTocList): InsetList changes
9050 * paragraph_pimpl.[Ch]: InsetList changes
9052 * paragraph.[Ch]: InsetList changes
9054 * buffer.C (inset_iterator): InsetList changes
9055 (setParagraph): ditto
9056 * buffer.h (inset_iterator): ditto
9057 * iterators.C (operator++): ditto
9058 * iterators.h: ditto
9060 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9062 * InsetList.[Ch]: new files, most InsetList handling moved out of
9065 * BufferView2.C (removeAutoInsets): InsetList changes
9067 (ChangeInsets): ditto
9069 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9071 * paragraph_pimpl.h (empty): new function
9073 * paragraph.[Ch] (empty): new function
9075 * other files: use the new Paragraph::empty function
9077 2002-08-09 John Levon <levon@movementarian.org>
9079 * lyxtext.h: remove unused refresh_height
9081 2002-08-09 John Levon <levon@movementarian.org>
9088 * paragraph.C: move sgml char escaping out of paragraph
9091 * paragraph.C: remove id setter
9095 * paragraph_pimpl.C: remove dead tex_code_break_column
9097 * bufferview_funcs.C: small cleanup
9099 * lyxfunc.C: remove dead proto
9101 * lyxtext.h: make some stuff private. Remove some dead stuff.
9103 * lyxgluelength.C: make as[LyX]String() readable
9105 2002-08-08 John Levon <levon@movementarian.org>
9110 * ToolbarDefaults.C:
9113 * toc.C: lyxaction cleanup
9115 2002-08-08 John Levon <levon@movementarian.org>
9117 * BufferView2.C: small cleanup
9120 * lyxfind.C: move unnecessary header into the .C
9122 2002-08-08 John Levon <levon@movementarian.org>
9124 * funcrequest.h: just tedious nonsense
9127 * lyx_main.C: cleanups
9130 * vspace.C: remove dead header lyx_main.h
9132 2002-08-07 Angus Leeming <leeming@lyx.org>
9135 * paragraph_pimpl.h:
9136 Forward declare class Counters in paragraph.h by moving the ctrs member
9137 variable into Paragraph::Pimpl.
9138 (counters): new method, returning a reference to pimpl_->ctrs.
9140 * text2.C: ensuing changes.
9142 2002-08-07 John Levon <levon@movementarian.org>
9144 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9146 * BufferView_pimpl.C: announce X selection on double/triple
9149 * lyx_main.C: use correct bool in batch dispatch
9151 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9153 2002-08-07 André Pönitz <poenitz@gmx.net>
9155 * funcrequest.h: new class to wrap a kb_action and its argument
9158 * BufferView_pimpl[Ch]:
9162 * lyxrc.C: subsequent changes
9165 2002-08-07 John Levon <levon@movementarian.org>
9167 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9168 document options change.
9170 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9175 * makefile.am: move counters functionality over from
9176 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9178 2002-08-06 John Levon <levon@movementarian.org>
9180 * WordLangTuple.h: new file for word + language code tuple
9191 * BufferView2.C: use WordLangTuple
9194 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9196 2002-08-06 John Levon <levon@movementarian.org>
9198 * lyx_main.C: fix cmdline batch handling
9200 2002-08-06 André Pönitz <poenitz@gmx.net>
9202 * lyxrc.C: set default for show_banner to true
9204 2002-08-06 John Levon <levon@movementarian.org>
9206 * pspell.C: fix a crash, and allow new aspell to work
9208 2002-08-06 John Levon <levon@movementarian.org>
9211 * kbmap.C: small cleanup
9214 * vspace.C: add const
9216 2002-08-05 John Levon <levon@movementarian.org>
9218 * LyXAction.C: back to tabular-insert
9220 2002-08-04 John Levon <levon@movementarian.org>
9223 * BufferView.C: cosmetic change
9225 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9235 * BufferView2.C: purge all "Lyx" not "LyX" strings
9238 * lyxcursor.C: attempt to add some documentation
9243 * ToolbarDefaults.C:
9244 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9245 merge with LFUN_TABULAR_INSERT
9252 * pspell.C: split up i/pspell implementations into separate
9253 files, many cleanups
9255 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9257 * text2.C: some cleanup
9259 * lyxfunc.C: don't check for isp_command == "none" any more, it
9260 didn't make any sense
9262 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9267 * makefile.am: move counters functionality over
9268 from text2.C/paragraph.[Ch] to counters.[Ch], and
9270 2002-08-02 John Levon <levon@movementarian.org>
9272 * buffer.C: s/lyxconvert/lyx2lyx/
9274 2002-08-02 Angus Leeming <leeming@lyx.org>
9276 * lyxlex.C: revert John's change as it breaks reading of the user
9279 2002-08-02 Angus Leeming <leeming@lyx.org>
9281 * importer.C (Import):
9282 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9283 changes due to LyXView::view() now returning a boost::shared_ptr.
9285 2002-08-02 John Levon <levon@movementarian.org>
9287 * lyxlex.C: small cleanup
9289 2002-08-02 John Levon <levon@movementarian.org>
9291 * text2.C (status): small cleanup, no logic change
9293 2002-08-01 John Levon <levon@movementarian.org>
9296 * buffer.C (writeFile): don't output alerts, caller
9300 * lyx_cb.C: from above
9302 * lyxfunc.C: allow to open non-existent files
9304 2002-07-31 John Levon <levon@movementarian.org>
9306 * lyxserver.C: don't let incidental errors get
9309 2002-07-30 John Levon <levon@movementarian.org>
9311 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9313 2002-07-30 John Levon <levon@movementarian.org>
9316 * lyxserver.C: remove I/O callback too
9318 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9320 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9323 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9325 * many files: strip,frontStrip -> trim,ltrim,rtrim
9327 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9329 * PrinterParams.h: remove extern containsOnly, and include
9330 support/lstrings.h instead.
9332 * LaTeX.C (scanAuxFile): modify because of strip changes
9334 * buffer.C (makeLaTeXFile): ditto
9335 * bufferparams.C (writeFile): ditt
9336 * lyxfont.C (stateText): ditto
9337 * lyxserver.C (read_ready): ditto
9338 * vc-backend.C (scanMaster): ditto
9340 * BufferView_pimpl.h: ws changes
9342 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9344 2002-07-26 André Pönitz <poenitz@gmx.net>
9346 * kb_sequence.C: remove unnedred usings
9348 2002-07-26 Juergen Vigna <jug@sad.it>
9350 * lyxfind.C (LyXReplace): we have to check better if the returned
9351 text is not of theLockingInset()->getLockingInset().
9353 2002-07-25 Juergen Vigna <jug@sad.it>
9355 * lyxfind.C (LyXReplace): don't replace if we don't get the
9358 * undo_funcs.C (createUndo): remove debugging code.
9360 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9362 * buffer.C (parseSingleLyXformat2Token): Use default placement
9363 when reading old floats.
9365 * FloatList.C (FloatList): Change the default placement of figure
9366 and tables to "tbp".
9368 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9370 * MenuBackend.C: using std::max
9372 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9374 * MenuBackend.C (expandToc):
9375 (expandToc2): code moved from xforms menu frontend. It is now
9376 generic and TOCs are transparent to menu frontends.
9378 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9380 * toc.C (getTocList): protect against buf=0
9382 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9383 Menu as first parameter. Now, this calls itself recursively to
9384 expand a whole tree (this will be useful for TOC handling)
9385 (expandFloatInsert): remove 'wide' version of floats
9387 * MenuBackend.h (submenuname): returns the name of the submenu.
9388 (submenu): returns the submenu itself, provided it has been
9389 created by MenuBackend::expand
9391 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9393 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9394 insets which have noFontChange == true. (bug #172)
9396 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9398 * BufferView_pimpl.C: add connection objects and use them...
9401 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9403 * MenuBackend.C (expandLastfiles):
9406 (expandFloatListInsert):
9407 (expandFloatInsert):
9408 (expand): split expand in parts
9410 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9412 * lyx_gui.C: use lyx_gui::exit()
9414 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9416 * LyXAction.C: show the failing pseudo action
9418 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9420 * buffer.C (readFile): Run the lyxconvert script in order to read
9423 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9427 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9429 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9433 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9435 2002-07-22 Herbert Voss <voss@lyx.org>
9438 * lyxlength.[Ch]: add support for the vertical lengths
9440 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9442 * toc.[Ch]: std:: fixes
9444 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9446 * lyxrc.C: do not include lyx_main.h
9448 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9454 * BufferView2.C: include "lyxlex.h"
9457 * bufferparams.h: do not #include "lyxlex.h"
9459 * lyxtextclasslist.C (Add): remove method
9460 (classlist): renamed to classlist_
9462 * paragraph_pimpl.C:
9466 * bufferview_funcs.C:
9471 * toc.C (getTocList): use BufferParams::getLyXTextClass
9473 * toc.C (getTocList): use InsetFloat::addToToc
9475 * toc.[Ch]: new files, containing helper functions to handle table
9478 * lyxfunc.C (dispatch): no need to remove spaces around command
9480 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9481 first command of the sequence; it is not very clever, but I do not
9482 have a better idea, actually
9484 * LyXAction.C (LookupFunc): make sure to remove space at the
9485 beginning and end of the command
9487 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9489 * MenuBackend.C (getMenubar): new method: return the menubar of
9491 (read): treat differently reading of menu and menubar (in
9492 particular, the menubar has no name now)
9493 (Menu::menubar): remove
9495 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9498 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9500 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9501 a bibitem inset in a RTL paragraph.
9503 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9505 * paragraph_pimpl.C: constify
9507 * BufferView_pimpl.C:
9509 * lyxfunc.C: fix dispatch in a nicer way
9511 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9513 * lyxfunc.C (dispatch):
9514 * BufferView_pimpl.C:
9515 * BufferView_pimpl.h:
9517 * BufferView.h: rename Dispatch() to dispatch()
9519 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9521 * lyxlayout.C (Read): honor DependsOn tag
9523 * lyxlayout.[Ch] (depends_on): new method
9525 * version.C.in: update lyx_docversion
9527 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9529 * paragraph.C (validate): remove from here...
9530 * paragraph_pimpl.C (validate): ... and move here
9531 (isTextAt): make it const
9533 * buffer.C (getLists): ws cleanup
9535 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9537 * language.C (read): Use iso8859-1 encoding in latex_lang
9538 (this prevents LyX from crashing when using iso10646-1 encoding).
9540 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9542 * text2.C (toggleInset): if cursor is inside an inset, close the
9543 inset and leave cursor _after_ it
9545 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9547 * lyxfunc.C: move minibuffer completion handling out of here
9549 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9551 * BufferView_pimpl.C:
9552 * LaTeX.C: fix dispatch calls
9554 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9556 * text.C (drawChars): Fix Arabic text rendering.
9558 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9562 * lyxfunc.C: remove message-push/pop
9566 * lyxfunc.C: rationalise some code by removing verboseDispatch
9567 in favour of a bool argument to dispatch()
9569 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9571 * lyx_main.C (init): make sure to read symlinks as absolute paths
9573 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9576 * lyxfunc.C: no need for commandshortcut to be a member
9578 2002-07-15 André Pönitz <poenitz@gmx.net>
9580 * converter.C: add support for $$s (scripts from lib/scripts dir)
9581 * lyx_main.C: white space
9583 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9587 * lyxrc.C: remove second exit confirmation
9589 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9594 * BufferView_pimpl.h:
9595 * BufferView_pimpl.C:
9596 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9598 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9600 * MenuBackend.C (expand): add numeric shortcuts to document menu
9602 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9604 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9606 * lyxfont.C (setLyXFamily):
9613 * buffer.C (asciiParagraph): use ascii_lowercase
9615 2002-07-15 Mike Fabian <mfabian@suse.de>
9617 * lyxlex_pimpl.C (search_kw):
9618 * lyxlex.C (getLongString):
9619 * converter.h (operator<):
9620 * converter.C (operator<):
9621 * buffer.C (parseSingleLyXformat2Token):
9623 * ToolbarDefaults.C (read):
9624 * MenuBackend.C (checkShortcuts):
9626 * LColor.C (getFromGUIName):
9627 (getFromLyXName): use the compare_ascii_no_case instead of
9628 compare_no_case, because in turkish, 'i' is not the lowercase
9629 version of 'I', and thus turkish locale breaks parsing of tags.
9631 2002-07-16 Angus Leeming <leeming@lyx.org>
9633 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9634 now takes a Buffer const & argument.
9636 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9638 * BufferView.C (resize): check there's a buffer to resize
9640 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9642 * lyxfunc.C: remove dead code
9645 * lyxserver.C: use lyx_guii::set_read_callback
9647 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9649 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9650 an inset in a RTL paragraph.
9652 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9654 * lyxfunc.C: repaint after a font size update
9656 2002-07-15 André Pönitz <poenitz@gmx.net>
9658 * lyxlength.C: inBP should be able to return negative values
9660 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9662 * lyxfunc.C: use lyx_gui::update_fonts()
9664 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9666 * lyxfunc.C: use lyx_gui::update_color()
9668 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9674 * lyxrc.C: remove file->new asks for name option, and let
9675 buffer-new take an argument
9677 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9679 * BufferView_pimpl.C: remove unneeded extra repaint()
9681 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9683 * LyXAction.C: allow command-sequence with NoBuffer
9685 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9687 2002-07-10 Angus Leeming <leeming@lyx.org>
9689 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9691 2002-07-09 Angus Leeming <leeming@lyx.org>
9693 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9695 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9697 * lengthcommon.h: whitespace
9699 * lyxfunc.C: update scrollbar after goto paragraph
9701 * lyxtext.h: factor out page break drawing, and fix it so
9702 page break/added space paints as selected nicely
9704 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9706 * BufferView_pimpl.C: add FIXMEs, clean up a little
9708 2002-07-09 André Pönitz <poenitz@gmx.net>
9710 * lyxfont.[Ch]: support for wasy symbols
9712 2002-07-08 André Pönitz <poenitz@gmx.net>
9714 * BufferView_pimpl.C: apply John's patch for #93.
9716 2002-07-05 Angus Leeming <leeming@lyx.org>
9718 * BufferView_pimpl.C (buffer): generate previews if desired.
9720 * LColor.h: add "preview" to the color enum.
9722 * LColor.C (LColor): add a corresponding entry to the items array.
9724 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9727 2002-07-05 Angus Leeming <leeming@lyx.org>
9729 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9730 The body of the code is now in the method that is passed an ostream &
9731 rather than a file name.
9732 Pass an additional only_preamble parameter, useful for the forthcoming
9735 2002-07-03 André Pönitz <poenitz@gmx.net>
9737 * lyxfunc.C: simplify getStatus() a bit for math stuff
9739 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9741 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9743 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9745 * text.C (changeRegionCase): do not change case of all the
9746 document when region ends at paragraph end (bug #461)
9748 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9750 * paragraph.C (startTeXParParams):
9751 (endTeXParParams): add \protect when necessary
9753 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9755 * BufferView_pimpl.C (workAreaExpose): remove warning
9757 2002-06-27 Angus Leeming <leeming@lyx.org>
9759 * Makefile.am: add lyxlayout_ptr_fwd.h.
9761 2002-06-26 André Pönitz <poenitz@gmx.net>
9763 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9765 2002-06-25 Angus Leeming <leeming@lyx.org>
9767 * lyxfunc.C (dispatch): Comment out the call to
9768 grfx::GCache::changeDisplay. The method no longer exists now that the
9769 pixmap generation part of the graphics loader has been moved into
9772 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9774 * text2.C: layout as layout
9776 * text.C: layout as layout
9778 * tabular.C (OldFormatRead): layout as layout
9780 * paragraph_pimpl.C (TeXDeeper): layout as layout
9781 (realizeFont): layout as layout
9783 * paragraph.C (writeFile): layout as layout
9784 (validate): layout as layout
9785 (getFont): layout as layout
9786 (getLabelFont): layout as layout
9787 (getLayoutFont): layout as layout
9788 (breakParagraph): layout as layout
9789 (stripLeadingSpaces): layout as layout
9790 (getEndLabel): layout as layout
9791 (getMaxDepthAfter): layout as layout
9792 (applyLayout): layout as layout
9793 (TeXOnePar): layout as layout
9794 (simpleTeXOnePar): layout as layout
9795 (TeXEnvironment): layout as layout
9796 (layout): layout as layout
9797 (layout): layout as layout
9799 * lyxtextclass.C (compare_name): new functor to work with
9800 shared_ptr, layout as layout
9801 (Read): layout as layout
9802 (hasLayout): layout as layout
9803 (operator): layout as layout
9804 (delete_layout): layout as layout
9805 (defaultLayout): layout as layout
9807 * lyxlayout_ptr_fwd.h: new file
9809 * lyxlayout.C (Read): layout as layout
9811 * lyx_cb.C (MenuInsertLabel): layout as layout
9813 * bufferlist.C (newFile): layout as layout
9815 * buffer.C (readLyXformat2): layout as layout
9816 (parseSingleLyXformat2Token): layout as layout
9817 (insertStringAsLines): layout as layout
9818 (asciiParagraph): layout as layout
9819 (latexParagraphs): layout as layout
9820 (makeLinuxDocFile): layout as layout
9821 (simpleLinuxDocOnePar): layout as layout
9822 (makeDocBookFile): layout as layout
9823 (simpleDocBookOnePar): layout as layout
9824 (getLists): layout as layout
9826 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9828 * CutAndPaste.C (cutSelection): layout as layout
9829 (pasteSelection): layout as layout
9830 (SwitchLayoutsBetweenClasses): layout as layout
9832 * BufferView_pimpl.C (Dispatch): layout as layout
9833 (smartQuote): layout as layout
9835 * BufferView2.C (unlockInset): layout as layout
9837 2002-06-24 André Pönitz <poenitz@gmx.net>
9839 * lyxfunc.C: fix #487
9841 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9845 * lyxfunc.C: remove display_shortcuts, show_banner
9847 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9849 * Buffer_pimpl.C: oops, update on resize
9851 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9858 * BufferView.C: use repaint()
9860 * BufferView_pimpl.h:
9861 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9862 as it's a clearer description. Remove superfluous
9865 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9867 * text.C: fix bug 488. Not ideal, but getting
9868 getWord() to work properly for the insets that
9869 matter is more difficult ...
9871 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9873 * BufferView_pimpl.C:
9876 * lyxfunc.C: remove the six million index lyxfuncs to just
9877 one, and DTRT (bug 458)
9879 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9883 * BufferView_pimpl.h:
9884 * BufferView_pimpl.C: clean up resize() stuff,
9885 and unnecessary updateScreen()s
9887 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9891 * BufferView_pimpl.h:
9892 * BufferView_pimpl.C:
9895 * minibuffer.C: remove focus management of workarea,
9896 not needed. Use screen's greyOut()
9898 2002-06-17 Herbert Voss <voss@lyx.org>
9900 * converter.C: (convert) do not post a message, when converting
9901 fails, let the calling function decide what to do in this case
9903 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9905 * lyxfunc.C: tidy up a little
9907 2002-06-16 <alstrup@diku.dk>
9909 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9910 Got rid of FORMS_H_LOCATION include. Now we are
9913 2002-06-15 LyX Development team <lyx@rilke>
9915 * buffer.[Ch] (sgmlOpenTag):
9916 (sgmlCloseTag): Added support for avoiding pernicious mixed
9917 content. Return number of lines written.
9920 (makeDocBookFile): Fixed calls to sgml*Tag.
9921 Simple white space clean.
9923 (simpleDocBookOnePar): Simple white space clean.
9925 * tabular.[Ch] (docBook): Renamed to docbook and got another
9926 argument to related with the pernicious mixed content.
9928 (docbookRow): Fixed calls for docbook inset method.
9930 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9932 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9933 so it's X11 independent.
9937 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9939 2002-06-15 Lyx Development team <lyx@electronia>
9941 * intl.h: Renamed getTrans to getTransManager.
9943 2002-06-14 Angus Leeming <leeming@lyx.org>
9945 * Makefile.am: nuke forgotten stl_string_fwd.h.
9947 2002-06-12 Angus Leeming <leeming@lyx.org>
9949 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9951 2002-06-13 Angus Leeming <leeming@lyx.org>
9954 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9956 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9958 * kbmap.C (getiso): add support for cyrillic and greek
9960 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9964 * BufferView_pimpl.h:
9965 * BufferView_pimpl.C: move bogus scrolling logic
9968 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9971 * BufferView_pimpl.C: view->resize() change
9973 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9975 * BufferView_pimpl.C: topCursorVisible
9978 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9982 * lyx_gui.C: move to frontends/
9986 * lyx_main.C: changes from above
9988 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9995 * lyx_main.C: minor tidy
9997 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9999 * BufferView_pimpl.h:
10000 * BufferView_pimpl.C:
10002 * BufferView.C: make painter() const,
10005 * BufferView2.C: use screen() accessor
10008 * lyx_main.C: some minor cleanup
10010 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10012 * BufferView_pimpl.h:
10013 * BufferView_pimpl.C: remove enter/leaveView,
10016 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10021 * BufferView_pimpl.h:
10022 * BufferView_pimpl.C: only construct screen once,
10025 * lyxrc.C: remove pointless comment
10027 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10030 * BufferView.C: remove active() and belowMouse()
10032 * BufferView_pimpl.h:
10033 * BufferView_pimpl.C: use workarea() not workarea_,
10034 and make it use a scoped_ptr instead
10036 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10038 * lyx_gui.C: add debug message on BadWindow
10040 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10042 * sp_spell.C: fdopen is not part of the C++ standard.
10044 * paragraph.C (InsetIterator): use >= instead of ==
10046 2002-06-07 Angus Leeming <leeming@lyx.org>
10048 Fixes needed to compile with Compaq cxx 6.5.
10049 * BufferView_pimpl.C:
10056 * lyxtextclasslist.C:
10061 all c-library variables have been moved into namespace std. Wrap
10062 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10067 Add a using std::abs declaration.
10069 * kbmap.h (modifier_pair):
10070 * paragraph.h (InsetTable, InsetList):
10071 * lyxfont.h (FontBits):
10072 type definition made public.
10074 * bufferlist.C (emergencyWriteAll): the compiler complains that
10075 there is more than one possible lyx::class_fun template to choose from.
10076 I re-named the void specialisation as lyx::void_class_fun.
10078 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10080 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10081 the compiler is is unable to find tostr in write_attribute.
10083 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10085 * buffer.C (sgmlError): hide #warning
10087 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10089 * xtl/*: get rid of xtl, which is not in use anyway
10091 * LyXAction.C (init):
10092 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10093 were unimplemented xtl experimentation
10095 2002-06-04 André Pönitz <poenitz@gmx.net>
10097 * lyxfunc.C: disable array operation on simple formulae
10099 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10101 * converter.C: constify a bit
10103 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10105 * lyx_gui.C: check xforms version correctly
10107 2002-04-30 Herbert Voss <voss@lyx.org>
10109 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10112 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10114 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10115 attempt to register it with a VCS)
10117 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10119 * lyx_main.C (init): honor variables LYX_DIR_13x and
10122 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10126 * lyx_main.C: fix a crash on bad command line,
10127 and give a useful exit status on error
10129 * lyxfunc.C (doImport): allow -i lyx to work
10131 2002-03-30 André Pönitz <poenitz@gmx.net>
10133 * lyxfunc.C: mathed font changes
10135 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10150 * trans_mgr.h: srcdocs, and some minor cleanups
10152 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10154 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10155 call getFont all the time)
10157 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10159 * switch from SigC signals to boost::signals
10161 2002-05-29 André Pönitz <poenitz@gmx.net>
10163 * paragraph_pimpl.C (getChar): don't call size() too often...
10165 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10167 * paragraph_pimpl.C (insertChar): do not try to update tables when
10168 appending (pos == size())
10170 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10171 in order to reduce drastically the number of comparisons needed to
10172 parse a large document
10174 2002-05-29 André Pönitz <poenitz@gmx.net>
10180 * textclasslist.[Ch]:
10181 * sp_ispell.h: whitespace change
10183 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10185 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10186 lyxaction directly now.
10188 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10192 * lyxvc.C: remove unused headers
10194 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10201 * undo_funcs.C: some cleanups. Use shared_ptr
10202 and a template for the undo stacks.
10204 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10206 * BufferView_pimpl.h:
10207 * BufferView_pimpl.C:
10214 * text2.C: use key_state/mouse_state
10216 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10218 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10221 * chset.C: change include order
10222 (loadFile): use boost regex and get rid of LRegex and LSubstring
10224 * Makefile.am (BOOST_LIBS): new variable
10225 (lyx_LDADD): use it
10227 * LaTeX.C: change include order.
10228 (scanAuxFile): use boost regex and get rid of LRegex and
10232 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10237 * FontInfo.C: moved to frontends/xforms/
10240 * FontLoader.C: moved into frontends for GUIIzation
10245 * lyxfunc.C: changes from above
10247 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10249 * LColor.C: remove spurious X include
10251 * BufferView_pimpl.C:
10256 * text2.C: move font metrics to frontends/
10258 2002-05-24 Juergen Vigna <jug@sad.it>
10260 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10261 setting the undo_cursor.
10263 * ParagraphParameters.h: include local includes first.
10265 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10267 * BufferView_pimpl.C:
10268 * BufferView_pimpl.h:
10272 * screen.C: move WorkArea into frontends/
10278 * BufferView2.C: move LyXScreen into frontends/
10282 * lyx_gui.C: move lyxlookup into frontends/xforms/
10284 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10287 * BufferView_pimpl.C:
10297 * bufferview_funcs.C:
10310 * vc-backend.C: move LyX/XFormsView into frontends/
10312 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10324 * text2.C: move Painter to frontends/
10326 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10328 * buffer.C: comment out some some code that depend upon lyx_format
10331 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10332 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10334 * buffer.h (NO_COMPABILITY): turn off compability
10336 * ColorHandler.C: include scoped_array.hpp
10338 * font.C: Use more specific smart_ptr header.
10341 * ShareContainer.h: ditto
10342 * lyx_main.h: ditto
10344 * FontInfo.h: ditto
10345 * BufferView_pimpl.h: ditto
10346 * ColorHandler.h: ditto
10348 * kbmap.C (defkey): change call to shared_ptr::reset
10350 2002-05-21 Juergen Vigna <jug@sad.it>
10352 * buffer.C (insertErtContents): fix to insert ert asis if it is
10353 non empty. Skip it completely if it contains only whitespaces.
10355 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10357 * BufferView_pimpl.C:
10358 * BufferView2.C: clear selection on paste (bug 393)
10360 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10362 * DepTable.C: include ctime
10364 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10366 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10368 2002-05-14 Juergen Vigna <jug@sad.it>
10370 * text.C (breakParagraph): fixed function to honor the keepempty
10371 layout in the right maner and also to permit the right breaking
10372 algorithm on empty or non empyt keepempty paragraphs.
10374 * paragraph.C (breakParagraph): we have to check also if the par
10375 is really empty (!size()) for isempty otherwise we do the wrong
10378 2002-05-10 Juergen Vigna <jug@sad.it>
10380 * buffer.[Ch] : The following are only changes to the ert
10381 compatibility read reading old LaTeX layout and font stuff and
10382 convert it to ERTInsets.
10384 * buffer.h: added isErtInset().
10386 * buffer.C (struct ErtComp): add a fromlayout bool to check
10387 if we're inside a LaTeX layout.
10388 (isErtInset): new helper function.
10389 (insertErtContents): look for other ert insets before this one
10390 and insert the contents there, so that we don't have subsequent
10391 ERT insets with nothing between them. This way we create only one
10392 inset with multiple paragraphs. Also check if we don't insert only
10393 spaces ' ' as they are ignored anyway afterwards in the .tex file
10394 so if we have only spaces we will ignore this latex part in the
10396 (parseSingleLyXformat2Token \\layout): better compatibility when
10397 reading layout-latex stuff.
10398 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10400 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10401 stuff after reading the inset only get the information back from
10404 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10406 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10408 * LaTeXFeatures.C (getBabelOptions): New method.
10410 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10412 * BufferView_pimpl.C (Dispatch): work around missing argument for
10415 2002-05-08 Juergen Vigna <jug@sad.it>
10417 * text.C (leftMargin): handle paragraph leftindent.
10419 * paragraph.C (writeFile): write the new \\leftindent tag.
10420 (validate): handle leftindent code.
10421 (TeXEnvironment): handle paragraphleftindent code again.
10423 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10425 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10426 for paragrap_extra indent code and new token \\leftindent.
10427 (latexParagraphs): handle the leftindent as environment.
10429 * ParameterStruct.h: added leftindent support.
10431 * ParagraphParameters.C (leftIndent): added support functions for
10432 the paragraph left indent.
10434 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10437 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10439 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10442 * text.C (computeBidiTables): No bidi in insetERT.
10444 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10447 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10449 * version.C.in: pre 5
10451 2002-05-02 José Matos <jamatos@fep.up.pt>
10452 * buffer.C (makeDocBookFile): white space changes, add newline to
10454 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10456 * tabular.C (docBook): fix typo.
10458 2002-05-03 Juergen Vigna <jug@sad.it>
10460 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10461 change in LyXText as we can not be sure it was not freed.
10462 (drawOneRow): remove unused code.
10464 * text.C (drawInset): redo the calculation of the need_break_row as
10465 it could have a row which was already freed.
10466 (draw): look at the return value of drawInset and return false if
10467 it also returned false.
10468 (paintRowText): look at the return value of draw and return false if
10469 it also returned false.
10471 * lyxtext.h: added bool return type to drawInset() and draw() so that
10472 if we have a change in the row so that the rowbreak has to be redone
10473 we abort drawing as it will be called again.
10475 2002-05-02 Juergen Vigna <jug@sad.it>
10477 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10478 a change in the maintext also if we're inside an inset.
10479 (Dispatch): set the cursor again after a break line and after the
10480 screen has been updated as it could be we're in a different row.
10482 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10483 to set the cursor behind the pargraph with > size().
10484 (setCursor): check also for the same paragraph when checking where
10485 to put the cursor if we have a NFR inset.
10487 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10488 parts of layout read further up as it still was in the wrong
10491 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10493 * screen.C (drawFromTo): change sine fullRebreak always return
10496 * buffer.C (parseSingleLyXformat2Token): reindent some
10498 * BufferView_pimpl.C (update): change since fullRebreak always
10500 (Dispatch): git rid of the last hardcoded "Standard"s.
10502 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10504 * text2.[Ch] (fullRebreak): make it return void now that we always
10507 2002-04-30 Juergen Vigna <jug@sad.it>
10509 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10510 ert compatibility check for "latex" layout.
10512 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10514 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10515 minipages: use col% instead of p%, and also use the current font.
10516 (makeLaTeXFile): Fix use babel condition.
10517 (parseSingleLyXformat2Token): Correct font when reading old floats.
10519 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10521 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10522 inserting list of floats.
10524 2002-04-25 Herbert Voss <voss@lyx.org>
10526 * MenuBackend.C (expand): don't add the graphics extensions to the
10529 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10531 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10532 non-existing layout, do not complain if it was the default layout
10533 of the original class (bug #342)
10535 2002-04-24 Juergen Vigna <jug@sad.it>
10537 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10538 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10540 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10542 * buffer.C (getBibkeyList): If using \bibliography, return the
10543 option field with the reference itself. Enables us to provide natbib
10544 support when using \bibliography.
10546 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10548 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10550 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10551 natbib is provided by the LaTeX class.
10553 2002-04-23 Juergen Vigna <jug@sad.it>
10555 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10558 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10560 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10562 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10564 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10565 ensuremath around textordmasculine, textordfeminine and
10568 2002-04-19 Juergen Vigna <jug@sad.it>
10570 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10571 reinitializing the buffer otherwise row-dimensions may be wrong.
10572 (update): reset also the selection cursors if they do exits otherwise
10573 their x/y positions may be wrong.
10575 * text2.C (cursorDown): don't enter the inset if we came from a row
10576 above and are one row over the inset.
10578 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10579 really leaving an inset.
10581 2002-04-18 Juergen Vigna <jug@sad.it>
10583 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10584 of the selected paragraph does not have the selected layout also if
10587 * text2.C (setLayout): fixed bug which did not change last selected
10590 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10591 changed the read and substituted \\end_float with \\end_inset!
10593 * BufferView_pimpl.C (cursorPrevious):
10594 (cursorNext): fixed to make it work with rows heigher than the work
10595 area without moving the cursor only the draw of the row.
10596 (workAreaMotionNotify): fix jumping over high rows.
10598 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10600 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10603 2002-04-16 Juergen Vigna <jug@sad.it>
10605 * text2.C (setCursor): set also the irow().
10606 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10608 (cursorDown): support for locking an inset if the x_fix value goes
10609 inside it. That way I can transverse insets too with cursor up/down.
10611 * lyxrow.h: added irow helper function same as other (i) functions.
10613 * BufferView_pimpl.C (cursorPrevious):
10614 (cursorNext): fixed for insets!
10616 2002-04-15 Juergen Vigna <jug@sad.it>
10618 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10619 position otherwise it is wrong in some cases.
10621 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10622 inside the inset before the call.
10624 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10626 * buffer.[Ch] (getBibkeyList): make it const.
10628 2002-04-12 Juergen Vigna <jug@sad.it>
10630 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10632 * text2.C (getCursorX): new helper function
10633 (setCursor): compute also ix_
10634 (setCursorFromCoordinates): set also ix.
10636 * lyxcursor.h: added ix_ and helper functions.
10638 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10640 * buffer.C (insertStringAsLines): dont break paragraph if the this
10641 paragraph is inside an inset which does not permit it!
10643 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10644 also with no chars on this paragraph.
10645 (paintRowText): only paint stuff if it's inside the workarea!
10647 * paragraph.C (breakParagraph): honor keepempty flag and break the
10648 paragraph always below not above.
10650 * BufferView2.C (unlockInset): update the paragraph layout on inset
10651 unlock as we changed paragraph in such a case.
10653 * lyxfind.C (LyXFind): clear the former selection if not found!
10655 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10656 again called in insertChar().
10658 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10659 an inset which uses the whole row!
10660 (rightMargin): ditto.
10661 (insertChar): force a rebreak if we inserted an inset!
10663 2002-03-28 Herbert Voss <voss@lyx.org>
10665 * lyxlength.[Ch]: add inBP() to get the right PS-point
10666 units (BigPoint). With inPixels we have rounding errors
10668 2002-04-11 Juergen Vigna <jug@sad.it>
10670 * text2.C (setCursorFromCoordinates): set iy to the right value.
10671 (setCursor): add check if row->previous exists!
10673 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10674 an old float_type as this was the case in the old code!
10676 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10678 * BufferView2.C (showLockedInsetCursor): use iy
10679 (fitLockedInsetCursor): ditto
10681 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10682 locked insets as there we have the right value now.
10684 * lyxcursor.C: added iy_ variable and iy functions to set to the
10685 baseline of cursor-y of the locked inset.
10687 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10688 (setCursor): fixed for insets which need a full row.
10690 * text.C (rowLastPrintable): don't ignore the last space when before
10691 an inset which needs a full row.
10692 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10693 as last character of a row when before a inset which needs a full row.
10695 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10697 * version.C.in: update date
10699 * text2.C (fullRebreak): try to always return true and see what
10702 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10704 * MenuBackend.C (expand): use Floating::listName
10706 * FloatList.C (FloatList): add listName argument to the built-in
10709 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10710 text associated with the float.
10712 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10714 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10716 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10718 * ShareContainer.h: add a couple of missing typenames.
10720 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10722 * lyxrc.C (getDescription): use _() correctly rather than N_().
10724 2002-03-28 Herbert Voss <voss@lyx.org>
10726 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10727 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10729 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10731 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10732 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10734 2002-03-29 Juergen Vigna <jug@sad.it>
10736 * lyxfunc.C (dispatch): add a missing fitCursor call.
10738 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10739 it was scrolled by a cursor move, so return the bool status.
10741 * BufferView.C (fitCursor): return the bool flag also to the outside
10742 world as this is needed.
10744 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10746 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10747 call the edit() as it is not needed (and wrong) IMO.
10748 (workAreaButtonPress): set the screen_first variable before evt.
10749 unlock the inset as this may change screen_first and then we have
10750 a wrong y position for the click!
10752 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10754 * MenuBackend.C (expand): another translation that I missed
10756 2002-03-28 Juergen Vigna <jug@sad.it>
10758 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10760 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10762 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10764 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10766 * MenuBackend.C (expand): fix export/view/update when there is no
10769 2002-03-27 Herbert Voss <voss@lyx.org>
10771 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10774 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10776 * bufferview_funcs.C (currentState): only show paragraph number
10777 for is DEVEL_VERSION is set.
10779 * lyxfunc.C (dispatch): put warning in INFO channel
10781 * MenuBackend.C (expand): translate the name of floats
10783 * FloatList.C (FloatList): mark the float names for translation
10785 * converter.C (convert): use LibScriptSearch
10787 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10789 * MenuBackend.C (defaults): fix default menu (we might as well get
10792 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10794 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10797 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10799 * lyxvc.C: reorder includes.
10801 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10803 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10806 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10808 * CutAndPaste.C: change layouts earlier on paste
10809 to avoid crashing when calling getFont()
10811 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10813 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10816 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10818 * WorkArea.C: remove 'Pending' debug message.
10820 * most files: ws cleanup
10822 * buffer.[Ch]: ws changes
10824 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10826 2002-03-21 Juergen Vigna <jug@sad.it>
10828 * tabular.C (SetMultiColumn): collapse also the contents of the
10829 cells and set the last border right. Added a Buffer const * param.
10831 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10833 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10836 2002-03-19 Juergen Vigna <jug@sad.it>
10838 * text2.C (clearSelection): reset also xsel_cache.
10840 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10841 where it needs to be called (John tells us to do so too :)
10842 (selectionLost): reset sel_cache.
10844 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10846 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10848 * text2.C (setCursorIntern): put debuging code in INSETS channel
10850 2002-03-19 André Pönitz <poenitz@gmx.net>
10852 * lyxfunc.C: tiny whitespace change
10854 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10856 * ToolbarDefaults.C (init):
10857 * LyXAction.C (init):
10859 * BufferView_pimpl.C (Dispatch):
10860 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10862 2002-03-19 Allan Rae <rae@lyx.org>
10864 * exporter.C (Export): removeAutoInsets before doing anything else.
10865 While I've just introduced a dependency on BufferView this really is
10866 the best place to clean the buffer otherwise you need to cleanup in
10867 a dozen places before calling export or cleanup in a dozen functions
10870 * converter.C (runLaTeX):
10871 (scanLog): Better handling of removeAutoInsets and screen updates.
10873 * lyxfunc.C (dispatch): small whitespace changes
10875 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10877 * WorkArea.C (C_WorkAreaEvent): return a value.
10878 (event_cb): return 1 if we handled the event, 0 otherwise.
10880 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10882 2002-03-18 Juergen Vigna <jug@sad.it>
10884 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10885 (GetAdditionalWidth): ditto.
10886 (RightLine): ditto.
10889 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10890 inset if we're there actually (probably not used right now but this
10891 is the direction to go for unifying code).
10892 (paste): disable code to clear the selection.
10894 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10895 inside an InsetText and move the check further up as it is in the
10898 * text2.C (pasteSelection): set a selection over the pasted text.
10900 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10902 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10903 and libgraphics to build on Cygwin.
10905 2002-03-15 Juergen Vigna <jug@sad.it>
10907 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10908 inserting an Inset into the paragraph. I know this is not the best
10909 fix but we already use current_view in CutAndPaste so we will remove
10910 all of it's using at the same time.
10912 * buffer.C (sgmlError): deactivated function till it is rewritten in
10913 the right mode, now it can create problems.
10915 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10916 before accessing it.
10918 2002-03-14 Juergen Vigna <jug@sad.it>
10920 * undo_funcs.C (textHandleUndo): do the right thing when updating
10921 the inset after the undo/redo.
10923 * text2.C (setCursor): just some testcode for #44 not ready yet.
10925 * undo_funcs.C (textHandleUndo): set the next() and previous()
10926 pointers of the paragraph to 0 before deleting otherwise we have
10927 problems with the Paragraph::[destructor].
10929 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10930 on a paragraph insertion.
10932 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10934 * buffer.C (asciiParagraph): use += operator for char append to
10937 * paragraph.C (getFontSettings): compare >= not just >
10938 (highestFontInRange): ditto
10941 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10943 * paragraph.C: change several algorithm to be more appripriate for
10944 the problem domain. This is lookip in FontList and in the InsetList.
10946 2002-03-13 André Pönitz <poenitz@gmx.net>
10949 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10951 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10956 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10958 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10960 * Painter.C (display): anon helper function, adjust code for this
10962 (pixmap): remove function.
10964 * Painter.h: remove private display variable.
10966 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10968 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10970 * WorkArea.[Ch]: remove figinset_canvas cruft.
10972 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10974 * lyxtextclass.C (operator): add one item cache optimization.
10976 * bufferlist.h: doxy changes
10978 * bufferlist.C: ws changes
10980 * DepTable.[Ch] (ext_exist): place const in the right spot.
10982 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10984 (workAreaExpose): call resizeInsets when the with BufferView changes.
10985 (Dispatch): adjust for protectedBlank removal
10986 (specialChar): call updateInset if the insert went ok.
10988 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10989 specialChar instead.
10991 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10993 * BufferView.h: doxy change
10995 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10997 * lyxtextclass.C (operator[]): remove non-const version
10998 (defaultLayout): remove non-const version
11000 2002-03-12 Juergen Vigna <jug@sad.it>
11002 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11003 did resize the LyXText too.
11005 * buffer.C (readLyXformat2): set layout information on newly allocated
11008 * tabular.C (OldFormatRead): set layout information on the paragraph.
11010 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11012 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11014 2002-03-11 Juergen Vigna <jug@sad.it>
11016 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11018 (resizeCurrentBuffer): force also the insets to resize themselfes.
11019 (moveCursorUpdate): fixed up for InsetText.
11021 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11024 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11025 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11026 value of Dialogs::tooltipsEnabled().
11027 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11029 2002-03-08 Juergen Vigna <jug@sad.it>
11031 * BufferView_pimpl.C (updateInset): update inset inside inset also
11032 if it isn't inside theLockingInset().
11034 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11036 * buffer.C (asciiParagraph): redo some of the word and line length
11038 (getLists): look for Caption instead of caption.
11040 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11042 * buffer.C (Buffer): initialize niceFile to true
11044 (makeLinuxDocFile):
11045 (makeDocBookFile): make sure niceFile is true on exit
11047 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11049 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11051 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11053 * LyXSendto.C: remove.
11054 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11055 * lyx_gui.C: remove now-redundant comment.
11056 * ColorHandler.h: remove forward declaration of class WorkArea.
11057 * lyxfunc.C: remove #include "WorkArea.h".
11059 2002-03-07 Juergen Vigna <jug@sad.it>
11061 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11062 got moved away with the DEPM and also set the inset_owner always
11063 right which before could have been omitted.
11065 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11067 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11068 wanted layout is not found.
11070 2002-03-07 Juergen Vigna <jug@sad.it>
11072 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11074 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11076 * paragraph.C (breakParagraph): use default layout not layout of
11078 (Paragraph): clear ParagraphParameters.
11080 2002-03-06 Juergen Vigna <jug@sad.it>
11082 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11083 otherwise it would not be a valid lenght. Fixed a special case in
11084 the minipage compatibility read where we end the document with a
11087 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11088 was set as it could be 0 for InsetTexts first entry.
11090 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11092 * paragraph.C (writeFile): if layout is empty write out
11093 defaultLayoutName().
11095 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11096 file without named layout we set layout to defaultLayoutName().
11098 2002-03-06 Juergen Vigna <jug@sad.it>
11100 * CutAndPaste.C (copySelection): set layout for new paragraph.
11102 * text.C (prepareToPrint): leave ERT inset left aligned
11103 (leftMargin): don't indent paragraphs inside ERT insets
11105 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11107 * paragraph.C (breakParagraph): dont call clear do the work manually
11109 * paragraph.[Ch] (clear): remove function
11111 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11113 * paragraph.C (Paragraph): dont call clear, the work has already
11116 * lyxtextclass.C (operator): assert if n is empty
11118 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11119 work manually instead.
11121 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11123 * BufferView_pimpl.C: protect selectionLost against text == 0
11125 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11127 * text.C (breakParagraph): fix a setting layout to '0' problem.
11129 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11131 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11132 final location of file, for the included files, and graphics.
11134 2002-03-05 Juergen Vigna <jug@sad.it>
11136 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11138 2002-03-04 Juergen Vigna <jug@sad.it>
11140 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11142 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11143 last column of multicolumn cells.
11144 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11146 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11148 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11149 file if it doesn't go to a temporary file.
11151 * buffer.C (sgmlOpenTag):
11152 (sgmlCloseTag): remove extra newline insertion.
11154 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11156 * text.C (getRowNearY): comment out debug msg
11158 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11160 * text2.C: first -> first_y
11162 * text.C (getRowNearY): add some attemts at a possible
11163 optimization, not working.
11165 * tabular.[Ch]: add BufferParams to several function so that newly
11166 created paragraph can be initialized to he default layotu for the
11169 * tabular-old.C (ReadOld): add buf->params to call of Init
11171 * screen.C: rename text->first to text->first_y
11173 * paragraph.C (breakParagraph): always set layout in the broken
11176 * lyxtextclass.C (Read): remove lowercase
11179 (delete_layout): ditto
11181 * lyxtext.h: rename first -> first_y
11183 * lyxlayout.C (Read): remove lowercase
11186 (obsoleted_by): ditto
11188 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11190 * buffer.C (insertErtContents): add params are to InsetERT
11191 (parseSingleLyXformat2Token): add code to check if a paragraphs
11192 layout really exist.
11193 (parseSingleLyXformat2Token): add params to several inset
11195 (asciiParagraph): remove lowercase, do the layout comparisons with
11198 * BufferView_pimpl.C (cursorNext): first -> first_y
11199 (resizeCurrentBuffer): first -> first_y
11200 (updateScrollbar): first -> first_y
11201 (scrollCB): first -> first_y
11202 (workAreaMotionNotify): first -> first_y
11203 (workAreaButtonPress): first -> first_y
11204 (checkInsetHit): first -> first_y
11205 (cursorPrevious): first -> first_y
11206 (cursorNext): first -> first_y
11207 (Dispatch): add buffer_->params to severl inset contructors
11209 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11211 * lyxlayout.C (Read): remove some debug info that I forgot.
11213 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11214 clean up the code slightly.
11215 (makeLinuxDocFile): ditto
11216 (makeDocBookFile): ditto
11218 * text2.C: layout as string
11220 * text.C: layout as string
11222 * paragraph_pimpl.C: layout as string
11224 * paragraph.[Ch]: layout as string
11226 * lyxtextclasslist.[Ch]: layout as string
11228 * lyxtextclass.[Ch]: layout as string
11230 * lyxtext.h: layout as string
11232 * lyxlayout.[Ch]: layout as string
11234 * lyx_cb.C: layout as string
11236 * bufferview_funcs.C: layout as string
11238 * bufferparams.C: layout as string
11240 * buffer.C: layout as string
11242 * LyXView.[Ch]: layout as string
11244 * LaTeXFeatures.[Ch]: layout as string
11246 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11248 * BufferView_pimpl.C: change current_layout to string, remove
11253 (workAreaButtonRelease): layout as string
11255 * BufferView2.C (unlockInset): adjust
11257 * vspace.C (asLatexCommand): use an explict temp variable.
11259 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11261 * Makefile.am: use FRONTEND_*
11263 2002-03-01 Juergen Vigna <jug@sad.it>
11265 * tabular.C (SetWidthOfMulticolCell): changed to something better
11266 I hope but still work in progress.
11267 (recalculateMulticolumnsOfColumn): renamed function from
11268 recalculateMulticolCells as it is more appropriate now.
11269 (SetWidthOfCell): calculate multicols better.
11271 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11273 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11275 * lyxfunc.C (processKeySym): print sequence also if it is
11276 `deleted' (complete)
11278 * kbsequence.C (print): print sequence even if it is deleted
11279 (complete would be a better word, actually).
11281 * lyxfunc.C (dispatch): print complete options after a prefix key
11283 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11285 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11287 * text2.C (setCharFont): eliminate setCharFont code duplication.
11289 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11291 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11292 LFUN_TABULAR_FEATURE (bug #177)
11294 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11296 * Makefile.am: remove figure.h
11298 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11300 * Bufferview_pimpl.C:
11312 * text2.C: remove #include "lyx_gui_misc.h".
11314 * LaTeX.C: added #include <cstdio>
11316 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11318 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11319 that the paragraph following this one can have.
11321 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11323 * vspace.C (asLatexCommand): fix bogus gcc warning
11325 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11327 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11329 * text2.C (setLayout): get rid of redundant code
11331 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11333 * text2.C (incDepth): make sure depth cannot be increased beyond
11336 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11338 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11339 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11341 * PainterBase.h (image):
11342 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11343 a LyXImage const *.
11345 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11349 * BufferView_pimpl.C:
11350 * BufferView_pimpl.h:
11370 * sp_spell.C: remove fig inset, and the crap house of
11371 cards that follows it
11373 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11378 * os2_errortable.h:
11379 * nt_defines.h: move .h into support/
11381 * vms_defines.h: remove
11383 * WorkArea.C: add space in debug output
11387 * buffer.C: add WITH_WARNINGS
11391 * bufferlist.C: s/retrive/retrieve/, add docs
11400 * chset.C: add docs
11402 * lyxgui.C: add ID to X error handler
11404 * lyxtestclass.c: fix typo
11406 2002-02-26 Juergen Vigna <jug@sad.it>
11408 * tabular_funcs.C (write_attribute): changed so that some default
11409 attributes are not written at all.
11410 (getTokenValue): set default values before trying to read the
11411 value so we have the return value always set as default if we don't
11412 find the token we search for.
11414 * tabular.C (Write): write bools as bools not as strings!
11416 2002-02-22 Juergen Vigna <jug@sad.it>
11418 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11419 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11421 * text.C (leftMargin): don't add an indent for paragraphs inside
11422 tabular cells (fix #208).
11424 2002-02-21 José Matos <jamatos@fep.up.pt>
11426 * tabular.C (docBook): fixed support for long tables.
11428 2002-02-20 Juergen Vigna <jug@sad.it>
11430 * text2.C (getFont): get the drawing font of the Inset if this
11431 paragraph is inside an inset (only important for InsetERT for now).
11433 * buffer.C (insertErtContents): use new lanugage params in ERT
11436 * CutAndPaste.C: commenting out seemingly uneeded code.
11438 2002-02-19 Allan Rae <rae@lyx.org>
11440 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11441 Iterators might be simple to use but they also get invalidated.
11442 (removeAutoInsets): renamed saved cursor tracking variables and added
11443 some comments to clarify what everything does.
11445 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11452 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11453 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11456 * vc-backend.h: remove #include "support/syscall.h"
11460 * converter.C: rearrange #includes in Lars' approved fashion.
11462 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11463 forward declare class Timeout in the header file.
11465 * XFormsView.C: changes due to the above.
11467 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11468 similar to LyXView.
11470 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11471 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11473 2002-02-18 José Matos <jamatos@fep.up.pt>
11475 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11478 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11480 * a lot of small ws changes
11481 * add a lot of using std::XXX
11482 * use std construcs some places where approp.
11483 * use some exisint stuff from lyxfunctional where approp.
11484 * Make file changes to use partial linking (lets test this now...)
11486 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11490 remove #include "support/syscontr.h" as it's redundant. Always has been.
11498 change Systemcalls::System to Systemcalls::Wait and
11499 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11500 No change of functionality, just reflects the stripped down Systemcalls
11503 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11505 * debug.[Ch]: add a GRAPHICS type to the enum.
11507 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11509 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11511 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11514 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11516 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11517 match the changes below.
11519 * text2.C (toggleInset): if there is not editable inset at cursor
11520 position, try to see if cursor is _inside_ a collapsable inset
11523 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11525 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11526 document menu has a nice checkbox
11528 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11530 * lyxlength.C (asLatexString): change PW to output as percent of
11533 * lengthcommon.C: change '%' to 't%'
11535 * lyxfunc.C (dispatch): a few comments from Martin
11537 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11541 * BufferView_pimpl.h:
11542 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11545 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11547 * vspace.C (inPixels): fix compiler warning
11549 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11551 * lyxfunc.C (getStatus): fix status message for disabled commands.
11553 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11555 * BufferView_pimpl.C: fix crash on close buffer
11556 during selection (#227)
11558 2002-01-27 Herbert Voss <voss@lyx.org>
11560 * buffer.C: link old Figure to new graphic inset
11562 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11564 * FontLoader.C (getFontinfo): Change the latex font names in order
11565 to match the names of type1inst.
11567 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11569 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11571 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11572 (extchanged): ditto
11574 (remove_files_with_extension): ditto
11575 (remove_file): ditto
11578 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11579 document is smaller than the work area height. Do not initialize
11580 static variables to 0.
11582 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11584 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11586 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11587 LFUN_LAYOUT_PARAGRAPHS.
11589 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11590 tabular. It is possible to provide a possible cell, which will
11591 typically be the actcell from the corresponding insettabular
11593 * lyxfunc.C (getStatus): small cleanup; disable
11594 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11597 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11599 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11601 * paragraph.C (startTeXParParams):
11602 (endTeXParParams): new methods. The LaTeX code to
11603 start/end paragraph formatting
11604 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11605 empty (fixes bug #200)
11607 * vspace.C (inPixels): adapt to the change below
11608 (inPixels): [later] more cleanups (remove unused variables)
11610 * lyxlength.C (inPixels): change to use a width and a height as
11613 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11615 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11616 Replaced with \paperwidth
11618 * DepTable.C (insert): add std:: qualifier
11620 2002-01-18 Allan Rae <rae@lyx.org>
11622 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11625 * text.C (drawInset): Turned out I didn't know enough about how
11626 rebreaking worked. This fixes most of the redraw problems. I see
11627 an occasional cursor trail when a line is broken now and the cursor
11628 placement can seem out by a few pixels also after a rebreak.
11630 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11632 * buffer.C (parseSingleLyXformat2Token): update because minipage
11633 width is now a LyXLength
11635 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11637 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11640 2002-01-17 Juergen Vigna <jug@sad.it>
11642 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11644 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11645 is set correctly and the inset is updated correctly.
11647 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11649 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11650 the beginning of the loop.
11652 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11654 * lyxrc.C: improve help for use_scalable_fonts
11656 2002-01-17 Allan Rae <rae@lyx.org>
11658 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11660 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11662 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11663 make sure to set their inset_owner to the right value (bug #171)
11665 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11668 * DepTable.C: Implement mtime checking to reduce time spent doing
11671 2002-01-16 Juergen Vigna <jug@sad.it>
11673 * tabular.C (GetAdditionalHeight): one of error fixed.
11675 * lyxrc.C (output): small fix in writing use_pspell.
11677 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11679 * sp_base.h: #include LString.h
11681 2002-01-16 Allan Rae <rae@lyx.org>
11683 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11684 Can someone check this please?
11686 * text.C (drawInset): It was possible that p.row would be removed by
11687 breakAgainOneRow upsetting a few other settings. There may be another
11688 small tweak possible by setting need_break_row = 0 when p.row has been
11689 removed but I don't know enough about the logic here.
11691 2002-01-15 Allan Rae <rae@lyx.org>
11693 * text.C (insertChar): removed conditional truism.
11695 * BufferView2.C (removeAutoInsets): More tweaks.
11696 cur_par_prev could be a stray pointer. Check for trailing empty line
11697 in case last line was cur_par and only had an error inset on it.
11699 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11701 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11704 * vc-backend.C (most methods):
11705 * exporter.C (Export):
11706 * converter.C (convert):
11708 * LyXSendto.C (SendtoApplyCB):
11709 * lyxfunc.C (dispatch):
11713 * lyx_cb.C (AutoSave):
11715 * BufferView_pimpl.C (MenuInsertLyXFile):
11716 * buffer.C (runChktex): use Buffer::filePath().
11718 * buffer.h: rename filename to filename_; rename filepath to
11719 filepath_ and make it private
11720 (filePath): new method
11722 * buffer.C (writeFile): use fileName()
11725 * lyx_main.C (init): fix starting of LyX when the binary is a
11726 link from so,ewhere else.
11728 * minibuffer.C: include <cctype> for isprint
11730 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11732 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11733 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11734 name clash with InsetCollapsable's width function.
11736 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11738 * lastfiles.C: include <iterator>
11740 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11742 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11745 * buffer.C (makeLaTeXFile): ditto.
11746 Also make loop operation more transparent.
11748 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11750 * ToolbarDefaults.C: remove trailing comma closing namespace.
11752 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11754 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11757 * trans.C (Load): comment out unused variable, allowed.
11759 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11761 * minibuffer.[Ch] (append_char): new method to recieve input from the
11762 drop-down completion browser. If a key was pressed, then recieve this
11763 char and append it to the existing string.
11764 (peek_event): modify the positioning data passed to the completion
11765 browser so that it can be placed above the minibuffer rather than below.
11766 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11768 * LyXAction.C (init): alloe error-next for readonly documents.
11770 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11773 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11775 * bufferlist.C (readFile): create the buffer _after_ checking that
11778 * lyxfunc.C (verboseDispatch): fix handling of arguments
11780 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11782 * lyxrc.C: use string::erase() instead of initializing to "".
11785 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11787 * BufferView_pimpl.h:
11788 * BufferView_pimpl.C:
11791 * text2.C: tell X when we have made a selection for copying
11793 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11795 * BufferView_pimpl.C (MenuInsertLyXFile):
11796 * lyxfunc.C (menuNew):
11798 (doImport): add shortcuts to directory buttons
11800 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11803 * lyxfunc.C (setStatusMessage):
11804 (getStatusMessage): new methods
11805 (getStatus):use setStatusMessage instead of setErrorMessage
11806 (dispatch): when function is disabled, set error message here
11807 [instead of in getStatus previously]
11809 * BufferView_pimpl.C (workAreaButtonRelease): update
11810 toolbar/menubar here too.
11812 2002-01-13 Allan Rae <rae@lyx.org>
11814 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11815 Now seems indestructible. Remaining task is to audit all other
11816 code affected by deleteEmptyParagraphMechanism. One small quirk
11817 left is that an empty document with an error in the preamble can
11818 be made to report an error but no error box appears. I don't know
11820 (removeAutoInsets): Improved comments.
11822 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11825 * Thesaurus.C: update for Aiksaurus 0.14
11827 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11829 * text2.C (firstParagraph): removed member function, all uses
11830 replaces with ownerParagraph
11831 (redoParagraphs): here
11832 (updateInset): here
11833 (toggleAppendix): here
11834 * BufferView2.C (insertErrors): here
11835 (setCursorFromRow): here
11837 2002-01-13 Allan Rae <rae@lyx.org>
11839 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11840 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11841 There is still a way to segfault this although you may have to do this
11842 multiple times: Have an InsetERT with an unknown command in it.
11843 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11844 <down-arrow>, <Enter> again, View->DVI, BANG!
11846 * text2.C (setCursor):
11847 (deleteEmptyParagraphMechanism):
11848 * lyxtext.h (setCursor):
11849 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11850 Making use of the return value may help fix other bugs.
11852 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11854 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11856 * LyXView.C (updateMenubar): call MenuBar::update here
11857 (updateToolbar): but not here
11858 (showState): do not update toolbar/menubar
11860 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11861 should need to care about that.
11863 * lyxfunc.C (verboseDispatch): simplify a bit
11864 (getStatus): have a version which takes a pseudoaction, and
11865 another which requires a (kb_action,string).
11867 * LyXAction.C (retrieveActionArg): make it work also when action
11868 is not a pseudo-action.
11869 (getActionName): simplify a bit
11872 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11874 * lyxfunc.C (verboseDispatch): new families of methods with
11875 several ways to specify a command and a bool to indicate whether
11876 the command name and shortcut should be displayed in minibuffer
11877 (eventually, we could extend that to a finer bitmask like
11878 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11879 (dispatch): the pristine dispatch command which just, well,
11880 dispatchs! Note it still sets its result to minibuffer; I'm not
11883 * lyxfunc.h: remove setHintMessage
11885 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11887 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11889 * BufferView_pimpl.C (specialChar): delete new inset if we have
11890 not been able to insert it.
11892 * kbmap.C: revert to using int instead of kb_action, since all we
11893 are dealing with is pseudo-actions.
11895 * LyXAction.C (searchActionArg): change to return int instead of
11896 kb_action, since the result is a pseudoaction.
11898 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11900 * buffer.C (insertErtContents): Fix (partially) the font bug.
11902 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11904 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11905 as the other one is broken on my machine!
11907 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11910 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11912 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11914 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11915 reflect their actual use. Provide compatibility code for older lyxrc
11918 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11920 change names of popup font variables in line with the changes to lyxrc.C
11922 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11924 * buffer.C (asciiParagraph): avoid outputing a word twice after
11927 * lyxrc.C (getDescription): document that document_path and
11928 template_path can be empty.
11930 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11932 * LaTeXFeatures.C (getMacros):
11933 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11935 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11937 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11939 (getPackages): rename feature "floats" to "float". Use an array to
11940 iterate over 'simple' features (i.e. just a \usepackage). Add
11941 handling of "amsmath" (renamed from "amsstyle").
11943 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11945 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11948 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11950 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11951 FuncStaus::FuncStatus & FuncStaus::some_method().
11953 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11955 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11956 of the func_satus stuff. Edited and massaged in various ways by
11959 * lyxfunc.C (getStatus): use FuncStatus
11961 2002-01-08 Juergen Vigna <jug@sad.it>
11963 * text.C (nextBreakPoint): use function Inset::isChar().
11965 * paragraph.C (TeXOnePar): use function
11966 Inset::forceDefaultParagraphs.
11968 * buffer.C (latexParagraphs): use function
11969 Inset::forceDefaultParagraphs.
11971 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11973 * lyx_gui.C (init): set the style of the menu popups to
11974 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11976 2002-01-07 Juergen Vigna <jug@sad.it>
11978 * text.C (setHeightOfRow): small fix
11979 (prepareToPrint): don't look at alignment if we don't have the place
11982 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11984 * box.C: New file. Move the Box methods and functions out of box.h,
11985 following Lars' suggestion.
11987 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11989 * box.h: #include "support/LOstream.h", needed for inlined function.
11992 * lyxtextclasslist.C: added some using std declarations.
11994 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11996 * box.h: make signed dimensions to allow insets wider than
11997 the screen (bug #162)
11999 * BufferView_pimpl.C: add some insetHit debug
12001 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12003 * vc-backend.C: add FIXME
12005 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12007 * lyxfunc.C (getStatus): enable code for showing math font status
12010 2002-01-07 Juergen Vigna <jug@sad.it>
12012 * text.C (nextBreakPoint): removed debug output not needed anymore.
12014 2002-01-06 Juergen Vigna <jug@sad.it>
12016 * text.C (nextBreakPoint): fixed up this function we had this bug
12017 since ever but now hopefully we break row better.
12018 (insertChar): we have to check if an inset is the next char as it
12019 could now happen that a large inset is causing a break.
12021 2002-01-05 Juergen Vigna <jug@sad.it>
12023 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12024 if it doesn't like to be drawed.
12026 2002-01-04 Juergen Vigna <jug@sad.it>
12028 * BufferView2.C (lockInset): forgot to set a cursor.
12030 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12032 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12034 * FormMathsPanel.C:
12037 * form_maths_panel.C:
12038 * form_maths_panel.h:
12039 * form_maths_panel.fd: implemented sub- and super- buttons in math
12042 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12043 (or ^ space) to be used as in TeX (req'd by André).
12045 * lyxfunc.C: Allow ^ and _ again to be used both as
12046 super/subscript (mathed) and as themselves (in text).
12048 2002-01-03 Allan Rae <rae@lyx.org>
12050 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12051 "LyX" or the filename of the current buffer if it has one. This is a
12052 modified form of John Levon's patch.
12054 * XFormsView.C (setWindowTitle): also set icon title.
12056 * LyXView.h (setWindowTitle): signature changed.
12057 * XFormsView.h (setWindowTitle): ditto.
12059 2002-01-02 Juergen Vigna <jug@sad.it>
12061 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12063 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12065 * screen.C (topCursorVisible): introduce a temp var for
12066 text->cursor.row(), handle the case where this row is null. (kindo
12069 * text2.C (setCursor): add a couple of asserts.
12071 * paragraph.h (inset_iterator): add -> operator
12073 * paragraph.[Ch] (autoDeleteInsets): remove member function
12075 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12076 cursor pos correctly and handle inset deletion by itself.
12077 (insertErrors): move iterator declaration out of for expression
12079 * lyxtextclass.C: add <algorithm>
12081 * Makefile.am: added the new files to sources, removed layout.C
12083 * layout.C: removed file
12085 * layout.h: remove LYX_DUMMY_LAYOUT
12087 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12091 * lyxtextclass.[Ch]:
12092 * lyxtextclasslist.[Ch]: new files
12094 * include order changes to a lot of files, also changes because of
12097 2001-12-27 Juergen Vigna <jug@sad.it>
12099 * buffer.C (asciiParagraph): more fixes.
12101 * tabular.C (ascii): make ascii export support export of only the
12102 data separated by a column-delimiter.
12103 (ascii): better support for ascii export.
12105 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12107 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12109 * tabular_funcs.C: use a "using std::getline" instead of the
12110 previous fix from Angus (necessary for cxx + lyxstring)
12112 2001-12-24 Juergen Vigna <jug@sad.it>
12114 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12116 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12117 problems. First check a minipage also if we have some ert-contents
12118 (not only on par->size(), second set the right depth of the paragraph
12119 on the relink to the root-paragraph-list!
12121 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12122 which then did not anymore update the main paragraphs on undo/redo!
12124 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12126 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12127 code. Support all font-changing funcs (even those which are not in
12128 menu currently). Support for reporting font settings in
12129 mathed (disabled until Andre provides a function on mathed's side).
12131 * func_status.h (toggle): small helper function to set toggle
12134 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12136 * tabular_funcs.C: getline -> std::getline
12138 2001-12-21 Juergen Vigna <jug@sad.it>
12140 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12141 accessed and could be 0 (I couldn't generate this but it seems
12144 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12146 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12147 * tabular_funcs.h: here and include iosfwd
12149 2001-12-20 Juergen Vigna <jug@sad.it>
12151 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12152 inside inset but undo_par was.
12154 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12156 * Thesaurus.C: always include <config.h> in sources.
12160 * box.h: do not include <config.h> in header files
12162 * text.C (paintLastRow): remove unused variable
12164 * text.C (transformChar):
12166 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12168 * Painter.C (text):
12169 * font.C (width): rewrite to use uppercase() instead of
12172 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12174 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12176 * lyxfind.C: clean up of find failure position change
12178 2001-12-20 Juergen Vigna <jug@sad.it>
12180 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12182 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12183 (TeXRow): added to LaTeX a single tabular row.
12184 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12185 (Latex): simplified and finally good LT-h/f support.
12186 (various_functions): just small adaptions for LT-h/f support.
12188 * tabular_funcs.[hC]: added and moved here all not classfunctions
12191 2001-12-19 Juergen Vigna <jug@sad.it>
12193 * tabular.[Ch]: better support for longtabular options (not finished
12196 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12198 * text.C (paintLastRow): use the label font instead of the font of
12199 the last character to compute the size of *_BOX. This makes more
12200 sense and avoids a crash with empty paragraphs.
12201 Use Painter::rectangle to draw EMPTY_BOX.
12203 2001-12-19 Juergen Vigna <jug@sad.it>
12205 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12206 the paragraphs if the replaced paragraph is not the first one!
12207 Tried to delete not used paragraphs but does not work yet so for
12208 now it's inside #ifdef's and by default off!
12210 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12212 * MenuBackend.C: include "lyx_main.h" instead of declaring
12213 lastfiles (actually was declared as LastFiles* instead of a
12216 2001-12-17 Juergen Vigna <jug@sad.it>
12218 * tabular.C (AppendColumn): applied John's fix
12220 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12224 * BufferView_pimpl.h:
12225 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12228 * box.h: new start of class for above
12230 * lyxfunc.C: ignore space-only minibuffer dispatches.
12231 Show the command name when it doesn't exist
12233 * minibuffer.C: don't add empty lines to the history
12235 * minibuffer.C: add a space on dropdown completion
12237 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12239 * text.C: fix line above/below drawing in insets
12241 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12243 * lyxlength.C (LyXLength): Initialize private variables.
12245 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12247 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12248 when inserting error insets.
12250 2001-12-13 Juergen Vigna <jug@sad.it>
12252 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12253 actually sometimes the before-paragraph.
12254 (setUndo): don't clear the redostack if we're not actually undoing!
12256 2001-12-06 Juergen Vigna <jug@sad.it>
12258 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12259 and fixed redoing of main paragraph, so we can use it now ;)
12261 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12263 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12265 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12268 2001-12-13 André Pönitz <poenitz@gmx.net>
12271 * undo_func.C: minor cleanup
12273 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12275 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12276 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12277 font in urw-fonts package which is marked as -urw-fontspecific and
12278 does not work (incidentally, changing the encoding in the
12279 fonts.dir of this package to -adobe-fontspecific fixes the
12282 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12283 is a crash when undoing first paragraph (Juergen, please take a
12284 look). THis does not mean the undo fix is wrong, just that it
12287 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12288 the (Paragraph*) version when needed instead of duplicating the
12291 * text.C (workWidth): use Inset::parOwner to find out where the
12292 inset has been inserted. This is a huge performance gain for large
12293 documents with lots of insets. If Inset::parOwner is not set, fall
12294 back on the brute force method
12296 * paragraph_pimpl.C (insertInset):
12297 * paragraph.C (Paragraph):
12298 (cutIntoMinibuffer): set parOwner of insets when
12299 inserting/removing them
12301 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12303 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12309 * mathed/formulabase.C:
12310 * mathed/math_cursor.[Ch]:
12311 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12314 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12316 * lyxlength.[Ch] (operator!=): new function
12318 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12320 * text.C (workWidth): use Inset::parOwner to find out where the
12321 inset has been inserted. This is a huge performance gain for large
12322 documents with lots of insets. If Inset::parOwner is not set, fall
12323 back on the brute force method
12325 * paragraph_pimpl.C (insertInset):
12326 * paragraph.C (Paragraph):
12327 (cutIntoMinibuffer): set parOwner of insets when
12328 inserting/removing them
12330 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12332 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12334 * tabular-old.C (getTokenValue):
12335 * tabular.C (getTokenValue):
12336 (write_attribute): new versions for LyXLength
12337 (everywhere): adjust the use of widths
12339 * tabular.h: change the type of widths from string to LyXLength
12341 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12343 * paragraph.C: fixed missing line number count when exporting
12344 Environments to LaTeX file
12346 * buffer.C: added informational message for checking line numbers.
12348 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12350 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12351 paragraph, do the 'double space' part, but not the 'empty
12354 * text.C (workWidth): small optimization
12355 (getLengthMarkerHeight): use minimal size for negative lengths.
12357 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12359 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12361 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12363 2001-12-11 André Pönitz <poenitz@gmx.net>
12366 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12368 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12370 * text2.C: keep selection on a setFont()
12372 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12374 * lyx_cb.C: another bv->text misuse, from insert label
12376 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12379 * kbsequence.C: re-instate nmodifier mask
12381 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12383 * lyx_main.h: make lyxGUI private.
12385 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12387 * lyxfind.C: place the cursor correctly on failed search
12389 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12391 * text.C (getLengthMarkerHeight): for small heights, the arrows
12392 are not always on top/bottom of the text
12393 (drawLengthMarker): smaller arrows; take the left margin in
12394 account; draw also vfills.
12396 (paintLastRow): remove special code for vfill and standard spaces,
12397 since everything is handled in drawLengthMarker now.
12399 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12401 * buffer.C (insertErtContents): try to handle font and language
12402 interaction a bit better.g
12404 * ColorHandler.C (updateColor): change the hash to cover the whole
12405 LColor enum, ws cleanup
12406 (getGCLinepars): ditto
12407 (getGCLinepars): only lookup in the linecache once.
12409 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12411 * iterators.C (operator++): Make the iterator more robust
12413 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12415 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12417 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12420 * text.C: better added space drawing
12422 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12425 * BufferView2.C: fix layout combo update on inset unlock
12427 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12429 * Makefile.am: don't compile unused files
12431 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12435 * LyXAction.C: remove old LFUN_LAYOUTNO
12437 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12439 * paragraph_pimpl.h:
12440 * paragraph_pimpl.C: isTextAt() doesn't need font param
12442 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12445 * lyxlex.C: little cleanup
12447 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12449 * BufferView_pimpl.C: fix insertAscii for insets
12451 2001-12-05 Juergen Vigna <jug@sad.it>
12453 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12454 set the right font on the "multi" paragraph paste!
12456 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12462 * lyxlength.C: remove out-commented code.
12464 * BufferView_pimpl:
12478 * vc-backend.C: change "while(" to "while ("
12480 * lyxlength.[Ch]: add zero function to check if length is zero or
12482 * lyxgluelength.C: use it
12484 2001-12-05 Allan Rae <rae@lyx.org>
12486 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12487 Works for 2.95.3, from what I understand of Garst's reports this should
12488 work for other g++ versions. We're screwed if the abs(int) definition
12489 changed between bugfix releases of gcc.
12491 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12493 * text.C: fix chapter label offset !
12495 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12498 * text.C: fix hfill at end of line, clean up
12500 2001-12-04 Juergen Vigna <jug@sad.it>
12502 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12503 that we force an update of the inset and it's owners if neccessary.
12505 2001-12-03 Juergen Vigna <jug@sad.it>
12507 * text.C (rowLast): simplified code
12509 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12511 * lyxfunc.C: fix show options on timeout
12513 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12515 * screen.C (topCursorVisible): scroll half a page when the cursor
12516 reached top of bottom of screen
12518 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12520 * minibuffer.C: deactivate on loss of focus
12522 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12524 * vspace.[Ch] (operator!=): add operator.
12526 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12528 * BufferView_pimpl.C: refuse to open an inset when
12529 there's a selection.
12531 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12533 * BufferView_pimpl.C: allow to click on RHS of full row insets
12535 2001-11-30 Juergen Vigna <jug@sad.it>
12537 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12538 insets for undo reasons.
12540 2001-11-28 André Pönitz <poenitz@gmx.net>
12542 * vspace.[Ch]: cosmetical changes
12544 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12554 * kbsequence.C: part re-write of old kb code
12557 * WorkArea.C: remove Lgb_bug_find_hack
12559 2001-11-30 José Matos <jamatos@fep.up.pt>
12561 * buffer.C (makeDocBookFile): add a comment to point a hack.
12562 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12563 Fixed a double write of labels.
12565 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12568 * LaTeX.h Fixed bug in LaTeX class where it would not
12569 re-run latex if no depfiles were changed, but the .dvi was removed.
12571 2001-11-28 André Pönitz <poenitz@gmx.net>
12573 * all the files from the change on 2001/11/26:
12574 use lyx::layout_type instead of LyXTextClass::size_type
12575 use lyx::textclass_type instead of LyXTextClassList::size_type
12577 2001-11-29 Juergen Vigna <jug@sad.it>
12579 * text.C: added support for paragraph::isFreeSpacing()
12581 * buffer.C: same as above
12583 * paragraph.h: inserted isFreeSpacing() function to enable
12584 FreeSpacing inside InsetERT.
12586 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12587 of the paragraph's in the cut/copy buffer to 0!
12589 * text2.C (removeRow): remove the assert as it can!
12591 * lyxtext.h: added helper function firstRow returning firstrow and
12592 made firstrow private again.
12594 * BufferView2.C (lockInset): don't relock if we're already locked!
12596 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12597 the only paragraph.
12598 (removeRow): added Assert::(firstrow)
12600 * debug.C: forgot to add INSETTEXT here.
12602 2001-11-28 Juergen Vigna <jug@sad.it>
12604 * sp_spell.C (initialize): changed error text to more general
12605 spellchecker command use (not only ispell!)
12607 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12609 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12611 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12613 * vspace.C: initialise lyxgluelength on failure
12615 2001-11-28 Allan Rae <rae@lyx.org>
12617 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12618 declaration & definition that looks like a function declaration.
12620 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12622 * BufferView2.C (copy):
12623 (copyEnvironment): do not clear the selection when doing a copy.
12625 * text.C (paintFirstRow): compilation fix
12627 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12629 * tabular.C (Latex): correct line count when writing latex.
12631 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12633 * paragraph_pimpl.h:
12634 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12637 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12641 * LColor.C: change vfillline->added_space
12643 * text.C: add markers and text for added space
12645 * vspace.C: fix comment
12647 2001-11-28 André Pönitz <poenitz@gmx.net>
12649 * paragraph.C: whitespace changes
12650 * all the other files from the change on 2001/11/26:
12651 change *::pos_type into lyx::pos_type
12653 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12655 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12656 language of the document when inserting error insets.
12658 2001-11-26 André Pönitz <poenitz@gmx.net>
12660 * BufferView_pimpl.[Ch]:
12668 * paragraph_pimpl.[Ch]:
12671 * text2.C: reduce header dependencies, introduce type for positions
12673 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12675 * <various>: change to use Alert.h
12677 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12679 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12680 when encountering an unknown token.
12681 (readLyXformat2): Show an error message if there were unknown tokens.
12683 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12686 * BufferView_pimpl.C:
12690 * text2.C: use par->isInset()
12692 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12694 * paragraph_pimpl.h:
12695 * paragraph_pimpl.C: cleanup
12697 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12699 * text2.C (removeRow):
12700 * text.C (setHeightOfRow): remove useless (and costly) call to
12703 2001-11-20 Allan Rae <rae@lyx.org>
12705 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12706 Now need Inset*::checkInsertChar() to return true for appropriate
12707 cases so that the characters in the minibuffer will actually be
12710 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * text.C: change the order of the includes.
12713 (workWidth): initialize it at once.
12714 (workWidth): make maxw unsigned
12715 (setHeightOfRow): remove unused variable (inset)
12716 (selectSelectedWord): remove unused variable (inset)
12717 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12719 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12721 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12722 server is not running.
12724 (closeConnection): add debug info when server is disabled.
12726 * ColorHandler.C (getGCForeground): send debug message to GUI
12729 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12731 * kbmap.C (bind): modify because return conventions of
12732 kb_sequence::parse have changed.
12734 * kbsequence.C (parse): only ignore spaces and not any stupid
12735 control character. This avoids tests like s[i] <= ' ', which are
12736 guaranteed to fail with 8bit characters and signed chars.
12737 Change return code to string::npos when there have been no error
12738 (0 was a bad idea when error is at first character)
12740 2001-11-14 José Matos <jamatos@fep.up.pt>
12743 * buffer.C (simpleDocBookOnePar): removed unused argument.
12745 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12747 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12748 insets which are part of a word. Paragraph::isLetter takes care of
12749 that now. Use Paragraph::isInset to identify insets.
12750 (selectSelectedWord): do not test for hyphenation break.
12752 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12753 that protected spaces are considered as spaces.
12755 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12758 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12761 * lyxserver.C: fix it. and small cleanup.
12763 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12765 * BufferView_pimpl.C: use inline helpers
12768 * LaTeXFeatures.C: fix typos
12771 * Spacing.C: move spacing_string into class
12773 * ToolbarDefaults.C: move stuff into namespace anon
12775 * layout.h: update enum
12777 * lyxfunc.C: use better debug
12779 * minibuffer.h: fix typo
12783 * WorkArea.C: add and use Debug::WORKAREA
12787 * text2.C: code re-organisation, inline helpers
12789 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12791 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12792 std::vector.empty().
12794 2001-11-09 Allan Rae <rae@lyx.org>
12796 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12797 '\n's after tables. Tabular and ERT inset work now makes this no
12800 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12803 * minibuffer.C: fix crash, improve drop-down completion
12805 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12808 * lyxserver.C: invalidate fd's when doing endPipe()
12810 2001-11-08 José Matos <jamatos@fep.up.pt>
12812 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12813 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12816 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12818 2001-11-07 José Matos <jamatos@fep.up.pt>
12821 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12824 * buffer.C (sgmlOpenTag):
12825 * buffer.C (sgmlCloseTag): removed debug info.
12827 * buffer.h (sgmlOpenTag):
12828 * buffer.h (sgmlCloseTag): made public.
12830 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12832 * buffer.C (saveParamsAsDefaults):
12833 * lyx_cb.C (MenuLayoutSave): remove
12835 * LyXAction.C (init):
12837 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12839 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12841 * buffer.C (setPaperStuff): removed from here...
12843 * bufferparams.C (setPaperStuff): ... and moved there.
12845 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12849 * XFormsView.C: add support for drop-down completion
12851 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12853 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12856 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12858 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12861 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12863 * lyx_main.C: change ref to known bugs
12865 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12867 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12868 to work around older babel problems.
12870 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12872 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12874 2001-10-24 Juergen Vigna <jug@sad.it>
12876 * tabular-old.C (ReadOld): below variable changes reflected.
12878 * tabular.[Ch]: added ltType struct for longtable header/footer
12879 defines and changed all instances where they are used. Added
12880 future support for double top/bottom rows.
12882 2001-10-24 José Matos <jamatos@fep.up.pt>
12884 * buffer.h (docbookHandleCaption):
12885 * buffer.C (docbookHandleCaption): removed unused function.
12886 (makeDocBookFile): moved docbook supported version to v4.1.
12888 2001-10-24 José Matos <jamatos@fep.up.pt>
12891 * tabular.C (docbookRow): new function to export docbook code of a row.
12892 (DocBook): now honors the longtable flags.
12894 2001-10-23 José Matos <jamatos@fep.up.pt>
12897 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12898 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12900 * buffer.C (makeLinuxDocFile):
12901 (makeDocBookFile): reworked the preamble, more clean, and with
12902 support for lyx defined entities. Changed the document declaration
12903 to be more XML friendly.
12905 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12906 if we need to output XML that should be done with a filter.
12908 2001-10-22 Juergen Vigna <jug@sad.it>
12910 * sp_pspell.h (class PSpell): add alive function needed in the
12911 controller to see if the spellchecker could be started.
12913 2001-10-22 Juergen Vigna <jug@sad.it>
12915 * buffer.C (insertStringAsLines): modify the font for inserting
12916 chars in certain conditions by calling checkInsertChar(font).
12918 2001-10-19 Juergen Vigna <jug@sad.it>
12920 * text.C (workWidth): use getRow instead of wrong algorithm.
12921 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12923 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12928 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12930 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12932 * text.C (workWidth): do not search for the exact row when
12933 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12934 optimization for big documents.
12936 2001-10-18 Juergen Vigna <jug@sad.it>
12938 * text.C (workWidth): new function with added Inset * parameter.
12940 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12942 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12944 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12945 change return type of getColumnNearX.
12948 * text.C (changeRegionCase): use uppercase/lowercase instead of
12951 (rightMargin): simplify code by factoring out the uses of
12956 (appendParagraph): use Paragraph::size_type
12958 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12960 * vspace.C (asLatexString): add a missing break
12962 2001-10-15 Herbert Voss <voss@perce.de>
12964 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12966 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12968 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12971 2001-10-10 André Pönitz <poenitz@gmx.net>
12973 * lyxfunc.C: removed greek_kb_flag.
12975 2001-10-10 Herbert Voss <voss@perce.de>
12977 * lyx_main.C: delete global string help_lyxdir.
12979 2001-10-09 Herbert Voss <voss@perce.de>
12981 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12983 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12985 * lyx_main.C: added global string help_lyxdir.
12987 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12989 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12991 * lyxrc.C (set_font_norm_type): support iso8859-4
12993 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12995 * LaTeX.C (deplog): add another regex for MikTeX
12997 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12999 * lyxrc.C (set_font_norm_type): support iso8859-3
13001 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13003 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13005 * LaTeXFeatures.C: remove special case of french and index
13007 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13008 before \begin{document}). This solves several incompatibilities.
13010 2001-10-03 Garst Reese <reese@isn.net>
13012 * lyx_cb.C: change CheckTex error msg.
13014 2001-10-03 José Matos <jamatos@fep.up.pt>
13016 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13018 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13020 * .cvsignore: update
13022 * lyx_main.C (commandLineVersionInfo): use new style version info.
13024 * buffer.C (writeFile):
13026 (makeLinuxDocFile):
13027 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13029 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13031 * version.h: update to use stuff in version.C
13033 * version.C.in: new file. Contains version information determined
13034 at compile time. This is a merging of version.h and
13037 2001-10-03 Juergen Vigna <jug@sad.it>
13039 * BufferView_pimpl.C (update): don't change "dirty" status in
13042 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13044 * WorkArea.C (c-tor): re-position version string slightly.
13046 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13048 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13049 revert to previous code.
13051 WorkArea.[Ch]: (show, destroySplash): methods removed.
13053 WorkArea.C: rework code so that it's an amalgam of the codes before and
13054 after the splash screen was moved to WorkArea.
13056 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13059 * vspace.C (inPixels):
13062 * buffer.C (insertStringAsLines):
13063 (asciiParagraph): fix types to be large enough
13065 * lyxlex_pimpl.h: change member status from short to int
13067 * layout.h: fix type of endlabeltype
13070 * kbsequence.C (parse): change return type to string::size_type
13072 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13075 * Bullet.C (bulletSize):
13076 (bulletEntry): do not use short ints as parameters
13078 * BufferView2.C (insertLyXFile): change a char to an int.
13080 * WorkArea.C (WorkArea): remove unneeded floats in computation
13082 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13084 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13086 * paragraph.C (asString): Do not ignore newline/hfill chars when
13087 copying to the clipboard.
13089 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13091 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13092 after a multi-line inset.
13094 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13096 * paragraph.C (validate): Set NeedLyXFootnoteCode
13098 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13100 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13101 and decrease-error to decrease.
13103 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13105 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13106 it more readable (should be equivalent)
13108 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13110 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13112 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13114 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13115 of a cursor (row, etc.) after a character has been deleted
13116 (deleteEmptyParagraphMechanism): call the method above on _all_
13117 cursors held by the LyXText when a double space has been
13120 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13122 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13124 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13126 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13127 background. Use greyOut() and the new show() methods to toggle between
13128 the foreground and background. Add code to remove the splash after
13129 its initial showing.
13131 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13132 (create_forms): no longer call Dialogs::showSplash.
13134 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13136 * .cvsignore: add version_info.h
13138 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13140 * version_info.h.in: new file
13142 * Makefile.am: add version_info.h.in
13144 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13145 version_info.h instead of VERSION_INFO
13147 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13149 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13150 The ERT inset now returns string().
13152 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13154 * lyxtext.h, text.C (selectNextWord): renamed as
13155 selectNextWordToSpellcheck.
13157 * text.C (selectNextWordToSpellcheck): Modified to not select
13158 words inside an ERT inset.
13160 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13162 * lyx_cb.C (MenuLayoutSave): change a bit the question
13164 * sp_base.h: include <sys/types.h>
13166 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13168 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13170 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13172 * several files: fix typos in user-visible strings
13174 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13176 * text2.C (pasteSelection): do not set the selection, since it
13177 will be cleared later. Actually, the intent was to fix the way the
13178 selection was set, but I figured rmoving the code was just as good.
13180 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13182 * FontLoader.C (available): Check if font is available without
13185 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13187 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13189 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13191 * lyxrc.[Ch]: added display_graphics variable and associated code.
13193 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13195 * bufferparams.C (hasClassDefaults): new method. Returns true if
13196 the buffer parameters correspond to known class defaults
13198 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13200 * XFormsView.C (show): set minimum size to the main window.
13202 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13204 * text2.C (copySelection):
13206 * lyxfind.C (LyXReplace):
13207 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13208 LyXText::selectionAsString.
13210 * paragraph.C (asString): add "label" argument to the second form
13212 * text2.C (selectionAsString): add "label" argument and pass it to
13213 Paragraph::asString.
13215 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13217 * lyx_main.C (commandLineHelp): remove version information
13219 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13221 * lyx_main.C: add -version commandline option
13223 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13225 * paragraph.h: make the optional constructor arg required instead.
13226 some modifications to other files because of this.
13228 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13230 * lyxserver.C (C_LyXComm_callback): make it static
13232 * lyx_main.C (error_handler): make it static
13234 * lyx_gui.C (LyX_XErrHandler): make it static
13236 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13238 * WorkArea.C: make the extern "C" methods static.
13240 * Makefile.am (lyx_LDADD): simplify
13242 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13244 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13245 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13247 * LyXAction.C (init):
13248 * lyxfunc.C (dispatch): associated code removal.
13250 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13252 * lyxfont.h (isSymbolFont): shut off warning
13254 * text.C (setHeightOfRow):
13255 (getVisibleRow): fix crash with empty paragraphs which have a
13258 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13260 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13263 2001-09-04 José Matos <jamatos@fep.up.pt>
13266 * tabular.C (docbook): rename docBook method to docbook.
13268 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13270 * Makefile.am: add dependencies to main.o.
13272 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13274 * FontLoader.C (available): Return false if !lyxrc.use_gui
13276 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13278 * FontInfo.C (query):
13279 * converter.C (view):
13280 * importer.C (Import):
13281 * exporter.C (Export): Can not -> cannot.
13283 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13285 * BufferView_pimpl.C: allow to create index inset even if
13288 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13290 * buffer.C (getLists): replace boost::tie code with an explicit pair
13291 as boost::tie can break some compilers.
13293 * iterators.h: Added a std:: declaration to the return type of
13296 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13298 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13301 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13303 * iterators.[Ch]: New files. Provide paragraph iterators.
13305 * buffer.C (changeLanguage): Use paragraph iterators.
13306 (isMultiLingual): ditto
13308 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13310 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13312 * FontLoader.C: Support for cmr font.
13314 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13316 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13317 (available): New method.
13319 * FontInfo.C (getFontname): Use scalable fonts even when
13320 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13323 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13325 * converter.C (Formats::view): reverted! Incorrect fix.
13327 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13329 * converter.C (Formats::view): only output the -paper option
13330 if the dvi viewer is xdvi, thereby fixing bug #233429.
13332 2001-08-23 Herbert Voss <voss@perce>
13334 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13336 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13338 * Spacing.h (Spacing): Set space to Default on in the default
13341 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13343 * vc-backend.h (RCS::versionString): add RCS to version
13344 (CVS::versionString): add CVS to version
13346 * vc-backend.C (scanMaster): do not add CVS to version.
13347 (scanMaster): do not add RCS to version
13349 * lyxvc.C (versionString): new method
13351 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13353 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * Spacing.C (set): initialize fval
13357 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13359 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13362 2001-08-16 Juergen Vigna <jug@sad.it>
13364 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13366 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13368 * BufferView_pimpl.C:
13371 * text2.C: setParagraph takes linespacing now
13373 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13375 * LyxAction.C: add internal LFUN_CITATION_INSERT
13377 * LyXView.C: actually apply fix
13379 * bufferlist.C: fix open non-existent file
13381 * lyxfind.C: fix indentation
13383 * lyxfunc.C: remove unneeded assert, fix typo
13385 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13387 * MenuBackend.C: use "Floatname List"
13389 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13391 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13392 when converting LaTeX layout to insetERT.
13393 Generate a non-collapsed float when reading old float
13395 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13397 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13400 2001-08-13 Juergen Vigna <jug@sad.it>
13402 * text.C (fill): return 0 instead of 20 as this seems to be the more
13405 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13407 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13410 2001-08-13 Juergen Vigna <jug@sad.it>
13412 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13414 (SearchBackward): comment out the unlocking of the inset_owner this
13415 should not be needed!
13417 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13419 * Many files: Remove inherit_language, and add latex_language
13421 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13422 collapsible insets.
13424 2001-08-10 Juergen Vigna <jug@sad.it>
13426 * text.C (prepareToPrint): fixed hfill-width in draw!
13428 * BufferView2.C (selectLastWord): save the selection cursor as this
13429 now is cleared in the function LyXText::clearSelection!
13431 2001-08-08 Juergen Vigna <jug@sad.it>
13433 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13434 BACKSPACE type functions.
13436 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13437 is only cutted from the document but not put in the cut-buffer, where
13438 still the old stuff should be.
13440 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13442 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13444 * tabular.C (SetWidthOfCell): fixed special case where the width
13446 (LeftLine): handle '|' in align_special.
13448 (LeftAlreadyDrawed): ditto
13449 (SetWidthOfCell): ditto
13451 2001-08-07 Juergen Vigna <jug@sad.it>
13453 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13455 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13457 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13458 * lyxlex.[hC]: ditto
13460 2001-08-06 Juergen Vigna <jug@sad.it>
13462 * text.C (getVisibleRow): fix up row clearing a bit.
13464 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13466 * minibuffer.C: make sure the X server sees the changes in the input.
13468 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13470 * paragraph.C (getFont): split into...
13471 (getLabelFont): this
13472 (getLayoutFont): and this
13473 * paragraph_pimpl.C (realizeFont): calling this
13475 * text2.C (getFont): split into...
13476 (getLayoutFont): this
13477 (getLabelFont): and this
13478 (realizeFont): all three calling this
13480 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13483 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13485 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13487 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13489 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13490 layouts from the Quote inset insertion.
13492 2001-08-03 Juergen Vigna <jug@sad.it>
13494 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13496 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13497 only if status not is already CHANGED_IN_DRAW (second level).
13499 * text.C (draw): don't set the need_break_row when inside an
13502 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13504 * buffer.C (parseSingleLyXformat2Token): handle more latex
13507 * bufferview_funcs.[hC]: change function names to
13508 begin with small char, adjust other files.
13510 2001-08-02 André Pönitz <poenitz@gmx.net>
13513 BufferView_pimpl.C: remove broken special code for math-greek
13515 2001-08-02 Juergen Vigna <jug@sad.it>
13517 * BufferView_pimpl.C (update): redone this function so that we
13518 update the text again if there was a CHANGE_IN_DRAW.
13520 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13521 (drawFromTo): added a new internal bool which is used by draw() and
13523 (general): some cursor drawing problems fixed.
13525 2001-08-01 Juergen Vigna <jug@sad.it>
13527 * lyxfind.C (LyXFind): fixed
13528 (SearchForward): ditto
13529 (SearchBackward): ditto
13531 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13532 spurius drawing of the cursor in the main area.
13534 * text2.C (status): small fix which could lead to a segfault!
13535 (clearSelection): remove unneeded BufferView param.
13537 2001-08-01 André Pönitz <poenitz@gmx.net>
13539 * lyxfunc.C: small change due to changed mathed interface
13541 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13543 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13545 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13547 * lyxfunc.c: fail gracefully if file doesn't exist
13552 * BufferView_pimpl.C: IsDirWriteable() proto changed
13554 * LyXView.C: fix updateWindowTitle() to store the last title
13556 2001-07-31 Juergen Vigna <jug@sad.it>
13558 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13559 the font (wrong since using of Paragraph::highestFontInRange).
13561 * paragraph.C (highestFontInRange): added a default_size parameter.
13563 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13564 (setHeightOfRow): reformat
13566 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13568 * converter.[hC] + affected files: move to (inital-char)lowercase
13571 * ParagraphParameters.C (ParagraphParameters): remove commented code
13573 * PainterBase.[Ch]: remove commented code
13575 * LaTeXFeatures.h: add "bool floats" for float.sty
13577 * LaTeXFeatures.C (LaTeXFeatures): init floats
13578 (require): handle float
13579 (getPackages): do it with floats
13581 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13583 * BufferView_pimpl.C (Dispatch): improve handling of
13584 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13586 * commandtags.h: #include lyxfont.h here temporarily to avoid
13589 * bufferlist.h: include LString.h here.
13591 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13593 * text2.C (getStringToIndex): new method.
13595 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13597 * *: Reduced header file dependencies all over.
13599 2001-07-30 Baruch Even <baruch@lyx.org>
13601 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13603 2001-07-29 Baruch Even <baruch@lyx.org>
13605 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13607 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13609 * ParameterStruct.h (endif): add a default constructor to make
13610 sure that all variables is initialized.
13612 * ParagraphParameters.C (ParagraphParameters): adjust
13614 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13616 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13617 index; also, check that there is something to index, and that it
13618 does not span over several paragraphs.
13619 (doubleClick): use WHOLE_WORD_STRICT for double click.
13621 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13623 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13626 2001-07-26 Baruch Even <baruch@lyx.org>
13628 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13629 an InsetFig figure, backwards compatible reading of old figure code.
13631 2001-07-27 Juergen Vigna <jug@sad.it>
13633 * text2.C: font.realize function adaption.
13635 * text.C (draw): add a warnings lyxerr text if needed.
13637 * layout.C: font.realize function adaption.
13639 * language.C: add inherit_language and implement it's handlings
13641 * bufferview_funcs.C (StyleReset): remove language parameter from
13642 font creation (should be language_inherit now).
13644 * bufferparams.C (writeFile): handle ignore_language.
13646 * paragraph.C (getFontSettings): the language has to be resolved
13647 otherwise we have problems in LyXFont!
13649 * lyxfont.C (lyxWriteChanges): added document_language parameter
13650 (update): removed unneeded language parameter
13652 * paragraph.C (validate): fixed wrong output of color-package when
13653 using interface colors for certain fonts in certain environments,
13654 which should not seen as that on the final output.
13656 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13658 * BufferView_pimpl.C:
13663 * LyXAction.C: add thesaurus support
13666 * lyxfind.C: add "once" parameter, for thesaurus, to not
13667 move to the next match
13669 2001-07-26 Juergen Vigna <jug@sad.it>
13671 * lyxfont.C (realize): honor ignore_language too!
13674 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13676 * text.C (draw): one place more for ignore_language to not draw
13679 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13681 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13683 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13685 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13686 the minipage conversion problem.
13688 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13690 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13693 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13695 * BufferView.h: don't forward declare WorkArea
13697 * BufferView.C: don't include WorkArea.h
13699 2001-07-25 André Pönitz <poenitz@gmx.net>
13703 * lyxfunc.C: new LFUN 'math-space'
13705 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13707 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13709 * text2.C (toggleInset): call open/close
13711 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13713 * lyxfunc.C (dispatch): add debug for the disabled case
13715 * font.C (buttonText): make similar to rectText
13717 * buffer.C (readInset): comment out parsing of insetlist and
13720 * PainterBase.C (rectText): small correction
13722 * BufferView_pimpl.C: comment out insettheorem and insetlist
13723 * LyXAction.C: ditto
13724 * commandtags.h: ditto
13726 2001-07-24 Juergen Vigna <jug@sad.it>
13728 * text.C (draw): honor the ignore_language.
13730 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13732 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13734 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13737 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13739 * lyxtext.h: remove unused (and unimplemented) methods
13741 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13743 * text.C (getVisibleRow): honor background color
13746 * Painter.h: remove default color argument for fillRectangle
13748 * text.C (backgroundColor): new method
13750 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13752 * text.C (getVisibleRow): adjust
13754 * font.[Ch] (rectText): new method, metrics
13755 (buttonText): new method, metrics
13757 * PainterBase.[hC]: make rectText and buttonText always draw and take
13760 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13762 * ToolbarDefaults.C (read):
13763 * MenuBackend.C (read): allow escaping in all strings
13765 * BufferView_pimpl.C (insertAndEditInset): new method.
13766 (Dispatch): use insertAndEditInset whenever appropriate.
13768 * BufferView_pimpl.C (insertNote): removed
13770 * BufferView_pimpl.C (smartQuote): new method, moved from
13771 BufferView; if an insetquote cannot be inserted, insert a '"'
13774 * BufferView2.C: remove insertCorrectQuote();
13776 * lyxfunc.C (getStatus): Add support for all remaingin
13777 inset-insert lfuns.
13779 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13781 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13782 command (necessary to pass " as parameter of self-insert.
13784 * text.C (selectWordWhenUnderCursor):
13785 (selectWord): add word_location parameter
13786 (selectWordWhenUnderCursor): same + remove special code for word
13788 (selectNextWord): use kind() to guess type of insetspecialchar,
13791 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13792 (insertErtContents): create ert insets as collapsed.
13793 (readInset): better compatibility code for Info inset.
13795 2001-07-20 Juergen Vigna <jug@sad.it>
13797 * lyxfunc.C (dispatch): use always LyXFind now!
13799 * text2.C (init): add a reinit flag so that the LyXText can be
13800 reinited instead of deleted and reallocated (used in InsetText).
13802 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13808 2001-07-18 Juergen Vigna <jug@sad.it>
13810 * text.C (selectNextWord): handle insets inside inset by calling
13811 always the bv->text functions so that we can go up the_locking_inset!
13813 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13814 in strange locations when inside an inset!
13816 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13817 handling to include insets.
13819 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13821 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13823 * LyXAction.C (init):
13825 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13826 LIGATURE_BREAK, since the name is so stupid.
13828 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13830 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13833 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13835 * sp_form.[Ch]: remove.
13837 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13839 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13842 * src/buffer.C (readInset): ditto.
13844 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13846 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13847 menuSeparator(), endOfSentenceDot(), ldots() and
13848 hyphenationPoint(), which are therefore removed.
13849 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13851 * LyXAction.C (init):
13852 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13854 * paragraph.C (getWord): removed.
13856 * BufferView_pimpl.C (Dispatch): use last word or selection for
13857 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13859 * lyx_main.C (queryUserLyXDir): do not ask before creating
13860 user_dir, except if it has been named explicitely.
13862 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13864 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13865 a document of zero size.
13867 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13869 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13870 approriately in the c-tor and in require().
13871 (getPackages): output the appropriate LaTeX for natbib support.
13873 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13874 variables "use_natbib" and "use_numerical_citations" when reading the
13876 (readInset): read the various natbib cite commands.
13877 (validate): white-space change.
13879 * bufferparams.[Ch]: new variables "bool use_natbib" and
13880 "bool use_numerical_citations".
13881 (writeFile): output them in the LyX file.
13883 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13885 * lyxfunc.C (getStatus): add support for all the inset insertion
13888 * text2.C (insertInset):
13889 * paragraph.C (insetAllowed):
13890 * BufferView_pimpl.C (insertInset): update to take in account the
13891 renaming of insertInsetAllowed
13893 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13895 * text2.C (getInset): new method. returns inset at cursor position.
13897 * BufferView_pimpl.C (Dispatch): changes because of this.
13899 * LyXAction.C (init): rename open-stuff to inset-toggle.
13901 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13903 * text2.C (toggleInset): renamed from openStuff; use
13906 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13908 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13910 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13912 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13914 * buffer.C (readLyXformat2): Add filename to the error dialog
13916 2001-07-18 Juergen Vigna <jug@sad.it>
13918 * tabular.C (GetCellNumber): put an assert here instead of the check!
13920 2001-07-17 Juergen Vigna <jug@sad.it>
13922 * BufferView_pimpl.C (toggleSelection): adapted too.
13924 * text.C (selectNextWord): adapted for use with insets.
13925 (selectSelectedWord): ditto
13927 2001-07-17 Juergen Vigna <jug@sad.it>
13929 * sp_spell.C (PSpell): fix initialitation order.
13931 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13933 * paragraph.C: spacing
13935 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13937 * sp_spell.C: repair language selection for pspell
13939 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13941 * lyxfunc.h: change more methods to begin with lower char.
13943 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13945 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13946 for unknown layouts.
13948 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13950 * buffer.C (readLyXformat2): Generate an error dialog if there are
13953 2001-07-16 Juergen Vigna <jug@sad.it>
13955 * sp_spell.C: always compile ISpell part.
13957 * lyxrc.C: added use_pspell entry and it's handling.
13959 2001-07-13 Juergen Vigna <jug@sad.it>
13961 * sp_spell.C: removed double includes.
13963 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13965 Consistent use of Lsstream.h:
13966 * Lsstream.h: added using std::stringstream for consistencies sake.
13968 * buffer.C: removed using std::stringstream
13970 * lyxfont.C (stateText):
13971 * paragraph.C (asString):
13972 * text.C (selectNextWord, selectSelectedWord):
13973 * text2.C (setCounter):
13974 * vspace.C (asString, asLatexString):
13975 std::ostringstream -> ostringstream.
13977 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13979 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13980 * commandtags.h: add LFUN_HELP_ABOUTLYX
13981 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13983 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13985 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13987 * lyx_gui_misc.C: remove spellchecker
13988 * lyxfunc.C: showSpellchecker
13990 * sp_ispell.h: added
13991 * sp_pspell.h: added
13992 * sp_spell.C: added
13993 * sp_form.[Ch]: removed
13994 * spellchecker.[Ch]: removed
13996 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13998 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14000 (simpleTeXSpecialChars): Simply print the input character without
14001 any special translation if pass_thru is set.
14003 * layout.h: Added bool pass_thru to layout class for being able to
14004 implement pass through of a paragraph for Literate Programming.
14006 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14007 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14008 * layout.C (Read): add "passthru" to list of layout tags and add
14009 code to set the pass_thru boolean when it is read.
14011 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14013 * trans_decl.h: remove allowed from KmodInfo
14015 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14016 remove allowed code
14019 * paragraph_pimpl.C (erase): use boost::prior
14021 * Painter.C (text): use data() instead of c_str() when length is
14023 * WorkArea.C (putClipboard): ditto
14024 * font.h (width): ditto
14026 * BufferView2.C: use it-> instead of (*it). for iterators
14028 * paragraph_pimpl.C: ditto
14029 * paragraph.C: ditto
14030 * minibuffer.C: ditto
14031 * language.C: ditto
14033 * encoding.C: ditto
14034 * counters.C: ditto
14035 * converter.C: ditto
14037 * Variables.C: ditto
14038 * TextCache.C: ditto
14039 * MenuBackend.C: ditto
14040 * LyXAction.C: ditto
14042 * FloatList.C: ditto
14043 * DepTable.C: ditto
14044 * ColorHandler.C (LyXColorHandler): ditto
14046 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14048 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14050 * text2.C (openStuff): reintroduce this method (which had been
14051 nuked in NEW_INSETS frenzy).
14053 * lyxfunc.C (Dispatch): when an action has not been handled, use
14054 its name in the error message, not its number.
14056 * paragraph.C (inInset): change method name to begin with lowercase.
14059 * text2.C: updates because of this.
14061 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14063 * ToolbarDefaults.C (add): add spaces in error message
14065 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14067 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14068 (readLyXformat2): rename return_par to first_par, use lyxlex's
14069 pushToken and remove the manual push handling.
14070 (parseSingleLyXformat2Token): add another ert comp. variable:
14071 in_tabular, rename return_par to first_par. handle newlines better
14073 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14075 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14077 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14079 * text2.C (getParFromID): removed
14081 * buffer.C (getParFromID): new method moved form lyxtext.
14082 * BufferView2.C (insertErrors): adjust
14083 (setCursorFromRow): adjust
14084 * BufferView_pimpl.C (restorePosition): adjust
14085 * lyxfunc.C (Dispatch): adjust
14086 * undo_funcs.C (textUndo): adjust
14088 (textHandleUndo): adjust
14089 (textHandleUndo): adjust
14091 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14093 * buffer.C: up' the LYX_FORMAT
14095 * lyxfont.h: turn NO_LATEX on as default
14097 * buffer.C (insertErtContents): new methods of tex style compability.
14098 (parseSingleLyXformat2Token): use it several places.
14099 * tabular.C (OldFormatRead): and here
14101 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14103 * text2.C: remove some commented code.
14106 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14107 * trans.C: changes because of the above.
14109 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14111 * text2.C (setCounter): Fix counters bug with bibliography layout.
14113 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14115 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14116 own member functions
14117 (simpleTeXSpecialChars): ditto
14119 2001-07-06 Juergen Vigna <jug@sad.it>
14121 * a lot of files: changed the access to LyXText::status and the
14122 call of undo-functions.
14124 * undo.[Ch]: added a inset_id to the undo informations.
14126 * undo_funcs.[Ch]: added and moved here all undo functions.
14128 * lyxtext.h: give the status enum a weight, made status_ a private
14129 variable and made accessor functions for it, removed the whole bunch
14130 of undo-functions as they are now in their own file, make some
14131 functions publically available. Added function ownerParagraph with
14134 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14135 made InInset() a const function, added getParFromID() function.
14137 * buffer.[Ch]: added const version for inset_iterator functions,
14138 added getInsetFromID() function.
14140 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14141 changed undo functions for new version.
14143 2001-07-05 Juergen Vigna <jug@sad.it>
14145 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14146 unknow mechanism does not call the proper constructor but only this
14147 one also if I request the other!?
14149 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14151 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14153 * text2.C (LyXText): use initialization lists.
14155 * lyxtext.h (Selection): initialize set_ and mark_
14156 (init): remove method
14158 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14160 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14162 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14164 * screen.[Ch]: change method names to begin with lowercase
14166 * BufferView_pimpl.C (updateScrollbar): simplify further and
14167 hopefully make it a bit faster.
14169 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14171 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14172 calling directly xforms functions.
14174 * Painter.C (Painter):
14175 * lyx_cb.C (MenuWrite):
14176 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14179 * lyx_gui.C: remove bogus guiruntime extern declaration.
14181 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14183 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14185 (redoDrawingOfParagraph): ditto
14186 (redoParagraphs): ditto
14187 (cutSelection): don't create a object for CutAndPaste use the
14188 static method directly
14189 (pasteSelection): ditto
14191 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14194 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14196 * modifications to some other files because of this.
14198 * Makefile.am (lyx_SOURCES): add XFormsView
14200 * XFormsView.[Ch]: new files
14202 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14203 the main window. Move the gui dependent stuff to XFormsView
14205 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14207 * tabular.C (GetCellInset): update cur_cell also in the row/col
14208 version of this function.
14210 * lyxfunc.C: no need to include figure_form.h here.
14216 * lyxvc.C: no need to include forms.h here.
14218 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14220 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14222 * lyxfunc.C (Dispatch):
14224 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14225 constructor argument.
14227 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14229 * paragraph.C (Paragraph): dont't clear, and just set layout.
14230 (makeSameLayout): use params's copy contructor.
14232 * ParagraphParameters.[Ch] (makeSame): delete method
14234 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14236 * Variables.[Ch]: fix indentation, rename set to isSet
14238 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14240 * lyxfunc.C (Dispatch): fix typo
14242 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14244 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14247 * bufferlist.C: include assert.h for emergencyWrite().
14249 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14251 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14252 give up at last (bug #425202) !
14254 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14260 * spellchecker.C: strip spellchecker options and bring up
14261 preferences tab instead
14263 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14265 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14266 the istringstream constructor
14268 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14270 * paragraph.C (getLayout): fix return value
14272 * paragraph.h: do not declare getLayout as inline.
14274 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14276 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14278 * lyxcursor.h (operator<): new func
14279 (operator>): new func
14280 (operator>=): new func
14281 (operator<=): new func
14283 * text.C (changeCase): use selection.start and selection.end
14284 (changeRegionCase): require from to be <= to. Require par to be a
14287 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14289 2001-06-27 Juergen Vigna <jug@sad.it>
14291 * text.C (cursorLeftOneWord): changed to return the cursor and added
14292 overlay with BufferView * parameter which calls this one.
14294 (selectWord): use new getWord function.
14295 (changeCase): renamed from changeWordCase as and extended to work
14296 also on selections.
14298 * lyxtext.h: added enum word_location
14300 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14301 changeCase as this operates now also on selections.
14303 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14305 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14307 * many files: send debug output to Debug::INFO instead of
14310 * converter.C (View):
14312 (Move): send debug output to Debug::FILES instead of console.
14314 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14316 * lyxfunc.C (getStatus): use func_status
14318 * func_status.h: new header, describing the results of
14319 LyXFunc::getStatus;
14321 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14324 2001-06-25 The LyX Project <jug@sad.it>
14326 * buffer.C (sgmlOpenTag):
14328 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14330 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14332 * text2.C: remove some dead code
14334 * tabular.C (GetCellInset): store the last cell checked (gotten)
14336 * tabular.h: add the helper for the speedup
14338 * lyxtext.h: remove some dead code
14340 2001-06-26 The LyX Project <Asger>
14342 * paragraph.C: Change export to LaTeX of alignment to
14343 \begin{center} and family for better roundtrip work with reLyX.
14345 * Tune the math drawing a bit.
14347 2001-06-25 The LyX Project <Asger>
14349 * LColor.C (LColor): New color for math background. New color
14352 2001-06-25 The LyX Project <jug@sad.it>
14354 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14356 * lyxfunc.C (Open):
14357 * bufferlist.C (newFile): do not restrict to files ending with
14360 * BufferView_pimpl.C (MenuInsertLyXFile):
14362 2001-06-24 The LyX Project <jug@sad.it>
14364 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14367 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14369 * lyxtext.h: rename most methods to begin with a small char.
14370 Lots of changes because of this.
14372 * paragraph.C (Paragraph): do not call fitToSize
14373 (erase): call Pimpl::erase
14374 (insertChar): call Pimpl::insertChar
14375 (insertInset): call Pipl::insertInset
14376 (breakParagraph): do not call fitToSize
14377 (breakParagraphConservative): do not call fitToSize
14378 (fitToSize): remove method
14380 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14382 2001-06-24 The LyX Project <Asger>
14384 * Fix Qt compilation^2
14386 2001-06-24 The LyX Project <jug@sad.it>
14388 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14389 depthHook(getDepth()-1).
14392 * ParagraphParameters.h:
14393 * ParameterStruct.h: change type of depth to unsigned int ==
14394 depth_type. Many adaptations to other files before of that.
14396 2001-06-24 The LyX Project <Asger>
14398 * Fix Qt compilation.
14400 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14402 * paragraph.h: renamed several methods to begin with small letter.
14403 several changes to many parts of the code because of this.
14405 2001-06-23 The LyX Project <jug@sad.it>
14407 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14408 rewritten to discard all double spaces when KeepEmpty is off
14409 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14410 to only handle newlines but not fiddle with spaces and friends.
14412 * lyxfunc.C (MenuNew): when doing 'new from template', use
14413 template_path as default directory
14415 2001-06-23 The LyX Project <Asger>
14417 * Clean-up of header file includes all over
14418 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14420 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14422 * paragraph.h: renamed from lyxparagraph.h
14424 2001-06-23 Asger <lyx@violet.home.sad.it>
14426 * Buffer.h: Removed Buffer::resize
14427 * BufferList.h: Removed BufferList::resize
14428 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14429 the document lazily when we change the width, or the font settings.
14431 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14433 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14435 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14437 * buffer.h: remove out of date comment
14439 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14442 * screen.C: fix "theoretical" GC leak
14444 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14446 * LaTeX.C (scanAuxFile):
14447 (deplog): remove trailing \r when reading stream (useful under
14450 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14452 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14453 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14454 and BufferView::theLockingInset(Inset*), so should use them and not
14455 access bv_->text->the_locking_inset directly.
14457 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14459 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14462 * tex-defs.h: remove old unused file
14464 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14466 * BufferView_pimpl.C: fix typo, remove minibuffer message
14467 when buffer has loaded
14469 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14471 * lyxfunc.C (Dispatch): use stringstream
14472 (MenuNew): use stringstream
14473 (Open): use stringstream
14475 * importer.C (Import): use stringstream
14477 * bufferview_funcs.C (CurrentState): use stringstream
14479 * LaTeX.C (run): use stringstream
14481 * BufferView_pimpl.C (savePosition): use stringstream
14482 (restorePosition): use stringstream
14483 (MenuInsertLyXFile): use stringstream
14485 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14498 * vspace.C: removed // -*- C++ -*- as first line.
14501 * version.h: added // -*- C++ -*- as first line.
14503 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14505 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14507 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14510 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14512 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14515 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14517 * gettext.C: include LString.h even when --disable-nls is on.
14519 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14521 * converter.h (Get): changed argument type from int to
14522 FormatList::size_type to avoid unnecessary conversion.
14524 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14527 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14529 * gettext.h: include LString.h even when --disable-nls is on.
14531 2001-06-07 Juergen Vigna <jug@sad.it>
14533 * text.C (BreakAgain): subst spaces with tabs.
14535 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14536 (resizeInsetsLyXText): set force on resizeLyXText.
14538 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14540 * gettext.h (gettext_init):
14541 (locale_init): use a real definition instead of a macro
14543 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14545 * Bufferview_pimpl.C:
14547 * LColor.C: further lcolor tidies
14549 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14551 * BufferView_pimpl.C (updateScrollbar): simplify.
14553 * BufferView2.C: don't include insets/insetinfo.h, change
14554 prototype for insertInset and call the Pimpl version. let
14555 updateInset call Pimpl version.
14557 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14558 gotoInset to BufferView::Pimpl
14560 2001-06-01 Juergen Vigna <jug@sad.it>
14562 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14563 inside a LockingInset (is the update needed at all?).
14565 2001-05-31 Juergen Vigna <jug@sad.it>
14567 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14568 here not the old one otherwise how should we compare it afterwards
14571 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14576 * FontInfo.C: bring C functions into global namespace when
14579 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14581 * LString.h: make sure config.h has been loaded before LString.h.
14583 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14584 (one for each char read by EatLine!).
14586 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14589 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14591 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14592 to the same as the par we break from
14594 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14596 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14598 * MenuBackend.C (expand): also create menu entries for wide
14599 versions of the floats.
14601 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14603 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14605 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14606 frontends/Makefile.am
14612 * tabular.C (getTokenValue): add std::
14614 * tabular-old.C (getTokenValue): add std::
14615 (getTokenValue): ditto
14616 (getTokenValue): ditto
14618 * screen.C (ToggleSelection): adjust
14620 * lyxtext.h: put selection cursors inside a Selection struct.
14622 * lyxfunc.C (moveCursorUpdate): adjust
14624 * lyxfont.C (latexWriteStartChanges): add std::
14626 * lyxfind.C: adjust
14628 * font.h: delete with(char const *, LyXFont const &)
14630 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14632 * FontInfo.C (getFontname): add std::
14634 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14635 (workAreaButtonPress): adjust
14636 (tripleClick): adjust
14638 (moveCursorUpdate): adjust
14641 * BufferView2.C (gotoInset): adjust
14643 2001-05-30 Juergen Vigna <jug@sad.it>
14645 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14646 to check pspell I add this as default as I now have new pspell
14647 libraries and they seem to use this.
14649 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14651 * text2.C (CutSelection): make the cursor valid before the call to
14654 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14656 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14657 relied on 0 terminated strings and other horrors. Bug found due to
14658 the new assert in lyxstring!
14660 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14663 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14665 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14668 * lyxfunc.C (processKeySym): change method of getting to the
14671 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14672 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14673 * BufferView_pimpl.[Ch]: here as private methods.
14675 2001-05-28 Juergen Vigna <jug@sad.it>
14677 * text.C (SetHeightOfRow): added the update() call again as it is
14678 needed to initialize inset dimensions!
14680 2001-05-16 Juergen Vigna <jug@sad.it>
14682 * text2.C (SetCharFont): Add new function with BufferView * and
14683 bool toggleall parameters for setting insets internal fonts.
14684 (SetFont): Freeze the undo as we may change fonts in Insets and
14685 all this change should be inside only one Undo!
14687 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14688 setting font's in insets as for them we have the SetFont function!
14690 2001-05-15 Juergen Vigna <jug@sad.it>
14692 * text2.C (ClearSelection): to be sure we REALLY don't have any
14695 * tabular.C (TeXCellPreamble): fixed the left border problem for
14698 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14700 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14703 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14705 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14706 LFUN_BREAKPARAGRAPH.
14708 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14709 help test to "internal only", similar for LFUN_INSERT_URL
14711 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14712 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14713 auto_region_delete and deadkeys.
14715 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14718 * LColor.C: remove some dead entries, tidy a little
14720 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14722 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14724 (Dispatch): implement LFUN_ESCAPE
14726 * commandtags.h: add LFUN_ESCAPE
14728 * LyXAction.C (init): add entry for LFUN_ESCAPE
14730 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14731 Remove commented code.
14732 (insertNote): moved here
14733 (open_new_inset): moved here
14735 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14738 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14740 * kbmap.C (findbinding): clean it up and make it work correctly.
14742 * lyx_main.C (init): do not pass argc and argv as parameters
14744 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14746 * buffer.C: fix path for OS/2 & Win32
14750 * lyx_main.C: Added os:: class.
14752 * os2_defines.h: update
14754 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14756 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14757 better by trying again with reduced state.
14759 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14761 * lyxrc.C (read): print error about invalid key sequence only when
14762 debugging (because not all latinX keysyms are known to some X
14765 * kbsequence.C (getiso): add a few std:: qualifiers
14766 (getiso): comment out extra return statement.
14768 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14770 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14772 (Dispatch): enhance the accent inset a bit. (not perfect)
14774 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14776 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14778 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14780 * bufferlist.C (emergencyWrite): fix assert() call
14782 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14784 * text.C (InsertChar): Added trivial patch to only send the "you
14785 can not do multiple spaces this way" message once during a
14788 2001-05-08 Baruch Even <baruch@lyx.org>
14790 * Makefile.am: Changed order of libraries to get LyX to link properly
14791 with the gnome frontend.
14793 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14795 * LaTeXFeatures.h: add a std:: qualifier
14797 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14799 * paragraph.C (String): use stringstream
14801 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14803 * paragraph.C (writeFile): remove footflag arg
14805 * buffer.C (makeLaTeXFile): use stringstream
14806 (latexParagraphs): remove footnot gurba
14808 * LaTeXFeatures.C (getPackages): use stringstream
14809 (getMacros): likewise
14810 (getTClassPreamble): likewise
14811 (getFloatDefinitions): new method
14813 * paragraph.C (writeFile): reindent
14816 * WorkArea.h: revert the xpos + etc changes.
14818 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14820 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14822 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14823 (pasteSelection): likewise
14824 * text2.C (CreateUndo): likewise
14826 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14828 * minibuffer.C (peek_event): temporarily reduce the functionality
14829 of the minibuffer (to allow args on lfuns)
14831 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14832 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14834 * buffer.C (readInset): add compability reading of old float
14835 lists, add reading of new style float list.
14836 (readInset): avoid reevaluation of inscmd.getCmdName()
14837 (getLists): reindent
14839 * MenuBackend.C (MenuItem): implement parsing of
14840 md_floatlistinsert and md_floatinsert.
14841 (expand::LastFiles): move initalizaton of iterators out of loop,
14842 avoid reevaluation.
14843 (expand::Documents): introduce typdedef vector<string> Strings,
14845 (expand::ExportFormats): introduce typedef vector<Format const *>
14846 Formats, and use it.
14847 (expand): implement FloatListInsert and FloatInsert.
14849 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14850 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14851 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14853 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14855 (Dispatch::LFUN_FLOAT_LIST): implement
14857 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14859 * LaTeX.C (run): Fix problem with --export code.
14861 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14863 * BufferView.[Ch] (workarea): removed.
14864 (getClipboard) new method; wrapper for workarea()->getClipboard()
14866 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14869 * WorkArea.h (width, height, xpos, ypos): These methods all
14870 returned the dimensions of the work_area sub-area of WorkArea,
14871 resulting in a position error if the WorkArea were resized. Now
14872 return the dimensions of the entire WorkArea.
14874 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14876 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14878 * LaTeX.C (deplog): correct the syntax of regex reg1
14880 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14882 * undo.C: remove !NEW_INSETS cruft
14884 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14886 * text2.C: remove !NEW_INSETS cruft
14888 * text.C: remove !NEW_INSETS cruft
14890 * tabular.C: remove !NEW_INSETS cruft
14892 * spellchecker.C: remove !NEW_INSETS cruft
14894 * lyxtext.h: remove !NEW_INSETS cruft
14896 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14898 * lyxfunc.C: remove !NEW_INSETS cruft
14900 * lyxfind.C: remove !NEW_INSETS cruft
14902 * lyx_cb.C: remove !NEW_INSETS cruft
14904 * figureForm.C: remove !NEW_INSETS cruft
14906 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14908 * buffer.[Ch]: remove !NEW_INSETS cruft
14910 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14912 * CutAndPaste.C: remove !NEW_INSETS cruft
14914 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14916 * BufferView2.C: remove !NEW_INSETS cruft
14918 * BufferView.h: remove !NEW_INSETS cruft
14920 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14922 * Lsstream.h: include LString.h before the sstream headers to
14923 fix problem with gcc 2.95.3 and lyxstring
14925 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14927 * lyx_main.C: add using directives when needed for C functions
14928 declared in std:: namespace.
14930 2001-04-27 Juergen Vigna <jug@sad.it>
14932 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14933 (SetHeightOfRow): comment out the update call should not be needed!
14935 2001-04-13 Juergen Vigna <jug@sad.it>
14937 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14938 (LyXTabular): tried to minimize operator= operations (and realized
14939 hopfully Lars wish).
14941 2001-04-27 Juergen Vigna <jug@sad.it>
14943 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14945 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14947 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14949 * buffer.C (readInset): hack to make listof algorithm work
14951 * BufferView_pimpl.C: hack to make listof algorithm work
14953 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14955 * LyXAction.C: removed all !NEW_INSETS cruft
14956 (init): moved lfun_item in method
14958 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14960 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14962 * BufferView2.C (theLockingInset): white space.
14964 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14966 * minibuffer.C: include <iostream>
14968 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14970 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14972 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14974 * text.[Ch] (TransposeChars): new method
14976 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14978 * call message directly through LyXView instead of through LyXFunc
14979 * BufferView2.C: adjust
14980 * BufferView_pimpl.C: adjust
14981 * FontLoader.C: adjust
14983 * bufferview_funcs.C: adjust
14984 * converter.C: adjust
14985 * figureForm.C: adjust
14986 * importer.C: adjust
14988 * lyx_gui_misc.C: adjust
14989 * lyxfunc.C: adjust
14992 + more files in subdirs
14994 * lyxparagraph.h (size): move up int file
14997 * adjust all uses of Assert to lyx::Assert.
14999 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15000 lyxfunctional in namespace lyx
15001 * layout.C (hasLayout): ditto
15004 (delete_layout): ditto
15005 (NumberOfClass): ditto
15006 * converter.C (GetFormat): ditto
15011 * bufferlist.C (getFileNames): ditto
15012 (emergencyWriteAll): ditto
15015 * MenuBackend.C (hasSubmenu): ditto
15018 * BufferView_pimpl.C (getInsetByCode): ditto
15020 2001-04-18 Juergen Vigna <jug@sad.it>
15022 * vspace.C (asLatexString): fixed the 100% problem.
15024 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15026 * lyxfunc.C (Dispatch):
15028 * minibuffer.h: add a few std:: qualifiers
15030 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15032 * minibuffer.[Ch]: reimplement so that commands is initiated and
15033 run from lyxfunc, simplified som handling, and made the completion
15034 and history code for complete. wip.
15036 * lyxfunc.C (processKeySym): call message
15037 (miniDispatch): new temporary method
15038 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15039 (LFUN_MESSAGE): implement
15040 (LFUN_MESSAGE_PUSH): implement
15041 (LFUN_MESSAGE_POP): implement
15042 (initMiniBuffer): the initial/defualt minibuffer message.
15044 * lyxfont.[Ch]: inline some more getters
15046 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15048 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15050 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15051 (AutoSave): use LFUN_MESSAGE
15052 (Reconfigure): ditto
15054 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15056 * figureForm.C: use LFUN_MESSAGE
15058 * converter.C (runLaTeX): use LFUN_MESSAGE
15060 * bufferview_funcs.C: use LFUN_MESSAGE
15062 (changeDepth): ditto
15064 * bufferparams.h: use boost::
15066 * bufferlist.h: inherit privately from noncopyable
15068 * bufferlist.C (loadLyXFile): remove some commented code.
15070 * buffer.C (runChktex): use LFUN_MESSAGE
15072 * ShareContainer.h: inherit privately from noncopyable
15074 * ParagraphParameters.[hC] (depth): inline it.
15076 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15078 (message): new method
15079 (messagePush): ditto
15080 (messagePop): ditto
15081 (show): init minibuffer
15082 (showState): direct call
15084 * LaTeX.[Ch]: inherit privately from noncopyable
15085 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15086 instead of WriteStatus.
15088 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15090 * BufferView_pimpl.C (buffer): don't init minibuffer
15091 (workAreaButtonPress): use LFUN_MESSAGE
15092 (workAreaButtonRelease): ditto
15093 (savePosition): ditto
15094 (restorePosition): ditto
15095 (MenuInsertLyXFile): ditto
15096 (workAreaExpose): don't init minibuffer
15097 (update): remove commented code, simplify
15099 * BufferView2.C (openStuff): use LFUN_MESSAGE
15100 (toggleFloat): ditto
15103 (copyEnvironment): ditto
15104 (pasteEnvironment): ditto
15109 (updateInset): remove some commented code
15111 * lastfiles.h: inherit privately from noncopyable
15114 * lyx_main.h: ditto
15116 * lyxlex_pimpl.h: ditto
15118 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15119 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15120 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15122 * LyXAction.h: inherit privately from noncopyable, add methods
15123 func_begin, func_end, returning iterators to the func map.
15125 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15126 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15127 (func_begin): new method
15128 (func_end): new method
15130 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15132 (copySelection): ditto
15133 (pasteSelection): ditto
15135 * BufferView.C: whitespace change
15136 * BufferView.h: inherit privately from noncopyable
15138 2001-04-16 Allan Rae <rae@lyx.org>
15140 * tabular-old.C (l_getline):
15141 * spellchecker.C (sc_check_word):
15142 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15143 an unrecognised preprocessor directive. So ensure they're wrapped.
15145 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15147 * src/exporter.C (Export): Give an error message when path to file
15150 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15152 * LaTeX.C (deplog): Always check that foundfile exists.
15154 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15157 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15159 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15161 * tabular.[Ch] (getLabelList): implement new method
15163 * minibuffer.h: comment ouf setTiimer
15165 * minibuffer.C (ExecutingCB): constify res
15166 (peek_event): constify s
15167 (Set): constify ntext
15168 (Init): constify nicename
15170 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15172 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15173 (savePosition): use two params to Minibuffer::Set
15174 (restorePosition): ditto
15176 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15178 * lyx_main.C: include language.h
15180 * Makefile.am (lyx_main.o): add language.h
15182 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15188 * CutAndPaste.C: include gettext.h
15190 * lyxfont.h: remove old hack with ON and OFF.
15193 * lyxfont.h: do not include language.h...
15198 * bufferview_funcs.C:
15204 * paragraph.C: ... but do it here instead
15206 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15208 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15210 * tabular.C: small reformat
15212 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15215 (BreakParagraph): ditto
15216 (SetOnlyLayout): ditto
15219 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15222 * lastfiles.C: removed most using decl, add std:: where needed
15224 * buffer.C: ws changes
15226 * MenuBackend.C (class compare_format): put into anon namespace
15227 (expand): constify label, names, action, action2
15230 * text.C (SingleWidth): constify font
15231 (IsBoundary): constify rtl2
15232 (GetVisibleRow): constify ww
15234 * LaTeX.C (deplog): constify logfile
15236 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15238 (workAreaExpose): constify widthChange, heightChange
15240 * lyxrow.C (par): moved
15243 * lyxrow.h: as inlines here
15245 * lyxfont.h (shape): moved from lyxfont.C
15246 (emph): moved from lyxfont.C
15248 * lyxfont.C (LyXFont): use initialization list for all
15250 (shape): move to lyxfont.h as inline
15251 (emph): move to lyxfont.h as inline
15254 2001-04-04 Juergen Vigna <jug@sad.it>
15256 * vspace.C: had to include stdio.h for use of sscanf
15258 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15261 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15262 independent of xforms.
15264 2001-04-02 Juergen Vigna <jug@sad.it>
15266 * spellchecker.C: fixed namespace placing!
15268 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15270 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15271 the LyXParagraph * is 0.
15273 2001-03-29 Juergen Vigna <jug@sad.it>
15275 * vspace.C: added support for %, c%, p%, l%.
15276 (stringFromUnit): added helper function.
15277 (asLatexString): changed to give right results for the %-values.
15279 * buffer.C: convert the widthp in a width%.
15281 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15283 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15286 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15287 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15289 * lyx_cb.[Ch]: see above.
15291 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15295 * lyx.[Ch]: replaced by figure_form.[Ch].
15299 * lyxfunc.C: changed headers associated with above changes.
15301 2001-03-27 Juergen Vigna <jug@sad.it>
15303 * BufferView_pimpl.C: set the temporary cursor right!
15305 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15307 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15309 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15311 * LString.h: removed "using std::getline"!
15313 * BufferView_pimpl.C (Dispatch): changes due to changes in
15314 InsetInclude::Params.
15316 * buffer.C (tag_name): removed redundant break statements as they were
15317 producing lots of warnings with my compiler.
15319 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15321 * LString.h: add "using std::getline" when using the real <string>.
15323 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15325 * buffer.C: removed bitset usage.
15326 PAR_TAG moved to an anonymous name space.
15327 (tag_name): new funtion, also in the anonymous namespace.
15328 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15329 (makeDocBookFile): clean code. Completed transition from string arrays
15331 (SimpleDocBookOnePar): code clean.
15333 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15335 * tabular.C: add some comments.
15337 2001-03-22 Juergen Vigna <jug@sad.it>
15339 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15340 compatibility read a bit and fixed bug with minipage in different
15343 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15345 * buffer.C (pop_tag): removed.
15346 (push_tag): removed.
15347 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15348 array replaced with vector. Added support for CDATA sections.
15349 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15351 (makeDocBookFile): XML conformant declaration of CDATA section,
15352 fixed bug related to <emphasis> in the first paragraph char.
15353 (sgmlOpenTag): exclude empty tags.
15354 (sgmlCloseTag): ditto.
15356 * buffer.h (pop_tag): removed.
15357 (push_tag): removed.
15359 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15361 * language.h (Languages): added size_type and size().
15363 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15365 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15366 response on compability reading of minipages. One probliem is that
15367 the old usage of minipages was «flertydig»
15369 * several files here and in subdirs: don't use static at file
15370 scope use anon namespaces instead.
15372 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15374 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15375 LaTeX output. This is necessary for Literate document
15378 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15380 * buffer.C: insert hfill when needed.
15382 * tabular.C (l_getline): use string::erase, small whitespace change.
15384 * BufferView_pimpl.C: try the anon namespace.
15385 * WorkArea.C: ditto
15387 2001-03-16 Juergen Vigna <jug@sad.it>
15389 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15390 otherwise it won't open options-dialogs.
15392 * buffer.C: honor pextraWidth(p) on converting minipages.
15394 * tabular.C (l_getline): changed the functions to strip trailing \r.
15396 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15398 * BufferView_pimpl.C:
15399 * minibuffer..C: added "using SigC::slot" declaration.
15401 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15403 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15409 * paragraph.C: ditto
15411 * lyxtext.h: NO_PEXTRA
15413 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15415 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15416 * ParameterStruct.h: ditto
15417 * ParagraphParameters.h: ditto
15418 * lyxparagraph.h: ditto
15420 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15422 * buffer.C: add compability for minipage alignment.
15423 (latexParagraphs): remove unwanted pextra check.
15425 * several files: remove CXX_WORKING_NAMESPACES
15427 * buffer.C (pop_tag): tie is in namespace boost
15429 * BufferView.h: noncopyable is in namespace boost
15431 * lyx_main.h: ditto
15434 * lastfiles.h: ditto
15435 * bufferlist.h: ditto
15436 * ShareContainer.h: ditto
15438 * LyXAction.h: ditto
15441 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15443 * Merging changes from BRANCH_MVC back into HEAD.
15445 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15447 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15449 * BufferView_pimpl.C: change from intl.C
15453 * Makefile.am: move combox.*
15459 * intl.C: remove dialog (covered by prefs)
15461 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15463 * lyxfunc.C (Dispatch): removed redundant break statement.
15465 2001-03-14 Juergen Vigna <jug@sad.it>
15467 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15469 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15471 * buffer.C: add hack to fix compability reading of minipages.
15473 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15475 * buffer.C (getLists): Cleanup.
15477 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15479 * lyxfont.C (update): don't honor toggleall on font size.
15481 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15485 * Makefile.am: moved to frontends/xforms/
15489 * BufferView_pimpl.C: changes for moved mathpanel
15491 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15493 * gettext.h: fix gettext_init() in --disable-nls
15495 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15497 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15499 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15502 * lyx.h: strip external form
15504 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15506 * BufferView_pimpl.C: add comment, destroySplash()
15508 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15510 * BufferView_pimpl.C:
15514 * lyxfunc.C: use re-worked insetinclude
15516 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15518 * buffer.C: add using std::stringstream.
15520 * lyx_cb.C: readd using std::ios.
15522 * buffer.C: add using std::map.
15524 * BufferView_pimpl.C: add using std::vector.
15526 * ShareContainer.h: add std:: to swap.
15528 * buffer.h: add some typedefs
15529 * buffer.C (getLists): use them
15530 (getLists): renamed from getTocList.
15531 add a counter for the different float types and use it in the
15533 (getLists): use the same counter for the NEW_INSETS and the "non"
15536 * lyx_cb.h: remove unused items, includes, using etc.
15538 * ShareContainer.h: remove some commented code, add more comments
15539 and "documentation".
15541 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15543 * buffer.C (getTocList): make the list also when NEW_INSETS is
15546 * buffer.h: remove TocType
15548 * buffer.C (getTocList): change to return a map<string,
15549 vector<TocItem> >, implement for dynamic number of list.
15551 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15552 * text2.C (PasteSelection): adjust
15553 * CutAndPaste.C (pasteSelection): adjust
15555 * FloatList.C (FloatList): update from the new_insets branch.
15556 * Floating.[Ch]: ditto
15557 * LaTeXFeatures.C: ditto
15559 * lyxlex_pimpl.C: ditto
15561 * paragraph.C (Last): remove when NEW_INSETS is defined.
15563 * other file: changes because of the above.
15565 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15567 * lyxparagraph.h: rename next to next_, previous to previous_,
15568 make them private for NEW_INSETS. Rename Next() to next(),
15569 Previous() to previous().
15571 * other files: changes because of the above.
15573 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15576 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15579 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15581 * main.C (main): pass lyx_localedir to gettext_init().
15583 * gettext.h: remove locale_init and gettext_init macros
15585 * gettext.C (locale_init): new function
15586 (gettext_init): new function
15588 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15591 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15593 * Moved credits to frontends:
15594 * credits.[Ch]: removed
15595 * credits_form.[Ch]: removed
15596 * lyx_gui_misc.C: remove credits stuff
15599 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15601 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15603 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15604 unneeded destructor.
15606 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15607 a standalone pointer again.
15609 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15611 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15617 * ToolbarDefaults.C:
15626 * BufferView_pimpl.C: use new file dialog in GUII
15629 * lyx_cb.C: remove LayoutsCB to Toolbar
15631 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15633 * ShareContainer.h (get): add std:: qualifier
15635 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15637 * ShareContainer.h: define a proper ShareContainer::value_type
15638 type (and use typename to please compaq cxx)
15640 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15642 * lyxparagraph.h: move serveral local vars to
15643 ParameterStruct/ParagraphParameters., use ShareContainer in
15644 FontTable., make vars in FontTable private and add getter and
15647 * paragraph.C: changes because of the above.
15649 * lyxfont.h: remove copy constructor and copy assignment. (the
15650 default ones is ok), move number inside FontBits. move inlines to
15653 * lyxfont.C: add number to initializaton of statics, move several
15654 inlines here. constify several local vars. some whitespace
15655 cleanup. Dont hide outerscope variables.
15657 * Spacing.h: add two new constructors to match the set methods.
15659 * ShareContainer.h: new file, will perhaps be moved to support
15661 * ParameterStruct.h: new file
15663 * ParagraphParameters.h: new file
15665 * ParagraphParameters.C: new file
15667 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15668 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15670 * BufferView_pimpl.C: ParagraphParameter changes.
15671 * buffer.C: Likewise.
15672 * bufferview_funcs.C: Likewise.
15673 * text.C: Likewise.
15674 * text2.C: Likewise.
15676 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15678 * lyxfind.C (LyXReplace): do not redefine default argument in
15680 (IsStringInText): ditto
15681 (SearchForward): ditto
15682 (SearchBackward): ditto
15684 2001-03-06 Juergen Vigna <jug@sad.it>
15686 * lyxfind.C (IsStringInText): put parentes around expressions.
15688 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15690 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15692 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15694 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15696 * stl_string_fwd.h: add comment
15698 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15701 * tabular.C: remove unused DocBook methods
15707 killed DO_USE_DEFAULT_LANGUAGE
15709 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15711 * lyx_gui.C: do not include language.h.
15713 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15714 arguments in function implementation.
15716 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15718 * BufferView_pimpl.C: add <ctime>
15720 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15722 * BufferView_pimpl.C: add using std::find_if
15724 2001-02-27 José Matos <jamatos@fep.up.pt>
15726 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15729 2001-02-11 José Matos <jamatos@fep.up.pt>
15731 * buffer.C (makeDocBookFile): command styles now have a parameter as
15732 "title" by default.
15734 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15736 * layout_forms.[Ch]: removed
15737 * lyx_cb.[Ch]: out character
15738 * lyx_gui.C: out character
15739 * lyx_gui_misc.C: out character
15740 * bufferview_funcs.C: : out character,
15741 added toggleall as parameter in ToggleAndShow
15743 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15745 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15747 * text2.C (SetCurrentFont): Disable number property at boundary.
15749 2001-02-26 Juergen Vigna <jug@sad.it>
15751 * lyxfunc.C (getStatus): added a string argument override function so
15752 that this is correctly called from LyXFunc::Dispatch if it contains a
15753 do_not_use_argument which is used!
15754 (Dispatch): added check for "custom" export and call appropriate func.
15756 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15758 * lyxrc.C: Add language_command_local, language_use_babel and
15759 language_global_options.
15761 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15763 * buffer.C (makeLaTeXFile): Use language_use_babel and
15764 language_global_options.
15766 2001-02-23 Juergen Vigna <jug@sad.it>
15768 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15769 which works with LyXText and putted it inside BufferView. Here now we
15770 only call for that part the BufferView::Dispatch() function.
15772 * BufferView.C (Dispatch): added.
15774 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15775 functions which needs to use a LyXText over from LyXFunc.
15776 (MenuInsertLyXFile): added
15777 (getInsetByCode): added
15778 (moveCursorUpdate): added
15779 (static TEXT): added
15781 2001-02-22 Juergen Vigna <jug@sad.it>
15783 * BufferView_pimpl.C (update): call a status update to see if LyXText
15786 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15788 * vc-backend.C (revert): implement for CVS
15789 (getLog): implement for CVS
15791 2001-02-20 Juergen Vigna <jug@sad.it>
15793 * text2.C (ClearSelection): added BufferView param for inset_owner call
15795 * lyxfunc.C (TEXT): added this function and use it instead of
15796 directly owner->view()-text of getLyXText().
15798 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15800 * src/layout_forms.C: out preamble
15801 * src/layout_forms.h: out preamble
15802 * src/lyx_cb.C: out preamble
15803 * src/lyx_cb.h: out preamble
15804 * src/lyx_gui.C: out preamble
15805 * src/lyx_gui_misc.C: out preamble
15806 * src/lyxfunc.C: connect with guii preamble
15808 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15810 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15812 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15814 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15815 whether to run bibtex.
15817 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15819 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15821 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15823 * Makefile.am (lyx_SOURCES): removed bibforms.h
15825 * vspace.h: doxygen
15827 * text.C (GetVisibleRow): make several local vars const
15829 * tabular.C: small cleanup.
15831 * lyxserver.C (callback): use compare instead of strncmp
15833 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15834 inlines to after class or to paragraph.C
15836 * lyxfont.h: remove friend operator!=
15838 * converter.h: move friend bool operator< to non friend and after
15841 * combox.h: small cleanup
15843 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15844 to inlines after class def.
15846 * buffer.C (pop_tag): use string operations instead of strcmp
15848 * bmtable.c: doxygen, small cleanup
15850 * LaTeX.h: remove friend operator==
15852 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15864 * BufferView_pimpl.C:
15865 * BufferView.[Ch]: remove cruft
15867 2001-02-14 Juergen Vigna <jug@sad.it>
15869 * lyxfunc.C: removed #if 0 unused code
15871 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15873 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15875 * text2.C (SetSelection): added a BufferView * parameter
15877 2001-02-13 Juergen Vigna <jug@sad.it>
15879 * lyxfunc.C (Dispatch): fixed protected blank problem.
15880 * BufferView2.C (protectedBlank): added LyxText * parameter.
15882 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15883 (AppendColumn): same as above for column_info.
15885 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15886 (moveCursorUpdate): use a LyXText param for support of InsetText.
15888 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15889 (tripleClick): ditto
15891 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15893 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15895 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15897 * text2.C (SetSelection): set correct update status if inset_owner
15898 (ToggleFree): ditto
15900 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15902 * tabular.C: remove some commented code.
15904 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15906 * BufferView_pimpl.C: call hideSplash()
15908 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15911 * bibforms.h: remove
15914 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15915 add LFUN_CHILD_CREATE
15917 * counters.h: fix tiny typo
15922 * lyx.C: move splash to frontends/xforms/
15924 * lyx_gui_misc.C: move Include and Bibform to frontends
15926 * lyxvc.h: clarify comment
15928 * vspace.C: tiny housekeeping
15930 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15932 * text.C (PrepareToPrint): RTL Fix.
15934 * paragraph.C (GetUChar): New method.
15935 (String): Use GetUChar.
15937 * buffer.C (asciiParagraph): Use GetUChar.
15939 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15941 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15943 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15946 * buffer.C: rename to getLogName(), handle
15947 build log / latex log nicely
15949 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15952 * MenuBackend.h: remove support for reference menuitem type.
15954 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15956 * BufferView_pimpl.C: housekeeping
15957 * BufferView_pimpl.h:
15962 * minibuffer.h: move Timeout GUI-I
15964 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15966 * lyxrc.C (read): Update converters data-structures.
15968 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15970 * LaTeX.h (operator!=): add operator != for Aux_Info
15972 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15974 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15976 * LaTeXLog.C: deleted, useful code moved to Buffer
15979 * buffer.C: new function getLatexLogName()
15985 * lyxfunc.C: use frontends for LaTeX and VC logs
15987 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15989 * LaTeX.h: yet another std:: that Allan forgot.
15991 * Variables.C (set): renamed from isset(), because this clashes
15992 with some HP-UX macros (grr).
15994 2001-02-06 Allan Rae <rae@lyx.org>
15996 * LaTeX.h: Another bug fix. Missing std:: this time.
15998 2001-02-04 Allan Rae <rae@lyx.org>
16000 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16001 floats problem. I've left it commented out because it's not quite
16002 correct. It should also test that the current object is a table or
16003 figure inset. But I haven't gotten around to figuring out how to do
16004 that. I *think* it'll be something like: "table" == inset.type()
16006 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16009 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16011 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16012 all the citation/databases/styles in the auxilary file.
16013 (run): Rerun latex if there was a babel language error.
16015 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16017 * text.C (Backspace): Preserve the font when changing newline char
16019 (BreakParagraph): If the cursor is before a space, delete the space.
16021 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16023 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16025 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16026 new argument (code).
16027 (ChangeCitationsIfUnique): New method.
16029 * paragraph.C (GetPositionOfInset): Handle bibkey.
16031 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16033 * BufferView_pimpl.h: change type of Position::par_pos to
16034 LyXParagraph::size_type.
16036 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16038 * BufferView_pimpl.C (savePosition, restorePosition): Write
16039 messages to minibuffer.
16041 2001-01-28 José Matos <jamatos@fep.up.pt>
16043 * buffer.C (makeDocBookFile): adds support for document language.
16044 A silly restriction on the name of LatexCommand types where removed.
16045 Added support for CDATA sections, allows to chars unescaped, used
16046 among others in code, to avoid escape < and >.
16048 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16050 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16051 saved positions instrad of a stack. Furthermore, a position is
16052 stored using paragraph id/paragraph position.
16054 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16055 Remove LFUN_REF_BACK.
16057 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16059 * converter.C (dvipdfm_options): New method.
16061 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16063 * vspace.C (isValidLength): Fix for empty input string.
16065 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16067 * LyXAction.C (init): change description of LFUN_FIGURE to
16070 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16072 * LaTeX.C: add using directive
16074 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16076 * MenuBackend.C (expand): Fix the sorting of the formats.
16078 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16080 * lyx_main.C: tiny error message fix
16082 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16084 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16085 calling fl_initialize(). This fixes the problem with ',' as
16086 decimal separator in text files.
16088 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16090 * trans.C (process): Fix the keymap bug.
16092 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16094 * LaTeX.C (scanAuxFiles): New method. Provides support for
16095 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16096 (scanLogFile) Scan for "run BibTeX" messages.
16098 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16099 OT1 font encoding. Also, load the aecompl package if the ae
16102 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16104 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16106 * texrow.C (increasePos): turn two error messages into debug
16109 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16111 * LaTeX.C (scanAux): Handle the \@input macro.
16112 (runBibTeX): Use scanAux().
16114 * language.C (latex_options_): New field.
16116 * LaTeXFeatures.C (getMacros): Add language macros.
16118 * buffer.C (makeLaTeXFile): Small fix.
16120 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16122 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16124 * text2.C: add a using directive.
16126 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16131 * lyxfunc.C: kill LyXBell.
16133 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16135 * text.C (IsBoundary): Remove the error message
16137 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16139 * lyxrc.C (setDefaults): Correct initialization value for
16142 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16144 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16147 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16148 and GotoNextNote().
16150 * src/LyXAction.C: Added reference-next.
16152 * text.C (InsertChar): Use contains instead of strchr.
16154 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16156 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16158 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16159 alignment commands (when needed).
16161 * text.C (InsertChar): Add ':' to number separator chars.