1 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5 * BufferView.C (putSelectionAt): change the semantics when
6 backwards == true: now, this just swaps cursor and anchor wrt the
9 * BufferView.h (putSelectionAt): add some documentation
11 * lyxfind.C (findBackwards): rewrite using while(). In particular,
12 make sure backwardChar is done at least once (to avoid getting
14 (findNextChange): use putSelectionAt in the forward direction
15 (operator()): use Paragraph::isWord
17 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
19 * Spacing.C (set): c_str fix
21 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
23 * lyx_cb.C (Reconfigure): quote the name of configure script in
24 case it contains spaces
26 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
30 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
31 (BOOST_LIBS): use top_buildir when looking for the file
33 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
35 * pch.h: do not use include boost/format.hpp, multiple symbols
39 2004-08-23 José Matos <jamatos@lyx.org>
41 * bufferparams.C (readToken): fix reading of the author field.
43 2004-08-20 José Matos <jamatos@lyx.org>
45 * lyxrc.C: remove support/translator.h inclusion since it is not used.
47 2004-08-20 José Matos <jamatos@lyx.org>
49 * lyxlex.[Ch] (findToken): remove function.
51 * ParagraphParameters.C (findToken):
52 * bufferparams.C (findToken): replace call for previous function
53 with local copy. This local function has one more argument, the
56 2004-08-16 José Matos <jamatos@lyx.org>
58 * ParagraphParameters.C (write):
59 * Spacing.C (writeFile):
60 * bufferparams.C (writeLaTeX):
61 * lyx_cb.C (Reconfigure):
62 * paragraph.C (write):
63 * tabular.C (write): remove unnecessary space at end of line.
66 2004-08-16 José Matos <jamatos@lyx.org>
68 * text.C (readParagraph): remove debug message.
70 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
72 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
75 * output_plaintext.C (asciiParagraph): set depth correctly
77 * outputparams.h: add member depth
79 * paragraph_funcs.C (ownerPar): remove.
81 * text2.C (setCounter): remove first_pit; comment out some
82 non-working code that uses ownerPar
84 * BufferView.C (getParentLanguage): remove. Not used anymore, and
87 2004-08-16 José Matos <jamatos@lyx.org>
89 * text.C (readParToken, readParagraph, read): report all unknown tokens.
90 For the same level of importance use the same chanel to report problems.
91 (read): add code to deal with \begin_body and \end_body.
94 2004-08-15 José Matos <jamatos@lyx.org>
96 * lyxlex.C (getString): fix comment, buffer::readBody is now
99 * tex-strings.C (string_papersize): Default -> default,
100 Custom -> custom, for consistency with other options.
102 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
106 * Makefile.am: support pch
108 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
110 * text.C (readParToken): remove the static LyXFont variable and
111 pass it as a parameter instead. This fixes a nasty bug where an
112 inset will be inserted with a bad font in some situations
113 (readParagraph): adapt
115 * text2.C (setCounter): reduce number of calls to pars_[pit]
117 * text.C (singleWidth): add an assert, fix a test
119 * rowpainter.C (paintText): reduce number of calls to singleWidth
121 * paragraph.C (isHfill):
124 2004-08-14 André Pönitz <poenitz@gmx.net>
129 * lyxtext.h (several functions): use a Paragraph & argument
132 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * metricsinfo.h: add a new field ltr_pos to PainterInfo
136 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
138 * text.C (singleWidth): remove useless test
140 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
142 * tabular.h: remove bogus comments
144 * tabular.C (getDescentOfRow):
145 (isPartOfMultiColumn): add assertions
147 * lyxlength.C (inPixels): remove #warning
149 2004-08-14 André Pönitz <poenitz@gmx.net>
151 * paragraph.h: inline getChar()
153 * BufferView.h: remove unused declarations
155 2004-08-14 José Matos <jamatos@lyx.org>
157 * Buffer.[Ch] (readDocument): new name for old readBody.
158 * Buffer.C: new file format, new keywords: \begin_document,
159 \begin_header, \begin_body, \end_body.
161 * bufferparams.C (readToken): replace all calls to lex.nextToken
162 by lex.next(). Do the same to eatLine except where really needed.
164 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
165 line when writing to the lyx file.
167 * output_plaintext.C (asciiParagraph): fix Bibliography style
170 * text.C (read): fix end of file handling.
172 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
174 * MenuBackend.C (Menu::operator[]): new method to access
175 individual menu items
176 (Menu::hasFunc): new method. search for an item that corresponds
178 (MenuBackend::specialMenu): new method
179 (MenuBackend::expand): if a special menu has been set, skip
180 entries whose func() appears in this menu
182 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
184 * text3.C: use Debug::DEBUG a bit more
186 * text.C (leftMargin): try to simplify a tiny bit change var x to
187 l_margin. Dont output the wide margins always.
188 (rightMargin): no margin in inner texts
190 * rowpainter.h (nestMargin): new func
191 (changebarMargin): new func
192 (rightMargin): new func
194 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
198 * factory.C (createInset): modify setDrawFrame
200 * cursor.C: use Debug::DEBUG a bit more
202 2004-08-14 André Pönitz <poenitz@gmx.net>
205 * Makefile.am: new files to accomodate an 'external' (x,y)-position
206 cache for all insets in (at least partially) visible (top-level)
209 * BufferView_pimpl.C: reset external coord cache before every update.
210 This means the coord cache only contains valid entries.
212 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
215 * BufferView_pimpl.C (getInsetByCode): move function out of class
216 and change in to a template in anon namespace. Also fix to do what
219 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
222 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
224 (breakParagraph): rename par to par_offset and use a local
225 reference. Add code to keep the language over a rebreak.
226 (breakParagraphConservative): rename par to par_offset, use a
228 (mergeParagraph): ditto
230 (isFirstInSequence): ditto
231 (outerFont): rename pit to par_offset
233 * paragraph.C: ws change
238 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
240 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
243 * paragraph.C (simpleTeXOnePar): when we have a \item with
244 optional argument, enclose the argument with curly brackets (in
245 case it contains a closing square bracket)
249 * text3.C (checkInsetHit): constify
251 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
253 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
256 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 Fix toggling of collapsable insets with the mouse (bug 1558)
260 * lyxfunc.C (dispatch): adapt to LCursor changes
262 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
263 make sure that dispatch is not invoked twice
265 * cursor.C (needsUpdate): new method
266 (dispatch): return void
267 (result): new method, to access the DispatchResult of the cursor.
269 2004-08-13 José Matos <jamatos@lyx.org>
271 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
273 2004-08-13 André Pönitz <poenitz@gmx.net>
275 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
277 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
280 2004-08-12 André Pönitz <poenitz@gmx.net>
282 * text3.C: take out the 'cursor right' form insertInset and only
283 do it in those places when it is really needed. Fixes crash on
286 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
288 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
290 * BufferView_pimpl.C (setBuffer): initialize the current font of
291 the underlying LyXText
293 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * kbsequence.C (print): use UI native formatting for menu
298 * text.C (insertChar): call Paragraph::insertChar with a font
301 * paragraph.C (insertInset, insertChar): the version that takes a
302 LyXFont argument is now a wrapper around the other one (the
303 opposite used to be true).
305 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
306 argument. Font setting is done in Paragraph now.
308 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
310 * outputparams.h: add new members intitle and lang.
312 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
313 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
315 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
317 * text3.C (dispatch): remove special handling of button 4 and 5,
318 it is now taken care of in the frontend code.
320 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
322 * Spacing.h: add <string> (STLPort compile fix)
324 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
326 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
328 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
330 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
333 * converter.C (showMessage): inherit from unary_function, make
336 * buffer.C (writeFile): initialize retval
338 * InsetList.h: rename private variable list to list_
339 * InsetList.[Ch]: adjust accordingly.
341 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
343 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
344 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
345 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
346 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
347 * ParagraphParameters.C, LaTeXFeatures.C: replace
348 "support/std_sstream.h" with <sstream>
350 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
352 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
353 * lyxsocket.C (LyXServerSocket): ditto
354 (serverCallback): ditto
356 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
358 * LaTeXFeatures.C: check release date when loading jurabib.
360 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
362 * lyxserver.C (startPipe): call register_socket_callback
363 (endPipe): call unregister_socket_callback
365 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
367 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
368 (LyXServerSocket): register the callback
369 (LyXServerSocket): unregister the callback
370 (fd): delete function
371 (serverCallback): improve error checking and setup the callbacks.
372 (dataCallback): change arg to fd.
373 (writeln): new func (copied fro the client socket) used for server
375 (LyXDataSocket): simplify
376 (~LyXDataSocket): close ann unregiser callback
377 (server): delete function
378 (fd): delete function
379 (readln): small changes, improve some std::string usage
380 (writeln): constify a bit
382 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
384 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
387 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * BufferView_pimpl.C (setBuffer): set the layout combox value only
390 after it has been populated
392 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
394 * text2.C (insertInset): move cursor when inserting inset.
396 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * kbmap.C (findbindings): a couple of new methods. returns a
399 container of kb_sequence objects. The real work is done by the
400 private recursive version
401 (printbindings): uses findbindings to print out a bracketed list
402 of bindings (renamed from findbinding).
404 * MenuBackend.C (binding): use kb_keymap::findbindings
406 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
408 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
410 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
412 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
414 * paragraph.C (isWord): return true on insets that report
417 * text.C (getWord): use Paragraph::isWord to decide what is in a
418 word and what is not; fix bug 1609.
420 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
422 * tex-strings.C: add "none" to string_paperpackages[], fixes
423 off-by-one-error in the paperpackage selection.
426 * tex-strings.[Ch]: char const * string[n]
427 -> char const * const string[]
429 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
432 command, return early.
434 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
436 * debug.h: add DEBUG to enum and fix size of ANY.
438 * debug.C: add support for Debug::DEBUG
439 (showTags): cast errorTags.level to unsigned int
441 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
442 (redoCurrentBuffer): ditto
443 (updateScrollbar): ditto
444 * cursor.C (dispatch): ditto
445 * text2.C (setLayout): ditto
447 (updateCounters): ditto
449 (deleteEmptyParagraphMechanism): ditto
451 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
453 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
454 annotations to cleanup the Makefile slightly.
456 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
458 * lyxrc.C: do not set user_email to a default value but use empty
459 instead. The entry used to be translated, which does not work
460 since at the point where lyxrc is constructed there is no
461 translation service available
463 * messages.C (getLocaleDir): remove and use directly
464 lyx_localedir() instead
466 2004-06-02 Angus Leeming <leeming@lyx.org>
468 Fix crash caused by dereferencing null pointer 'exportdata' in
469 OutputParams by creating a new ExportData variable on the heap,
470 storing it in a boost::shared_ptr.
471 The crash was triggered when generating an Instant Preview
472 of an external inset.
474 * Makefile.am: add outputparams.C
476 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
477 (c-tor): allocate memory to it.
479 * exporter.C (c-tor): associated changes.
481 2004-06-01 Angus Leeming <leeming@lyx.org>
483 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
484 contains data before calling isInset(0). (Bug 1513.)
486 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
488 * exporter.C (checkOverwrite): new method
489 * exporter.C (copyFile): new method
490 * exporter.C (Export): copy referenced files to the document dir
491 * exporter.[Ch]: new class ExportedFile
492 * exporter.[Ch]: new class ExportData. Contains currently the
493 names of referenced external files
494 * outputparams.h: add exportdata member.
496 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
498 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
501 2004-05-19 Angus Leeming <leeming@lyx.org>
506 * lyxfunc.C: small changes due to the introduction of namespace
507 lyx::frontend and the moving of namespace biblio to lyx::biblio.
509 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
511 * text3.C (dispatch): supress update when only moving the cursor
512 * cursor.C (selHandle): remove commented code
514 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
516 * paragraph.C (startTeXParParams): correct column count
517 * CutAndPaste.C (pasteSelection): remove const_cast
518 * output_docbook.C (docbookParagraphs): remove const_cast
519 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
520 const_cast and return ParagraphList::const_iterator
521 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
522 * output_plaintext.C (writeFileAscii): remove const_cast
523 * paragraph.[Ch] (simpleTeXOnePar): make const
524 * paragraph_funcs.C (outerPar): use const iterators
525 * paragraph_pimpl.C (validate): use const iterators
526 * text.C (setHeightOfRow): use const iterators
528 2004-05-17 Angus Leeming <leeming@lyx.org>
531 * LyXAction.C (init): new LFUN_INSET_REFRESH.
533 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
534 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
535 if the citation engine has changed.
537 2004-05-14 José Matos <jamatos@lyx.org>
539 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
540 if the textclass does not provide it. Have it different for sgml and
542 support the language of document.
543 * output_docbook.C (docbookParagraphs):
544 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
545 first anchor as the id of the paragraph, remove special case code.
546 * sgml.C (escapeChar): escape only < & >.
548 2004-05-14 Angus Leeming <leeming@lyx.org>
550 * bufferparams.h: move biblio::CiteEngine enum here to minimize
551 dependencies on src/frontends/controllers/biblio.h. Define a
552 CiteEngine_enum wrapper class to enable the enum to be forward
555 2004-05-12 Angus Leeming <leeming@lyx.org>
557 * buffer.C: up LYX_FORMAT to 234.
558 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
559 use_numerical_citations with a single biblio::CiteEngine cite_engine
561 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
563 2004-05-13 José Matos <jamatos@lyx.org>
566 * converter.C (Converter, readFlags): add xml member.
567 * outputparams.h: add XML flavor.
568 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
570 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
572 * lyxfunc.C (dispatch):
573 (getStatus): fix handling of LFUN_SEQUENCE
575 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * debug.C (showLevel): do not forget the end-of-line marker
579 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
581 * kbmap.C (read): do not stop parsing a bind file when an error
584 2004-04-29 Angus Leeming <leeming@lyx.org>
589 * text2.C: wrap a bunch of #warning statements
590 inside #ifdef WITH_WARNINGS blocks.
592 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
594 * buffer.C: increment format to 233.
596 2004-04-28 Angus Leeming <leeming@lyx.org>
598 * BufferView_pimpl.C:
601 s/updateToolbar()/updateToolbars()/
602 s/Toolbar.h/Toolbars.h/
604 2004-04-28 Angus Leeming <leeming@lyx.org>
606 * BufferView.[Ch] (c-tor):
607 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
608 No longer passes these data to the WorkArea generator.
610 2004-04-28 Angus Leeming <leeming@lyx.org>
612 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
614 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
616 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
618 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
620 * output_latex.C (TeXEnvironment): make sure that there is a line
621 break before \end{foo} for the last paragraph of a document
622 (TeXOnePar): if the paragraph is at the end of the document (or
623 inset) and the language has to be reset, then make sure that the
624 line break is _before_ the language command, not after (fixes bug
625 1225); also make sure that the language reset command is the first
626 thing after the paragraph (to ensure proper nesting of
627 environments and thus fix bug 1404)
629 2004-04-21 John Levon <levon@movementarian.org>
632 * ToolbarBackend.C: make "name" be a programmatic name
633 and a gui_name field.
635 * lyxfunc.C: display the minibuffer on M-x
637 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
639 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
642 2004-04-19 Angus Leeming <leeming@lyx.org>
644 * BufferView_pimpl.C (setBuffer): changed preview interface.
646 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
649 2004-04-19 John Levon <levon@movementarian.org>
651 * BufferView_pimpl.C:
652 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
654 2004-04-05 Angus Leeming <leeming@lyx.org>
656 * text.C (redoParagraphs): add call to updateCounters(), thereby
657 fixing the missing "Figure #:" label from the caption of a
660 2004-04-13 Angus Leeming <leeming@lyx.org>
662 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
663 cursor is clicked out of an inset.
665 2004-04-13 Angus Leeming <leeming@lyx.org>
667 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
668 than an InsetOld one.
670 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
672 * format.[Ch]: add editor to Format
673 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
674 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
676 2004-04-08 André Pönitz <poenitz@gmx.net>
678 * metricsinfo.h: remove PainterInfo::width member
680 2004-04-08 Angus Leeming <leeming@lyx.org>
682 * lyx_sty.C (boldsymbol_def): modify so that it outputs
683 "\providecommand" rather than "\newcommand", thereby preventing
684 clashes with packages that define "\boldsymbol" themselves.
687 2004-04-08 Angus Leeming <leeming@lyx.org>
689 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
690 thereby squashing an unnecessary warning.
692 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
694 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
697 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
699 * BufferView.C (setCursor): call redoParagraph (some insets could
701 (putSelectionAt): remove the 'double update' trick
703 * BufferView_pimpl.C (fitCursor): call refreshPar
704 (workAreaDispatch): remove an uneeded update call
705 (dispatch): remove some manual update calls
707 * cursor.[Ch]: remove cached_y_, updatePos
708 (selHandle): set noUpdate when appropriate
710 * lyxfunc.C (dispatch): track if we need an update
712 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
714 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
715 (paintSelection): cheap optimization, do not call cursorX when not
717 (paintPars): change signature
720 (paintTextInset): adjust
724 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
726 * lengthcommon.C: compilation fix: remove explicit array size from
727 unit_name[] and friends
729 2004-04-05 Angus Leeming <leeming@lyx.org>
731 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
733 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
734 present only for the preferences dialog.
735 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
737 2004-04-05 Angus Leeming <leeming@lyx.org>
739 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
740 to enable the frontends to export changes to lyxrc correctly.
742 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
744 2004-04-07 André Pönitz <poenitz@gmx.net>
746 * cursor.[Ch] (selClear, adjust): remove math
748 * cursor_slice.C: more agressive assert
751 * BufferView_pimpl.C: rework mouse event dispatch
758 2004-04-05 André Pönitz <poenitz@gmx.net>
760 * cursor.[Ch] (valign, halign...): remove unneeded functions
762 2004-04-05 Angus Leeming <leeming@lyx.org>
764 * lyxlength.[Ch] (unit_name et al.): const-correct.
766 2004-04-05 Angus Leeming <leeming@lyx.org>
768 * BufferView_pimpl.C:
777 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
779 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
781 * text3.C (getStatus): add LFUN_BEGINNINGBUF
783 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
785 * lyxfind.C: add a couple of inTexted() tests + other small fixes
786 * BufferView_pimpl.[Ch] (getStatus)
787 * BufferView.[Ch] (getStatus): add
788 * lyxfunc.C (getStatus): move lfuns handled in
789 BufferView::dispatch to te function above
790 * Cursor.C (setSelection): set selection() = true
792 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
794 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
796 2004-03-31 Angus Leeming <leeming@lyx.org>
798 * lyxfunc.C (dispatch): Fall through to the generic
799 Dialogs::show("preamble").
801 2004-03-31 Angus Leeming <leeming@lyx.org>
803 * lyxfunc.C (dispatch): Fall through to the generic
804 Dialogs::show("spellchecker").
806 2004-03-31 Angus Leeming <leeming@lyx.org>
808 * lyxfunc.C (getStatus, dispatch): changed invocation of the
811 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
816 * insetiterator.[Ch]:
821 * undo.[Ch]: s/DocumentIterator/DocIterator/g
823 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
825 * BufferView.C (setCursor, putSelectionAt): call edit to open the
826 insets where we are putting the cursor.
828 2004-03-31 Angus Leeming <leeming@lyx.org>
831 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
833 * lyxrc.[Ch] (read, write): overloaded member functions taking
834 a std::[io]stream arguments.
836 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
838 2004-03-31 Angus Leeming <leeming@lyx.org>
840 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
841 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
843 * lyxtextclass.C (load): if the text class couldn't be loaded, then
844 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
846 2004-03-31 Angus Leeming <leeming@lyx.org>
848 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
849 the LFUN_ALL_INSETS_TOGGLE code.
851 2004-03-30 Angus Leeming <leeming@lyx.org>
853 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
854 has died. Fall through to the generic Dialogs::show("document").
856 2004-03-30 Angus Leeming <leeming@lyx.org>
859 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
860 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
862 * lyxfunc.C (getStatus, dispatch): define the actions for these
863 lfuns. Little more than a cut and pste job from ControlDocument.C
865 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
867 2004-03-30 Angus Leeming <leeming@lyx.org>
870 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
871 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
873 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
874 open/closed state of ollapsable insets. Usage:
876 all-inset-toggle <state> <name>, where
877 <state> == "open" || "closed" || "toggle" and
878 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
880 * lyxtext.h, text2.C (toggleInset): removed.
882 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
883 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
884 now passes LFUN_INSET_TOGGLE to the found inset.
886 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
887 is now invoked as "all-insets-toggle toggle branch".
889 2004-03-30 Angus Leeming <leeming@lyx.org>
893 * pariterator.[Ch]: added/corrected header blurb.
895 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
897 * dociterator.[Ch]: add an inset_ member
898 (backwardPos): implemented
899 (backwardPos, forwardPos): use inset_ when the stack is empty.
900 (doc_iterator_begin, doc_iterator_end): implemented
901 * pariterator.[Ch]: adjust, add begin, end
902 * insetiterator.[Ch]: adjust, add begin, end
906 * BufferView_pimpl.C:
907 * CutAndPaste.C: adjust
909 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
911 * buffer.C: increment file format to 232.
912 * LaTeXFeatures.C: add bibtopic package.
913 * bufferparams.[Ch]: param \use_bibtopic.
915 * lyxrc.[Ch]: add lyxrc bibtex_command
916 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
918 * buffer.C: increment file format to 231.
920 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
922 * dociterator.C: implement forwardPar
923 * iterators.[Ch]: remove, replaced by
924 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
926 * BufferView_pimpl.C:
929 * bufferview_funcs.C:
935 * Makefile.am: adjust
937 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
939 * CutAndPaste.C (pasteSelection): fix 2 crashes
940 (eraseSelection): fix a crash
941 * paragraph_funcs.C: remove a warning
943 2004-03-28 Angus Leeming <leeming@lyx.org>
946 * LyXAction.C (init): new LFUN_PRINT.
948 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
950 2004-03-27 Angus Leeming <leeming@lyx.org>
953 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
955 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
957 2004-03-27 Angus Leeming <leeming@lyx.org>
959 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
960 insetlist always contains non-null pointers to insets.
962 2004-03-26 Angus Leeming <leeming@lyx.org>
964 * src/BufferView_pimpl.C:
968 * src/output_plaintext.C:
969 * src/outputparams.h:
970 * src/paragraph_funcs.C:
974 * src/frontends/controllers/ControlErrorList.C:
975 * src/frontends/gtk/FileDialogPrivate.C:
976 * src/frontends/gtk/GPainter.C:
977 * src/frontends/gtk/GToolbar.C:
978 * src/frontends/qt2/QRef.C:
979 * src/mathed/math_scriptinset.C: squash compiler warnings.
981 2004-03-26 Angus Leeming <leeming@lyx.org>
983 * ispell.C (LaunchIspell::start):
984 * lyx_cb.C (AutoSaveBuffer::start):
985 invoke run(DontWait) rather than runNonBlocking().
987 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
989 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
991 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
993 * kbsequence.C (print): adjust
995 * kbmap.C (printKeySym): rename and change signature
996 (printKey): use LyXKeySym::print()
998 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1000 * undo.C: add using std::advance to compile for stlport
1002 2004-03-24 Angus Leeming <leeming@lyx.org>
1004 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1005 it leads to a crash when no buffer is present.
1007 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1008 Martin Vermeer <martin.vermeer@hut.fi>
1010 * lyxfunc.C (dispatch):
1011 * bufferparams.C (readToken): use the new LColor::setColor
1013 * LColor.[Ch] (setColor): new version that takes two strings as
1014 argument and creates a new color entry if necessary
1016 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1018 * buffer.C (makeLaTeXFile): if the main latex file that is
1019 processed is usually a subdocument of some master, then pretend
1020 for a while that it is actually the master
1022 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1024 * buffer.C (getLabelList):
1025 (getBibkeyList): use getMasterBuffer()
1026 (getMasterBuffer): new method. Returns the main document in the
1027 case where one is using included documents.
1029 2004-03-25 André Pönitz <poenitz@gmx.net>
1033 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1035 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1037 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1038 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1040 * ParameterStruct.h: merge with ParagraphParameters
1042 * lyxtext.h: remove LyXText::parOffset() and getPar()
1044 * text3.C: Remove all 'manual' update calls. We do now one per user
1045 interaction which is completely sufficient.
1049 * BufferView_pimpl.C:
1050 * FontIterator.[Ch]:
1052 * ParagraphParameters.[Ch]:
1057 * cursor_slice.[Ch]:
1064 * output_docbook.[Ch]:
1065 * output_latex.[Ch]:
1066 * output_linuxdoc.[Ch]:
1067 * output_plaintext.[Ch]:
1069 * paragraph_funcs.[Ch]:
1070 * paragraph_pimpl.[Ch]:
1078 * frontends/controllers/ControlDocument.C:
1079 * frontends/controllers/ControlErrorList.C:
1080 * frontends/controllers/ControlSpellchecker.C:
1083 * insets/insetbase.h:
1084 * insets/insetbibitem.C:
1085 * insets/insetbox.C:
1086 * insets/insetbranch.C:
1087 * insets/insetcaption.C:
1088 * insets/insetcharstyle.C:
1089 * insets/insetcharstyle.h:
1090 * insets/insetcollapsable.C:
1091 * insets/insetcollapsable.h:
1092 * insets/insetert.C:
1093 * insets/insetfloat.C:
1094 * insets/insetfoot.C:
1095 * insets/insetmarginal.C:
1096 * insets/insetnote.C:
1097 * insets/insetoptarg.C:
1098 * insets/insettabular.C:
1099 * insets/insettext.C:
1100 * insets/insettext.h:
1101 * insets/insetwrap.C:
1102 * mathed/math_mboxinset.C:
1103 * mathed/math_nestinset.C:
1104 * mathed/math_scriptinset.C:
1105 * mathed/math_scriptinset.h:
1108 2004-03-24 Angus Leeming <leeming@lyx.org>
1110 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1111 deal with any child processes that have finished but are waiting to
1112 communicate this fact to the rest of LyX.
1114 2004-03-24 Angus Leeming <leeming@lyx.org>
1116 64-bit compile fixes.
1118 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1119 (c-tor): pass lyx::pos_types rather than ints.
1121 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1124 * text.C (Delete): compile fix.
1125 (getPar): ensure that function declaration is the same as that in
1128 2004-03-23 Angus Leeming <leeming@lyx.org>
1130 * ispell.C (LaunchIspell):
1131 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1132 a boost::shred_ptr rather than a std::auto_ptr.
1134 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1136 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1137 handle LFUN_FILE_INSERT_*
1139 * lyxrc.C (setDefaults, getDescription, output, read):
1140 * lyxrc.h: remove ps_command
1142 2004-03-22 Angus Leeming <leeming@lyx.org>
1144 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1145 Ensure that error_handler is processed once only and that all data
1146 is saved before attempting to output any warning messages.
1148 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1150 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1152 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1154 2004-03-19 André Pönitz <poenitz@gmx.net>
1156 * cursor.[Ch] (reset): take main text inset as argument
1158 * BufferView: adjust
1159 * BufferView_pimpl.C: adjust
1161 * paragraph.[Ch]: fix completely broken operator=()
1163 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1165 * LColor.C (getFromLyXName): make sure that the color name is used
1168 2004-03-17 Angus Leeming <leeming@lyx.org>
1171 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1173 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1174 dialog and to kill a forked process.
1176 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1178 * text2.C (setCursorFromCoordinates): fix font problem
1180 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1182 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1183 bogus "rebuild cursor" code
1185 2004-03-11 André Pönitz <poenitz@gmx.net>
1187 * buffer.[Ch]: use InsetText instead of LyXText as container for
1190 * dociterator.[Ch]: drop the BufferView * member which is not needed
1191 anymore after the change to buffer.C
1193 * paragraph_funcs.C:
1197 * BufferView_pimpl.[Ch]:
1199 * cursor_slice.[Ch]: adjust
1201 * text3.C: fix bug in mathDispatch
1203 2004-03-08 André Pönitz <poenitz@gmx.net>
1205 * undo.[Ch]: use 'StableDocumentIterator' as base for
1208 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1211 * bufferparams.[Ch]: add jurabib support and param.
1213 * LaTeX.C: add FIXME/comment.
1215 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1217 * buffer.C: increment file format to 230.
1219 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1221 * cursor.C (dispatch): avoid infinite loops
1223 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1225 * rowpainter.C (paintSelection): fix x coordinates
1227 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1229 * text.C (rowBreakPoint): fix breaking before displayed insets
1231 2004-03-01 André Pönitz <poenitz@gmx.net>
1233 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1235 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1239 * BufferView_pimpl.C:
1247 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1253 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1254 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1256 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1258 * Bidi.[Ch] (computeTables): const correctness
1259 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1260 fill_hfill, fill_label_hfill and x from Row
1261 * lyxtext.h: prepareToPrint returns a RowMetrics
1262 * rowPainter.C: adjust
1263 * text.C (prepareToPrint): use width, not textWidth. adjust
1264 (redoParagraphInternal, cursorX): adjust
1265 * text2.C (getColumnNearX): adjust
1266 (init): put a default value to the top LyXText::width
1268 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1270 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1272 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1274 * lyxtext.h: add FontIterator class
1276 * text.C (FontIterator, operator*, operator->, operator++): add
1277 (rowBreakPoint, setRowWidth): adjust (fixing a
1280 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1282 * BufferView_pimpl.C (workAreaDispatch): allow also
1283 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1285 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1287 * text.C (rowBreakPoint): fix a bug showing with very large insets
1289 2004-02-25 André Pönitz <poenitz@gmx.net>
1292 * cursor.[Ch]: move some mathed specific code to mathed
1294 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1296 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1297 use_tempdir in preferences
1298 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1300 * lyx_main.C: ensure that tempdir is valid
1301 * lyxlex.h: correct typo
1302 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1303 * paragraph.[Ch] (isMultiLingual): make const
1304 * cursor.[Ch] (openable): make const
1306 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1308 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1310 2004-02-20 André Pönitz <poenitz@gmx.net>
1312 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1314 * cursor.[Ch]: prepare for localized getStatus()
1320 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1322 2004-02-20 André Pönitz <poenitz@gmx.net>
1324 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1326 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1328 * text2.C (setCursorFromCoordinates): switch to absolute coords
1330 (cursorDown): adjust
1331 * text3.C (dispatch): adjust
1333 2004-02-16 André Pönitz <poenitz@gmx.net>
1335 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1338 * cursor_slice.[Ch]: remove unneeded acessor function
1340 * lyxtext.h: rename rtl() to isRTL()
1348 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1350 * rowpainter.C (paintSelection): coord fix
1352 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1354 * Spacing.C: compile fix
1356 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1358 * cursor.C (dispatch): restore current_ before returning
1360 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1362 * text2.C (cursorUp, cursorDown): fix coords
1365 2004-02-12 André Pönitz <poenitz@gmx.net>
1370 * text3.C: add LCursor & parameter to most cursor movement functions
1371 remove usage of LyXText::cursorRow() and cursorPar()
1373 * cursor.[Ch]: add textRow() needed members
1376 * BufferView_pimpl.C:
1379 * BufferView_pimpl.C: adjust
1381 2004-02-11 André Pönitz <poenitz@gmx.net>
1385 * BufferView_pimpl.C: shift undo/redo handling
1387 * cursor.[Ch]: fix mathed crash
1390 * lyxtext.h: move selectionAsText to LCursor
1398 * rowpainter.C: fix excessive drawing
1400 2004-02-06 André Pönitz <poenitz@gmx.net>
1403 * BufferView_pimpl.[Ch]:
1404 * text3.C: move some text specific LFUN handling
1406 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1408 * text3.C (checkInsetHit): adjust coords
1409 * text2.C (getColumnNearX): adjust coords
1410 (edit): adjust coords
1411 * text.C (getRowNearY): add two asserts
1413 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1416 * format.C: add using std::distance to compile on gcc 2.95/stlport
1418 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1420 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1422 2004-02-04 André Pönitz <poenitz@gmx.net>
1424 * BufferView.[Ch] (insertInset):
1425 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1430 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1432 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1433 on the default clause of the switch
1434 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1435 wasn't catched by LCursor::dispatch
1437 2004-02-03 André Pönitz <poenitz@gmx.net>
1440 * cursor.[Ch]: some additional asserts
1442 * undo.[Ch]: remove LyXText dependency in interface
1446 * lyxtext.h (firstPar, lastPar): remove dead functions
1451 * paragraph.[Ch]: adjust
1453 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1455 * lyxfind.C (find): fix argument order in call to ::find
1457 2004-02-02 André Pönitz <poenitz@gmx.net>
1459 * cursor.[Ch]: remove direct access to anchor
1461 * text.C: remove findText() hack
1463 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1465 * iterators.[Ch] (lockPath): remove in favour of...
1466 * BufferView.[Ch] (setCursor): this addition
1467 * BufferView.C (putSelectionAt): adjust
1468 * undo.C (performUndoOrRedo): adjust
1469 * lyxfunc.C (dispatch): adjust
1471 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1473 * iterators.C (lockPath): add a missing slice
1474 * undo.C (performUndoOrRedo): remove redundant positioning code
1476 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1478 * vc-backend.C (scanMaster): ";" -> ';'
1480 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1482 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1483 std::binary_function
1485 * lyxtextclass.C (compare_name): rename to...
1486 (LayoutNamesEqual): ...this
1488 * lyxlex_pimpl.C (compare_tags): inherit from
1489 std::binary_function, put back into anon namespace
1491 * lyxfind.C (MatchString): inherig from std::binary_function
1492 (findChange): use empty() istead of !size()
1494 * format.C (FormatNamesEqual): new functor
1501 * converter.C (compare_Converter): rename to...
1502 (ConverterEqual): ...this, and fixup a bit.
1503 (getConverter): use it, and make function const
1504 (getNumber): use it, and make function const
1508 * bufferlist.C: add using boost::bind
1510 * MenuBackend.C (MenuNamesEqual): new functor
1511 (hasMenu): use it, and make function const
1512 (hasSubmenu): use nested bind to get rid of compare_memfun.
1514 2004-01-30 André Pönitz <poenitz@gmx.net>
1516 * BufferView_pimpl.C:
1519 * cursor_slice.[Ch]:
1522 * paragraph_funcs.C:
1523 * paragraph_funcs.h:
1527 * text3.C: move some of the edit(x,y) handling to the insets
1528 some coordinate changes.
1530 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1532 * text.C: add using statements for std::advance and std::distance
1534 * paragraph.C: add using statement for std::distance
1536 * lyxfind.C: add using statement for std::advance
1538 * cursor.C (region): remove std:: from swap
1539 (openable): use nucleus in stead of operator->
1541 * BufferView.C: add using statements for std::distance and std::swap
1543 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1545 * iterators.C: Remove the pimple, move the needed structures to
1546 the header file. Create accessor for the positions stack.
1547 (asPosIterator): remove function
1549 * PosIterator.C (PosIterator): move constructors to top of file
1550 (PosIterator): reimplement the constructor taking a ParIterator in
1552 (setFrom): new function
1553 (operator!=): inline it
1555 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1557 * lyxfind.C (replaceAll): use std::advance
1559 * iterators.h: inherit from std::iterator.
1561 * PosIterator.C (advance, distance): remove
1562 * PosIterator.h: interit from std::iterator.
1564 2004-01-26 André Pönitz <poenitz@gmx.net>
1567 * BufferView_pimpl.[Ch]:
1571 * bufferview_funcs.C:
1581 * output_linuxdoc.C:
1582 * output_plaintext.C:
1584 * paragraph_funcs.[Ch]:
1585 * paragraph_pimpl.[Ch]:
1591 * text3.C: more IU: dumps most of the rest of the mathcursor
1592 implementation into cursor.[Ch]; "globalize" a bit of it.
1594 2004-01-25 Angus Leeming <leeming@lyx.org>
1596 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1598 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1600 * LaTeXFeatures.h: add nice_ and nice() const
1601 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1603 2004-01-20 André Pönitz <poenitz@gmx.net>
1606 * BufferView_pimpl.C:
1608 * bufferview_funcs.C:
1610 * cursor_slice.[Ch]:
1621 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1622 LCursor and mathcursor parts to LCursor and InsetBase.
1624 2004-01-15 André Pönitz <poenitz@gmx.net>
1626 * cursor_slice.[Ch]: add a few covienience functions
1628 * funcrequest.[Ch]: remove BufferView * member
1630 * BufferView_pimpl.C:
1637 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1639 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1641 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1642 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1644 2004-01-13 André Pönitz <poenitz@gmx.net>
1647 * lyxtext.h: hide cursor and selection anchor behind accessor function
1650 * BufferView_pimpl.[Ch]:
1652 * bufferview_funcs.C:
1662 * cursor_slice.[Ch]: some integer type changes for inset unification
1664 * lyxcursor.[hC]: remove, it's CursorSlice now.
1667 * BufferView_pimpl.[Ch]:
1668 * bufferview_funcs.C:
1674 * textcursor.[Ch]: adjust
1676 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1678 * text2.C (undoSpan): add and use
1679 * text.C (breakParagraph): use undoSpan (fix bug 578)
1682 2004-01-08 Angus Leeming <leeming@lyx.org>
1684 * BufferView_pimpl.C (MenuInsertLyXFile):
1685 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1686 * lyxfunc.C (menuNew, open, doImport):
1687 FileFilterList change to the FileDialog open and save functions.
1689 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1691 * ShareContainer.h: make isEqual and isUnique adaptable
1693 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1695 2004-01-07 Angus Leeming <leeming@lyx.org>
1698 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1700 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1702 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1703 functions replacing find, replace and replaceAll.
1705 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1706 LFUN_WORDFIND(FORWARD|BACKWARD).
1708 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1710 * text.C (breakParagraph): remove an outdated #warning
1712 2004-01-07 André Pönitz <poenitz@gmx.net>
1714 * lyxfind.C: somewhat clearer logic
1716 * text.C: prevent crash in cursorX on unitialized row cache
1718 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1720 * lyxcursor.[Ch] (operator>): add
1721 * textcursor.C (selStart, selEnd): use std::min and std::max
1723 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1725 * Chktex.C: include boost/format.hpp
1727 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1729 * InsetList.C: replace functor MathcIt with adaptable functor
1731 (insetIterator): modify accordingly
1733 * BranchList.h: move the BranchNamesEqual functor here from...
1734 * BranchList.C: ... to here
1736 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1738 (add): replace a finding loop with std::find_if.
1740 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1742 * output_docbook.C: moving LatexParam functionality into
1745 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1747 * buffer.C: increment format to 229.
1749 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1752 * lyx_sty.[Ch]: remove minipageindent_def
1758 * text3.C: remove LFUN_INSET_MINIPAGE
1760 2003-12-28 Angus Leeming <leeming@lyx.org>
1762 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1764 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1766 * text2.C (setParagraph): fix off-by-one crash
1768 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1770 * output_docbook.C: header stuff for AGU
1772 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1774 * text2.C (redoCursor): remove
1777 * BufferView_pimpl.C: remove calls to redoCursor and
1778 setCursor(cursor.par(), cursor.pos()) all around
1780 2003-12-15 Angus Leeming <leeming@lyx.org>
1782 * buffer.C: up the format to 228.
1784 2003-12-15 André Pönitz <poenitz@gmx.net>
1786 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1791 * BufferView_pimpl.C:
1800 2003-12-15 Angus Leeming <leeming@lyx.org>
1802 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1803 than getFromGUIName to manipulate the color.
1805 2003-12-14 Angus Leeming <leeming@lyx.org>
1807 * BranchList.[Ch]: minimize the API.
1808 (Branch::getBranch, getColor): now return a 'const &'.
1809 (Branch::setSelected) now returns a bool set to true if the
1810 selection status changes.
1811 (BranchList::clear, size, getColor, setColor, setSelected,
1812 allBranches, allSelected, separator): removed.
1813 (BranchList::find): new functions, returning the Branch with
1815 (BranchList::add, remove): return a bool indicating that
1816 the operation was successful.
1818 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1819 new InsetBranch::isBranchSlected member function.
1821 * LColor.[Ch]: mimimize the API.
1822 (fill): renamed as addColor and made private.
1823 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1824 versions of these functions taking a string arg have been removed.
1826 * bufferparams.C (readToken):
1827 * lyxfunc.C (dispatch):
1828 * lyxrc.C (read): changes due to the altered BranchList and
1831 * factory.C (createInset, readInset): changes due to altered
1834 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1837 * lyxfunc.C: remove insetminipage. "minipage-insert"
1838 now produces a frameless minipage box inset.
1840 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1842 * textcursor.[Ch] (selStart,selEnd): add new methods
1843 remove selection::start, end, use LyXCursor::operator<
1844 * lyxcursor.[Ch] (operator<): add
1845 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1846 * BufferView.[Ch] (unsetXSel): add
1847 * text2.C (clearSelection): use unsetXSel,adjust
1850 * rowpainter.C: adjust
1851 * bufferview_funcs.C (put_selection_at): adjust
1853 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1855 * BufferView_pimpl.C: small coord. correction
1857 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1859 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1860 dragging over the splash screen.
1862 2003-12-11 Angus Leeming <leeming@lyx.org>
1864 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1865 as it is now handled in LyXText::dispatch.
1867 * text3.C (doInsertInset): remove a level of nesting.
1869 2003-12-11 Angus Leeming <leeming@lyx.org>
1871 * factory.C (createInset): changes due to the changed interface to
1872 InsetCommandMailer::string2params.
1874 2003-12-10 Angus Leeming <leeming@lyx.org>
1876 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1877 'dialog-show-new-inset <inset name>'
1879 2003-12-10 Angus Leeming <leeming@lyx.org>
1881 * buffer.C: up the format to 227.
1883 * factory.C: the box inset is now identified simply by 'Box'.
1885 2003-12-10 Angus Leeming <leeming@lyx.org>
1887 * buffer.C: up the format to 226.
1889 * factory.C: the note inset is now identified simply by 'Note'.
1891 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1893 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1894 when a pit is enough. Standarize a couple of loops.
1896 2003-12-05 Angus Leeming <leeming@lyx.org>
1898 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1899 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1900 data to the re-worked "log" dialog.
1902 2003-12-03 André Pönitz <poenitz@gmx.net>
1908 * paragraph_funcs.C:
1910 * text2.C: use Inset::getText instead of Inset::getParagraph
1912 2003-12-03 André Pönitz <poenitz@gmx.net>
1916 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1917 InsetText::read() as LyXText::read()
1919 2003-12-02 Angus Leeming <leeming@lyx.org>
1921 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1922 type. Add a comment in the implementation that the function uses
1923 the stream's bad() function rather than fail() as the std::streams
1926 2003-12-02 André Pönitz <poenitz@gmx.net>
1928 * lyxlex.[Ch]: make interface more similar to std::stream
1930 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1932 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1934 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1936 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1938 * vspace.[Ch]: remove VSpace::NONE
1940 2003-12-01 André Pönitz <poenitz@gmx.net>
1943 * lyxtext.h: move ParagraphList member to LyXText
1944 rename LyXText::ownerParagraphs to LyXText::paragraph
1947 * bufferview_funcs.C:
1957 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1959 * undo.C: fix cursor positioning
1961 2003-12-01 John Levon <levon@movementarian.org>
1963 * BufferView_pimpl.C: fix a crash on exit with
1966 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1968 * BranchList.C: fix setSelected() method.
1970 2003-11-28 André Pönitz <poenitz@gmx.net>
1972 * ParagraphParameters.[Ch]:
1973 * ParameterStruct.h: remove space above/below from Paragraph to
1976 * BufferView_pimpl.C:
1982 * paragraph_funcs.C:
1988 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1990 * factory.C: Syntax change for CharStyles
1992 2003-11-28 André Pönitz <poenitz@gmx.net>
1997 * buffer.[Ch]: move LyXText member
1999 2003-11-28 André Pönitz <poenitz@gmx.net>
2001 * BufferView.[Ch]: make LyXText * text a private member
2003 * BufferView_pimpl.C:
2014 * output_plaintext.C: cleanup
2016 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2019 * lyxtextclass.[Ch]: parametrize SGML document header
2021 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2024 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2027 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2029 * text2.C (setFont): rework using PosIterator (no more recursive)
2030 (setCharFont): no more needed
2031 (setLayout): no more selection cursors fiddling (done by redoCursor)
2032 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2033 destroy remaining ones)
2035 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2037 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2039 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2042 * text3.C: adjust + re-allow multi par depth changes
2043 * textcursor.C: simplify a bit
2045 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2051 * src/output_docbook.C:
2052 * src/output_latex.C:
2057 * src/text2.C: Introducing a number of tags parametrizing various
2058 XML formats that we may want to support
2060 2003-11-25 André Pönitz <poenitz@gmx.net>
2062 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2064 * lyxtext.h (leftMargin/rightMargin): simplify interface
2071 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2073 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2074 master file to any child files. Fixes bug 546.
2076 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2078 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2080 2003-11-24 André Pönitz <poenitz@gmx.net>
2082 * rowpainter.C: simplification
2084 * text2.C (updateCounters): remove call to redoParagraph on
2085 changed labels as this is far too expensive.
2087 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2089 * converter.C (convert): fix a crash: this function gets
2090 called with buffer == 0 from importer code.
2092 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2094 * text3.C (cursorPrevious): make sure that we do not compare
2095 iterators form different containers.
2098 * rowpainter.C (paintSelection): make sure that we do not compare
2099 iterators from different containers.
2101 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2102 iterators from different ParagraphList containers.
2105 * text2.C (LyXText): change order of initialization slightly
2106 (operator=): new function. copy all variables except cache_par_
2107 (moveUp): make sure that we do not compare iterators from
2108 different ParagraphList constainers.
2111 * text.C (firstPar): new function
2112 (lastPar): new function
2113 (endPar): new function
2115 * lyxtext.h: move things around and group public functions, public
2116 variables, private functions, private variables
2118 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2120 * factory.C: change call to InsetERT constructor to avoid
2121 additional invocation of method status
2122 * text2.C (toggleInset): remove redundant update() call
2123 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2124 instead of a Bufferview pointer
2126 2003-11-21 André Pönitz <poenitz@gmx.net>
2128 * rowpainter.C: simplification
2130 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2132 * text3.C (dispatch): make possible to extend a word/row selection
2135 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2137 * lyxtext.h: x0_,y0_ -> xo_,yo_
2138 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2139 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2140 * rowpainter.C (paintRows): paint full paragraphs
2142 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2144 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2147 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2149 * lyxtext.h: add x0_, y0_
2150 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2151 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2153 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2155 * text2.C (setCursorIntern): move the x_target update here *
2156 * text3.C: change some bv() to true/false in calls to
2157 cursorUp/Down/Right/Left
2158 * cursor.C: use helper function.
2160 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2162 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2163 * paragraph_funcs.[Ch]: correct comment
2164 * rowpainter.C: do not paint selections away from bv->cursor()
2165 Fix a long standing selection painting bug.
2166 * text3.C: generalize mouse-selection code to LyXTexts other that
2168 * textcursor.C: do not use y coords if we can use par offsets
2170 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2172 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2173 cursor position after e.g. inset insert)
2175 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2177 * lyxfind.C (replace): adjust to locking removal + some
2180 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2182 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2185 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2188 * output_docbook.C: XML sanitation: new layout
2189 parameters InnerTag and CommandDepth
2191 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2193 * BufferView_pimpl.C:
2195 * text3.C: Fix the insertion and modification of button-style
2198 2003-11-13 André Pönitz <poenitz@gmx.net>
2200 * InsetList.[Ch]: remove deleteLyXText
2202 * paragraph.[Ch]: cache beginOfBody position
2207 * text3.C: remove superfluous update() calls
2211 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2213 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2214 * BufferView.C (fitLockedInsetCursor): remove
2215 * cursor.[Ch] (getDim): add
2216 * text.C (getRowNearY): add faster version
2217 * text3.C: remove some update calls
2219 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2231 * text3.C: The Character Style /XML short element patch.
2233 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2236 * factory.C: Small step to solving 'unable to insert some insets'
2239 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2241 * cursor.[Ch] (updatePos): new function for updating the y
2242 position of the tip inset
2243 * bufferview_funcs.C (put_selection_at):
2244 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2246 2003-11-11 André Pönitz <poenitz@gmx.net>
2248 * text.C: remove big comment on invalid Paragraph pointers as it is
2251 2003-11-11 André Pönitz <poenitz@gmx.net>
2253 * text_funcs.[Ch]: merge with ...
2261 * Makefile.am: remove text_funcs.[Ch]
2263 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2265 * cursor.C (getPos): return absolute cached y coord
2267 * BufferView_pimpl.C (fitCursor): new simplistic code
2268 (workAreaDispatch): add a fitCursor call
2270 2003-11-10 André Pönitz <poenitz@gmx.net>
2273 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2275 2003-11-10 André Pönitz <poenitz@gmx.net>
2277 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2278 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2279 indicate that the cursor needs to leave an inset
2281 * lyxtext.h: remove inset locking
2283 * cursor.[Ch]: re-implement functionality provided by inset locking
2286 * BufferView_pimpl.[Ch]:
2288 * bufferview_funcs.[Ch]:
2300 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2302 * PosIterator.[Ch]: replace the stack with a vector, add inset
2304 * iterators.[C]: adjust
2306 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2308 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2310 * paragraph_funcs.C (readParToken): put the correct id in the
2311 error item, not the id of the top paragraph
2313 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2315 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2316 * bufferview_funcs.C (put_selection_at): use the above
2318 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2320 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2322 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2324 * output_linuxdoc.h:
2325 * output_plaintext.h:
2327 * output_docbook.h: add #include statements
2329 2003-11-05 José Matos <jamatos@lyx.org>
2331 * output_docbook.[Ch]:
2332 * output_latex.[Ch]:
2333 * output_linuxdoc.[Ch]:
2334 * output_plaintext.[Ch]: New files for output formats.
2335 * output.[Ch]: New file for helper functions.
2338 * paragraph_funcs.[Ch]: output functions moved to new files.
2340 * outputparams.h: rename of latexrunparams.h
2348 * paragraph_funcs.[Ch]:
2349 * paragraph_pimpl.[Ch]:
2350 * tabular.[Ch]: rename ascii to plaintext
2351 and LatexRunParams to OutputParams.
2353 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2355 * iterators.[Ch] (text): require bv argument
2356 * undo.C (recordUndo):
2357 * lyxfunc.C (dispatch):
2358 * bufferview_funcs.C (put_selection_at): adjust
2360 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2362 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2364 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2366 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2369 2003-11-04 André Pönitz <poenitz@gmx.net>
2371 * cursor.[Ch]: restructure
2374 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2376 * iterators.[Ch] (asCursor): remove
2378 * lfuns.h: remove LFUN_INSET_EDIT
2384 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2386 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2388 * lyxfind.[Ch]: complete overhaul
2389 * BufferView_pimpl.C:
2391 * paragraph.[Ch] (insert): add
2393 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2397 * text.C: remove dead spellcheck code
2399 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2401 * dispatchresult.h: add a val setter
2403 * cursor.C (dispatch): use a tempvar for data_[i]
2405 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2407 * PosIterator.[Ch]: compile fix
2409 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2411 * text.C (cursorPar): deactivate the cursor cache
2413 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2415 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2417 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2419 * text3.C (dispatch): adjust for new DisptchResult semantics.
2421 * lyxfunc.C (dispatch): handle update when return from
2422 Cursor::dispatch, adjust for new DispatchResult semantics.
2424 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2425 DispatchResult(true) mean to not update. Add class functions for
2426 setting dispatched and update, as well as reading.
2428 * cursor.C (dispatch): don't handle update here
2430 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2432 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2433 * trans_mgr.C: adjust
2435 * paragraph_funcs.C (readParToken): exception safety
2437 * lyxvc.h: store the vcs pointer in a scoped_ptr
2440 * lyxsocket.C (serverCallback): exception safety
2442 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2444 * ispell.C (clone): make it return a auto_ptr
2446 * factory.C (createInset): exception safety
2447 (readInset): exception safety
2449 * bufferlist.C (newBuffer): exception safety
2451 * Thesaurus.C (Thesaurus): use initialization for aik_
2453 * MenuBackend.C (expandToc): exception safety.
2455 2003-11-03 André Pönitz <poenitz@gmx.net>
2459 * bufferview_funcs.C: remove getInsetFromId()
2462 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2468 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2470 * PosIterator.C (distance, advance): new
2471 * bufferview_funcs.[Ch] (put_selection_at): new
2472 * iterators.[Ch] (lockPath): new
2474 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2476 * iterators.[Ch] (asPosIterator): added
2477 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2478 * PosIterator.[Ch]: added
2480 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2484 * cursor.C (dispatch):
2485 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2487 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2488 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2489 contructor, add a class function dispatched. Remove operator>=
2491 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2493 * debug.C: only use the default constructor for debugstream
2496 * main.C (main): include debug.h and setup the lyxerr streambuf
2499 2003-10-31 José Matos <jamatos@lyx.org>
2501 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2503 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2504 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2505 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2506 * paragraph_pimpl.C (simpleTeXSpecialC):
2507 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2508 add LatexRunParams argument.
2510 * exporter.C (Export): change call accordingly.
2512 * latexrunparams.h: add new member to take care of the other backends.
2513 2003-10-30 José Matos <jamatos@lyx.org>
2515 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2516 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2517 factorise code for paragraph output.
2519 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2522 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2524 * text3.C (dispatch):
2525 * lyxfunc.C (dispatch):
2526 * cursor.C (dispatch):
2527 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2529 * dispatchresult.h: make the dispatch_result_t ctor explicit
2531 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2534 * buffer.C: small refactoring of docbook stuff
2536 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2538 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2541 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2544 operator dispatch_result_t, and operators for == != and >=
2546 * cursor.C (dispatch): adjust for operator dispatch_result_t
2547 removal. comment out call to update
2549 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2551 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2559 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2562 * dispatchresult.h: new file, DispatchResult broken out of
2565 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2567 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2569 * text.C (rowBreakPoint): put a hack inside #if 0
2571 2003-10-28 André Pönitz <poenitz@gmx.net>
2575 * paragraph_funcs.C:
2578 * text2.C: general cleanup (lots of small stuff)
2580 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2582 * text2.C (cursorEnd): simple fix to the "end key goes to one
2583 before the end on last row" bug
2585 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2587 * text.C (backspace): fix the "zombie characters"
2589 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2591 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2593 2003-10-27 André Pönitz <poenitz@gmx.net>
2595 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2597 * factory.C: handle new InsetPagebreak, InsetLine
2599 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2600 and move handling into new InsetPagebreak, InsetLine
2602 * BufferView_pimpl.C:
2604 * ParagraphParameters.C:
2605 * ParameterStruct.h:
2610 * paragraph_funcs.C:
2611 * paragraph_pimpl.C:
2617 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2620 * lyxrow_funcs.[Ch]:
2626 * text3.C: remove lastPos uses in favour of Row::endpos
2628 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2630 * undo.C (performUndoOrRedo): fix two crashes by setting a
2631 cursor by hand and reordering some calls. Use bv->lockInset instead
2632 of inset->edit because the latter loses cursor information
2634 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2636 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2638 (rowBreakPoint): fix width. change point to point + 1.
2639 Add a missing check.
2641 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2644 * lyxfunc.C: fix (at least partly) the problems
2645 with the Nav menu and headers inside branch insets
2648 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2650 * paragraph.C (getChar): add strong asserts
2652 * lyxrow_funcs.C (lastPos): remove hideous hack
2654 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2655 (fill): adjust to that (avoid an infinite loop)
2657 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2659 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2661 2003-10-23 André Pönitz <poenitz@gmx.net>
2663 * RowList_fwd.h: change list<> to vector<> to gain speed
2664 after suggestion from Alfredo
2666 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2668 * lyxtext.h: move the bidi stuff from here...
2671 * Bidi.[Ch]: ... to here
2673 2003-10-23 André Pönitz <poenitz@gmx.net>
2676 * text.C (isLastRow, isFirstRow): new functions
2678 * paragraph.h: new width cache member
2680 * rowpainter.C: replace RowList::iterator with Row & where possible
2682 * lyxfunc.C: replace several view()->text with a single call
2684 * toc.C: fix 'unused' warning
2686 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2688 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2689 when woring with stream::pos_type
2690 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2692 2003-10-22 André Pönitz <poenitz@gmx.net>
2695 * text.C: use Row & instead of RowList::iterator
2697 * lyxrow.h: rename end() to endpos()
2703 2003-10-22 Angus Leeming <leeming@lyx.org>
2705 * buffer.[Ch] (fully_loaded): new member function, returning true
2706 only when the file has been loaded fully.
2707 Used to prevent the premature generation of previews and by the
2708 citation inset to prevent computation of the natbib-style label.
2710 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2711 templates are all set up.
2713 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2715 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2717 * text.C: fixed an "oops" in the "is a bit silly"
2720 2003-10-21 André Pönitz <poenitz@gmx.net>
2722 * FuncStatus.[Ch]: small stuff, whitespace
2724 * lyxfont.[Ch]: operator<<() for debug reasons
2728 * lyxtext.h: whitespace, spelling
2730 * paragraph.C: naming of variables
2733 * text2.C: small stuff
2736 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2738 * text.C: (1) finish off the inset display() work;
2739 (2) fix the "is a bit silly" bug (accessing char
2742 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2744 * text.C: re-introduce display() for insets, fixing the
2745 various bugs (stretch of line above, math inset
2748 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2750 * text.C (rightMargin): remove spurious semicolon
2752 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2755 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2757 * text3.C: fix one crash due to wrong cursor def
2759 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2761 * vc-backend.C (scanMaster): make the regex static
2763 * LaTeX.C (scanAuxFile): make the regexs static
2765 * text3.C (doInsertInset, dispatch, dispatch):
2766 * text2.C (cursorUp, cursorDown):
2767 * text.C (selectNextWordToSpellcheck):
2768 * BufferView_pimpl.C (dispatch):
2769 * lyxfunc.C (dispatch): localDispatch -> dispatch
2771 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2773 * lyxsocket.C: include <cerrno>
2775 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2777 * lyxfunc.C (dispatch): remove textcache stuff
2779 * bufferlist.C (release): remove textcache stuff
2782 * TextCache.C: delete file
2783 * TextCache.h: delete file
2785 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2787 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2788 delete of the bv_->text.
2789 (resizeCurrentBuffer): remove texcache stuff
2790 (workAreaResize): ditto
2792 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2794 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2797 2003-10-16 André Pönitz <poenitz@gmx.net>
2804 * text3.C: speed up by storing y positions per paragraph plus per-row
2805 offset instead of having a 'full' y position in the row.
2807 2003-10-15 André Pönitz <poenitz@gmx.net>
2811 * undo.[Ch]: make undo aware of inner insets
2813 2003-10-14 Angus Leeming <leeming@lyx.org>
2815 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2816 static member functions LyX::ref() and LyX::cref.
2817 (lastfiles): new accessor functions for the new lastfiles_ member var.
2818 (addLyXView, views_): add a new LyXView to the list of views_.
2819 (updateInset): loop over all LyXViews to call their own updateInset
2820 member function, returning a pointer to the Buffer owning the inset.
2822 * BufferView_pimpl.C (loadLyXFile):
2823 * MenuBackend.C (expandLastfiles):
2824 * bufferlist.C (MenuWrite, QuitLyX):
2825 lastfiles is no longer a global variable.
2826 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2828 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2829 static function. Access through LyX::cref().emergencyCleanup().
2831 2003-10-14 André Pönitz <poenitz@gmx.net>
2833 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2835 * undo.[Ch]: restoring part of 'undo in insets'
2838 * undo_funcs.[Ch]: merge with undo.[Ch]
2840 * tabular.C: small cleansing stuff
2842 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2844 * paragraph_funcs.C (readParToken): report unknown insets as error
2845 boxes. Use the outer paragraph as location (also for unknown
2848 * factory.C (readInset): do not abort on reading an unknown inset.
2849 Eat it and return 0.
2851 2003-10-13 Angus Leeming <leeming@lyx.org>
2853 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2855 * lyxrc.C: displayTranslator is now a function,
2856 declared in GraphicsTypes.h.
2858 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2860 * format.C: new placeholder $$a to pass the socket address.
2862 * bufferlist.[Ch]: new function getBufferFromTmp.
2864 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2865 files in the temporary dir.
2867 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2869 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2871 * Makefile.am: add lyxsocket.[Ch].
2873 * lyx_main.C (error_handler): handle SIGPIPE.
2875 2003-10-13 André Pönitz <poenitz@gmx.net>
2877 * BufferView_pimpl.C:
2882 * undo_funcs.[Ch]: use paroffset_type instead of
2883 ParagraphList::iterators to prevent multiple conversion
2884 (and get a more robust interface)
2886 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2888 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2890 * text3.C (dispatch): ditto
2892 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2894 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2895 move the onlyfile, use onlyfile instead of foundfile in a couple
2898 * DepTable.C (update): flush the error stream a bit more
2900 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2902 * lyxserver.C (callback): adjust
2904 * lyxfunc.C (getStatus): add a missing brace in commented code
2905 (ensureBufferClean): reindent
2906 (dispatch): delete version taking a string
2908 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2910 * LaTeX.C (deplog): move found file handlig from here...
2911 (handleFoundFile): .. to new function here.
2912 (deplog): make sure to discover several files mentioned on the
2915 2003-10-10 André Pönitz <poenitz@gmx.net>
2922 * text3.C: fix some of the tabular crashes
2924 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2926 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2928 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2930 2003-10-09 André Pönitz <poenitz@gmx.net>
2932 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2935 * BufferView_pimpl.C:
2936 * bufferview_funcs.C:
2947 * undo_funcs.C: adjust
2949 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2951 * text2.C (incrementItemDepth): new function, use a backtracking
2952 algorithm to discover the correct item depth.
2953 (resetEnumCounterIfNeeded): new function, use a backtracking
2954 algorithm to discover if counter reset is needed.
2955 (setCounter): use them. Simplify a bit. Add different labels for
2956 different item depths for itemize.
2958 * paragraph.C (Paragraph): remove initialization of enumdepth
2961 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2962 enumerate and itemize. Change the type of itemdepth to signed char.
2964 2003-10-08 André Pönitz <poenitz@gmx.net>
2966 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2971 * tabular.[Ch]: fix crash after 'row-insert'
2973 2003-10-08 Angus Leeming <leeming@lyx.org>
2975 Fix doxygen warnings.
2977 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2978 Remove CutAndPaste:: prefix from header file declaration.
2980 * LColor.h (fill): remove LColor:: prefix from declaration.
2982 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2983 use lyx::depth_type rather than Paragraph::depth_type so that
2984 header file and .C file match.
2986 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2988 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2989 * aspell.C: \file aspell_local.C -> \file aspell.C
2990 * gettext.C: \file gettext.C -> \file src/gettext.C
2991 * gettext.h: \file gettext.h -> \file src/gettext.h
2992 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2993 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2994 * text.C: \file text.C -> \file src/text.C
2996 * toc.C: move comment so that doxygen is not confused.
2998 2003-10-07 Angus Leeming <leeming@lyx.org>
3000 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3002 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3005 * aspell_local.h: add forgotten std::string's.
3007 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3014 * text3.C: The Box patch. Fancybox support, minipage, parbox
3016 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3022 * ParagraphParameters.h:
3032 * lyxtextclasslist.h:
3035 * paragraph_pimpl.C:
3036 * textcursor.h: add <string> and other small fixes to make Lars'
3037 std::string patch compile with STLport.
3039 2003-10-06 Angus Leeming <leeming@lyx.org>
3041 * LColor.h: Add missing #include <string>.
3043 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3045 * All most all file in all subdirs: Make <string> be the prefered
3046 way of getting to std::string, add using declarations.
3048 2003-10-06 André Pönitz <poenitz@gmx.net>
3050 * metricsinfo.C: initialize LyXFont before changing attribute.
3051 (fixes the 'math in \emph is upright' bug)
3053 2003-10-06 André Pönitz <poenitz@gmx.net>
3055 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3057 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3060 * paragraph_pimpl.C: Small fixes to build using STLport
3062 2003-10-02 André Pönitz <poenitz@gmx.net>
3065 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3067 2003-10-01 André Pönitz <poenitz@gmx.net>
3069 * factory.C: assert early
3071 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3073 * lyx_main.C: remove the global debug object
3075 * debug.h: adjust for new debugstream
3077 * debug.C: adjust for new debugstream and keep the global debug
3080 2003-09-22 Angus Leeming <leeming@lyx.org>
3082 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3083 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3084 an incomplete class LyXFont.
3086 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3088 * factory.C: bug fix in branches
3090 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3092 * lyxfunc.C (processKeySym): adjust
3094 (dispatch): change arg name from ev to func, adjust
3095 (sendDispatchMessage): ditto
3097 * lyx_main.C (defaultKeyBindings): adjust keybindings
3098 (deadKeyBindings): ditto
3100 * kbsequence.C (addkey): return a FuncRequest
3102 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3104 * kbmap.C (bind): take a FuncRequest as arg, adjust
3107 (defkey): change to take a FuncRequest as arg, adjust
3108 (findbinding): take a FuncRequest as arg, adjust.
3110 * funcrequest.h (operator=): added
3112 * funcrequest.C (FuncRequest): default kb_action changed from
3113 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3115 * buffer.C (dispatch): simplify
3116 (dispatch): adjust to take a FuncRequest as arg, adjust
3118 * boost.C (assertion_failed): change assertion message slightly
3120 * ToolbarBackend.C (read): simplify
3122 * MenuBackend.C (binding): adjust call to findbinding, add a
3123 message if no binding is found.
3125 (expandToc): correct by adding a empty FuncRequest
3127 * LyXAction.C: include <boost/assert.hpp>
3128 (isPseudoAction): delete function
3129 (LookupFunc): change name to...
3130 (lookupFunc): this. change return type to FuncRequest.
3131 (getActionName): take kb_action as arg, simplify
3132 (funcHasFlag): add an assert, simplify.
3134 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3136 * toc.C (action): return a FuncRequest, simplify
3138 * lyxfunc.C (processKeySym): adjust
3139 (getStatus): delete version that takes an int.
3141 (dispatch): delete version that takes action as int
3143 (sendDispatchMessage): simplify and adjust
3145 * funcrequest.C (getArg): take unsigned int as arg
3147 * ToolbarBackend.C (read): adjust
3148 (add): delete version that takes func as a string.
3149 (getIton): take a FuncRequest as arg
3151 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3154 * MenuBackend.C (MenuItem): add a new construct that only takes a
3155 Kind, simplify the constructor use for submenus.
3157 (expandLastfiles): adjust
3158 (expandDocuments): adjust
3159 (expandFormats): adjust
3160 (expandFloatListInsert): adjust
3161 (expandFloatInsert): adjust
3162 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3164 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3165 Remove class variables lyx_pseudo_map and lyx_arg_map
3167 * LyXAction.C (searchActionArg): delete function
3168 (getPseudoAction): delete function
3169 (retrieveActionArg): delete function
3170 (LookupFunc): make it return kb_action, simplify.
3171 (getActionName): simplify
3173 * factory.C (createInset): fix new bug
3175 2003-09-19 Angus Leeming <leeming@lyx.org>
3177 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3178 masterFilename_ parameter in the include inset.
3180 * factory.C (createInset): changes due to the changes to InsetInclude.
3182 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3184 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3186 2003-09-18 Angus Leeming <leeming@lyx.org>
3189 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3190 Inset::fillWithBibKeys.
3191 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3193 2003-09-18 Angus Leeming <leeming@lyx.org>
3195 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3197 (ctor): pass and store a 'Buffer const &'
3198 (buffer): new member function.
3200 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3201 '*this' to the LaTeXFeatures ctor.
3203 2003-09-18 Angus Leeming <leeming@lyx.org>
3209 * text.C: rename EnumLColor as LColor_color.
3211 2003-09-18 Angus Leeming <leeming@lyx.org>
3213 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3214 remove #include "insets/insetbase.h" from cursor.h.
3216 2003-09-18 Angus Leeming <leeming@lyx.org>
3218 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3219 InsetOld_code to remove #include "inset.h".
3221 * iterators.C: add #include "insets/inset.h"
3223 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3225 * BufferView.C: remove more locking stuff that apparently doesn't
3226 do anything sensible.
3228 2003-09-16 André Pönitz <poenitz@gmx.net>
3231 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3234 2003-09-16 Angus Leeming <leeming@lyx.org>
3236 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3238 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3241 * paragraph.h: remove #include "lyxfont.h". Forward declare
3244 2003-09-16 Angus Leeming <leeming@lyx.org>
3246 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3247 of support/textutils.h.
3248 (isWord): move the contents of support/textutils.h's IsWordChar here.
3254 * text2.C: add #include "paragraph.h".
3257 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3259 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3265 * LaTeX.C: use namespace alias for lyx::support::os
3267 2003-09-16 Angus Leeming <leeming@lyx.org>
3270 * bufferview_funcs.C:
3273 * paragraph_pimpl.C:
3275 * text.C: add #include "LColor.h".
3277 2003-09-16 Angus Leeming <leeming@lyx.org>
3279 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3280 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3282 Store the FontBits::color variable as an int rather than as an
3283 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3286 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3287 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3288 string calls together.
3290 * lyxrc.C: add #include "LColor.h".
3292 2003-09-15 Angus Leeming <leeming@lyx.org>
3294 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3297 2003-09-15 Angus Leeming <leeming@lyx.org>
3299 * LColor.h: add an EnumLColor wrapper for LColor::color.
3301 * lyxfont.[Ch] (color, setColor, realColor):
3302 * lyxtext.h, text.C (backgroundColor):
3303 pass EnumLColor args to/from the functions, rather than LColor::color
3307 * lyxtext.h: forward declare EnumLColor.
3309 * lyx_main.C: add #include "LColor.h".
3311 2003-09-15 Angus Leeming <leeming@lyx.org>
3313 * .cvsignore: add lyx-gtk.
3315 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3320 * ParagraphParameters.C
3324 * bufferview_funcs.C
3334 * vc-backend.C: remove usage of STRCONV
3336 2003-09-15 Angus Leeming <leeming@lyx.org>
3338 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3339 explicitly define the color passed to the painter.
3341 2003-09-15 Angus Leeming <leeming@lyx.org>
3343 * bufferparams.C (BufferParams): reorder member initializers to avoid
3346 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3348 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3349 * text.C (updateRowPositions): remove an unusual nop
3351 2003-09-12 André Pönitz <poenitz@gmx.net>
3353 * BufferView_pimpl.C:
3362 * Counters.[Ch]: finish the 'automatic counters' job
3364 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3366 * aspell.C: include <boost/assert.cpp> (compile fix)
3368 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3370 * boost.C (assertion_failed): use lyx::support::abort instead of
3373 2003-09-10 Angus Leeming <leeming@lyx.org>
3375 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3376 with their _fwd progeny.
3378 2003-09-09 Angus Leeming <leeming@lyx.org>
3380 134 files throughtout the source tree: replace 'using namespace abc;'
3381 directives with the appropriate 'using abc::xyz;' declarations.
3383 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3385 * boost.C (emergencyCleanup): moved here from LAssert.c
3386 (assertion_failed): new function, called by BOOST_ASSERT
3388 * several files: change Assert to BOOST_ASSERT
3390 2003-09-09 Angus Leeming <leeming@lyx.org>
3392 * buffer.[Ch]: Add an Impl class and move Buffer's member
3393 variables into it. As a result move several header files out of
3396 Add header files to lots of .C files all over the tree as a result.
3398 2003-09-09 Angus Leeming <leeming@lyx.org>
3400 * buffer.[Ch]: make Buffer's member variables private. Add
3403 Lots of changes all over the tree as a result.
3405 2003-09-08 Angus Leeming <leeming@lyx.org>
3407 * graph.C: #include <config.h>.
3409 2003-09-08 Angus Leeming <leeming@lyx.org>
3413 * BufferView_pimpl.C:
3442 * toc.C: remove redundant using directives.
3444 2003-09-07 Angus Leeming <leeming@lyx.org>
3446 * LaTeXFeatures.h: remove #include "support/types.h".
3447 * ToolbarBackend.h: remove #include <algorithm>.
3448 * changes.h: remove #include <ctime>.
3449 * debug.h: remove #include <iosfwd>.
3450 * graph.h: remove #include "support/std_string.h".
3451 * lyx_main.h: remove #include <csignal>.
3452 * lyxlex_pimpl.h: remove #include <fstream>.
3453 * sgml.h: remove #include <algorithm>, <utility>.
3454 * toc.h: remove #include "support/std_ostream.h".
3455 Add #include <iosfwd>.
3457 2003-09-07 Angus Leeming <leeming@lyx.org>
3459 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3461 * converter.h: forward declare LatexRunParams.
3462 * encoding.h: remove #include "lyxrc.h".
3463 * lyxtext.h: remove #include "LColor.h".
3464 * lyxtextclass.h: remove #include "support/types.h".
3465 * trans.h: remove #include "tex-accent.h".
3466 * trans_mgr.h: remove #include "tex-accent.h".
3467 * insets/inset.h: remove #include "support/types.h", <vector>.
3468 * insets/insetcollapsable.h: remove #include "LColor.h".
3469 * insets/insetinclude.h: remove #include "dimension.h".
3470 * insets/insetlatexaccent.h: remove #include "dimension.h".
3471 * insets/insetoptarg.h:: remove #include "insettext.h".
3472 * insets/insettext.h: remove #include "dimension.h",
3473 <boost/shared_ptr.hpp>
3475 * insets/renderers.h: add #include "dimension.h".
3476 * insets/updatableinset.h: add #include "support/types.h".
3478 * many .C files: Associated changes.
3480 2003-09-06 Angus Leeming <leeming@lyx.org>
3482 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3483 one, inside testInvariant.
3485 * PrinterParams.C: new file.
3486 * PrinterParams.[Ch]: move the function bodies out of line.
3488 2003-09-06 Angus Leeming <leeming@lyx.org>
3490 * ParagraphParameters.h: forward declare ParameterStruct rather than
3491 including its header file.
3492 (depth): moved out-of-line.
3494 2003-09-06 Angus Leeming <leeming@lyx.org>
3496 * BufferView_pimpl.h:
3499 * lyxfunc.h: forward declare LyXKeySym rather than
3500 #include "frontends/LyXKeySym.h".
3502 * BufferView_pimpl.C:
3505 * lyxfunc.C: associated changes.
3507 2003-09-06 Angus Leeming <leeming@lyx.org>
3509 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3510 As a result, can remove the #include "insets/inset.h" from BufferView.h
3512 2003-09-06 Angus Leeming <leeming@lyx.org>
3514 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3515 As a result, can remove the #include "insets/inset.h" from BufferView.h
3517 2003-09-06 Angus Leeming <leeming@lyx.org>
3523 * bufferview_funcs.C:
3524 * BufferView_pimpl.C:
3529 * ParagraphParameters.C:
3534 * frontends/controllers/ControlDocument.C:
3535 * insets/insetcaption.C: rearrange the #includes into some sort of
3538 * buffer.h: remove #includes ErrorList.h, undo.h
3540 2003-09-06 Angus Leeming <leeming@lyx.org>
3542 * support/types.h: add a 'depth_type' typedef, used to store the
3543 nesting depth of a paragraph.
3546 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3547 defining explicitly.
3550 * paragraph_funcs.h:
3551 * ParagraphParameters.h:
3552 * sgml.h: use lyx::depth_type rather than Paragraph or
3553 ParameterStruct's depth_type.
3556 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3559 * BufferView_pimpl.C:
3561 * ParagraphParameters.C:
3564 * bufferview_funcs.C:
3571 * frontends/LyXView.C:
3572 * frontends/controllers/ControlDocument.C:
3573 * frontends/controllers/ControlErrorList.C:
3574 * insets/insetbibitem.C:
3575 * insets/insetbranch.C:
3576 * insets/insetcaption.C:
3577 * insets/insetcollapsable.C:
3578 * insets/insetenv.C:
3579 * insets/insetert.C:
3580 * insets/insetfloat.C:
3581 * insets/insetfoot.C:
3582 * insets/insetfootlike.C:
3583 * insets/insetnewline.C:
3584 * insets/insetquotes.C:
3585 * insets/insettabular.C:
3586 * insets/insettext.C:
3587 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3589 * frontends/controllers/ControlChanges.C: #include "changes.h".
3591 2003-09-06 Angus Leeming <leeming@lyx.org>
3593 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3594 than #including paragraph.h.
3597 * RowList.h: deleted. Superfluous.
3607 * insets/insettext.h: use ParagraphList_fwd.h rather than
3610 * paragraph.h: don't forward declare ParagraphList.
3613 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3614 rather than ParagraphList.h. paragraph.h is still needed for the
3615 Paragraph::depth_type parameters.
3617 * textcursor.h: enable it to compile stand-alone in light of the
3620 * bufferview_funcs.C:
3632 * frontends/controllers/ControlParagraph.C:
3633 * frontends/controllers/ControlTabular.C:
3634 * insets/insetmarginal.C:
3635 * insets/insetminipage.C:
3636 * insets/insetnote.C:
3637 * insets/insetoptarg.C: add header files needed to compile again.
3639 2003-09-06 Angus Leeming <leeming@lyx.org>
3641 * RowList_fwd.h: new file, forward-declaring Row rather than
3642 #including lyxrow.h.
3647 * insets/insettext.h: use it instead of RowList.h
3649 * bufferview_funcs.C:
3656 * text3.C: #include "RowList.h".
3658 2003-09-05 Angus Leeming <leeming@lyx.org>
3660 * factory.C (createInset):
3661 * vspace.C (c-tor): replace sscanf call with an istringstream.
3662 * ispell.C: re-add missing HP/UX headers.
3663 * lyxserver.C: re-add missing os2 headers.
3665 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3674 * text3.C: re-add missing system headers, needed for 2.95.2.
3676 2003-09-05 Angus Leeming <leeming@lyx.org>
3678 Changes most place everywhere due to the removal of using directives
3679 from support/std_sstream.h.
3681 2003-09-05 Angus Leeming <leeming@lyx.org>
3683 Replace LString.h with support/std_string.h,
3684 Lsstream.h with support/std_sstream.h,
3685 support/LIstream.h with support/std_istream.h,
3686 support/LOstream.h with support/std_ostream.h.
3688 Changes resulting throughout the tree.
3690 2003-09-05 Angus Leeming <leeming@lyx.org>
3692 * sgml.h: ensure that the header file can be compiled stand-alone.
3693 * *.C: strip out redundant #includes. (320 in total.)
3695 2003-09-04 Angus Leeming <leeming@lyx.org>
3697 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3698 here (from getPackages).
3700 * debug.[Ch]: add a new EXTERNAL tag.
3702 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3704 * text2.C (cursorEnd): simplify
3706 (getColumnNearX): adjust
3708 * text.C (computeBidiTables): adjust
3711 * rowpainter.C (paintChars): adjust
3712 (paintSelection): adjust
3713 (paintChangeBar): adjust
3716 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3718 (numberOfSeparators): adjust
3720 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3726 * text3.C: Restricts the mouse click functionality
3727 of insets like bibtex, include, toc and floatlist to the visible
3728 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3729 up the dialogs. Cursor has to be in front of the inset (i.e.
3730 start of row) for this to function.
3732 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3734 * bufferview_funcs.C (currentState): output row information
3736 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3738 * bufferview_funcs.C (currentState): output paragraph position
3740 2003-09-04 Angus Leeming <leeming@lyx.org>
3742 * FloatList.h: move out #include "Floating.h".
3743 * LaTeX.h: move out #include "DepTable.h".
3744 * LyXAction.h: move out #include "funcrequest.h".
3745 * buffer.h: move out #include "author.h", "iterators.h".
3746 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3747 * lyx_main.h: move out #include "errorlist.h".
3748 * lyxfunc.h: move out #include "FuncStatus.h".
3749 * lyxtext: move out #include "lyxcursor.h".
3750 * paragraph_pimpl.h: move out #include "counters.h".
3752 2003-09-03 Angus Leeming <leeming@lyx.org>
3754 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3755 preamble_snippets list, enabling us to add snippets to the preamble
3756 only if the snippet was not there already.
3758 2003-09-04 Angus Leeming <leeming@lyx.org>
3760 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3762 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3764 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3767 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3769 * BranchList.C: point fix, earlier forgotten
3771 2003-09-02 Angus Leeming <leeming@lyx.org>
3773 * box.C (contains): renamed from 'contained' after a fantastic
3776 2003-09-02 John Levon <levon@movementarian.org>
3782 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3784 2003-09-02 John Levon <levon@movementarian.org>
3786 * text2.C: simplification of cursorEnd(), including partial
3789 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3791 * buffer.C (readFile): add a space
3793 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3795 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3797 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3799 * buffer.C (readFile): new function, take a filename and a
3800 ParagraphList::iterator
3802 (readFile): adjust, make it private. don't use setStream, make
3803 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3804 always contain the filename.
3806 * BufferView.C (insertLyXFile): simplify and make it work for
3809 2003-08-30 John Levon <levon@movementarian.org>
3811 * Makefile.am: fix dist (from Kayvan)
3813 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3815 * most files: change to use const Buffer refs
3817 2003-08-27 André Pönitz <poenitz@gmx.net>
3819 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3820 on top of ownerPar().
3822 2003-08-27 John Levon <levon@movementarian.org>
3824 * funcrequest.C: properly initialise POD members
3826 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3828 * lyxtext.h (top_y): move top_y from here
3833 * BufferView_pimpl.[Ch]: to here
3834 * frontends/screen.C:
3835 * insets/insettabular.C:
3836 * insets/insettext.C: adjust
3837 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3839 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3842 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3844 2003-08-26 André Pönitz <poenitz@gmx.net>
3846 * paragraph_func.[Ch] (outerPar): new function
3849 * paragraph_funcs.C:
3850 * paragraph_funcs.h:
3851 * paragraph_pimpl.C:
3852 * text2.C: remove Inset::par_owner
3854 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3859 * text2.C: eliminates the needFullRow/display() stuff
3860 altogether, putting the logic in metrics/draw in the insets.
3862 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3864 * text2.C (redoParagraphInternal, redoParagraphs):
3865 * text.C (redoParagraph): add a call to updateRowPositions at the
3866 end of each 'metrics-like' call. Remove all others.
3867 (getRow): remove the 'y-computing' version.
3868 (getRowNearY): do not compute nor return the real y. Solve the
3869 'y < 0' problem and simplify.
3871 2003-08-22 Angus Leeming <leeming@lyx.org>
3873 * *.[Ch]: clean-up of licence and author blurbs.
3874 Also move config.h out of a few .h files and into a few .C files.
3876 2003-08-22 André Pönitz <poenitz@gmx.net>
3878 * lyxrow.[Ch]: add x_ and *fill_ members
3883 * text2.C: adjust/remove prepareToPrint() calls
3885 2003-08-22 André Pönitz <poenitz@gmx.net>
3887 * lyxrow.[Ch]: add end_ member
3889 * lyxrow_funcs.C: use LyXRow::end_
3891 * lyxtext.h (singleWidth): add LyXFont parameter
3894 * text2.C: adjust LyXText::singleWidth() calls
3896 * text.C (redoParagraph): simplify row breaking logic
3899 2003-08-19 André Pönitz <poenitz@gmx.net>
3901 * funcrequest.C: initialize button_ member
3904 * rowpainter.[Ch]: interface consolidation
3906 2003-08-18 André Pönitz <poenitz@gmx.net>
3909 * BufferView_pimpl.C:
3911 * paragraph_funcs.C:
3913 * text3.C: remove LyXScreen::draw() and fitCursor calls
3915 * BranchList.h: remove spurious semicolons
3917 * MenuBackend.C: fix branchlist related crash
3919 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3927 * bufferparams.[Ch]:
3931 * text3.C: implements the 'branch inset'
3932 idea. This allows the output of various versions of a document
3933 from a single source version, selectively outputing or suppressing
3934 output of parts of the text.
3935 This implementation contains a 'branch list editor' in a separate
3936 tab of the document settings dialog. Branches are user definable
3937 and have a "display colour" to distinguish them on-screen.
3939 ColorHandler was somewhat cleaned up.
3940 (1) make possible a dynamically growing LColor list by allowing
3941 the graphic context cache to grow along (vector);
3942 (2) eliminate an IMHO unnecessary step in colour allocation.
3944 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3946 * BufferView_pimpl.C: compile fix
3948 2003-08-15 André Pönitz <poenitz@gmx.net>
3950 * rowpainter.C: remove extra metrics calls
3952 * lyxtext.h: merge the two constructors into a single one,
3953 pass reference to owner's par list
3955 * BufferView_pimpl.C:
3959 2003-08-15 André Pönitz <poenitz@gmx.net>
3961 * lyxrow_funcs.[Ch]:
3964 * paragraph_funcs.C:
3969 * text_funcs.C: split LyXText::rowlist_ into individual
3970 Paragraph::rows_ chunks
3973 * BufferView_pimpl.[Ch]:
3976 * text3.C: remove toggleSelection()
3978 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3980 * bufferlist.C: beautify two alerts (shorter text of buttons)
3981 * buffer.C: Remove redundant ' ' from message
3983 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3984 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3985 rename VALIGN_CENTER to VALIGN_MIDDLE
3987 2003-08-11 André Pönitz <poenitz@gmx.net>
3989 * lyxtext.h (getPar):
3990 * text.C: new function
3992 2003-08-11 André Pönitz <poenitz@gmx.net>
3995 * tracer.[Ch]: remove unneeded files
3997 * InsetList.[Ch]: remove resizeInsetsLyXText()
4002 * text3.C: merge insertParagraphs() and appendParagraph()
4003 remove breakAgain(), update()
4005 * BufferView_pimpl.[Ch]:
4006 * bufferview_funcs.[Ch]:
4010 * tabular.C: adjust after text & InsetList changes.
4012 2003-08-08 André Pönitz <poenitz@gmx.net>
4014 * text.C (insertChar, backspace): replace rowlist fiddling
4015 with rebreak of full par
4018 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4019 checkParagraph, updateInset): removed
4021 2003-08-07 André Pönitz <poenitz@gmx.net>
4024 * text3.C: merge some LFUN handlers, remove dead code
4026 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4028 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4030 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4032 * text2.C (DEPM): fix part of bug 1255 and 1256
4034 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4036 * BufferView_pimpl.C (workAreaDispatch): change to use
4037 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4038 that are no mouse related.
4040 2003-08-05 André Pönitz <poenitz@gmx.net>
4043 * BufferView_pimpl.[Ch]:
4044 * bufferview_funcs.C:
4046 * text3.C: rip out "deep update"
4048 * textcursor.[Ch] (last_sel_cursor): remove unused member
4050 2003-08-04 André Pönitz <poenitz@gmx.net>
4053 * BufferView_pimpl.[Ch]:
4054 * ParagraphParameters.C:
4055 * bufferview_funcs.C:
4061 * text3.C: replace "complicated" BufferView::update(...) calls with
4064 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4066 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4068 * Makefile.am (lyx_SOURCES): add paper.h
4070 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4072 * Makefile.am: move things around so that both lyx-qt and
4073 lyx-xforms can be built (according to --with-frontend). Then lyx
4074 is a symbolic link to lyx-[firstfrontend]
4076 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4078 * Always use std::endl with lyxerr
4080 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4082 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4084 2003-08-01 André Pönitz <poenitz@gmx.net>
4087 * BufferView_pimpl.[Ch]:
4089 * text3.C: merge BufferView::repaint() and BufferView::update()
4091 2003-08-01 José Matos <jamatos@lyx.org>
4093 * buffer.[Ch]: file_format is no longer a buffer data element.
4095 2003-08-01 André Pönitz <poenitz@gmx.net>
4100 * text2.C: make redoParagraph more independent of current cursor
4102 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4104 * text2.C: remove unneeded members
4106 2003-07-30 André Pönitz <poenitz@gmx.net>
4108 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4110 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4111 create a single function...
4113 * paragraph_funcs.C (moveItem): ... here.
4116 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4118 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4120 * LColor.[Ch]: Add comment and greyedout logical colors.
4122 2003-07-30 André Pönitz <poenitz@gmx.net>
4124 * tabular.C: don't use Assert too heavily. This crashes where it
4127 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4129 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4130 is disabled (bug 1232)
4132 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4134 * factory.C: limited 'arg' scope
4136 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4138 * factory.C: fixed Note submenu issues
4140 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4142 * factory.C: submenu for Note/Comment/Greyedout
4144 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4147 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4149 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4152 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4153 greyedout. Patch provided by Jürgen Spitzmüller.
4155 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4157 * kbmap.C (read): fix error message when reading bind files
4159 2003-07-29 Angus Leeming <leeming@lyx.org>
4161 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4162 certainly does not do what it purports to do. I am doing it, and
4163 us, a favour by killing it.
4165 2003-07-28 José Matos <jamatos@lyx.org>
4167 * buffer.C (readBody, do_writeFile):
4168 * paragraph.C(readParagraph): \end_document replaces \the_end.
4170 2003-07-29 André Pönitz <poenitz@gmx.net>
4173 * BufferView_pimpl.[Ch]:
4177 * textcursor.[Ch]: remove toggleToggle & Co
4179 2003-07-28 José Matos <jamatos@fep.up.pt>
4181 * buffer.C (readParagraph):
4182 * params_func (readParToken, readParagraph):
4183 * paragraph.C (write): \layout -> \begin_layout.
4185 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4187 * lyxlex_pimpl.C (setFile): clean up slightly.
4189 * bufferparams.h: add compressed var
4191 * buffer_funcs.C (readFile): adjust for LyXLex change
4192 (newFile): ditto + simplify
4194 * buffer.C (writeFile): handle writing of compressed files
4196 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4197 Check if the file is compressed and set a bufferparm if so.
4199 * Makefile.am (lyx_LDADD): remove explicit -lz
4201 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4203 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4204 makeDocBookFile): put the real LyX version in the first line of
4208 * version.C.in: remove lyx_docversion
4210 * tabular.C (write_attribute): add a template-based version to
4211 write enums properly
4213 2003-07-28 André Pönitz <poenitz@gmx.net>
4218 * text3.C: use doubles again for x-coordinates. They are needed.
4220 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4222 * messages.C (getLocaleDir): use lyx_localedir()
4224 * lyxlex_pimpl.C (setFile): compress stuff
4226 * buffer.C (writeFile): add some compression stuff
4227 (do_writeFile): new func, dont call expliti close... will this
4230 * Makefile.am (lyx_LDADD): add -lz
4232 2003-07-28 José Matos <jamatos@fep.up.pt>
4234 * buffer.C: increment file format.
4235 * paragraph_funcs (readParagraph, readParToken):
4236 * paragraph.C (readParagraph): add \end_layout.
4238 2003-07-27 Angus Leeming <leeming@lyx.org>
4240 * Makefile.am: remove special casing for configure-time setting of
4241 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4243 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4244 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4246 2003-07-26 André Pönitz <poenitz@gmx.net>
4248 * paragraph_func.[Ch]:
4249 * paragraph.C (realizeFont): inline it whereever it is used
4254 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4257 2003-07-26 André Pönitz <poenitz@gmx.net>
4261 * text2.C: get rid of LyXText::need_break_row
4263 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4265 * toc.[Ch]: put namespace toc inside namespace lyx
4267 * MenuBackend.C (expandToc2): adjust for lyx::toc
4270 * lyxfunc.C (dispatch): adjust for lyx::find
4272 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4273 lyx::find instead. Reorganize a bit.
4274 (LyXReplace): rename to replace
4275 (LyXFind): rename to find
4277 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4280 2003-07-26 André Pönitz <poenitz@gmx.net>
4282 * text.C (setHeightOfRow): restrict scope of temporary variable
4284 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4285 code (never has been used?)
4287 2003-07-27 Asger Alstrup <alstrup@local>
4289 * text.C (fill): Optimise algorithm to exploit that we can reuse
4290 the LyXFont for many characters.
4291 (setHeightOfRow): Same thing.
4292 (rowBreakPoint): Same thing.
4294 2003-07-26 Asger Alstrup <alstrup@local>
4296 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4298 * text.C (singleWidth): Spurious font copying in hot-spot
4299 singleWidth avoided. Reorder tests for arabic for efficiency.
4301 * text.C (fill): handle empty paragraphs better.
4303 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4306 * encoding.h: add includes
4308 * lyxrc.C: remove reading of bind files
4310 * lyx_main.C (init): setup bindings and menus only if we have a
4313 * kbmap.C (read): new method. Do the actual reading of bind
4316 * converter.C (dvipdfm_options):
4319 (output): adapt PAPER_* enums.
4321 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4323 * bufferparams.h: remove paper-related enums from there
4325 * paper.h: New file. A trivial header file to hold paper-related
4326 enums. It should later expand to contain many paper-related
4329 * lyxrc.C: declare extern displayTranslator
4331 2003-07-27 José Matos <jamatos@fep.up.pt>
4333 * tabular.[Ch] (linuxdoc): add support for tables and figures
4336 2003-07-27 José Matos <jamatos@fep.up.pt>
4338 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4339 consistency in both functions.
4340 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4342 2003-07-26 Asger Alstrup <alstrup@local>
4344 * rowpainter.C (paintRows): Change algorithm to work directly on
4345 the insets rather than asking every character in the document
4346 whether its an inset.
4348 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4350 * buffer.C (openFileWrite): factorize some code
4352 2003-07-26 Angus Leeming <leeming@lyx.org>
4355 * lyx_main.[Ch]: replace occurances of system_tempdir with
4358 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4360 * rename Inset to InsetOld
4362 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4364 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4365 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4366 which I think is a bit clearer. EDIT is gone, since it was
4367 premature optimisation, and broken for mathed anyway.
4368 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4369 with cursor positioning in insets as well (math insets still do not
4370 work, but that's a different story anyway.) It mysteriously
4371 crashes sometimes with undo in the first paragraph, but I'm fairly
4372 confident that this is a compiler bug.
4374 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4376 * paragraph.C (Paragraph): adjust for new clone return type
4378 (copyIntoMinibuffer): ditto
4380 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4382 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4383 by not having a special case, and always doing a full rebreak of
4384 the document after undo.
4386 2003-07-23 Angus Leeming <leeming@lyx.org>
4388 * factory.C (createInset): InsetExternal::setParams now takes a
4391 2003-07-23 Angus Leeming <leeming@lyx.org>
4393 * factory.C (createInset): changed interface to the external and
4394 graphics mailers' string2params functions.
4396 2003-07-23 Angus Leeming <leeming@lyx.org>
4398 * factory.C (createInset): pass a
4399 Buffer const * parameter to InsetExternalMailer's string2params.
4401 2003-07-22 John Levon <levon@movementarian.org>
4403 * Thesaurus.h: include the right aiksaurus header
4405 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4407 * MenuBackend.C (expand): check menu shortcuts unconditionally
4409 2003-07-21 Angus Leeming <leeming@lyx.org>
4411 * factory.C (createInset): pass a
4412 buffer_path parameter to InsetGraphicsMailer's string2params.
4414 2003-07-21 Angus Leeming <leeming@lyx.org>
4416 * BufferView_pimpl.C (buffer):
4419 * lyxfunc.C (dispatch):
4420 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4421 rather than the grfx shortcut.
4423 2003-07-21 André Pönitz <poenitz@gmx.net>
4425 * rowpainter.C: remove unused variables
4428 * tabular_funcs.h: move to tabular.C
4429 * Makefile.am: adjust
4431 * tabular.[Ch]: basic optical cleaning
4433 * author.h: pass references, not values
4435 2003-07-18 André Pönitz <poenitz@gmx.net>
4443 * text3.C: two-phase drawing for InsetText and InsetTabular
4444 some float -> int changes.
4446 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4448 * lyx_main.C: fix the fix
4450 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4452 * lyx_main.C: fix a crash in batch mode if no files specified
4455 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4457 * format.[Ch] (papersize): moved to BufferParams
4458 * converter.[Ch] (dvips_options): moved to BufferParams
4459 (dvipdfm_options): moved to anon namespace
4460 * bufferparams.[Ch]: added above functions.
4462 2003-07-17 André Pönitz <poenitz@gmx.net>
4466 * text2.C: don't call inset->update() anymore
4468 * metricsinfo.[Ch]: add convenience constructor
4470 2003-07-16 André Pönitz <poenitz@gmx.net>
4475 * text2.C: replace the LyXCursor::irow_ member with
4476 on-demand computation of the value
4478 2003-07-16 John Levon <levon@movementarian.org>
4480 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4482 2003-07-15 André Pönitz <poenitz@gmx.net>
4485 * text2.C: remove no more needed refresh_row
4487 2003-07-15 André Pönitz <poenitz@gmx.net>
4492 * text3.C: refresh_status tristate -> need_update bool
4494 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4496 * lyxtext.h (init): remove reinit argument (act as if always true)
4497 * text2.C: adjust to that
4499 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4501 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4502 * text3.C: use it to delete selections in some cases
4503 (bugs 441, 673, 702, 954).
4505 2003-07-14 André Pönitz <poenitz@gmx.net>
4507 * rowpainter.[Ch]: reduce interface
4509 2003-07-14 André Pönitz <poenitz@gmx.net>
4511 * BufferView_pimpl.C:
4512 * text2.C: adjust after removing unused BufferView * argument
4514 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4516 * text2.C (init): fix a crash fired on resize
4518 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4520 * buffer.[Ch]: added new closing signal
4521 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4522 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4523 BufferView::Pimpl via the closing the signal
4525 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4527 * buffer.[Ch]: take out all bv-related from buffer
4529 * BufferView_pimpl.[Ch]: connect to new signals
4530 * CutAndPaste.C: removed useless asserts
4531 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4534 * lyxfunc.C: moved view-related funciontality from vc here
4535 * paragraph.C: removed outdated comments
4538 2003-07-10 André Pönitz <poenitz@gmx.net>
4540 * BufferView_pimpl.C:
4544 * text2.C: remove InsetText::InnerCache, clean up consequences
4546 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4548 * ispell.C: fix two typos in error messages
4550 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4552 * Extend Note inset to other forms of annotation like Comment
4553 and Greyedout. Right button click gives dialog.
4555 Files modified or added (+):
4559 * ControlNote.[Ch] +
4561 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4562 frontends/controllers
4566 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4568 * aspell.C: add missing namespace lyx::support
4570 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4572 * BufferView.[Ch] (newFile): Add
4573 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4574 * LaTeX.[Ch] (message): added this signal and use it
4575 * buffer.[Ch] (busy, message): added these signals and use them
4576 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4580 * importer.C: use buffer signals instead of direct bv calling
4581 * lyx_cb.[Ch] (ShowMessage): removed
4584 * paragraph_funcs.C:
4585 * text2.C: use buffer signals
4587 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4589 * introduce namespace lyx::graphics
4591 2003-07-02 André Pönitz <poenitz@gmx.net>
4593 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4595 2003-07-01 André Pönitz <poenitz@gmx.net>
4602 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4603 text*.C to text_func.C
4605 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4607 * introduce namespace lyx::support
4609 2003-06-30 André Pönitz <poenitz@gmx.net>
4614 * text.C: re-enable --with-included-string
4616 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4618 * textcursor.C: add <config.h>
4620 * text.C (getWord): remove const from word_location arg
4622 * lyxvc.C (getLogFile): fix const type order
4624 * lyxtext.h: remove const from word_location arg, add arg name
4626 * lyxlayout.h: currect type on labeltype.
4628 * importer.C: correct \file
4630 * converter.C (intToFormat): use std:: on ret val, ws changes
4632 * bufferlist.h: correct \file
4634 * buffer.C (makeLinuxDocFile): fix const type order
4635 (makeDocBookFile): ditto
4636 (fillWithBibKeys): use std:: on stdlib args.
4638 * CutAndPaste.C: fix authors.
4639 (availableSelections): use std:: on return vector
4641 2003-06-27 André Pönitz <poenitz@gmx.net>
4643 * BufferView_pimpl.C:
4644 * bufferview_funcs.C:
4652 * text3.C: remove LyXCursor::row_ member
4655 * text.C: rename fullRebreak() to partialRebreak() and implement
4656 a fullRebreak() that really bereks fully
4658 * textcursor.h: new struct for cursor-related data
4660 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4662 * lyx_main.C (LyX): get full path of document loaded on the
4665 2003-06-26 André Pönitz <poenitz@gmx.net>
4667 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4668 remove unused/broken operator>,<,>=.
4670 * text.C: remove only use of broken operator<= in an Assert().
4672 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4674 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4675 moved errorlist_.clear to showErrorList
4677 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4679 * converter.C (scanLog, runLaTeX):
4680 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4681 move the bv->showErrorList call to the callers
4682 * lyxfunc.C: i.e. here...
4684 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4685 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4686 namespace, the second to...
4687 * buffer_funcs (BufferFormat, parseErrors): added
4688 * errorlist.C (ErrorList(TeXErrors const &)): removed
4690 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4692 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4694 2003-06-24 "Garst R. Reese" <reese@isn.net>
4698 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4700 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4702 * version.C.in: change docversion to 1.4
4704 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4706 * buffer.C: fix a bug just introduced
4708 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4710 * buffer.[Ch]: added the parseError signal and use it, removed
4712 * BufferView.[Ch] (addError): moved to ...
4713 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4714 to the Buffer::parseError signal to catch (guess what) parse errors
4715 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4717 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4719 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4720 ability to create a buffer and to return an existing one from
4721 the list. Moved these functions to...
4722 * buffer_funcs.[Ch]: added
4723 * BufferView.[Ch] (loadLyXFile): added
4724 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4725 job removed from bufferlist::loadLyXFile.
4726 * buffer.C (setReadOnly): make it work without view
4727 (i.e added an if (users))
4729 2003-06-19 Angus Leeming <leeming@lyx.org>
4732 * LyXAction.C (init):
4733 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4734 with LFUN_DIALOG_SHOW <name> <data>.
4736 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4738 * CutAndPaste.C (availableSelections): small compilation fix for
4739 ancient (gcc 2.9x) compilers
4741 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * text3.C (cursorNext): add tmp var
4745 * text2.C (updateCounters): for function calling out of for clause
4746 (replaceSelectionWithString): ditto
4747 (insertStringAsParagraphs): ditto
4748 (getColumnNearX): add tmp var
4749 (setCursorFromCoordinates): add tmp var
4750 (cursorDownParagraph): add tmp var
4751 (deleteEmptyParagraphMechanism): add tmp var
4753 * text.C (insertChar): add tmp var
4755 * rowpainter.C (paintDepthBar): add tmp var
4757 * CutAndPaste.C (availableSelections): potentially check all
4758 paragraphs in a cut to fill the shown strings.
4760 2003-06-18 André Pönitz <poenitz@gmx.net>
4762 * kbmap.[Ch]: use vector<> instead of list<>
4764 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4766 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4767 pasteSelection with index
4769 * text2.C (pasteSelection): modify, call pasteSelection with index
4771 * paragraph.C (asString): reimplement version with no interval to
4772 call the one with interval.
4774 * lyxtext.h: add index arg to pasteSelection
4776 * MenuBackend.C (MenuItem): handle PasteRecent
4777 (Menu::read::Menutags): add md_pasterecent
4779 (expandPasteRecent): new function
4782 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4784 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4786 (availableSelections): new function
4788 2003-06-17 Angus Leeming <leeming@lyx.org>
4790 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4792 2003-06-17 Angus Leeming <leeming@lyx.org>
4795 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4797 * lyxfunc.C (dispatch): invoke it.
4799 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4801 * iterators.C (operator++, ParPosition): reintroduce some
4802 const_cast for the benefit of older compilers.
4804 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4806 * text3.C (dispatch): do not modify clipboard when doing
4807 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4808 LFUN_DELETE_SKIP on a selection selection
4810 2003-06-16 André Pönitz <poenitz@gmx.net>
4816 * tabular.[Ch]: IU of clone() and getLabelList();
4818 2003-06-13 André Pönitz <poenitz@gmx.net>
4820 * tabular.h: compactification
4822 2003-06-12 André Pönitz <poenitz@gmx.net>
4826 * tabular_funcs.h: some renaming plus whitespace
4828 2003-06-12 André Pönitz <poenitz@gmx.net>
4831 * BufferView_pimpl.C:
4837 * toc.C: Return a Paragraph & for ParIterator::operator*()
4839 2003-06-11 John Levon <levon@movementarian.org>
4843 * ToolbarBackend.C: add "Toolbars" section and
4846 2003-06-10 Angus Leeming <leeming@lyx.org>
4849 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4851 * lyxfunc.C (dispatch): invoke it.
4853 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * main.C: protect <ios> with HAVE_IOS
4856 (main): protect sync_with_stdio with HAVE_IOS
4858 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4860 * text2.C (cutSelection): adjust
4861 (pasteSelection): adjust
4863 * messages.C: handle get of empty string
4865 * main.C (main): use sync_with_stdio(false)
4867 * lyxfunc.C (dispatch): adjust
4869 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4870 (WriteAs): remove unneeded BufferView arg.
4872 * bufferparams.h: use correct types on papersize, papersize2 and
4875 * bufferparams.C (readToken): adjust for type
4876 (writeLaTeX): add missing cases to switch.
4878 * bufferlist.C (quitWriteBuffer): adjust
4881 * buffer.C (asciiParagraph): remove some commented code.
4883 * CutAndPaste.C: remove current_view extern variable.
4884 (cutSelection): add BufferParams arg.
4885 (eraseSelection): add BufferParams arg.
4886 (pasteSelection): add Buffer const & arg
4888 2003-06-07 John Levon <levon@movementarian.org>
4891 * paragraph_funcs.C:
4892 * paragraph_pimpl.C:
4896 * paragraph.C: allow InsetERT to freely space lines,
4897 and some consolidation of code
4899 2003-06-06 José Matos <jamatos@fep.up.pt>
4901 * buffer.C (makeDocBookFile): fix bug #821
4903 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4905 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4907 2003-06-04 Angus Leeming <leeming@lyx.org>
4909 * buffer.C: bump format to 224.
4911 2003-06-05 André Pönitz <poenitz@gmx.net>
4913 * text2.C (redoParagraphs): remove two const_cast<>
4915 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4917 * ParagraphList.h: remove last remnants of NO_STD_LIST
4919 2003-06-03 Angus Leeming <leeming@lyx.org>
4921 * factory.C (createInset): small change to the way InsetExternal's params
4924 2003-06-04 André Pönitz <poenitz@gmx.net>
4926 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4928 * paragraph_pimpl.h:
4929 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4931 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4933 * undo_funcs.C: make some simple cases of undo work again
4935 2003-06-03 John Levon <levon@movementarian.org>
4937 * ispell.C: HPUX doesn't have sys/select.h
4940 2003-06-03 John Levon <levon@movementarian.org>
4942 * CutAndPaste.C: update tabular and include inset
4947 * paragraph.C: remove owningBuffer(), don't pass Buffer
4950 * factory.C: insetGraphicsParams changed
4952 2003-06-02 John Levon <levon@movementarian.org>
4958 * text3.C: remove insetparent
4960 2003-06-02 John Levon <levon@movementarian.org>
4963 * buffer.C: fix inset_iterator.end(), move out of line
4966 2003-06-01 John Levon <levon@movementarian.org>
4968 * text3.C: use a proper cut/paste when doing inset
4969 insert (from Jürgen Spitzmüller)
4971 2003-06-01 John Levon <levon@movementarian.org>
4973 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4975 2003-05-30 André Pönitz <poenitz@gmx.net>
4977 * rowpainter.C: unify second drawing phase
4979 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4981 * trans_mgr.C: remove one case of current_view
4983 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4985 * paragraph_funcs.h: remove paragraph.h include
4987 * paragraph.h: delete NO_STD_LIST stuff
4989 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4991 * buffer.h: remove paragraph.h include
4993 * ParagraphList.C: delete file
4995 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4997 * toc.C (getTocList): adjust
4999 * paragraph_pimpl.C (validate): adjust
5001 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5003 * paragraph.C (Paragraph): adjust
5004 (getPositionOfInset): use const_iterator, adjust
5005 (bibitem): use const_iterator, adjust
5006 (setInsetOwner): adjust
5008 * iterators.C (operator++): adjust
5010 * InsetList.[Ch]: Replace selfmade iterator with standard
5011 vector::iterator also introduce const_iterator. Remove getPos,
5012 getInset and setInset from InsetTable. Adjust accordingly.
5014 * BufferView.C (lockInset): adjust
5015 (ChangeInsets): adjust
5017 * tabular.[Ch]: delete commented same_id functions
5019 2003-05-28 John Levon <levon@movementarian.org>
5021 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5023 2003-05-28 André Pönitz <poenitz@gmx.net>
5025 * metricsinfo.[Ch]: remove 'fullredraw' member
5027 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5029 * lyxtextclass.C (operator): remove caching.
5031 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5035 * text2.C (cursorBottom): adjust
5036 (setCounter): use ParagraphList::find, adjust
5038 * text.C (workWidth): use ParagraphList::find, adjust
5040 * lyxcursor.C (LyXCursor): adjust
5042 * buffer.C (inset_iterator): adjust
5044 * ParagraphList.h: make iterator(value_type) private, make
5045 ParagraphList a friend of iterator.
5047 * ParagraphList.C (find): new function
5049 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5051 2003-05-27 André Pönitz <poenitz@gmx.net>
5053 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5055 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5057 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5059 2003-05-26 John Levon <levon@movementarian.org>
5061 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5063 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5065 * remove same_id from function signatures, adjust.
5067 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5069 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5071 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5073 * paragraph.C (Paragraph): get rid of same_ids parameter
5075 * ParagraphList.C (insert): adjust
5078 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5080 * paragraph_funcs.C (breakParagraph): adjust
5081 (breakParagraphConservative): adjust
5083 * buffer.C (readParagraph): adjust
5085 * ParagraphList.C (insert): take a reference instead of a pointer
5088 * paragraph.[Ch] (id): new function
5090 * bufferlist.C (newFile): adjust
5092 * ParagraphList.C (ParagraphList): adjust
5094 (push_back): take a reference instead of a pointer.
5096 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5098 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5101 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5102 set else use old code.
5104 * ParagraphList.C: remove all NO_NEXT code and only compile this
5105 code of NO_STD_LIST is set.
5107 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5109 * BufferView_pimpl.C:
5119 * graphics/GraphicsConverter.C:
5120 * graphics/PreviewLoader.C: header adjustment
5122 2003-05-23 Angus Leeming <leeming@lyx.org>
5124 * LaTeXFeatures.[Ch] (useBabel): new method.
5125 * bufferparams.C (writeLaTeX): use it.
5127 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * ParagraphList.h (set): remove unused function.
5131 2003-05-23 André Pönitz <poenitz@gmx.net>
5134 * BufferView_pimpl.C:
5138 * undo_funcs.C: setUndo reworked
5140 * iterators.[Ch]: add access to topmost ParagraphList
5142 * lyxtext.[Ch] (workWidth): add a const
5144 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5146 * texrow.[Ch] (increasePos): remove function
5147 * exporter.C (export): removed unused var and outdated comment
5149 2003-05-23 Angus Leeming <leeming@lyx.org>
5151 * latexrunparams.h: rename fragile as moving_arg.
5152 * paragraph.C (simpleTeXOnePar): ditto.
5153 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5155 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5157 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5159 (textUndoOrRedo): comment out a currently unused var.
5161 * paragraph.h (NO_NEXT): enable NO_NEXT
5163 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5165 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5167 * exporter.C (Export): adjust for removeAutoInsets removal.
5169 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5171 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5173 * BufferView.[Ch] (removeAutoInsets): delete function
5175 2003-05-22 Angus Leeming <leeming@lyx.org>
5177 * latexrunparams.h: add a free_spacing variable.
5179 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5180 to pass moving_arg, as the data is stored in runparams.fragile.
5182 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5183 to Inset::latexOptional or to simpleTeXOnePar.
5185 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5186 free_spacing arg to Inset::latexOptional.
5188 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5191 2003-05-22 Angus Leeming <leeming@lyx.org>
5193 * latexrunparams.h: add fragile and use_babel variables.
5195 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5196 * buffer.C (makeLaTeXFile): store this returned value in
5197 runparams.use_babel, thus passing it to the inset::latex methods.
5199 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5200 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5202 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5203 longer has a fragile arg, as it is stored in runparams.fragile.
5205 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5206 moving_arg parameter as the data is stored in runparams.fragile.
5208 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5209 a fragile parameter as the data is stored in runparams.fragile.
5211 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5215 2003-05-22 Angus Leeming <leeming@lyx.org>
5217 * latexrunparams.h: add a 'bool nice' which defaults to false.
5219 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5220 now encapsulated within runparams.
5222 * bufferlist.C (updateIncludedTeXfiles):
5223 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5225 2003-05-22 Angus Leeming <leeming@lyx.org>
5227 * latexrunparams.h: new file containing struct LatexRunParams.
5228 * Makefile.am: add new file.
5230 * LaTeX.[Ch] (c-tor, run):
5231 * buffer.[Ch] (makeLaTeXFile):
5232 * bufferlist.[Ch] (updateIncludedTeXfiles):
5233 * converter.C (convert, scanLog):
5234 * converter.[Ch] (runLaTeX):
5235 * exporter.C (Export):
5236 * paragraph.[Ch] (simpleTeXOnePar):
5237 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5238 * paragraph_funcs.[Ch] (latexParagraphs):
5239 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5240 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5241 pass around a LatexRunParams parameter.
5243 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5245 * paragraph.[Ch]: remove unused constructor
5247 * ParagraphList.C (erase): new function, taking two iterators
5249 2003-05-22 André Pönitz <poenitz@gmx.net>
5251 * undo_funcs.C: remove duplicated code
5253 * iterator.[Ch]: operator=
5255 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5257 * tabular.C (SetMultiColumn): ws changes
5259 * rowpainter.C (paintFirst): get rid of a ->previous
5261 * lyx_cb.C (getPossibleLabel): parlist simplification
5263 * BufferView.C (ChangeInsets): simplify slightly.
5265 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5267 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5268 * lfuns.h: new LFUN_SPACE
5269 * lyxfunc.C: protected space has a new lfun
5270 * paragraph_funcs.C: read new space insets
5272 * factory.C: handle new space insets
5274 2003-05-22 André Pönitz <poenitz@gmx.net>
5277 * BufferView_pimpl.C:
5280 * undo_funcs.C: return a ParIterator from getParFromID.
5282 * iterators.[Ch]: add two const's
5284 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5286 * toc.C (getTocList): adjust
5288 * iterators.[Ch]: rework for parlist
5290 * buffer.C (par_iterator_begin): adjust
5291 (par_iterator_end): adjust
5293 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5295 * BufferView.C (removeAutoInsets): adjust
5296 (ChangeInsets): adjust
5298 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5300 * text.C (top_y): fix bug 1110
5302 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5304 * errorlist.[Ch]: added
5307 * BufferView_pimpl.C:
5308 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5311 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5313 * Makefile.am: ensure that lyx is relinked upon changes to the
5314 various "convenience" libs.
5316 2003-05-20 Angus Leeming <leeming@lyx.org>
5318 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5319 files are compiled in alphabetical order again.
5321 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5323 2003-05-19 Angus Leeming <leeming@lyx.org>
5325 * gettext.[Ch]: remove "char const * _(char const *)".
5327 2003-05-19 André Pönitz <poenitz@gmx.net>
5329 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5338 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5340 2003-05-19 André Pönitz <poenitz@gmx.net>
5344 * lyxtextclass.[Ch]:
5346 * paragraph_funcs.[Ch]:
5348 * text3.C: more insetenv work
5350 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5352 * ParagraphParameters.C (params2string): small bug fixed
5354 2003-05-16 André Pönitz <poenitz@gmx.net>
5357 * bufferview_funcs.C: patch from Kornel Benko to prevent
5358 crash when _(...) is called twice in a statement
5360 2003-05-16 André Pönitz <poenitz@gmx.net>
5367 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5369 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5371 * lyx_main.C (init): remove spurious static_cast
5373 2003-05-14 André Pönitz <poenitz@gmx.net>
5375 * BufferView.C: fix format string
5377 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5379 * BufferView.[Ch] (insertErrors): removed
5380 * BufferView.[Ch] (showErrorList): added
5381 * buffer.C (runChkTeX):
5382 * converter.C (scanLog): call showErrorList instead of inserterrors
5384 2003-05-13 André Pönitz <poenitz@gmx.net>
5386 * BufferView_pimpl.C:
5388 * bufferview_func.C:
5395 * tabular_funcs.h: tostr() from its own header
5397 * ParagraphParameters.C:
5402 * text3.C: STRCONV()
5404 2003-05-12 André Pönitz <poenitz@gmx.net>
5407 * BufferView_pimpl.C:
5411 * ParagraphParameters.C:
5415 * bufferview_funcs.C:
5428 * paragraph_funcs.C:
5432 * text3.C: boost::format -> bformat all over the place
5435 2003-05-09 André Pönitz <poenitz@gmx.net>
5437 * LColor.[Ch]: Pimpl the #include <map> away
5439 2003-05-09 John Levon <levon@movementarian.org>
5441 * bufferlist.C: never remove emergency saves
5443 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5445 * Makefile.am: better lib building
5447 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5449 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5451 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5452 (simpleTeXSpecialChars): adjust
5453 (simpleTeXSpecialChars): adjust
5454 * paragraph.C (simpleTeXOnePar): adjust
5455 * buffer.C (makeLaTeXFile): adjust
5457 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5459 * text2.C (changeDepth): parlist cleanup
5460 (getColumnNearX): ditto
5462 * rowpainter.C (getLabelFont): parlist cleanup
5464 * bufferlist.C (newFile): parlist cleanup
5466 * CutAndPaste.C (eraseSelection): parlist cleanup
5468 * BufferView_pimpl.C (trackChanges): parlist cleanup
5471 * BufferView.C (lockInset): parlist cleanup.
5472 (ChangeInsets): ditto
5474 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5476 * CutAndPaste.h: Update file header.
5478 * CutAndPaste.C: Update file header.
5479 Store the parts cut out of the Document in a limited_stack.
5480 (copySelection): adjust
5481 (pasteSelection): new function, takes the index in the limited stack.
5482 (nrOfParagraphs): adjust
5483 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5484 simplify error inset insertion.
5485 (checkPastePossible): adjust
5487 2003-05-06 John Levon <levon@movementarian.org>
5489 * text2.C: don't cast wrap inset to float
5491 2003-05-05 André Pönitz <poenitz@gmx.net>
5494 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5496 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5497 few naked Paragraph *.
5499 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5501 * bufferparams.C: Output warning if a document with missing
5502 TeX document class is loaded
5503 * exporter.C: Disable TeX exports if the document class is missing
5506 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5507 isTeXClassAvailable()
5509 2003-05-03 John Levon <levon@movementarian.org>
5512 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5513 explicit cursor show/hide
5515 * BufferView_pimpl.h:
5516 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5517 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5519 * lyxfunc.C: hide cursor before dispatching.
5524 * text3.C: remove explicit cursor hides
5526 2003-05-02 André Pönitz <poenitz@gmx.net>
5528 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5531 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5534 * text2.C: tiny whitespace
5536 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5538 * undo_funcs.C: almost only ws changes.
5540 * ParagraphList.C (splice): just return if pl is empty.
5542 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5544 * ParagraphList.C (splice): new function.
5546 * CutAndPaste.C (pasteSelection): use it
5548 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5550 * CutAndPaste.C (pasteSelection): remove the last next and
5551 previous from this file.
5553 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5555 * CutAndPaste.C (pasteSelection): more clean up, user proper
5556 ParagraphList functions for pasteing.
5558 * ParagraphList.C (insert): new function, three arg insert
5560 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5562 * ParagraphList.C (insert): new function, three arg insert
5564 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5567 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5569 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5571 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5573 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5575 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5578 (copySelection): clean up a bit.
5579 (pasteSelection): use make_pair
5581 * ParagraphList.C (ParagraphList): implement copy constructor
5582 (operator=): implement, base on copy constructor.
5585 * paragraph.C (erase): return a bool
5587 * paragraph_pimpl.C (erasePos): remove function, move contents...
5588 (erase): ... here. Return a bool.
5589 (erase): call erase instead of erasePos.
5591 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5593 * ParagraphList.h: define PitPosPair
5594 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5595 ParagraphList, fix a bug on pasting multiple pars
5596 * text2.C: change interface to C&P
5598 2003-04-30 André Pönitz <poenitz@gmx.net>
5600 * undo_func.C: revert part of yesterday's patch 2
5602 2003-04-30 John Levon <levon@movementarian.org>
5604 * LColor.C: s/tabular/table/
5606 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5608 * text3.C (dispatch): do not convert iterator -> pointer
5609 * undo_funcs.C (setCursorParUndo): ditto
5610 * text_funcs.C (transposeChars): ditto
5612 * text2.C (setLayout): ws changes only
5614 * text.C (breakParagraph): do not convert iterator -> pointer
5616 (acceptChange): ditto
5617 (rejectChange): ditto
5622 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5625 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5627 * text3.C (gotoInset): YABG (yet another bad getChar)
5629 2003-04-29 André Pönitz <poenitz@gmx.net>
5631 * paragraph.h: make operator= private unimplemented as long as
5634 * ParagraphList.C: whitespace
5637 * paragraph_pimpl.[Ch]:
5638 * paragraph_funcs.C:
5640 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5643 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5645 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5647 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5648 * paragraph.[Ch] (erase):
5649 * paragraph_pimpl.[Ch] (erase): change return type and value
5650 * text2.C (cutSelection): some rework
5652 2003-04-28 John Levon <levon@movementarian.org>
5654 * bufferlist.C: changes for unsaved changes dialog
5656 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5658 * bufferlist.C (newFile): set language (messages_) for new
5661 * buffer.C (readFile): ws changes only.
5663 2003-04-28 André Pönitz <poenitz@gmx.net>
5668 * BufferView_pimpl.C:
5669 * BufferView.C: getParFromID related ParagraphList::iterator changes
5671 2003-04-28 André Pönitz <poenitz@gmx.net>
5673 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5676 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5678 * messages.C: remove one more localedir class variable.
5680 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * messages.C (getLocaleDir): singleton generation function
5684 (Messages): add a default constructor.
5686 * main.C (main): do not setup localedir here, do not call
5689 * gettext.C (_): use it.
5690 (gettext_init): delete funciton
5692 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5694 * gettext.C (getLyXMessages): new singleton generating function.
5696 * buffer.C (updateDocLang): adjust
5698 * Makefile.am (messages.o): add target
5699 (main.o): remove target
5701 2003-04-27 John Levon <levon@movementarian.org>
5706 * lyxvc.C: specify cancel button in Alert::prompt
5708 2003-04-26 John Levon <levon@movementarian.org>
5713 * LyXAction.C: add LFUN_INSET_SETTINGS
5715 * lyxfunc.C: don't enable tabular-feature when there's
5716 just any locking inset
5718 2003-04-26 John Levon <levon@movementarian.org>
5720 * bufferlist.C: re-add Cancel to buffer close question
5722 * lyxfunc.C: fix import UI a bit
5724 2003-04-25 John Levon <levon@movementarian.org>
5726 * gettext.C: remove the broken asserts for now
5728 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5730 * messages.C: make case where setlocale cannot comply work better.
5732 * buffer.C (updateDocLang): new function
5733 (changeLanguage): use it
5736 * text2.C (setCounter): use B_ a bit.
5738 * lyxlayout.C (Read): be sure to trim the label strings.
5740 * messages.C (Messages): fix typo in comment
5742 * buffer.C (readFile): set message_ after file is loaded.
5743 (makeDocBookFile): remove double return
5744 (changeLanguage): reset message_ upon language change.
5745 (B_): new func, use this to get translated buffer strings.
5747 * main.C: add myself and Jean Marc as authors.
5749 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5751 * messages.[hC]: pimplify Messages, and three different pimpls to be
5752 used in different circumstances.
5754 * gettext.[Ch]: change for use with new message code.
5756 2003-04-24 André Pönitz <poenitz@gmx.net>
5758 * factory.C: support for eqref
5760 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5762 * messages.[Ch]: add missing char
5764 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5766 * messages.[Ch]: New files
5768 2003-04-18 John Levon <levon@movementarian.org>
5772 * BufferView_pimpl.C:
5776 * text2.C: remove layout-copy/paste (bug 778)
5778 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5780 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5782 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5784 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5785 if they succeed. Act accordingly.
5787 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5789 * text2.C (setCharFont): adjust
5790 (setCounter): adjust
5791 (insertStringAsLines): adjust
5793 * text.C (leftMargin): adjust
5794 (setHeightOfRow): adjust
5796 * rowpainter.C (paintFirst): adjust
5799 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5801 (isFirstInSequence): ditto
5802 (getEndLabel): ditto
5805 * paragraph.C (getParLanguage): comment out some hard stuff.
5807 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5809 (simpleDocBookOnePar): ditto
5810 (makeDocBookFile): use ParagraphList::iterator
5812 * CutAndPaste.C (pasteSelection): adjust
5814 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5816 * text2.C (getFont): adjust
5817 (getLayoutFont): adjust
5818 (getLabelFont): adjust
5820 * paragraph_funcs.C (TeXOnePar): adjust
5822 * buffer.C (simpleLinuxDocOnePar): adjust
5823 (simpleDocBookOnePar): adjust
5825 * CutAndPaste.C (pasteSelection): adjust
5827 * BufferView.C (getEncoding): adjust
5829 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5831 2003-04-16 John Levon <levon@movementarian.org>
5833 * lyxfind.C: use parlist stuff for search/changes
5835 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5837 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5839 * text2.C (deleteEmptyParagraphMechanism): adjust
5841 * text2.[Ch] (ownerParagraph): delete func (both of them
5843 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5845 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5847 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5849 * ParagraphList.C: prepare for NO_NEXT
5851 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5853 * text2.C (getFont): adjust
5854 (getLayoutFont): adjust
5855 (getLabelFont): adjust
5857 * paragraph.C (getFont): adjust
5858 (getLabelFont): adjust
5859 (getLayoutFont): adjust
5861 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5863 2003-04-15 John Levon <levon@movementarian.org>
5867 * lyx_main.C: handle Include in .ui files
5869 2003-04-15 John Levon <levon@movementarian.org>
5871 * MenuBackend.C: make the doc files length shorter
5874 * ToolbarBackend.C: handle toolbar placement flags,
5877 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5879 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5882 * paragraph_funcs.C (TeXOnePar): adjust
5884 * paragraph.C (getLabelFont): add outerfont arg, adjust
5885 (getLayoutFont): ditto
5886 (simpleTeXOnePar): adjust
5888 * paragraph_pimpl.C (realizeFont): delete func
5890 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5892 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5893 row argument, constify cur argument.
5895 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5897 * text2.C (getFont): adjust
5898 (getLayoutFont): adjust
5899 (getLabelFont): adjust
5901 * paragraph_funcs.C (TeXOnePar): adjust
5902 (outerFont): new func...
5903 (realizeFont): ...moved out from here, changed this to facilitate
5906 * paragraph.C (getFont): take outerfont as arg, adjust
5907 (simpleTeXOnePar): add outerfont arg, adjust
5909 * buffer.C (simpleLinuxDocOnePar): adjust
5910 (simpleDocBookOnePar): adjust
5912 * CutAndPaste.C (pasteSelection): adjust
5914 * BufferView.C (getEncoding): adjust
5916 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5918 * text2.C (setCharFont): adjust
5919 (setCounter): adjust
5921 * text.C (leftMargin): adjust
5922 (setHeightOfRow): adjust
5924 * rowpainter.C (paintFirst): adjust
5927 * paragraph_pimpl.C (realizeFont): adjust
5929 * paragraph.C (isFirstInSequence): move from here...
5930 * paragraph_funcs.C (isFirstInSequence): ...to here
5932 * paragraph.C (outerHook): move from here...
5933 * paragraph_funcs.C (outerHook): ...to here
5935 * paragraph.C (depthHook): move from here...
5936 * paragraph_funcs.C (depthHook): ...to here
5938 * paragraph.C (getEndLabel): move from here...
5939 * paragraph_funcs.C (getEndLabel): ...to here
5941 * text2.C (realizeFont): move from here...
5942 * paragraph_funcs.C (realizeFont): ...to here
5944 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5946 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5948 2003-04-14 Angus Leeming <leeming@lyx.org>
5950 * LColor.[Ch]: scrap LColor mathcursor.
5952 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5954 * lyxlex.[Ch] (text): delete function
5955 * trans.C (Load): adjust
5956 * paragraph_funcs.C (readParToken): adjust
5958 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5960 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5961 vector<char> instead of a char[].
5963 * lyxlex_pimpl.C (getString): adjust
5965 (lex): use getString
5969 * lyxlex.C (text): use pimpl_->getString()
5973 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5975 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5976 (makeFontEntriesLayoutSpecific): temp var for par.size()
5977 (setLayout): temp var for ownerParagraphs().end()
5978 (fullRebreak): temp var for rows().end()
5979 (selectionAsString): temp var for boost::next(startpit), realize
5980 that the while really is a regular for loop.
5981 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5982 setCursor in one place.
5983 (setParagraph): temp vr for ownerParagraphs().end()
5984 (updateCounters): make the while loop a for loop
5985 (cutSelection): temp var for ownerParagraphs().end()
5986 (updateInset): make the do {} while() a regular for loop
5987 (getCursorX): use temp vars
5988 (setCurrentFont): use temp vars
5989 (getColumnNearX): use temp vars
5991 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5993 * text.C (transformChar): use temp var for getChar
5994 (computeBidiTables): use temp var for row->par()
5995 (fill): move temp vars for row->par() and pit->layout() earlier in
5997 (labelFill): use temp var for row->par()
5998 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5999 asc and desc, realize that pit never changes and that firstpit is
6000 just a duplicate and not needed. Exchange rit->par() with pit in a
6002 (breakAgain): use a temp var for boost::next(rit)
6003 (breakAgainOneRow): ditto
6004 (breakParagraph): use a temp var for rows().begin()
6005 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6006 (cursorRightOneWord): use temp var for cursor.par() and
6007 cursor.pos(), remove usage of tmpcursor.
6008 (cursorLeftOneWord): use temp var for cursor.par() and
6009 cursor.pos() only set cur at end of function.
6011 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6013 * text.C, text2.C: exchange all usage of Paragraph::next with
6014 boost::next(ParagraphList::iterator)
6016 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6018 * text2.C (cursorTop): simplify implementation
6019 (cursorBottom): ditto
6020 (setParagraph): use ParagraphList::iterator
6021 (setCurrentFont): adjust
6022 (getColumnNearX): adjust
6023 (cursorRight): adjust
6024 (cursorLeft): remove usage of Paragraph::previous
6025 (cursorUpParagraph): ditto
6026 (deleteEmptyParagraphMechanism): slight cleanup
6028 * text.C (isBoundary): take a Paragraph const & instead of a
6030 (addressBreakPoint): ditto
6031 (leftMargin): remove usage of Paragraph::previous.
6032 (setHeightOfRow): ditto
6033 (cursorLeftOneWord): ditto
6034 (selectNextWordToSpellcheck): ditto
6037 (breakParagraph): remove one usage of Paragraph::next
6038 (redoParagraph): ditto
6039 (acceptChange): ditto
6040 (insertChar): adjust
6041 (rowBreakPoint): adjust
6043 * bufferview_funcs.C (toggleAndShow): adjust
6045 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6047 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6048 methods to access it.
6050 * text.C: Added updateRowPositions to compute all row positions.
6051 Make top_y and getRowNearY() to use the cached y position
6053 2003-04-11 John Levon <levon@movementarian.org>
6055 * text.C (rowBreakPoint): reintroduce the labelEnd
6056 checks, code copied from the row fill stuff. Deep voodoo.
6058 * text.C (fill): add a comment and debugging for the
6061 2003-04-11 John Levon <levon@movementarian.org>
6063 * text.C: make sure fullrow insets get wrapped to the next line,
6064 even when they're in a manual label
6066 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6068 * text2.C (insertParagraph): make it take ParagraphList::iterator
6070 (setLayout): make it return ParagraphList::iterator
6071 (redoParagraphs): ditto
6073 (checkParagraph): ditto
6075 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6077 * text2.C: adjust several funcs.
6078 (realizeFont): take a ParagraphList::iterator as arg.
6079 (getLayoutFont): ditto
6080 (getLabelFont): ditto
6081 (setCharFont): ditto
6083 * text.C: adjust several funcs.
6085 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6087 * text.C (selectNextWordToSpellcheck): don't accidentally
6090 2003-04-10 John Levon <levon@movementarian.org>
6092 * ToolbarBackend.C (getIcon): special handling for
6095 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6097 * text2.C (cursorRight): a getChar assert fixed
6099 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6101 * text2.C (getFont): change to take a ParagraphList::iterator
6102 instead of Paragraph*
6103 Adjust several functions.
6105 * text.C (transformChar): change to take a ParagraphList::iterator
6106 instead of Paragraph*
6107 (singleWidth): ditto
6108 Adjust several functions.
6110 * rowpainter.C: adjust several functions
6111 * rowpainter.h:store a ParagraphList::iterator and not a
6115 2003-04-09 John Levon <levon@movementarian.org>
6120 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6121 and the "help" bits as well
6123 2003-04-09 John Levon <levon@movementarian.org>
6126 * ToolbarBackend.C: allow multiple toolbars
6128 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6130 * undo_funcs.C (setCursorParUndo): adjust
6132 * text_funcs.C (transposeChars): adjust
6134 * text3.C (gotoNextInset): adjust
6137 * text2.C (setLayout): adjust
6138 (changeDepth): adjust
6140 (redoParagraphs): adjust
6141 (selectionAsString): adjust
6142 (setParagraph): adjust
6143 (insertInset): adjust
6144 (cutSelection): adjust
6145 (copySelection): adjust
6146 (pasteSelection): adjust
6147 (insertStringAsLines): adjust
6148 (updateInset): adjust
6149 (setCursor): change to take a ParagraphList::iterator parameter
6150 (setCursorIntern): change to take a ParagraphList::iterator parameter
6151 (setCurrentFont): adjust
6152 (cursorLeft): adjust
6153 (cursorRight): adjust
6154 (deleteEmptyParagraphMechanism): adjust
6156 * text.C (breakParagraph): adjust
6157 (insertChar): adjust
6158 (acceptChange): adjust
6159 (rejectChange): adjust
6160 (selectNextWordToSpellcheck): adjust
6161 (changeCase): adjust
6165 * lyxfind.C (SearchForward): adjust
6166 (SearchBackward): adjust
6167 (nextChange): adjust
6169 * lyxcursor.C (par): adjust
6171 * lyxcursor.h: store a ParagraphList::iterator instead of a
6174 * lyx_cb.C (getPossibleLabel): adjust
6176 * bufferview_funcs.C (toggleAndShow): adjust
6178 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6181 * BufferView.C (removeAutoInsets): adjust
6182 (lockedInsetStoreUndo): adjust
6184 2003-04-09 John Levon <levon@movementarian.org>
6186 * ToolbarBackend.C: try icon without argument
6187 if with argument fails
6189 2003-04-08 John Levon <levon@movementarian.org>
6192 * ToolbarBackend.C: add getIcon(), handle tooltip,
6193 and change from "Icon" to "Item".
6195 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6197 * BufferView.C (lockInset): another bad getchar crunched
6199 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6201 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6204 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6206 * lyxfind.C (searchForward, searchBackwards): bug 782
6208 2003-04-07 John Levon <levon@movementarian.org>
6210 * paragraph.C: remove dead comment
6212 * text.C: remove troublesome depth-fiddling code
6213 in leftMargin() and rightMargin() (bug 1017)
6215 * text.C: fix breaking of rows in nested lists
6218 * text2.C (updateCounters): fix up depth values
6221 2003-04-07 John Levon <levon@movementarian.org>
6223 * BufferView_pimpl.C: clear message when doc finishes resizing,
6224 and after a mouse event
6226 * lyxfunc.C: clear message after exiting inset
6228 2003-04-07 John Levon <levon@movementarian.org>
6230 * bufferview_funcs.C: show math status not outside
6231 status in the statusbar
6233 2003-04-07 John Levon <levon@movementarian.org>
6235 * lyxfunc.C: note status changed after a depth change
6237 2003-04-04 Angus Leeming <leeming@lyx.org>
6239 * LaTeX.h: move AuxInfo operator==, != out of line.
6240 Remove LaTeX virtual destructor; nothing derives from it.
6241 Move operator()() out of public area and rename it startscript().
6242 Change protected for private.
6244 2003-04-04 Angus Leeming <leeming@lyx.org>
6247 * text2.C: remove unneeded #includes.
6249 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6251 * text2.C (dEPM): fix the heigth of the next row
6253 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6255 * text.C: squashed an invalid getChar requester + some ws changes
6257 2003-04-03 John Levon <levon@movementarian.org>
6259 * bufferview_funcs.h:
6260 * bufferview_funcs.C:
6263 * text2.C: make getStatus work for the env depth lfuns
6265 2003-04-03 John Levon <levon@movementarian.org>
6267 * bufferview_funcs.h:
6268 * bufferview_funcs.C:
6271 * text2.C: parlistize decDepth(), by merging it with incDepth()
6273 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6275 * lyxrow.h: store a ParagraphList::iterator instead of a
6276 Paragraph* and adjust other class functions to suit.
6278 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6281 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6283 * text2.C (setCursor): do not anchor to cursor row for the time being
6285 2003-04-02 John Levon <levon@movementarian.org>
6292 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6294 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6296 * paragraph.h: make ParagraphList and ParagraphList::iterator
6297 friends of Paragraph.
6299 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6301 * ParagraphList.C: Use the private next_ and previous_ from
6304 2003-04-01 John Levon <levon@movementarian.org>
6308 * Makefile.am: rename, remove defaults gunk
6311 * MenuBackend.C: remove defaults gunk
6314 * Languages.C: remove defaults gunk
6317 * lyx_main.C: error out if files couldn't be found.
6319 2003-04-02 John Levon <levon@movementarian.org>
6321 * text2.C: make incDepth() use parlist
6323 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6325 * undo_funcs.C (firstUndoParagraph): adjust
6327 * text3.C (gotoInset): adjust
6328 (dispatch): adjust, and rewrite loop.
6330 * text2.C (init): adjust, and rewrite loop.
6331 (redoParagraphs): adjust
6332 (updateInset): adjust, and rewrite loop.
6333 (deleteEmptyParagraphMechanism): adjust
6335 * tabular.C (LyXTabular): adjust
6336 (SetMultiColumn): adjust
6339 * lyxtext.[Ch] (ownerParagraph): delete function
6340 (ownerParagraphs): new function returns a ParagraphList.
6342 * BufferView.C (removeAutoInsets): adjust
6343 (insertErrors): adjust
6344 (setCursorFromRow): adjust
6346 2003-04-01 Angus Leeming <leeming@lyx.org>
6348 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6351 2003-04-02 John Levon <levon@movementarian.org>
6357 * text_funcs.C: make transposeChars a free function
6359 * lyxrow_funcs.C: remove wrong comment
6361 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6364 * rowpainter.C: adjust
6369 * lyxrow_funcs. [Ch]: new files
6371 * lyxrow.[Ch]: remove next and previous pointers
6372 (next,previous): remove accessor functions
6373 (isParEnd): move to lyxrow_funcs
6374 (lastPos): move to lyxrow_funcs
6375 (nextRowIsAllInset): move to lyxrow_funcs
6376 (lastPrintablePos): move to lyxrow_funcs
6377 (numberOfSeparators): move to lyxrow_funcs
6378 (numberOfHfills): move to lyxrow_funcs
6379 (numberOfLabelHfills): move to lyxrow_funcs
6380 (hfillExpansion): move to lyxrow_funcs
6384 * bufferview_funcs.C (toggleAndShow): adjust
6386 * RowList.h: Remove class RowList from file leave just a
6389 * RowList.C: delete file
6391 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6394 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6396 * text3.C (cursorPrevious): adjust
6397 (cursorNext): adjust
6400 * text2.C (redoHeightOfParagraph): adjust
6401 (redoDrawingOfParagraph): adjust
6404 * text.C (breakParagraph): adjust
6405 (insertChar): adjust
6408 * rowpainter.C (RowPainter): adjust
6409 (leftMargin): simplify and adjust
6410 (most rowpainter functions): adjust.
6412 * rowpainter.h: store the row as RowList::iterator not as Row*
6414 * lyxcursor.C (row): taka RowList::iterator as arg
6417 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6420 2003-04-01 Angus Leeming <leeming@lyx.org>
6422 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6423 stuff like bool Bool.
6425 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6427 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6430 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6432 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6435 * lyxtext.h (rows): drop one version and leve a const variant that
6436 returns a RowList::iterator.
6438 2003-03-31 Angus Leeming <leeming@lyx.org>
6440 * text.C (fill): ensure that the signature is the same as that in the
6443 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6445 * text2.C (redoParagraphs): adjust
6446 (updateCounters): adjust
6447 (checkParagraph): adjust
6448 (getColumnNearX): adjust and reformat a bit.
6450 * text.C (top_y): adjust
6452 (leftMargin): adjust
6453 (prepareToPrint): adjust
6455 (getRowNearY): adjust
6457 * lyxtext.h: make rowlist_ mutable.
6459 * RowList.h: add const_iterator
6460 * RowList.C: adjust for RowList::const_iterator.
6462 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6465 2003-03-31 John Levon <levon@movementarian.org>
6468 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6470 * lyx_main.C: set default fonts from using lyx_gui funcs
6472 * exporter.C: pdf_mode moved from lyxrc
6475 * lyxfunc.C: changes from above
6477 2003-03-31 John Levon <levon@movementarian.org>
6479 * lyx_main.C: fix to the last fix
6481 2003-03-31 John Levon <levon@movementarian.org>
6483 * bufferlist.C: "Load original" -> "Load Original"
6489 * format.C: more Alert cleanups
6491 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6493 * text2.C (removeParagraph): make it take a RowList::iterator as
6495 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6496 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6498 * text.C (anchor_row): make it take a RowList::iterator as arg,
6500 (computeBidiTables): make it take a const reference to Row instead
6501 of Row pointer, adjust.
6502 (leftMargin): make it take a RowList::iterator as arg, adjust.
6503 (rowBreakPoint): adjust
6504 (breakAgainOneRow): make it take a RowList::iterator as arg,
6506 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6508 * bufferview_funcs.C (toggleAndShow): adjust
6510 2003-03-30 John Levon <levon@movementarian.org>
6514 * boost-inst.C: moved to support
6516 * several files: changes as a result
6518 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6520 * text2.C (LyXText): adjust.
6522 (removeRow): make it take a RowList::iterator as arg, adjust.
6523 (fullRebreak): adjust
6524 (deleteEmptyParagraphMechanism): adjust
6525 (clearPaint): adjust
6528 * text.C (top_y): adjust
6529 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6530 (breakAgain): make it take a RowList::iterator as arg, adjust.
6531 (breakParagraph): adjust
6532 (insertChar): adjust
6535 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6536 need_break_row, and refresh_row.
6538 * text3.C (dispatch): adjust
6540 * text2.C (checkParagraph): adjust
6542 (setCursorFromCoordinates): adjust
6544 * text.C (top_y): adjust
6546 (getRow): make it return a RowList::iterator, adjust
6547 (getRowNearY): make it return a RowList::iterator, adjust
6549 * text2.C (init): adjust
6550 (insertRow): remove function
6551 (insertParagraph): adjust
6552 (redoParagraphs): adjust
6553 (fullRebreak): adjust
6554 (updateCounters): adjust
6556 * text.C (top_y): rewrite to use RowList iterators.
6558 (setHeightOfRow): rewrite to sue RowList iterators.
6559 (appendParagraph): adjust
6560 (breakAgain): adjust
6561 (breakAgainOneRow): adjust
6562 (breakParagraph): adjust
6564 (getRowNearY): adjust, and remove commented code.
6566 * lyxtext.h (firstRow): delete function
6567 (lastRow): delete function
6568 (rows): new function (const and non-const versions.)
6569 (insertRow): delete function
6571 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6573 2003-03-29 John Levon <levon@movementarian.org>
6575 * BufferView_pimpl.C: always update scrollbar top
6576 because pasting text when we're anchored could mean we
6577 miss an update altogether
6579 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6581 * text2.C (init): use rowlist_.end() and not 0.
6582 (insertRow): change to take a RowList::iterator as arg, adjust
6584 (insertParagraph): change to take a RowList::iterator as arg,
6586 (redoParagraphs): remove some debug msgs.
6588 * text.C (appendParagraph): change to take a RowList::iterator
6589 arg, adjust for this.
6590 (breakAgain): add an assert
6591 (breakAgainOneRow): ditto
6593 2003-03-29 John Levon <levon@movementarian.org>
6595 * text2.C: do not clear selection after inc/decDepth
6598 2003-03-29 John Levon <levon@movementarian.org>
6601 * buffer.C: fix broken strerrors according to Lars
6603 2003-03-29 John Levon <levon@movementarian.org>
6605 * converters.C: more Alert cleanups
6607 2003-03-29 John Levon <levon@movementarian.org>
6609 * bufferview_funcs.C: remove pointless Alert
6611 * buffer.C: fix confusing error message when
6612 a template is chmoded 000
6614 2003-03-29 John Levon <levon@movementarian.org>
6618 * BufferView_pimpl.C: Alert fixes
6622 * tabular-old.C: remove unused table compat reading
6624 2003-03-29 John Levon <levon@movementarian.org>
6629 * lyx_cb.C: more Alert cleanups
6631 * lyxfunc.C: don't allow chktex if not latex document
6633 2003-03-29 John Levon <levon@movementarian.org>
6637 * buffer.C: warnings pushed down from support/,
6640 2003-03-29 John Levon <levon@movementarian.org>
6642 * lyxfunc.C: safety check for C-r (revert)
6644 2003-03-29 John Levon <levon@movementarian.org>
6647 * bufferlist.C: several UI fixes using Alert::prompt.
6648 Fix the pointless looping quit code. Fix stupid revert
6653 * lyx_cb.C: use Alert::prompt
6655 * lyx_main.C: remove a silly question
6657 * lyxfunc.C: remove a couple of silly questions,
6660 2003-03-28 John Levon <levon@movementarian.org>
6662 * text2.C: fix bug 974 (End on empty par)
6664 2003-03-28 John Levon <levon@movementarian.org>
6666 * BufferView_pimpl.C:
6668 * lfuns.h: remove do-nothing math greek lfuns
6670 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6672 * lyxgluelength.h (isValidGlueLength): add default arg on
6673 parameter 2. Remove default arg from friend in class.
6675 * lyxlength.h (isValidLength): add default arg on parameter 2.
6676 Remove default arg from friend in class.
6678 * text2.C (LyXText): adjust, initialize refresh_row.
6682 (insertParagraph): adjst
6683 (redoParagraphs): adjust
6684 (fullRebreak): adjust
6685 (updateCounters): adjust
6686 (deleteEmptyParagraphMechanism): first attempt at fixing a
6689 * text.C (top_y): adjust
6690 (setHeightOfRow): adjust
6692 (getRowNearY): adjust
6694 * lyxtext.h: include RowList.h
6695 (~LyXText): not needed anymore, deleted.
6696 (firstRow): modify for RowList
6697 (lastRow): new function
6698 Delete firstrow and lastrow class variables, add a Rowlist
6699 rowlist_ class variable.
6701 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6704 * RowList.C (insert): fix case where it == begin().
6706 2003-03-26 Angus Leeming <leeming@lyx.org>
6708 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6709 the thesaurus dialog.
6711 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6715 * RowList.[Ch]: new files
6717 * ParagraphList.C (erase): handle the case where it == begin
6720 2003-03-25 John Levon <levon@movementarian.org>
6724 * aspell.C: add new aspell support
6727 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6730 2003-03-25 Angus Leeming <leeming@lyx.org>
6733 * LyXAction.C (init): new LFUN_INSET_INSERT.
6735 * BufferView_pimpl.C (dispatch): split out part of the
6736 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6738 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6741 2003-03-25 Angus Leeming <leeming@lyx.org>
6743 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6745 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6748 * text3.C: remove useless row->height(0)
6750 2003-03-25 John Levon <levon@movementarian.org>
6754 * text3.C: rename the refreshing stuff to better names
6756 2003-03-24 John Levon <levon@movementarian.org>
6758 * BufferView_pimpl.h:
6759 * BufferView_pimpl.C: update layout choice on a mouse
6762 2003-03-23 John Levon <levon@movementarian.org>
6764 * Makefile.am: fix commandtags.h reference
6766 2003-03-22 John Levon <levon@movementarian.org>
6768 * BufferView_pimpl.C:
6773 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6775 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6778 * text.C: take the rtl methods out of line
6780 2003-03-21 André Pönitz <poenitz@gmx.net>
6782 * metricsinfo.[Ch]: new files containing structures to be passed around
6783 during the two-phase-drawing...
6785 2003-03-21 André Pönitz <poenitz@gmx.net>
6787 * lyxtextclass.C: read 'environment' tag.
6789 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6791 * text2.C (removeRow): fix bug 964
6793 2003-03-20 John Levon <levon@movementarian.org>
6797 * text2.C: paint cleanups. Inset::update() dropped font
6800 2003-03-19 John Levon <levon@movementarian.org>
6802 * lyxfunc.C: only fitcursor/markDirty if available()
6804 2003-03-19 John Levon <levon@movementarian.org>
6806 * commandtags.h: rename to ...
6808 * lfuns.h: ... this, and renumber / cleanup
6810 2003-03-19 John Levon <levon@movementarian.org>
6812 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6813 fit the cursor after an lfun
6817 * BufferView_pimpl.h:
6818 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6820 * LyXAction.C: layout-character should have ReadOnly
6822 * ParagraphParameters.C:
6824 * bufferview_funcs.C:
6831 * undo_funcs.C: changes from above
6833 2003-03-18 John Levon <levon@movementarian.org>
6835 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6836 remove it from update()
6838 * lyxfunc.C: update layout choice after an lfun
6840 * text3.C: remove extra updateLayoutChoice()s
6842 2003-03-18 John Levon <levon@movementarian.org>
6844 * text.C: top_y change means full repaint, fix
6845 a drawing bug with cursor movement
6847 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6851 * text2.C: anchor row on setCursor
6853 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6855 * lyxtext.h: remove almost all mutable keywords
6858 * text3.C: remove const keywords accordingly
6860 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6862 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6864 (TeXEnvironment): ditto
6867 2003-03-17 John Levon <levon@movementarian.org>
6869 * text.C (rowBreakPoint): remove attempt to fix displayed
6870 math insets inside a manual label
6872 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6874 * lyxtext.h: remove BufferView* as first arg from almost all class
6876 * other files: adjust.
6878 2003-03-17 John Levon <levon@movementarian.org>
6882 * text2.C: more paint cleanups
6884 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6887 * rowpainter.C: remove "smart" background painting code
6889 2003-03-16 John Levon <levon@movementarian.org>
6894 * text3.C: add helper functions for setting refresh_row/y
6896 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6898 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6899 newline inset which *can* get inserted in the pass_thru layouts.
6900 This is primarily for literate documents.
6902 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6904 * buffer.C: increment LYX_FORMAT to 223
6906 2003-03-14 André Pönitz <poenitz@gmx.net>
6908 * textclass.h: prepare for environment handling, ws changes
6909 * lyxlayout.C: read latexheader and latexfooter tags
6911 2003-03-14 John Levon <levon@movementarian.org>
6913 * text2.C: rewrite ::status() a bit
6915 2003-03-13 John Levon <levon@movementarian.org>
6917 * lyxtext.h: add some docs
6919 2003-03-13 John Levon <levon@movementarian.org>
6924 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6926 2003-03-13 John Levon <levon@movementarian.org>
6928 * text3.C: fix appendix redrawing
6930 2003-03-13 John Levon <levon@movementarian.org>
6932 * text.C (setHeightOfRow):
6934 * rowpainter.C: make appendix mark have the text
6935 "Appendix" so the user knows what it is
6938 * LColor.C: s/appendixline/appendix/ from above
6940 2003-03-13 John Levon <levon@movementarian.org>
6942 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6944 * text.C: fix a getChar(pos) bug properly
6946 2003-03-13 Angus Leeming <leeming@lyx.org>
6949 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6950 Probably only temporary. Let's see how things pan out.
6952 * BufferView.C (unlockInset):
6953 * BufferView_pimpl.C (fitCursor):
6954 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6956 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6957 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6959 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6960 new functions that convert ParagraphParameters to and from a string.
6962 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6963 BufferView::Pimpl's dispatch.
6964 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6966 2003-03-13 André Pönitz <poenitz@gmx.net>
6970 * factory.C: make it aware of InsetEnv
6972 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6974 * text2.C (setCursor): never ask for one past last
6975 (setCursor): add some debugging messages.
6977 * text.C (singleWidth): never ask for one past last
6978 (singleWidth): ditto
6980 (rightMargin): ditto
6981 (rowBreakPoint): ditto
6982 (setHeightOfRow): ditto
6983 (prepareToPrint): ditto
6985 * rowpainter.C (paintBackground): never ask for one past last
6986 (paintText): never ask for one past last
6988 * paragraph_pimpl.C (getChar): make the assert stricter, never
6989 allow the one past last pos to be taken
6991 * paragraph.C (getChar): ws changes only
6993 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6994 (numberOfSeparators): ditto
6995 (numberOfHfills): ditto
6997 2003-03-12 John Levon <levon@movementarian.org>
7003 * paragraph_funcs.C: fix per-buffer authorlists
7005 2003-03-12 John Levon <levon@movementarian.org>
7007 * text.C: fix newline in right address
7009 2003-03-12 Angus Leeming <leeming@lyx.org>
7011 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7012 duplicate those in LyXFunc::dispatch.
7016 * ToolbarDefaults.C:
7017 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7018 Add LFUN_FONTFREE_UPDATE.
7020 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7021 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7023 * bufferview_func.[Ch]: several new functions to facilliate
7024 transfer of data to and from the character dialog.
7026 2003-03-12 John Levon <levon@movementarian.org>
7031 * paragraph_funcs.C:
7032 * paragraph_pimpl.C:
7036 * text3.C: remove META_NEWLINE in favour of an inset
7039 * rowpainter.C: remove paintNewline (done by inset)
7041 2003-03-12 John Levon <levon@movementarian.org>
7043 * paragraph_pimpl.C: complain about bad getChar()s
7044 for a while at least
7046 2003-03-12 John Levon <levon@movementarian.org>
7049 * buffer.C: move paragraph read into a separate function,
7050 a little renaming to reflect that.
7053 * bufferparams.C: remove the author_ids map, not necessary now
7056 * factory.C: moved Buffer::readInset to here
7058 * paragraph_funcs.h:
7059 * paragraph_funcs.C: readParagraph free function moved from
7062 * tabular.C: name change
7064 2003-03-12 John Levon <levon@movementarian.org>
7067 * ParagraphParameters.C: move par params input to
7070 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7071 behave like a normal read from the stream wrt reading
7072 a line vs. a \\token
7074 2003-03-12 John Levon <levon@movementarian.org>
7077 * ParagraphParameters.h:
7078 * ParagraphParameters.C: move output code to a
7081 2003-03-12 John Levon <levon@movementarian.org>
7083 * BufferView.C (insertLyXFile):
7086 * tabular.C: use a parlist iterator for creating the
7089 2003-03-12 John Levon <levon@movementarian.org>
7091 * buffer.C: make current_change static local not
7094 2003-03-12 John Levon <levon@movementarian.org>
7096 * buffer.C: fix insertStringAsLines for change tracking
7098 2003-03-12 John Levon <levon@movementarian.org>
7105 * bufferparams.C: move author list into params. Rename some
7106 functions. Move the header reading into a separate token
7107 loop. Move the header token reading into BufferParams.
7109 2003-03-12 John Levon <levon@movementarian.org>
7111 * changes.C: put debug inside lyxerr.debugging() checks
7113 2003-03-11 André Pönitz <poenitz@gmx.net>
7115 * factory.C: make it aware of InsetHFill
7117 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7119 * buffer.C (latexParagraphs): move function from here...
7120 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7123 2003-03-10 Angus Leeming <leeming@lyx.org>
7125 * LyXAction.C (init): fix bug in poplating array with multiple entries
7126 with the same LFUN (spotted by JMarc).
7128 2003-03-10 John Levon <levon@movementarian.org>
7131 * text2.C: move getColumnNearX() near its
7134 2003-03-10 John Levon <levon@movementarian.org>
7136 * text.C: fix break before a minipage
7138 2003-03-10 John Levon <levon@movementarian.org>
7140 * text.C: fix the last commit
7142 2003-03-09 John Levon <levon@movementarian.org>
7146 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7147 bug 365 (don't break before insets unless needed). Don't
7148 return a value > last under any circumstances.
7150 2003-03-09 Angus Leeming <leeming@lyx.org>
7152 * BufferView_pimpl.C (trackChanges, dispatch): call
7153 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7155 2003-03-09 Angus Leeming <leeming@lyx.org>
7157 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7158 than Dialogs::showAboutlyx().
7160 2003-03-09 Angus Leeming <leeming@lyx.org>
7162 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7163 than Dialogs::showTabularCreate().
7165 2003-03-09 John Levon <levon@movementarian.org>
7169 * text2.C: 3rd arg to nextBreakPoint was always the same.
7172 2003-03-08 John Levon <levon@movementarian.org>
7179 * text2.C: Remove the "main" bit from the "main body"
7182 2003-03-08 John Levon <levon@movementarian.org>
7184 * text.C (leftMargin): The left margin of an empty
7185 manual label paragraph should not include the label width
7188 * text.C (prepareToPrint): don't attempt to measure hfills
7189 for empty manual label paragraphs - the answer should be 0
7191 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7193 * CutAndPaste.C: remove commented code and reindent.
7195 2003-03-08 John Levon <levon@movementarian.org>
7198 * lyxfunc.C: move reloadBuffer()
7201 * BufferView.C: to here
7203 * lyxvc.C: add comment
7206 * vc-backend.C: call bv->reload() to avoid
7207 getStatus() check on MENURELOAD
7209 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7211 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7212 to an old format .dep file.
7214 2003-03-07 Angus Leeming <leeming@lyx.org>
7216 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7217 when the LFUN_MOUSE_RELEASE should have been handled by
7218 inset->localDispatch.
7220 2003-03-07 Angus Leeming <leeming@lyx.org>
7222 * BufferView_pimpl.C (dispatch):
7223 * LyXAction.C (init):
7224 * ToolbarDefaults.C (init):
7226 * lyxfunc.C (getStatus):
7227 remove LFUN_INSET_GRAPHICS.
7229 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7231 2003-03-07 Angus Leeming <leeming@lyx.org>
7234 * LyXAction.C (init):
7235 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7237 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7240 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7242 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7243 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7245 2003-03-07 Angus Leeming <leeming@lyx.org>
7247 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7250 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7252 * ParagraphList.C (front): new function
7255 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7257 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7258 and top_row_offset_. removed var first_y.
7260 * text2.C (LyXText, removeRow):
7262 * BufferView_pimpl.C:
7263 use these methods instead of using first_y
7265 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7267 * text2.C (pasteSelection): adjust for checkPastePossible
7269 * CutAndPaste.C: remove Paragraph * buf and replace with
7270 ParagraphList paragraphs.
7271 (DeleteBuffer): delete
7272 (cutSelection): change the tc type to textclass_type
7273 (copySelection): change the tc type to textclass_type
7274 (copySelection): adjust for ParagraphList
7275 (pasteSelection): change the tc type to textclass_type
7276 (pasteSelection): adjust for Paragraphlist
7277 (nrOfParagraphs): simplify for ParagraphList
7278 (checkPastePossible): simplify for ParagraphList
7279 (checkPastePossible): remove unused arg
7281 * ParagraphList.C (insert): handle the case where there are no
7284 * CutAndPaste.h: make CutAndPaste a namespace.
7286 * text3.C (dispatch): adjust
7288 * text.C (breakParagraph): add a ParagraphList as arg
7290 * paragraph_funcs.C (breakParagraph): change to take a
7291 BufferParams and a ParagraphList as args.
7292 (breakParagraphConservative): ditto
7293 (mergeParagraph): ditto
7294 (TeXDeeper): add a ParagraphList arg
7295 (TeXEnvironment): ditto
7298 * buffer.C (readLyXformat2): adjust
7299 (insertStringAsLines): adjust
7300 (latexParagraphs): adjust
7302 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7303 (cutSelection): adjust
7304 (pasteSelection): adjust
7306 * BufferView_pimpl.C (insertInset): adjust
7308 2003-03-05 Angus Leeming <leeming@lyx.org>
7311 * LyXAction.C (init):
7312 * BufferView_pimpl.C (dispatch):
7313 * lyxfunc.C (getStatus):
7314 remove LFUN_CHILD_INSERT.
7316 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7318 2003-03-05 Angus Leeming <leeming@lyx.org>
7321 * LyXAction.C (init):
7322 * src/factory.C (createInset):
7323 * lyxfunc.C (getStatus):
7324 * text3.C (dispatch):
7325 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7327 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7329 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7331 * ParagraphList.C (insert): handle insert right before end()
7332 (erase): fix cases where it can be first or last paragraph.
7334 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7336 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7337 Paragraph::next and Paragraph::previous
7340 * text.C (breakParagraph): adjust
7342 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7343 BufferParams& as arg.
7344 (breakParagraph): use ParagraphList::insert
7345 (breakParagraphConservative): take a Buffer* instead of a
7346 BufferParams& as arg.
7347 (breakParagraphConservative): use ParagraphList::insert.
7349 * buffer.C (insertStringAsLines): un-const it
7350 (insertStringAsLines): adjust
7352 * ParagraphList.C (insert): new function
7354 * CutAndPaste.C (pasteSelection): adjust
7356 * text.C (backspace): adjust
7358 * tabular.C (SetMultiColumn): adjust
7360 * CutAndPaste.C (cutSelection): adjust
7361 (pasteSelection): adjust
7363 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7364 Buffer const * as arg
7366 * ParagraphList.C (erase): new function
7367 * paragraph_funcs.C (mergeParagraph): use it
7368 (mergeParagraph): make it take a Buffer* instead of a
7369 BufferParams* as arg
7371 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7373 (breakParagraphConservative): ditto
7375 * paragraph.h: remove the breakParagraph friend
7377 * paragraph.C (eraseIntern): new function
7378 (setChange): new function
7380 * paragraph_funcs.C (mergeParagraph): make it take a
7381 ParagraphList::iterator instead of a Paragraph *, adjust
7384 * paragraph.h: move an #endif so that the change tracking stuff
7385 also works in the NO_NEXT case.
7387 2003-03-04 Angus Leeming <leeming@lyx.org>
7390 * LyXAction.C: new LFUN_INSET_MODIFY.
7392 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7393 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7395 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7397 * several files: ws changes only
7399 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7400 (TeXEnvironment): ditto
7403 * buffer.C (makeLaTeXFile): adjust
7404 (latexParagraphs): make it take ParagraphList::iterator as args
7406 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7408 * buffer.C (latexParagraphs): adjust
7410 * paragraph.C (TeXOnePar): move function...
7411 (optArgInset): move function...
7412 (TeXEnvironment): move function...
7413 * paragraph_pimpl.C (TeXDeeper): move function...
7414 * paragraph_funcs.C: ...here
7416 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7418 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7420 * buffer.C (readInset): remove compability code for old Figure and
7423 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7425 * buffer.C: ws changes
7428 * BufferView_pimpl.C: ditto
7431 * bufferlist.h: ditto
7435 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7437 * converter.[Ch]: split into itself +
7440 * Makefile.am: += graph.[Ch] + format.[Ch]
7447 * lyxrc.C: added #include "format.h"
7449 2003-02-27 Angus Leeming <leeming@lyx.org>
7451 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7454 * factory.C (createInset): add "label" to the factory.
7456 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7457 string and do no more.
7459 2003-02-27 Angus Leeming <leeming@lyx.org>
7462 * LyXAction.C (init):
7463 * factory.C (createInset):
7464 * BufferView_pimpl.C (dispatch):
7465 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7467 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7469 * lyxfunc.C (dispatch):
7470 * text3.C (dispatch): pass name to params2string.
7472 2003-02-26 Angus Leeming <leeming@lyx.org>
7474 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7476 Rearrange the ~includes. Strip out the unnecessary ones.
7478 * factory.C (createInset): reformat.
7479 create new insets for the various LFUN_XYZ_APPLY lfuns.
7481 2003-02-26 John Levon <levon@movementarian.org>
7484 * lyxrow.C: add isParStart,isParEnd helpers
7486 * paragraph.h: make isInserted/DeletedText take refs
7488 * paragraph_funcs.h:
7489 * paragraph_funcs.C: remove #if 0'd code
7494 * text.C: use lyxrow helpers above.
7495 Move draw and paint routines to RowPainter.
7496 Make several methods use refs not pointers.
7497 Make backgroundColor() const.
7498 Add markChangeInDraw(), isInInset().
7499 Merge changeRegionCase into changeCase.
7500 Make workWidth() shouldn't-happen code into an Assert.
7503 * rowpainter.C: new class for painting a row.
7506 * vspace.C: make inPixels take a ref
7508 2003-02-26 Angus Leeming <leeming@lyx.org>
7510 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7513 2003-02-25 John Levon <levon@movementarian.org>
7515 * ispell.C: give the forked command a more accurate name
7517 2003-02-22 John Levon <levon@movementarian.org>
7520 * toc.C: make TocItem store an id not a Paragraph *
7523 2003-02-21 Angus Leeming <leeming@lyx.org>
7525 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7526 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7527 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7528 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7529 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7530 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7532 * BufferView_pimpl.C (dispatch):
7533 * LyXAction.C (init):
7534 * factory.C (createInset):
7535 * lyxfunc.C (getStatus, dispatch):
7536 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7538 2003-02-21 Angus Leeming <leeming@lyx.org>
7540 * BufferView_pimpl.C (MenuInsertLyXFile):
7541 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7542 * lyxfunc.C (menuNew, open, doImport):
7543 no longer pass a LyXView & to fileDlg.
7545 2003-02-21 Angus Leeming <leeming@lyx.org>
7547 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7548 * LyXAction.C: change, BIBKEY to BIBITEM.
7549 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7550 Change InsetBibKey to InsetBibitem.
7551 Change BIBKEY_CODE to BIBITEM_CODE.
7552 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7553 * factory.C: replace insetbib.h with insetbibitem.h.
7554 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7555 * paragraph.C: replace insetbib.h with insetbibitem.h.
7556 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7557 Change bibkey() to bibitem().
7558 * text.C: remove insetbib.h.
7559 * text2.C: replace insetbib.h with insetbibitem.h.
7560 change bibkey() to bibitem().
7561 * text3.C: remove insetbib.h.
7562 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7564 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7566 * lyxrc.C (output): enclose user email in quotes (in case there are
7569 2003-02-18 John Levon <levon@movementarian.org>
7571 * buffer.h: add std::
7573 2003-02-17 John Levon <levon@movementarian.org>
7579 * pspell.C: reworking. Especially in ispell, a large
7580 number of clean ups and bug fixes.
7582 * lyxfunc.C: fix revert to behave sensibly
7584 2003-02-17 André Pönitz <poenitz@gmx.net>
7587 * commandtags.h: new LFUN_INSERT_BIBKEY
7597 * paragraph_func.C: remove special bibkey handling
7599 2003-02-17 John Levon <levon@movementarian.org>
7601 * text.C (Delete): fix case where delete at the end of
7602 the very first paragraph would not merge the pars
7604 2003-02-17 John Levon <levon@movementarian.org>
7606 * lyxrow.C: fix lastPrintablePos()
7608 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7610 * bufferparams.C (writeLaTeX): add a std:here
7612 * buffer.C: and remove a using directive there
7614 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7616 * buffer.C (makeLaTeXFile): move the code that generates the
7619 * bufferparams.C (writeLaTeX): ... in this new method
7621 * LaTeXFeatures.C (getEncodingSet): make const
7622 (getLanguages): make const
7624 * MenuBackend.C (binding): returns the binding associated to this
7626 (add): sets the status of each item by calling getStatus. Adds
7628 (read): add support for OptSubMenu
7629 (expand): remove extra separator at the end of expanded menu
7631 2003-02-15 John Levon <levon@movementarian.org>
7634 * BufferView_pimpl.C:
7636 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7637 inset code that had no actual effect. Remove unneeded status
7640 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7642 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7645 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7647 * text.C (drawLengthMarker): also draw an arrow marker for
7648 symbolic lengths (medskip...)
7650 2003-02-14 John Levon <levon@movementarian.org>
7653 * tabular.C: better method names
7655 2003-02-14 John Levon <levon@movementarian.org>
7657 * BufferView_pimpl.C:
7662 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7663 it's a more accurate name. Remove some pointless uses.
7665 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7667 * text2.C (LyXText): change order of initilizers to shut off
7670 2003-02-14 John Levon <levon@movementarian.org>
7672 * buffer.C: use ParIterator for getParFromID()
7676 * paragraph_pimpl.h:
7677 * paragraph_pimpl.C: remove unused getParFromID()
7679 2003-02-14 John Levon <levon@movementarian.org>
7681 * buffer.C: remove some very old #if 0'd parse code
7683 2003-02-13 John Levon <levon@movementarian.org>
7687 * text2.C: move hfillExpansion(), numberOfSeparators(),
7688 rowLast(), rowLastPrintable(), numberofHfills(),
7689 numberOfLabelHfills() ...
7692 * lyxrow.C: ... to member functions here.
7697 * text.C: remove LyXText::beginningOfMainBody(), and call
7698 p->beginningOfMainBody() directly. Move the check for
7699 LABEL_MANUAL into the latter.
7706 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7712 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7713 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7715 2003-02-13 John Levon <levon@movementarian.org>
7717 * CutAndPaste.C: remove debug
7719 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7721 * paragraph.C (asString): remove two unused variables
7723 * lyxtextclass.C (readTitleType):
7725 (LyXTextClass): handle new members titletype_ and titlename_
7727 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7729 2003-02-09 John Levon <levon@movementarian.org>
7732 * buffer.C: replace hand-coded list with a map for the dep clean
7734 2003-02-08 John Levon <levon@movementarian.org>
7736 * LaTeX.C: consolidate code into showRunMessage() helper
7738 2003-02-08 John Levon <levon@movementarian.org>
7743 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7744 and pass the size in explicitly
7746 * BufferView_pimpl.h:
7747 * BufferView_pimpl.C:
7749 * BufferView.C: add getCurrentChange()
7751 * BufferView_pimpl.h:
7752 * BufferView_pimpl.C: handle change lfuns
7754 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7755 for changes. Mark pasted paragraphs as new.
7757 * support/lyxtime.h:
7758 * support/lyxtime.C:
7759 * DepTable.C: abstract time_t as lyx::time_type
7762 * LColor.C: add colours for new text, deleted text, changebars
7764 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7765 package use "usenames" option.
7769 * LyXAction.C: add change lfuns
7773 * author.C: author handling
7776 * buffer.C: add a per-buffer author list, with first entry as
7777 current author. Handle new .lyx tokens for change tracking. Output
7778 author list to .lyx file. Output dvipost stuff to .tex preamble.
7779 Bump lyx format to 222.
7782 * bufferlist.C: add setCurrentAuthor() to reset current author details
7786 * bufferparams.C: add param for tracking
7788 * bufferview_funcs.C: output change info in minibuffer
7792 * changes.C: add change-tracking structure
7795 * debug.C: add CHANGES debug flag
7798 * lyxfind.C: add code for finding the next change piece
7801 * lyxrc.C: add user_name and user_email
7804 * lyxrow.C: add a metric for the top of the text line
7807 * text.C: implement accept/rejectChange()
7810 * text.C: paint changebars. Paint new/deleted text in the chosen
7811 colours. Strike through deleted text.
7815 * paragraph_pimpl.h:
7816 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7817 in the current change to the insert functions. Rework erase to
7818 mark text as deleted, adding an eraseIntern() and a range-based
7819 erase(). Implement per-paragraph change lookup and
7822 * paragraph_funcs.C: Fixup paste for change tracking.
7824 * tabular.C: mark added row/columns as new.
7826 * text.C: fix rowLast() to never return -1. Don't allow
7827 spellchecking of deleted text. Track transpose changes. Don't
7828 allow paragraph break or merge where appropriate.
7830 * text2.C: leave cursor at end of selection after a cut.
7832 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7834 * text.C (getLengthMarkerHeight):
7835 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7836 visible on screen too.
7838 2003-02-07 John Levon <levon@movementarian.org>
7840 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7842 2003-02-05 Angus Leeming <leeming@lyx.org>
7844 * lyxserver.C (read_ready): revert my patch of 11 September last year
7845 as it sends PC cpu through the roof. Presumably this means that
7846 the lyxserver will no longer run on an Alpha...
7848 2003-01-30 Angus Leeming <leeming@lyx.org>
7850 * factory.C (createInset): create an InsetCommandParam of type "index"
7851 and use it to 'do the right thing'.
7853 * text2.C (getStringToIndex): ensure that cursor position is always
7854 reset to the reset_cursor position.
7856 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7858 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7861 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7865 * lyxfunc.C: Output messages with identical spelling, punctuation,
7868 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7870 * MenuBackend.C (expandFormats): List only viewable export formats
7873 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7876 * lyxfunc.C (getStatus): Make sure that formats other than
7877 "fax" can also be disabled
7879 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7881 * text3.C (dispatch): put the lfuns that insert insets in 3
7882 groups, and call doInsertInset with appropriate arguments.
7883 (doInsertInset): new function, that creates an inset and inserts
7884 it according to some boolean parameters.
7886 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7888 * buffer.C (readFile): remember to pass on 'par' when calling
7889 readFile recursively.
7891 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7893 * MenuBackend.C (expandFormats): add "..." to import formats.
7895 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7897 * paragraph.C (asString): Remove XForms RTL hacks.
7899 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7900 * buffer.C: fix typo
7902 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7904 * Makefile.am (LIBS): delete var
7905 (lyx_LDADD): add @LIBS@ here instead.
7907 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7909 * Clarify the meaning of "wheel mouse jump"
7911 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7913 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7916 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7918 * importer.C (Loaders): do not preallocate 3 elements in the
7919 vector, since one ends up with 6 elements otherwise
7921 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7923 * DepTable.C (write): write the file name as last element of the
7924 .dep file (because it may contain spaces)
7925 (read): read info in the right order
7927 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7929 * paragraph_pimpl.C (simpleTeXBlanks):
7930 (simpleTeXSpecialChars):
7931 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7933 * tabular.C (latex): add some missing case statements. Reindent.
7935 * MenuBackend.C (expandToc): remove unused variable.
7937 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7946 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7949 2003-01-05 John Levon <levon@movementarian.org>
7952 * BufferView.C: add getEncoding()
7955 * kbsequence.C: do not store last keypress
7958 * lyxfunc.C: store last keypress here instead. Pass encoding
7961 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7963 * lyx_main.C (init): remove annoying error message when following
7964 symbolic links (bug #780)
7966 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7968 * text.C (insertChar):
7969 * lyxrc.C (getDescription): remove extra spaces
7971 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7973 * lyxrc.C (getDescription): remove extra spaces
7975 2002-12-20 John Levon <levon@movementarian.org>
7977 * text3.C: hack fix for page up/down across tall rows
7979 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7981 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7984 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7986 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7987 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7988 thesaurus is not compiled in
7990 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7992 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7994 2002-12-16 Angus Leeming <leeming@lyx.org>
7997 * lyx_main.C (init): remove override_x_deadkeys stuff.
7999 2002-12-12 John Levon <levon@movementarian.org>
8001 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8002 insert. Only remove shift modifier under strict
8005 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8007 * MenuBackend.C (expandToc): fix crash.
8009 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8011 * MenuBackend.C (expandToc): gettext on float names.
8013 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8015 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8016 implement bool empty() [bug 490]
8018 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8020 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8022 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8024 * several files: ws changes
8026 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8028 * text2.C (setCounter): clean up a bit, use boost.format.
8029 (updateCounters): initialize par upon declaration.
8031 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8032 if the layout exists. We do not just store the layout any more.
8033 (SwitchLayoutsBetweenClasses): use boost.format
8035 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8037 * converter.C (convert): if from and to files are the same, use a
8038 temporary files as intermediary
8040 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8043 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8045 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8047 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8049 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8051 * tabular.C (asciiPrintCell): use string(size, char) instead of
8054 * sgml.C (openTag): fix order of arguments to string constructor
8057 * lyxfunc.C (dispatch): use boost.format
8059 * lots of files: change "c" -> 'c'
8061 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8063 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8065 2002-11-25 Angus Leeming <leeming@lyx.org>
8067 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8069 * lyx_main.C (init): compile fix.
8071 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8073 * lyx_cb.C (start): boost.formatify
8074 do not include <iostream>
8076 * lengthcommon.C: ws only
8078 * boost-inst.C,BoostFormat.h: add more explict instantations
8080 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8082 * lots of files: handle USE_BOOST_FORMAT
8084 2002-11-21 John Levon <levon@movementarian.org>
8086 * pspell.C: fix compile
8088 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8090 * lyxfunc.C (dispatch): use boost::format
8094 * lyxfont.C (stateText): use boost::format
8096 * lyx_main.C (LyX): use boost::format
8098 (queryUserLyXDir): ditto
8101 (typedef boost::function): use the recommened syntax.
8103 * importer.C (Import): use boost::format
8105 * debug.C (showLevel): use boost::format
8107 * converter.C (view): use boost::format
8112 * bufferview_funcs.C (currentState): use boost::format
8114 * bufferlist.C (emergencyWrite): use boost::format
8116 * buffer.C (readLyXformat2): use boost::format
8117 (parseSingleLyXformat2Token): ditto
8119 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8121 * LaTeX.C (run): use boost::format
8123 * Chktex.C (scanLogFile): use boost::format
8125 * BufferView_pimpl.C (savePosition): use boost::format
8126 (restorePosition): ditto
8127 (MenuInsertLyXFile): ditto
8129 * BoostFormat.h: help file for explicit instation.
8131 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8133 * tabular.C (latex): Support for block alignment in fixed width
8136 2002-11-17 John Levon <levon@movementarian.org>
8138 * BufferView_pimpl.C:
8140 * lyxfunc.C: split filedialog into open/save
8142 2002-11-08 Juergen Vigna <jug@sad.it>
8144 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8145 by my last patch (hopefully).
8147 2002-11-08 John Levon <levon@movementarian.org>
8156 * toc.C: ParConstIterator, and use it (from Lars)
8158 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8160 * lyxtextclass.[Ch]: revise and add doxygen comments
8162 2002-11-07 John Levon <levon@movementarian.org>
8164 * text.C: fix progress value for spellchecker
8166 * toc.C: fix navigate menu for insetwrap inside minipage
8168 * paragraph_funcs.C: added FIXME for suspect code
8170 2002-11-07 John Levon <levon@movementarian.org>
8172 * BufferView_pimpl.C: fix redrawing of insets
8175 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8177 * text2.C (updateCounters): fix bug 668
8179 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8181 * text3.C (dispatch): Do not make the buffer dirty when moving the
8184 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8186 * vc-backend.C: STRCONV
8189 * text2.C (setCounter): STRCONV
8191 * paragraph.C (asString): STRCONV
8193 * lyxlength.C (asString): STRCONV
8194 (asLatexString): ditto
8196 * lyxgluelength.C (asString): STRCONV
8197 (asLatexString): ditto
8199 * lyxfunc.C (dispatch): STRCONV
8202 * lyxfont.C (stateText): STRCONV
8204 * importer.C (Import): STRCONV
8206 * counters.C (labelItem): STRCONV
8207 (numberLabel): ditto
8208 (numberLabel): remove unused ostringstream o
8213 * bufferview_funcs.C (currentState): STRCONV
8215 * buffer.C (readFile): STRCONV
8216 (asciiParagraph): ditto
8217 (makeLaTeXFile): ditto
8219 * Spacing.C (writeEnvirBegin): STRCONV
8221 * LaTeXFeatures.C (getLanguages): STRCONV
8222 (getPackages): ditto
8224 (getBabelOptions): ditto
8225 (getTClassPreamble): ditto
8226 (getLyXSGMLEntities): ditto
8227 (getIncludedFiles): ditto
8231 (scanAuxFile): ditto
8234 * LString.h: add the STRCONV macros
8236 * BufferView_pimpl.C (savePosition): STRCONV
8237 (restorePosition): ditto
8238 (MenuInsertLyXFile): ditto
8240 * vc-backend.C (scanMaster): change from submatch[...] to
8243 * funcrequest.C: include config.h
8245 * factory.C: include config.h
8247 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8249 * box.C: include config.h
8251 * LaTeX.C (scanAuxFile): change from submatch[...] to
8255 2002-10-25 Angus Leeming <leeming@lyx.org>
8257 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8259 * ispell.[Ch] (setError): new method.
8260 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8261 Use setError() insetead of goto END.
8263 * lyx_cb.C (AutoSave): move out child process into new class
8266 2002-10-30 John Levon <levon@movementarian.org>
8268 * text3.C: make start appendix undoable
8270 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8272 * lyxlength.C (inPixels): Fix returned value.
8274 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8277 2002-10-24 Angus Leeming <leeming@lyx.org>
8279 * lyxgluelength.h: no need to forward declare BufferParams
8280 or BufferView, so don't.
8282 2002-10-21 John Levon <levon@movementarian.org>
8284 * BufferView.C: menuUndo ->undo, redo
8286 * BufferView.h: document, remove dead, make some methods private
8288 * paragraph_funcs.h:
8289 * paragraph_funcs.C:
8290 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8295 * sgml.C: move sgml open/close tag into sgml.C
8297 * bufferview_funcs.h: unused prototype
8300 * lyxfunc.C: remove unused
8303 * text.C: remove unused
8305 2002-10-21 John Levon <levon@movementarian.org>
8309 * BufferView_pimpl.h:
8310 * BufferView_pimpl.C: fix mouse wheel handling based on
8311 patch from Darren Freeman
8313 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8315 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8317 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8319 * lyxlength.C (inPixels): Fix hanfling of negative length.
8320 Fix LyXLength::MU case.
8322 2002-10-16 John Levon <levon@movementarian.org>
8324 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8326 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8328 * converter.C (view): add support for $$i (file name) and $$p
8329 (file path) for the viewer command. If $$i is not specified, then
8330 it is appended to the command (for compatibility with old syntax)
8332 2002-10-14 Juergen Vigna <jug@sad.it>
8334 * undo_funcs.C (textHandleUndo): alter the order in which the
8335 new undopar is added to the LyXText, as we have to set first
8336 the right prev/next and then add it as otherwise the rebuild of
8337 LyXText is not correct. Also reset the cursor to the right paragraph,
8338 with this IMO we could remove the hack in "redoParagraphs()".
8340 2002-10-09 Angus Leeming <leeming@lyx.org>
8342 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8343 to turn off an optimisation if a new inset is to be inserted.
8345 2002-10-11 André Pönitz <poenitz@gmx.net>
8347 * lyxtext.h: make some functions public to allow access
8348 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8350 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8352 * text3.C (dispatch): when changing layout, avoid an infinite loop
8355 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8357 * lyxrc.C (read): treat a viewer or converter command of "none" as
8360 * MenuBackend.C (expandFormats): for an update, also allow the
8361 formats that are not viewable
8363 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8364 script if it is newer than the lyxrc.defaults in user directory
8366 2002-10-07 André Pönitz <poenitz@gmx.net>
8368 * text.C: Vitaly Lipatov's small i18n fix
8370 2002-09-25 Angus Leeming <leeming@lyx.org>
8372 * ispell.h: doxygen fix.
8374 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8376 * buffer.h (readFile): Add a new argument to the method, to allow
8377 reading of old-format templates.
8379 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8381 * toc.C (getTocList): Get TOC from InsetWrap.
8383 2002-09-16 John Levon <levon@movementarian.org>
8385 * lyxfunc.C: check tabular for cut/copy too
8387 2002-09-12 John Levon <levon@movementarian.org>
8392 * factory.C: add header
8394 * paragraph_funcs.h:
8395 * paragraph_funcs.C: cleanup
8397 2002-09-11 John Levon <levon@movementarian.org>
8399 * PrinterParams.h: odd/even default to true
8401 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8403 * PrinterParams.h: update printer parameters for new xforms dialog
8405 2002-09-11 Angus Leeming <leeming@lyx.org>
8407 * lyxserver.C (read_ready): re-write to make it more transparent
8408 and to make it work in coherent fashion under Tru64 Unix.
8410 2002-09-11 André Pönitz <poenitz@gmx.net>
8414 * text3.C: implement LFUN_WORDSEL
8416 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8418 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8419 make floatlist_ a boost::shared_ptr<FloatList>
8421 * lyxtextclass.C: include FloatList.h
8422 (LyXTextClass): initialize floatlist_
8423 (TextClassTags): add TC_NOFLOAT
8424 (Read): match "nofloat" to TC_NOFLOAT and use it.
8425 (readFloat): modify call to floatlist_
8429 * FloatList.[Ch] (FloatList): remove commented out float
8431 (erase): new function
8433 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8435 * MenuBackend.C (expandToc): fix crash when there is no document
8438 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8440 * many files: Add insetwrap.
8442 2002-09-09 John Levon <levon@movementarian.org>
8444 * text2.C: remove confusing and awkward depth wraparound
8446 2002-09-09 John Levon <levon@movementarian.org>
8448 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8451 * buffer.C: remove getIncludeonlyList()
8454 * lyxfunc.C: remove headers
8456 2002-09-09 Juergen Vigna <jug@sad.it>
8458 * text.C (getColumnNearX): fix form Michael this is most
8459 probably a cut&paste bug.
8461 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8463 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8465 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8466 references, ws changes.
8468 * text2.C (init): update counters after init
8469 (insertParagraph): no need to set counter on idividual paragraphs.
8470 (setCounter): access the counters object in the textclass object
8471 on in the buffer object.
8472 (updateCounters): ditto
8474 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8475 shared_ptr<Counters> to avoid loading counters.h in all
8477 (LyXTextClass): initialize ctrs_
8478 (TextClassTags): add TC_COUNTER, and ...
8479 (Read): use it here.
8480 (CounterTags): new tags
8481 (readCounter): new function
8482 (counters): new funtion
8483 (defaultLayoutName): return a const reference
8485 * counters.C (Counters): remove contructor
8486 (newCounter): remove a couple of unneeded statements.
8487 (newCounter): simplify a bit.
8488 (numberLabel): some small formatting changes.
8490 * buffer.[Ch]: remove all traces of counters, move the Counters
8491 object to the LyXTextClass.
8493 2002-09-06 Alain Castera <castera@in2p3.fr>
8495 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8496 package to set the horizontal alignment on fixed width columns.
8499 * lyx_sty.h: added tabularnewline macro def.
8501 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8503 2002-09-06 John Levon <levon@movementarian.org>
8505 * LyXAction.C: tooltips for sub/superscript
8507 * MenuBackend.C: a bit more verbose
8509 * lyxfunc.C: tiny clean
8511 * undo_funcs.C: document undo_frozen
8513 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8515 * counters.C (Counters): add missing algorithm counter.
8517 * text2.C (setCounter): lookup the counter with layouts latexname
8518 instead of by section number.
8519 (setCounter): use a hackish way to lookup the correct enum
8521 a float name->type change
8522 reset enum couners with counter name directly instead of depth value.
8524 * counters.C (Counters): remove the push_backs, change to use the
8525 float type not the float name.
8526 (labelItem): remove unused string, float name->type change
8528 * counters.h: don't include vector, loose the enums and sects vectors
8530 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8532 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8533 (Read): add float->TC_FLOAT to textclassTags
8534 (Read): and handle it in the switch
8535 (readFloat): new function
8537 * FloatList.C (FloatList): comment out the hardcoded float
8540 * lyxlayout.h: ws change.
8542 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8544 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8546 2002-09-03 Angus Leeming <leeming@lyx.org>
8548 * BufferView_pimpl.h: qualified name is not allowed in member
8549 declaration: WorkArea & Pimpl::workarea() const;
8551 * factory.C: added using std::endl directive.
8553 * text3.C: added using std::find and std::vector directives.
8555 2002-08-29 André Pönitz <poenitz@gmx.net>
8558 * text2.C: remove unused member number_of_rows
8561 * BufferView2.C: remove file, move contents to...
8562 * BufferView.C: ... here
8564 * BufferView_pimpl.C:
8565 * factory.C: move more inset creation to factory
8567 * vspace.C: avoid direct usage of LyXText, ws changes
8570 don't provide direct access to WorkArea, use two simple
8571 acessors haveSelction() and workHeight() instead
8574 2002-08-29 John Levon <levon@movementarian.org>
8576 * BufferView_pimpl.C (dispatch): do not continue when
8579 2002-08-28 André Pönitz <poenitz@gmx.net>
8581 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8584 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8586 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8588 * buffer.C: increment LYX_FORMAT to 221
8590 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8591 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8593 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8595 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8597 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8599 * factory.C (createInset): use LyXTextClass::floats
8601 * MenuBackend.C (expandFloatListInsert):
8602 (expandFloatInsert):
8605 * text2.C (setCounter):
8607 * LaTeXFeatures.C (useFloat):
8608 (getFloatDefinitions):
8610 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8612 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8613 floatlist_, with accessor floats().
8615 * FloatList.h: remove global FloatList
8617 2002-08-26 André Pönitz <poenitz@gmx.net>
8619 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8623 * BufferView_pimpl.C:
8624 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8626 2002-08-25 John Levon <levon@movementarian.org>
8628 * LyXAction.C: fix margin note description
8630 2002-08-24 John Levon <levon@movementarian.org>
8634 * bufferview_funcs.C:
8636 * undo_funcs.C: cleanups
8638 * lyxfunc.C: disable CUT/COPY when no selection
8640 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8642 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8643 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8645 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8646 Add backward compatibility to "mono", "gray" and "no".
8648 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8650 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8651 (and file_format >= 200).
8653 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8655 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8657 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8659 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8661 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8663 * BufferView_pimpl.C:
8670 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8671 inset and code to make it work with the paragraph code. The inset
8672 can be anywhere in the paragraph, but will only do the expected
8673 thing in LaTeX if the layout file contains the parameter line
8675 (or more generally, a nonzero value) for that layout.
8677 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8679 * paragraph.h: remove the declaration of undefined counters class
8682 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8684 * text2.C (setCounter): fixed enumeration mis-count as reported by
8685 Dr. Richard Hawkins.
8687 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8689 * paragraph_funcs.h: remove some unneeded includes
8691 * text.C (backspace): pasteParagraph now in global scipe
8693 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8694 (pasteSelection): ditto
8696 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8697 * paragraph_funcs.C (pasteParagraph): ... here
8699 2002-08-20 André Pönitz <poenitz@gmx.net>
8701 * commandtags.h: new LFUNs for swapping/copying table row/colums
8704 * lyxfunc.C: support for new lfuns
8706 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8709 * buffer.[Ch]: remove NO_COMPABILITY stuff
8711 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8713 * boost.C (throw_exception): new file, with helper function for
8714 boost compiled without exceptions.
8719 * ParameterStruct.h:
8720 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8722 * bufferlist.C (emergencyWriteAll): use boost bind
8724 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8726 * text.C: include paragraph_funcs.h
8727 (breakParagraph): breakParagraph is now in global scope
8729 * paragraph_funcs.[Ch]: new files
8731 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8734 * buffer.C: include paragraph_funcs.h
8735 (insertStringAsLines): breakParagraph is now in global scope
8737 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8740 * CutAndPaste.C: include paragraph_funcs.h
8741 (cutSelection): breakParagraphConservative is now in global scope
8742 (pasteSelection): ditto
8744 * buffer.h: declare oprator== and operator!= for
8745 Buffer::inset_iterator
8747 * bufferlist.C (emergencyWrite): don't use fmt(...)
8749 * text3.C: add using std::endl
8751 * BufferView.C (moveCursorUpdate): remove default arg
8753 2002-08-20 André Pönitz <poenitz@gmx.net>
8755 * buffer.[Ch]: move inline functions to .C
8758 * BufferView_pimpl.C:
8760 * buffer.[Ch]: use improved inset_iterator
8763 * paragraph.[Ch]: write one paragraph at a time
8765 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8767 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8768 style if style is not specified.
8770 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8772 * text2.C (setCounter): when searching for right label for a
8773 caption, make sure to recurse to parent insets (so that a caption
8774 in a minipage in a figure float works) (bug #568)
8776 2002-08-20 André Pönitz <poenitz@gmx.net>
8778 * text3.C: new file for LyXText::dispatch() and helpers
8780 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8782 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8784 2002-08-19 André Pönitz <poenitz@gmx.net>
8787 * text.C: new LyXText::dispatch()
8789 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8791 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8793 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8795 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8798 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8800 * Makefile.am: use $(variables) instead of @substitutions@
8802 2002-08-15 André Pönitz <poenitz@gmx.net>
8805 * BufferView_pimpl.C: streamlining mathed <-> outer world
8809 * LyXAction.C: remove unused LFUN_MATH
8811 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8813 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8815 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8817 * paragraph.C (Paragraph): reformat a bit
8818 (cutIntoMinibuffer): use builtin InsetList function instad of
8822 * buffer.C: include boost/bind.hpp, add using std::for_each
8823 (writeFileAscii): use ParagraphList iterators
8824 (validate): use for_each for validate traversal of paragraphs
8825 (getBibkeyList): use ParagraphList iterators
8826 (resizeInsets): use for_each to resizeInsetsLyXText for all
8828 (getParFromID): use ParagraphList iterators
8830 * BufferView2.C (lockInset): use paragraph list and iterators
8832 2002-08-14 John Levon <levon@movementarian.org>
8834 * lyxserver.C: remove spurious xforms include
8836 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8838 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8840 2002-08-13 André Pönitz <poenitz@gmx.net>
8843 * lyxfunc.C: further cleaning
8845 2002-08-13 André Pönitz <poenitz@gmx.net>
8847 * funcrequest.h: new constructor
8849 * funcrequest.C: move stuff here from .h
8852 * BufferView_pimpl.C:
8855 * lyxfunc.C: subsequent changes
8857 * lyxfunc.h: new view() member function
8859 * lyxfunc.C: subsequent changes
8861 2002-08-13 Angus Leeming <leeming@lyx.org>
8864 * BufferView_pimpl.C:
8872 changes due to the changed LyXView interface that now returns references
8873 to member variables not pointers.
8875 2002-08-13 Angus Leeming <leeming@lyx.org>
8877 * WordLangTuple (word, lang_code): return references to strings,
8882 * lyxtext.h: forward-declare WordLangTuple.
8887 * text.C: #include "WordLangTuple.h".
8890 * text.C: (selectNextWordToSpellcheck): constify return type.
8892 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8898 * paragraph_pimpl.h:
8901 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8903 Made updateCounter always count from start of buffer, and removed
8904 second argument (par).
8905 Reverted floats number display to '#'. Perhaps I'll try again when the
8906 code base is sanitized a bit.
8908 2002-08-12 Angus Leeming <leeming@lyx.org>
8910 * buffer.[Ch] (getLabelList): constify.
8912 2002-08-07 André Pönitz <poenitz@gmx.net>
8914 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8916 * funcrequest.h: extension to keep mouse (x,y) position
8918 2002-08-12 Juergen Vigna <jug@sad.it>
8920 * BufferView2.C (insertErrors): forbid undo when inserting error
8923 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8925 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8927 * ParagraphList.[Ch]: new files
8929 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8931 * BufferView2.C (lockInset): ParagraphList changes
8934 * bufferlist.C: ditto
8938 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8940 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8941 unused class variable counter_,
8943 * paragraph.[Ch] (getFirstCounter): delete unused function
8945 * counters.C: include LAssert.h
8946 (reset): add a new function with no arg, change other version to
8947 not have def. arg and to not allow empty arg.
8949 * text2.C (setCounter): remove empty arg from call to Counters::reset
8951 2002-08-11 John Levon <levon@movementarian.org>
8953 * Makefile.am: add WordLangTuple.h
8955 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8957 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8958 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8960 * insets/insettext.C: InsetList changes
8962 * graphics/GraphicsSupport.C (operator()): InsetList changes
8964 * toc.C (getTocList): InsetList changes
8966 * paragraph_pimpl.[Ch]: InsetList changes
8968 * paragraph.[Ch]: InsetList changes
8970 * buffer.C (inset_iterator): InsetList changes
8971 (setParagraph): ditto
8972 * buffer.h (inset_iterator): ditto
8973 * iterators.C (operator++): ditto
8974 * iterators.h: ditto
8976 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8978 * InsetList.[Ch]: new files, most InsetList handling moved out of
8981 * BufferView2.C (removeAutoInsets): InsetList changes
8983 (ChangeInsets): ditto
8985 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8987 * paragraph_pimpl.h (empty): new function
8989 * paragraph.[Ch] (empty): new function
8991 * other files: use the new Paragraph::empty function
8993 2002-08-09 John Levon <levon@movementarian.org>
8995 * lyxtext.h: remove unused refresh_height
8997 2002-08-09 John Levon <levon@movementarian.org>
9004 * paragraph.C: move sgml char escaping out of paragraph
9007 * paragraph.C: remove id setter
9011 * paragraph_pimpl.C: remove dead tex_code_break_column
9013 * bufferview_funcs.C: small cleanup
9015 * lyxfunc.C: remove dead proto
9017 * lyxtext.h: make some stuff private. Remove some dead stuff.
9019 * lyxgluelength.C: make as[LyX]String() readable
9021 2002-08-08 John Levon <levon@movementarian.org>
9026 * ToolbarDefaults.C:
9029 * toc.C: lyxaction cleanup
9031 2002-08-08 John Levon <levon@movementarian.org>
9033 * BufferView2.C: small cleanup
9036 * lyxfind.C: move unnecessary header into the .C
9038 2002-08-08 John Levon <levon@movementarian.org>
9040 * funcrequest.h: just tedious nonsense
9043 * lyx_main.C: cleanups
9046 * vspace.C: remove dead header lyx_main.h
9048 2002-08-07 Angus Leeming <leeming@lyx.org>
9051 * paragraph_pimpl.h:
9052 Forward declare class Counters in paragraph.h by moving the ctrs member
9053 variable into Paragraph::Pimpl.
9054 (counters): new method, returning a reference to pimpl_->ctrs.
9056 * text2.C: ensuing changes.
9058 2002-08-07 John Levon <levon@movementarian.org>
9060 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9062 * BufferView_pimpl.C: announce X selection on double/triple
9065 * lyx_main.C: use correct bool in batch dispatch
9067 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9069 2002-08-07 André Pönitz <poenitz@gmx.net>
9071 * funcrequest.h: new class to wrap a kb_action and its argument
9074 * BufferView_pimpl[Ch]:
9078 * lyxrc.C: subsequent changes
9081 2002-08-07 John Levon <levon@movementarian.org>
9083 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9084 document options change.
9086 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9091 * makefile.am: move counters functionality over from
9092 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9094 2002-08-06 John Levon <levon@movementarian.org>
9096 * WordLangTuple.h: new file for word + language code tuple
9107 * BufferView2.C: use WordLangTuple
9110 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9112 2002-08-06 John Levon <levon@movementarian.org>
9114 * lyx_main.C: fix cmdline batch handling
9116 2002-08-06 André Pönitz <poenitz@gmx.net>
9118 * lyxrc.C: set default for show_banner to true
9120 2002-08-06 John Levon <levon@movementarian.org>
9122 * pspell.C: fix a crash, and allow new aspell to work
9124 2002-08-06 John Levon <levon@movementarian.org>
9127 * kbmap.C: small cleanup
9130 * vspace.C: add const
9132 2002-08-05 John Levon <levon@movementarian.org>
9134 * LyXAction.C: back to tabular-insert
9136 2002-08-04 John Levon <levon@movementarian.org>
9139 * BufferView.C: cosmetic change
9141 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9151 * BufferView2.C: purge all "Lyx" not "LyX" strings
9154 * lyxcursor.C: attempt to add some documentation
9159 * ToolbarDefaults.C:
9160 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9161 merge with LFUN_TABULAR_INSERT
9168 * pspell.C: split up i/pspell implementations into separate
9169 files, many cleanups
9171 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9173 * text2.C: some cleanup
9175 * lyxfunc.C: don't check for isp_command == "none" any more, it
9176 didn't make any sense
9178 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9183 * makefile.am: move counters functionality over
9184 from text2.C/paragraph.[Ch] to counters.[Ch], and
9186 2002-08-02 John Levon <levon@movementarian.org>
9188 * buffer.C: s/lyxconvert/lyx2lyx/
9190 2002-08-02 Angus Leeming <leeming@lyx.org>
9192 * lyxlex.C: revert John's change as it breaks reading of the user
9195 2002-08-02 Angus Leeming <leeming@lyx.org>
9197 * importer.C (Import):
9198 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9199 changes due to LyXView::view() now returning a boost::shared_ptr.
9201 2002-08-02 John Levon <levon@movementarian.org>
9203 * lyxlex.C: small cleanup
9205 2002-08-02 John Levon <levon@movementarian.org>
9207 * text2.C (status): small cleanup, no logic change
9209 2002-08-01 John Levon <levon@movementarian.org>
9212 * buffer.C (writeFile): don't output alerts, caller
9216 * lyx_cb.C: from above
9218 * lyxfunc.C: allow to open non-existent files
9220 2002-07-31 John Levon <levon@movementarian.org>
9222 * lyxserver.C: don't let incidental errors get
9225 2002-07-30 John Levon <levon@movementarian.org>
9227 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9229 2002-07-30 John Levon <levon@movementarian.org>
9232 * lyxserver.C: remove I/O callback too
9234 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9236 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9239 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9241 * many files: strip,frontStrip -> trim,ltrim,rtrim
9243 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9245 * PrinterParams.h: remove extern containsOnly, and include
9246 support/lstrings.h instead.
9248 * LaTeX.C (scanAuxFile): modify because of strip changes
9250 * buffer.C (makeLaTeXFile): ditto
9251 * bufferparams.C (writeFile): ditt
9252 * lyxfont.C (stateText): ditto
9253 * lyxserver.C (read_ready): ditto
9254 * vc-backend.C (scanMaster): ditto
9256 * BufferView_pimpl.h: ws changes
9258 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9260 2002-07-26 André Pönitz <poenitz@gmx.net>
9262 * kb_sequence.C: remove unnedred usings
9264 2002-07-26 Juergen Vigna <jug@sad.it>
9266 * lyxfind.C (LyXReplace): we have to check better if the returned
9267 text is not of theLockingInset()->getLockingInset().
9269 2002-07-25 Juergen Vigna <jug@sad.it>
9271 * lyxfind.C (LyXReplace): don't replace if we don't get the
9274 * undo_funcs.C (createUndo): remove debugging code.
9276 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9278 * buffer.C (parseSingleLyXformat2Token): Use default placement
9279 when reading old floats.
9281 * FloatList.C (FloatList): Change the default placement of figure
9282 and tables to "tbp".
9284 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9286 * MenuBackend.C: using std::max
9288 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9290 * MenuBackend.C (expandToc):
9291 (expandToc2): code moved from xforms menu frontend. It is now
9292 generic and TOCs are transparent to menu frontends.
9294 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9296 * toc.C (getTocList): protect against buf=0
9298 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9299 Menu as first parameter. Now, this calls itself recursively to
9300 expand a whole tree (this will be useful for TOC handling)
9301 (expandFloatInsert): remove 'wide' version of floats
9303 * MenuBackend.h (submenuname): returns the name of the submenu.
9304 (submenu): returns the submenu itself, provided it has been
9305 created by MenuBackend::expand
9307 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9309 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9310 insets which have noFontChange == true. (bug #172)
9312 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9314 * BufferView_pimpl.C: add connection objects and use them...
9317 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9319 * MenuBackend.C (expandLastfiles):
9322 (expandFloatListInsert):
9323 (expandFloatInsert):
9324 (expand): split expand in parts
9326 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9328 * lyx_gui.C: use lyx_gui::exit()
9330 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9332 * LyXAction.C: show the failing pseudo action
9334 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9336 * buffer.C (readFile): Run the lyxconvert script in order to read
9339 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9343 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9345 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9349 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9351 2002-07-22 Herbert Voss <voss@lyx.org>
9354 * lyxlength.[Ch]: add support for the vertical lengths
9356 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9358 * toc.[Ch]: std:: fixes
9360 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9362 * lyxrc.C: do not include lyx_main.h
9364 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9370 * BufferView2.C: include "lyxlex.h"
9373 * bufferparams.h: do not #include "lyxlex.h"
9375 * lyxtextclasslist.C (Add): remove method
9376 (classlist): renamed to classlist_
9378 * paragraph_pimpl.C:
9382 * bufferview_funcs.C:
9387 * toc.C (getTocList): use BufferParams::getLyXTextClass
9389 * toc.C (getTocList): use InsetFloat::addToToc
9391 * toc.[Ch]: new files, containing helper functions to handle table
9394 * lyxfunc.C (dispatch): no need to remove spaces around command
9396 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9397 first command of the sequence; it is not very clever, but I do not
9398 have a better idea, actually
9400 * LyXAction.C (LookupFunc): make sure to remove space at the
9401 beginning and end of the command
9403 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9405 * MenuBackend.C (getMenubar): new method: return the menubar of
9407 (read): treat differently reading of menu and menubar (in
9408 particular, the menubar has no name now)
9409 (Menu::menubar): remove
9411 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9414 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9416 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9417 a bibitem inset in a RTL paragraph.
9419 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9421 * paragraph_pimpl.C: constify
9423 * BufferView_pimpl.C:
9425 * lyxfunc.C: fix dispatch in a nicer way
9427 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9429 * lyxfunc.C (dispatch):
9430 * BufferView_pimpl.C:
9431 * BufferView_pimpl.h:
9433 * BufferView.h: rename Dispatch() to dispatch()
9435 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9437 * lyxlayout.C (Read): honor DependsOn tag
9439 * lyxlayout.[Ch] (depends_on): new method
9441 * version.C.in: update lyx_docversion
9443 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9445 * paragraph.C (validate): remove from here...
9446 * paragraph_pimpl.C (validate): ... and move here
9447 (isTextAt): make it const
9449 * buffer.C (getLists): ws cleanup
9451 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9453 * language.C (read): Use iso8859-1 encoding in latex_lang
9454 (this prevents LyX from crashing when using iso10646-1 encoding).
9456 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9458 * text2.C (toggleInset): if cursor is inside an inset, close the
9459 inset and leave cursor _after_ it
9461 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9463 * lyxfunc.C: move minibuffer completion handling out of here
9465 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9467 * BufferView_pimpl.C:
9468 * LaTeX.C: fix dispatch calls
9470 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9472 * text.C (drawChars): Fix Arabic text rendering.
9474 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9478 * lyxfunc.C: remove message-push/pop
9482 * lyxfunc.C: rationalise some code by removing verboseDispatch
9483 in favour of a bool argument to dispatch()
9485 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9487 * lyx_main.C (init): make sure to read symlinks as absolute paths
9489 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9492 * lyxfunc.C: no need for commandshortcut to be a member
9494 2002-07-15 André Pönitz <poenitz@gmx.net>
9496 * converter.C: add support for $$s (scripts from lib/scripts dir)
9497 * lyx_main.C: white space
9499 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9503 * lyxrc.C: remove second exit confirmation
9505 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9510 * BufferView_pimpl.h:
9511 * BufferView_pimpl.C:
9512 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9514 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9516 * MenuBackend.C (expand): add numeric shortcuts to document menu
9518 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9520 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9522 * lyxfont.C (setLyXFamily):
9529 * buffer.C (asciiParagraph): use ascii_lowercase
9531 2002-07-15 Mike Fabian <mfabian@suse.de>
9533 * lyxlex_pimpl.C (search_kw):
9534 * lyxlex.C (getLongString):
9535 * converter.h (operator<):
9536 * converter.C (operator<):
9537 * buffer.C (parseSingleLyXformat2Token):
9539 * ToolbarDefaults.C (read):
9540 * MenuBackend.C (checkShortcuts):
9542 * LColor.C (getFromGUIName):
9543 (getFromLyXName): use the compare_ascii_no_case instead of
9544 compare_no_case, because in turkish, 'i' is not the lowercase
9545 version of 'I', and thus turkish locale breaks parsing of tags.
9547 2002-07-16 Angus Leeming <leeming@lyx.org>
9549 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9550 now takes a Buffer const & argument.
9552 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9554 * BufferView.C (resize): check there's a buffer to resize
9556 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9558 * lyxfunc.C: remove dead code
9561 * lyxserver.C: use lyx_guii::set_read_callback
9563 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9565 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9566 an inset in a RTL paragraph.
9568 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9570 * lyxfunc.C: repaint after a font size update
9572 2002-07-15 André Pönitz <poenitz@gmx.net>
9574 * lyxlength.C: inBP should be able to return negative values
9576 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9578 * lyxfunc.C: use lyx_gui::update_fonts()
9580 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9582 * lyxfunc.C: use lyx_gui::update_color()
9584 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9590 * lyxrc.C: remove file->new asks for name option, and let
9591 buffer-new take an argument
9593 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9595 * BufferView_pimpl.C: remove unneeded extra repaint()
9597 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9599 * LyXAction.C: allow command-sequence with NoBuffer
9601 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9603 2002-07-10 Angus Leeming <leeming@lyx.org>
9605 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9607 2002-07-09 Angus Leeming <leeming@lyx.org>
9609 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9611 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9613 * lengthcommon.h: whitespace
9615 * lyxfunc.C: update scrollbar after goto paragraph
9617 * lyxtext.h: factor out page break drawing, and fix it so
9618 page break/added space paints as selected nicely
9620 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9622 * BufferView_pimpl.C: add FIXMEs, clean up a little
9624 2002-07-09 André Pönitz <poenitz@gmx.net>
9626 * lyxfont.[Ch]: support for wasy symbols
9628 2002-07-08 André Pönitz <poenitz@gmx.net>
9630 * BufferView_pimpl.C: apply John's patch for #93.
9632 2002-07-05 Angus Leeming <leeming@lyx.org>
9634 * BufferView_pimpl.C (buffer): generate previews if desired.
9636 * LColor.h: add "preview" to the color enum.
9638 * LColor.C (LColor): add a corresponding entry to the items array.
9640 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9643 2002-07-05 Angus Leeming <leeming@lyx.org>
9645 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9646 The body of the code is now in the method that is passed an ostream &
9647 rather than a file name.
9648 Pass an additional only_preamble parameter, useful for the forthcoming
9651 2002-07-03 André Pönitz <poenitz@gmx.net>
9653 * lyxfunc.C: simplify getStatus() a bit for math stuff
9655 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9657 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9659 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9661 * text.C (changeRegionCase): do not change case of all the
9662 document when region ends at paragraph end (bug #461)
9664 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9666 * paragraph.C (startTeXParParams):
9667 (endTeXParParams): add \protect when necessary
9669 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9671 * BufferView_pimpl.C (workAreaExpose): remove warning
9673 2002-06-27 Angus Leeming <leeming@lyx.org>
9675 * Makefile.am: add lyxlayout_ptr_fwd.h.
9677 2002-06-26 André Pönitz <poenitz@gmx.net>
9679 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9681 2002-06-25 Angus Leeming <leeming@lyx.org>
9683 * lyxfunc.C (dispatch): Comment out the call to
9684 grfx::GCache::changeDisplay. The method no longer exists now that the
9685 pixmap generation part of the graphics loader has been moved into
9688 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9690 * text2.C: layout as layout
9692 * text.C: layout as layout
9694 * tabular.C (OldFormatRead): layout as layout
9696 * paragraph_pimpl.C (TeXDeeper): layout as layout
9697 (realizeFont): layout as layout
9699 * paragraph.C (writeFile): layout as layout
9700 (validate): layout as layout
9701 (getFont): layout as layout
9702 (getLabelFont): layout as layout
9703 (getLayoutFont): layout as layout
9704 (breakParagraph): layout as layout
9705 (stripLeadingSpaces): layout as layout
9706 (getEndLabel): layout as layout
9707 (getMaxDepthAfter): layout as layout
9708 (applyLayout): layout as layout
9709 (TeXOnePar): layout as layout
9710 (simpleTeXOnePar): layout as layout
9711 (TeXEnvironment): layout as layout
9712 (layout): layout as layout
9713 (layout): layout as layout
9715 * lyxtextclass.C (compare_name): new functor to work with
9716 shared_ptr, layout as layout
9717 (Read): layout as layout
9718 (hasLayout): layout as layout
9719 (operator): layout as layout
9720 (delete_layout): layout as layout
9721 (defaultLayout): layout as layout
9723 * lyxlayout_ptr_fwd.h: new file
9725 * lyxlayout.C (Read): layout as layout
9727 * lyx_cb.C (MenuInsertLabel): layout as layout
9729 * bufferlist.C (newFile): layout as layout
9731 * buffer.C (readLyXformat2): layout as layout
9732 (parseSingleLyXformat2Token): layout as layout
9733 (insertStringAsLines): layout as layout
9734 (asciiParagraph): layout as layout
9735 (latexParagraphs): layout as layout
9736 (makeLinuxDocFile): layout as layout
9737 (simpleLinuxDocOnePar): layout as layout
9738 (makeDocBookFile): layout as layout
9739 (simpleDocBookOnePar): layout as layout
9740 (getLists): layout as layout
9742 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9744 * CutAndPaste.C (cutSelection): layout as layout
9745 (pasteSelection): layout as layout
9746 (SwitchLayoutsBetweenClasses): layout as layout
9748 * BufferView_pimpl.C (Dispatch): layout as layout
9749 (smartQuote): layout as layout
9751 * BufferView2.C (unlockInset): layout as layout
9753 2002-06-24 André Pönitz <poenitz@gmx.net>
9755 * lyxfunc.C: fix #487
9757 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9761 * lyxfunc.C: remove display_shortcuts, show_banner
9763 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9765 * Buffer_pimpl.C: oops, update on resize
9767 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9774 * BufferView.C: use repaint()
9776 * BufferView_pimpl.h:
9777 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9778 as it's a clearer description. Remove superfluous
9781 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9783 * text.C: fix bug 488. Not ideal, but getting
9784 getWord() to work properly for the insets that
9785 matter is more difficult ...
9787 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9789 * BufferView_pimpl.C:
9792 * lyxfunc.C: remove the six million index lyxfuncs to just
9793 one, and DTRT (bug 458)
9795 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9799 * BufferView_pimpl.h:
9800 * BufferView_pimpl.C: clean up resize() stuff,
9801 and unnecessary updateScreen()s
9803 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9807 * BufferView_pimpl.h:
9808 * BufferView_pimpl.C:
9811 * minibuffer.C: remove focus management of workarea,
9812 not needed. Use screen's greyOut()
9814 2002-06-17 Herbert Voss <voss@lyx.org>
9816 * converter.C: (convert) do not post a message, when converting
9817 fails, let the calling function decide what to do in this case
9819 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9821 * lyxfunc.C: tidy up a little
9823 2002-06-16 <alstrup@diku.dk>
9825 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9826 Got rid of FORMS_H_LOCATION include. Now we are
9829 2002-06-15 LyX Development team <lyx@rilke>
9831 * buffer.[Ch] (sgmlOpenTag):
9832 (sgmlCloseTag): Added support for avoiding pernicious mixed
9833 content. Return number of lines written.
9836 (makeDocBookFile): Fixed calls to sgml*Tag.
9837 Simple white space clean.
9839 (simpleDocBookOnePar): Simple white space clean.
9841 * tabular.[Ch] (docBook): Renamed to docbook and got another
9842 argument to related with the pernicious mixed content.
9844 (docbookRow): Fixed calls for docbook inset method.
9846 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9848 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9849 so it's X11 independent.
9853 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9855 2002-06-15 Lyx Development team <lyx@electronia>
9857 * intl.h: Renamed getTrans to getTransManager.
9859 2002-06-14 Angus Leeming <leeming@lyx.org>
9861 * Makefile.am: nuke forgotten stl_string_fwd.h.
9863 2002-06-12 Angus Leeming <leeming@lyx.org>
9865 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9867 2002-06-13 Angus Leeming <leeming@lyx.org>
9870 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9872 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9874 * kbmap.C (getiso): add support for cyrillic and greek
9876 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9880 * BufferView_pimpl.h:
9881 * BufferView_pimpl.C: move bogus scrolling logic
9884 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9887 * BufferView_pimpl.C: view->resize() change
9889 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9891 * BufferView_pimpl.C: topCursorVisible
9894 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9898 * lyx_gui.C: move to frontends/
9902 * lyx_main.C: changes from above
9904 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9911 * lyx_main.C: minor tidy
9913 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9915 * BufferView_pimpl.h:
9916 * BufferView_pimpl.C:
9918 * BufferView.C: make painter() const,
9921 * BufferView2.C: use screen() accessor
9924 * lyx_main.C: some minor cleanup
9926 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9928 * BufferView_pimpl.h:
9929 * BufferView_pimpl.C: remove enter/leaveView,
9932 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9937 * BufferView_pimpl.h:
9938 * BufferView_pimpl.C: only construct screen once,
9941 * lyxrc.C: remove pointless comment
9943 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9946 * BufferView.C: remove active() and belowMouse()
9948 * BufferView_pimpl.h:
9949 * BufferView_pimpl.C: use workarea() not workarea_,
9950 and make it use a scoped_ptr instead
9952 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9954 * lyx_gui.C: add debug message on BadWindow
9956 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9958 * sp_spell.C: fdopen is not part of the C++ standard.
9960 * paragraph.C (InsetIterator): use >= instead of ==
9962 2002-06-07 Angus Leeming <leeming@lyx.org>
9964 Fixes needed to compile with Compaq cxx 6.5.
9965 * BufferView_pimpl.C:
9972 * lyxtextclasslist.C:
9977 all c-library variables have been moved into namespace std. Wrap
9978 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9983 Add a using std::abs declaration.
9985 * kbmap.h (modifier_pair):
9986 * paragraph.h (InsetTable, InsetList):
9987 * lyxfont.h (FontBits):
9988 type definition made public.
9990 * bufferlist.C (emergencyWriteAll): the compiler complains that
9991 there is more than one possible lyx::class_fun template to choose from.
9992 I re-named the void specialisation as lyx::void_class_fun.
9994 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9996 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9997 the compiler is is unable to find tostr in write_attribute.
9999 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10001 * buffer.C (sgmlError): hide #warning
10003 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10005 * xtl/*: get rid of xtl, which is not in use anyway
10007 * LyXAction.C (init):
10008 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10009 were unimplemented xtl experimentation
10011 2002-06-04 André Pönitz <poenitz@gmx.net>
10013 * lyxfunc.C: disable array operation on simple formulae
10015 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10017 * converter.C: constify a bit
10019 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10021 * lyx_gui.C: check xforms version correctly
10023 2002-04-30 Herbert Voss <voss@lyx.org>
10025 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10028 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10030 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10031 attempt to register it with a VCS)
10033 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10035 * lyx_main.C (init): honor variables LYX_DIR_13x and
10038 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10042 * lyx_main.C: fix a crash on bad command line,
10043 and give a useful exit status on error
10045 * lyxfunc.C (doImport): allow -i lyx to work
10047 2002-03-30 André Pönitz <poenitz@gmx.net>
10049 * lyxfunc.C: mathed font changes
10051 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10066 * trans_mgr.h: srcdocs, and some minor cleanups
10068 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10070 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10071 call getFont all the time)
10073 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10075 * switch from SigC signals to boost::signals
10077 2002-05-29 André Pönitz <poenitz@gmx.net>
10079 * paragraph_pimpl.C (getChar): don't call size() too often...
10081 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10083 * paragraph_pimpl.C (insertChar): do not try to update tables when
10084 appending (pos == size())
10086 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10087 in order to reduce drastically the number of comparisons needed to
10088 parse a large document
10090 2002-05-29 André Pönitz <poenitz@gmx.net>
10096 * textclasslist.[Ch]:
10097 * sp_ispell.h: whitespace change
10099 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10101 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10102 lyxaction directly now.
10104 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10108 * lyxvc.C: remove unused headers
10110 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10117 * undo_funcs.C: some cleanups. Use shared_ptr
10118 and a template for the undo stacks.
10120 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10122 * BufferView_pimpl.h:
10123 * BufferView_pimpl.C:
10130 * text2.C: use key_state/mouse_state
10132 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10134 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10137 * chset.C: change include order
10138 (loadFile): use boost regex and get rid of LRegex and LSubstring
10140 * Makefile.am (BOOST_LIBS): new variable
10141 (lyx_LDADD): use it
10143 * LaTeX.C: change include order.
10144 (scanAuxFile): use boost regex and get rid of LRegex and
10148 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10153 * FontInfo.C: moved to frontends/xforms/
10156 * FontLoader.C: moved into frontends for GUIIzation
10161 * lyxfunc.C: changes from above
10163 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10165 * LColor.C: remove spurious X include
10167 * BufferView_pimpl.C:
10172 * text2.C: move font metrics to frontends/
10174 2002-05-24 Juergen Vigna <jug@sad.it>
10176 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10177 setting the undo_cursor.
10179 * ParagraphParameters.h: include local includes first.
10181 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10183 * BufferView_pimpl.C:
10184 * BufferView_pimpl.h:
10188 * screen.C: move WorkArea into frontends/
10194 * BufferView2.C: move LyXScreen into frontends/
10198 * lyx_gui.C: move lyxlookup into frontends/xforms/
10200 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10203 * BufferView_pimpl.C:
10213 * bufferview_funcs.C:
10226 * vc-backend.C: move LyX/XFormsView into frontends/
10228 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10240 * text2.C: move Painter to frontends/
10242 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10244 * buffer.C: comment out some some code that depend upon lyx_format
10247 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10248 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10250 * buffer.h (NO_COMPABILITY): turn off compability
10252 * ColorHandler.C: include scoped_array.hpp
10254 * font.C: Use more specific smart_ptr header.
10257 * ShareContainer.h: ditto
10258 * lyx_main.h: ditto
10260 * FontInfo.h: ditto
10261 * BufferView_pimpl.h: ditto
10262 * ColorHandler.h: ditto
10264 * kbmap.C (defkey): change call to shared_ptr::reset
10266 2002-05-21 Juergen Vigna <jug@sad.it>
10268 * buffer.C (insertErtContents): fix to insert ert asis if it is
10269 non empty. Skip it completely if it contains only whitespaces.
10271 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10273 * BufferView_pimpl.C:
10274 * BufferView2.C: clear selection on paste (bug 393)
10276 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10278 * DepTable.C: include ctime
10280 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10282 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10284 2002-05-14 Juergen Vigna <jug@sad.it>
10286 * text.C (breakParagraph): fixed function to honor the keepempty
10287 layout in the right maner and also to permit the right breaking
10288 algorithm on empty or non empyt keepempty paragraphs.
10290 * paragraph.C (breakParagraph): we have to check also if the par
10291 is really empty (!size()) for isempty otherwise we do the wrong
10294 2002-05-10 Juergen Vigna <jug@sad.it>
10296 * buffer.[Ch] : The following are only changes to the ert
10297 compatibility read reading old LaTeX layout and font stuff and
10298 convert it to ERTInsets.
10300 * buffer.h: added isErtInset().
10302 * buffer.C (struct ErtComp): add a fromlayout bool to check
10303 if we're inside a LaTeX layout.
10304 (isErtInset): new helper function.
10305 (insertErtContents): look for other ert insets before this one
10306 and insert the contents there, so that we don't have subsequent
10307 ERT insets with nothing between them. This way we create only one
10308 inset with multiple paragraphs. Also check if we don't insert only
10309 spaces ' ' as they are ignored anyway afterwards in the .tex file
10310 so if we have only spaces we will ignore this latex part in the
10312 (parseSingleLyXformat2Token \\layout): better compatibility when
10313 reading layout-latex stuff.
10314 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10316 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10317 stuff after reading the inset only get the information back from
10320 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10322 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10324 * LaTeXFeatures.C (getBabelOptions): New method.
10326 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10328 * BufferView_pimpl.C (Dispatch): work around missing argument for
10331 2002-05-08 Juergen Vigna <jug@sad.it>
10333 * text.C (leftMargin): handle paragraph leftindent.
10335 * paragraph.C (writeFile): write the new \\leftindent tag.
10336 (validate): handle leftindent code.
10337 (TeXEnvironment): handle paragraphleftindent code again.
10339 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10341 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10342 for paragrap_extra indent code and new token \\leftindent.
10343 (latexParagraphs): handle the leftindent as environment.
10345 * ParameterStruct.h: added leftindent support.
10347 * ParagraphParameters.C (leftIndent): added support functions for
10348 the paragraph left indent.
10350 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10353 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10355 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10358 * text.C (computeBidiTables): No bidi in insetERT.
10360 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10363 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10365 * version.C.in: pre 5
10367 2002-05-02 José Matos <jamatos@fep.up.pt>
10368 * buffer.C (makeDocBookFile): white space changes, add newline to
10370 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10372 * tabular.C (docBook): fix typo.
10374 2002-05-03 Juergen Vigna <jug@sad.it>
10376 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10377 change in LyXText as we can not be sure it was not freed.
10378 (drawOneRow): remove unused code.
10380 * text.C (drawInset): redo the calculation of the need_break_row as
10381 it could have a row which was already freed.
10382 (draw): look at the return value of drawInset and return false if
10383 it also returned false.
10384 (paintRowText): look at the return value of draw and return false if
10385 it also returned false.
10387 * lyxtext.h: added bool return type to drawInset() and draw() so that
10388 if we have a change in the row so that the rowbreak has to be redone
10389 we abort drawing as it will be called again.
10391 2002-05-02 Juergen Vigna <jug@sad.it>
10393 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10394 a change in the maintext also if we're inside an inset.
10395 (Dispatch): set the cursor again after a break line and after the
10396 screen has been updated as it could be we're in a different row.
10398 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10399 to set the cursor behind the pargraph with > size().
10400 (setCursor): check also for the same paragraph when checking where
10401 to put the cursor if we have a NFR inset.
10403 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10404 parts of layout read further up as it still was in the wrong
10407 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10409 * screen.C (drawFromTo): change sine fullRebreak always return
10412 * buffer.C (parseSingleLyXformat2Token): reindent some
10414 * BufferView_pimpl.C (update): change since fullRebreak always
10416 (Dispatch): git rid of the last hardcoded "Standard"s.
10418 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10420 * text2.[Ch] (fullRebreak): make it return void now that we always
10423 2002-04-30 Juergen Vigna <jug@sad.it>
10425 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10426 ert compatibility check for "latex" layout.
10428 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10430 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10431 minipages: use col% instead of p%, and also use the current font.
10432 (makeLaTeXFile): Fix use babel condition.
10433 (parseSingleLyXformat2Token): Correct font when reading old floats.
10435 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10437 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10438 inserting list of floats.
10440 2002-04-25 Herbert Voss <voss@lyx.org>
10442 * MenuBackend.C (expand): don't add the graphics extensions to the
10445 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10447 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10448 non-existing layout, do not complain if it was the default layout
10449 of the original class (bug #342)
10451 2002-04-24 Juergen Vigna <jug@sad.it>
10453 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10454 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10456 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10458 * buffer.C (getBibkeyList): If using \bibliography, return the
10459 option field with the reference itself. Enables us to provide natbib
10460 support when using \bibliography.
10462 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10464 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10466 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10467 natbib is provided by the LaTeX class.
10469 2002-04-23 Juergen Vigna <jug@sad.it>
10471 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10474 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10476 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10478 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10480 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10481 ensuremath around textordmasculine, textordfeminine and
10484 2002-04-19 Juergen Vigna <jug@sad.it>
10486 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10487 reinitializing the buffer otherwise row-dimensions may be wrong.
10488 (update): reset also the selection cursors if they do exits otherwise
10489 their x/y positions may be wrong.
10491 * text2.C (cursorDown): don't enter the inset if we came from a row
10492 above and are one row over the inset.
10494 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10495 really leaving an inset.
10497 2002-04-18 Juergen Vigna <jug@sad.it>
10499 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10500 of the selected paragraph does not have the selected layout also if
10503 * text2.C (setLayout): fixed bug which did not change last selected
10506 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10507 changed the read and substituted \\end_float with \\end_inset!
10509 * BufferView_pimpl.C (cursorPrevious):
10510 (cursorNext): fixed to make it work with rows heigher than the work
10511 area without moving the cursor only the draw of the row.
10512 (workAreaMotionNotify): fix jumping over high rows.
10514 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10516 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10519 2002-04-16 Juergen Vigna <jug@sad.it>
10521 * text2.C (setCursor): set also the irow().
10522 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10524 (cursorDown): support for locking an inset if the x_fix value goes
10525 inside it. That way I can transverse insets too with cursor up/down.
10527 * lyxrow.h: added irow helper function same as other (i) functions.
10529 * BufferView_pimpl.C (cursorPrevious):
10530 (cursorNext): fixed for insets!
10532 2002-04-15 Juergen Vigna <jug@sad.it>
10534 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10535 position otherwise it is wrong in some cases.
10537 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10538 inside the inset before the call.
10540 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10542 * buffer.[Ch] (getBibkeyList): make it const.
10544 2002-04-12 Juergen Vigna <jug@sad.it>
10546 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10548 * text2.C (getCursorX): new helper function
10549 (setCursor): compute also ix_
10550 (setCursorFromCoordinates): set also ix.
10552 * lyxcursor.h: added ix_ and helper functions.
10554 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10556 * buffer.C (insertStringAsLines): dont break paragraph if the this
10557 paragraph is inside an inset which does not permit it!
10559 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10560 also with no chars on this paragraph.
10561 (paintRowText): only paint stuff if it's inside the workarea!
10563 * paragraph.C (breakParagraph): honor keepempty flag and break the
10564 paragraph always below not above.
10566 * BufferView2.C (unlockInset): update the paragraph layout on inset
10567 unlock as we changed paragraph in such a case.
10569 * lyxfind.C (LyXFind): clear the former selection if not found!
10571 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10572 again called in insertChar().
10574 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10575 an inset which uses the whole row!
10576 (rightMargin): ditto.
10577 (insertChar): force a rebreak if we inserted an inset!
10579 2002-03-28 Herbert Voss <voss@lyx.org>
10581 * lyxlength.[Ch]: add inBP() to get the right PS-point
10582 units (BigPoint). With inPixels we have rounding errors
10584 2002-04-11 Juergen Vigna <jug@sad.it>
10586 * text2.C (setCursorFromCoordinates): set iy to the right value.
10587 (setCursor): add check if row->previous exists!
10589 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10590 an old float_type as this was the case in the old code!
10592 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10594 * BufferView2.C (showLockedInsetCursor): use iy
10595 (fitLockedInsetCursor): ditto
10597 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10598 locked insets as there we have the right value now.
10600 * lyxcursor.C: added iy_ variable and iy functions to set to the
10601 baseline of cursor-y of the locked inset.
10603 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10604 (setCursor): fixed for insets which need a full row.
10606 * text.C (rowLastPrintable): don't ignore the last space when before
10607 an inset which needs a full row.
10608 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10609 as last character of a row when before a inset which needs a full row.
10611 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10613 * version.C.in: update date
10615 * text2.C (fullRebreak): try to always return true and see what
10618 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10620 * MenuBackend.C (expand): use Floating::listName
10622 * FloatList.C (FloatList): add listName argument to the built-in
10625 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10626 text associated with the float.
10628 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10630 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10632 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10634 * ShareContainer.h: add a couple of missing typenames.
10636 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10638 * lyxrc.C (getDescription): use _() correctly rather than N_().
10640 2002-03-28 Herbert Voss <voss@lyx.org>
10642 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10643 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10645 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10647 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10648 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10650 2002-03-29 Juergen Vigna <jug@sad.it>
10652 * lyxfunc.C (dispatch): add a missing fitCursor call.
10654 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10655 it was scrolled by a cursor move, so return the bool status.
10657 * BufferView.C (fitCursor): return the bool flag also to the outside
10658 world as this is needed.
10660 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10662 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10663 call the edit() as it is not needed (and wrong) IMO.
10664 (workAreaButtonPress): set the screen_first variable before evt.
10665 unlock the inset as this may change screen_first and then we have
10666 a wrong y position for the click!
10668 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10670 * MenuBackend.C (expand): another translation that I missed
10672 2002-03-28 Juergen Vigna <jug@sad.it>
10674 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10676 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10678 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10680 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10682 * MenuBackend.C (expand): fix export/view/update when there is no
10685 2002-03-27 Herbert Voss <voss@lyx.org>
10687 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10690 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10692 * bufferview_funcs.C (currentState): only show paragraph number
10693 for is DEVEL_VERSION is set.
10695 * lyxfunc.C (dispatch): put warning in INFO channel
10697 * MenuBackend.C (expand): translate the name of floats
10699 * FloatList.C (FloatList): mark the float names for translation
10701 * converter.C (convert): use LibScriptSearch
10703 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10705 * MenuBackend.C (defaults): fix default menu (we might as well get
10708 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10710 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10713 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10715 * lyxvc.C: reorder includes.
10717 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10719 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10722 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10724 * CutAndPaste.C: change layouts earlier on paste
10725 to avoid crashing when calling getFont()
10727 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10729 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10732 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10734 * WorkArea.C: remove 'Pending' debug message.
10736 * most files: ws cleanup
10738 * buffer.[Ch]: ws changes
10740 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10742 2002-03-21 Juergen Vigna <jug@sad.it>
10744 * tabular.C (SetMultiColumn): collapse also the contents of the
10745 cells and set the last border right. Added a Buffer const * param.
10747 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10749 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10752 2002-03-19 Juergen Vigna <jug@sad.it>
10754 * text2.C (clearSelection): reset also xsel_cache.
10756 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10757 where it needs to be called (John tells us to do so too :)
10758 (selectionLost): reset sel_cache.
10760 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10762 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10764 * text2.C (setCursorIntern): put debuging code in INSETS channel
10766 2002-03-19 André Pönitz <poenitz@gmx.net>
10768 * lyxfunc.C: tiny whitespace change
10770 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10772 * ToolbarDefaults.C (init):
10773 * LyXAction.C (init):
10775 * BufferView_pimpl.C (Dispatch):
10776 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10778 2002-03-19 Allan Rae <rae@lyx.org>
10780 * exporter.C (Export): removeAutoInsets before doing anything else.
10781 While I've just introduced a dependency on BufferView this really is
10782 the best place to clean the buffer otherwise you need to cleanup in
10783 a dozen places before calling export or cleanup in a dozen functions
10786 * converter.C (runLaTeX):
10787 (scanLog): Better handling of removeAutoInsets and screen updates.
10789 * lyxfunc.C (dispatch): small whitespace changes
10791 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10793 * WorkArea.C (C_WorkAreaEvent): return a value.
10794 (event_cb): return 1 if we handled the event, 0 otherwise.
10796 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10798 2002-03-18 Juergen Vigna <jug@sad.it>
10800 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10801 (GetAdditionalWidth): ditto.
10802 (RightLine): ditto.
10805 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10806 inset if we're there actually (probably not used right now but this
10807 is the direction to go for unifying code).
10808 (paste): disable code to clear the selection.
10810 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10811 inside an InsetText and move the check further up as it is in the
10814 * text2.C (pasteSelection): set a selection over the pasted text.
10816 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10818 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10819 and libgraphics to build on Cygwin.
10821 2002-03-15 Juergen Vigna <jug@sad.it>
10823 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10824 inserting an Inset into the paragraph. I know this is not the best
10825 fix but we already use current_view in CutAndPaste so we will remove
10826 all of it's using at the same time.
10828 * buffer.C (sgmlError): deactivated function till it is rewritten in
10829 the right mode, now it can create problems.
10831 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10832 before accessing it.
10834 2002-03-14 Juergen Vigna <jug@sad.it>
10836 * undo_funcs.C (textHandleUndo): do the right thing when updating
10837 the inset after the undo/redo.
10839 * text2.C (setCursor): just some testcode for #44 not ready yet.
10841 * undo_funcs.C (textHandleUndo): set the next() and previous()
10842 pointers of the paragraph to 0 before deleting otherwise we have
10843 problems with the Paragraph::[destructor].
10845 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10846 on a paragraph insertion.
10848 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10850 * buffer.C (asciiParagraph): use += operator for char append to
10853 * paragraph.C (getFontSettings): compare >= not just >
10854 (highestFontInRange): ditto
10857 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10859 * paragraph.C: change several algorithm to be more appripriate for
10860 the problem domain. This is lookip in FontList and in the InsetList.
10862 2002-03-13 André Pönitz <poenitz@gmx.net>
10865 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10867 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10872 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10874 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10876 * Painter.C (display): anon helper function, adjust code for this
10878 (pixmap): remove function.
10880 * Painter.h: remove private display variable.
10882 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10884 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10886 * WorkArea.[Ch]: remove figinset_canvas cruft.
10888 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10890 * lyxtextclass.C (operator): add one item cache optimization.
10892 * bufferlist.h: doxy changes
10894 * bufferlist.C: ws changes
10896 * DepTable.[Ch] (ext_exist): place const in the right spot.
10898 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10900 (workAreaExpose): call resizeInsets when the with BufferView changes.
10901 (Dispatch): adjust for protectedBlank removal
10902 (specialChar): call updateInset if the insert went ok.
10904 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10905 specialChar instead.
10907 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10909 * BufferView.h: doxy change
10911 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10913 * lyxtextclass.C (operator[]): remove non-const version
10914 (defaultLayout): remove non-const version
10916 2002-03-12 Juergen Vigna <jug@sad.it>
10918 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10919 did resize the LyXText too.
10921 * buffer.C (readLyXformat2): set layout information on newly allocated
10924 * tabular.C (OldFormatRead): set layout information on the paragraph.
10926 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10928 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10930 2002-03-11 Juergen Vigna <jug@sad.it>
10932 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10934 (resizeCurrentBuffer): force also the insets to resize themselfes.
10935 (moveCursorUpdate): fixed up for InsetText.
10937 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10940 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10941 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10942 value of Dialogs::tooltipsEnabled().
10943 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10945 2002-03-08 Juergen Vigna <jug@sad.it>
10947 * BufferView_pimpl.C (updateInset): update inset inside inset also
10948 if it isn't inside theLockingInset().
10950 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10952 * buffer.C (asciiParagraph): redo some of the word and line length
10954 (getLists): look for Caption instead of caption.
10956 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10958 * buffer.C (Buffer): initialize niceFile to true
10960 (makeLinuxDocFile):
10961 (makeDocBookFile): make sure niceFile is true on exit
10963 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10965 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10967 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10969 * LyXSendto.C: remove.
10970 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10971 * lyx_gui.C: remove now-redundant comment.
10972 * ColorHandler.h: remove forward declaration of class WorkArea.
10973 * lyxfunc.C: remove #include "WorkArea.h".
10975 2002-03-07 Juergen Vigna <jug@sad.it>
10977 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10978 got moved away with the DEPM and also set the inset_owner always
10979 right which before could have been omitted.
10981 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10983 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10984 wanted layout is not found.
10986 2002-03-07 Juergen Vigna <jug@sad.it>
10988 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10990 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10992 * paragraph.C (breakParagraph): use default layout not layout of
10994 (Paragraph): clear ParagraphParameters.
10996 2002-03-06 Juergen Vigna <jug@sad.it>
10998 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10999 otherwise it would not be a valid lenght. Fixed a special case in
11000 the minipage compatibility read where we end the document with a
11003 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11004 was set as it could be 0 for InsetTexts first entry.
11006 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11008 * paragraph.C (writeFile): if layout is empty write out
11009 defaultLayoutName().
11011 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11012 file without named layout we set layout to defaultLayoutName().
11014 2002-03-06 Juergen Vigna <jug@sad.it>
11016 * CutAndPaste.C (copySelection): set layout for new paragraph.
11018 * text.C (prepareToPrint): leave ERT inset left aligned
11019 (leftMargin): don't indent paragraphs inside ERT insets
11021 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11023 * paragraph.C (breakParagraph): dont call clear do the work manually
11025 * paragraph.[Ch] (clear): remove function
11027 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11029 * paragraph.C (Paragraph): dont call clear, the work has already
11032 * lyxtextclass.C (operator): assert if n is empty
11034 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11035 work manually instead.
11037 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11039 * BufferView_pimpl.C: protect selectionLost against text == 0
11041 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11043 * text.C (breakParagraph): fix a setting layout to '0' problem.
11045 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11047 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11048 final location of file, for the included files, and graphics.
11050 2002-03-05 Juergen Vigna <jug@sad.it>
11052 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11054 2002-03-04 Juergen Vigna <jug@sad.it>
11056 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11058 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11059 last column of multicolumn cells.
11060 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11062 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11064 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11065 file if it doesn't go to a temporary file.
11067 * buffer.C (sgmlOpenTag):
11068 (sgmlCloseTag): remove extra newline insertion.
11070 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11072 * text.C (getRowNearY): comment out debug msg
11074 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11076 * text2.C: first -> first_y
11078 * text.C (getRowNearY): add some attemts at a possible
11079 optimization, not working.
11081 * tabular.[Ch]: add BufferParams to several function so that newly
11082 created paragraph can be initialized to he default layotu for the
11085 * tabular-old.C (ReadOld): add buf->params to call of Init
11087 * screen.C: rename text->first to text->first_y
11089 * paragraph.C (breakParagraph): always set layout in the broken
11092 * lyxtextclass.C (Read): remove lowercase
11095 (delete_layout): ditto
11097 * lyxtext.h: rename first -> first_y
11099 * lyxlayout.C (Read): remove lowercase
11102 (obsoleted_by): ditto
11104 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11106 * buffer.C (insertErtContents): add params are to InsetERT
11107 (parseSingleLyXformat2Token): add code to check if a paragraphs
11108 layout really exist.
11109 (parseSingleLyXformat2Token): add params to several inset
11111 (asciiParagraph): remove lowercase, do the layout comparisons with
11114 * BufferView_pimpl.C (cursorNext): first -> first_y
11115 (resizeCurrentBuffer): first -> first_y
11116 (updateScrollbar): first -> first_y
11117 (scrollCB): first -> first_y
11118 (workAreaMotionNotify): first -> first_y
11119 (workAreaButtonPress): first -> first_y
11120 (checkInsetHit): first -> first_y
11121 (cursorPrevious): first -> first_y
11122 (cursorNext): first -> first_y
11123 (Dispatch): add buffer_->params to severl inset contructors
11125 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11127 * lyxlayout.C (Read): remove some debug info that I forgot.
11129 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11130 clean up the code slightly.
11131 (makeLinuxDocFile): ditto
11132 (makeDocBookFile): ditto
11134 * text2.C: layout as string
11136 * text.C: layout as string
11138 * paragraph_pimpl.C: layout as string
11140 * paragraph.[Ch]: layout as string
11142 * lyxtextclasslist.[Ch]: layout as string
11144 * lyxtextclass.[Ch]: layout as string
11146 * lyxtext.h: layout as string
11148 * lyxlayout.[Ch]: layout as string
11150 * lyx_cb.C: layout as string
11152 * bufferview_funcs.C: layout as string
11154 * bufferparams.C: layout as string
11156 * buffer.C: layout as string
11158 * LyXView.[Ch]: layout as string
11160 * LaTeXFeatures.[Ch]: layout as string
11162 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11164 * BufferView_pimpl.C: change current_layout to string, remove
11169 (workAreaButtonRelease): layout as string
11171 * BufferView2.C (unlockInset): adjust
11173 * vspace.C (asLatexCommand): use an explict temp variable.
11175 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11177 * Makefile.am: use FRONTEND_*
11179 2002-03-01 Juergen Vigna <jug@sad.it>
11181 * tabular.C (SetWidthOfMulticolCell): changed to something better
11182 I hope but still work in progress.
11183 (recalculateMulticolumnsOfColumn): renamed function from
11184 recalculateMulticolCells as it is more appropriate now.
11185 (SetWidthOfCell): calculate multicols better.
11187 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11189 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11191 * lyxfunc.C (processKeySym): print sequence also if it is
11192 `deleted' (complete)
11194 * kbsequence.C (print): print sequence even if it is deleted
11195 (complete would be a better word, actually).
11197 * lyxfunc.C (dispatch): print complete options after a prefix key
11199 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11201 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11203 * text2.C (setCharFont): eliminate setCharFont code duplication.
11205 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11207 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11208 LFUN_TABULAR_FEATURE (bug #177)
11210 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11212 * Makefile.am: remove figure.h
11214 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11216 * Bufferview_pimpl.C:
11228 * text2.C: remove #include "lyx_gui_misc.h".
11230 * LaTeX.C: added #include <cstdio>
11232 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11234 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11235 that the paragraph following this one can have.
11237 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11239 * vspace.C (asLatexCommand): fix bogus gcc warning
11241 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11243 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11245 * text2.C (setLayout): get rid of redundant code
11247 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11249 * text2.C (incDepth): make sure depth cannot be increased beyond
11252 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11254 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11255 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11257 * PainterBase.h (image):
11258 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11259 a LyXImage const *.
11261 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11265 * BufferView_pimpl.C:
11266 * BufferView_pimpl.h:
11286 * sp_spell.C: remove fig inset, and the crap house of
11287 cards that follows it
11289 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11294 * os2_errortable.h:
11295 * nt_defines.h: move .h into support/
11297 * vms_defines.h: remove
11299 * WorkArea.C: add space in debug output
11303 * buffer.C: add WITH_WARNINGS
11307 * bufferlist.C: s/retrive/retrieve/, add docs
11316 * chset.C: add docs
11318 * lyxgui.C: add ID to X error handler
11320 * lyxtestclass.c: fix typo
11322 2002-02-26 Juergen Vigna <jug@sad.it>
11324 * tabular_funcs.C (write_attribute): changed so that some default
11325 attributes are not written at all.
11326 (getTokenValue): set default values before trying to read the
11327 value so we have the return value always set as default if we don't
11328 find the token we search for.
11330 * tabular.C (Write): write bools as bools not as strings!
11332 2002-02-22 Juergen Vigna <jug@sad.it>
11334 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11335 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11337 * text.C (leftMargin): don't add an indent for paragraphs inside
11338 tabular cells (fix #208).
11340 2002-02-21 José Matos <jamatos@fep.up.pt>
11342 * tabular.C (docBook): fixed support for long tables.
11344 2002-02-20 Juergen Vigna <jug@sad.it>
11346 * text2.C (getFont): get the drawing font of the Inset if this
11347 paragraph is inside an inset (only important for InsetERT for now).
11349 * buffer.C (insertErtContents): use new lanugage params in ERT
11352 * CutAndPaste.C: commenting out seemingly uneeded code.
11354 2002-02-19 Allan Rae <rae@lyx.org>
11356 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11357 Iterators might be simple to use but they also get invalidated.
11358 (removeAutoInsets): renamed saved cursor tracking variables and added
11359 some comments to clarify what everything does.
11361 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11368 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11369 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11372 * vc-backend.h: remove #include "support/syscall.h"
11376 * converter.C: rearrange #includes in Lars' approved fashion.
11378 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11379 forward declare class Timeout in the header file.
11381 * XFormsView.C: changes due to the above.
11383 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11384 similar to LyXView.
11386 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11387 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11389 2002-02-18 José Matos <jamatos@fep.up.pt>
11391 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11394 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11396 * a lot of small ws changes
11397 * add a lot of using std::XXX
11398 * use std construcs some places where approp.
11399 * use some exisint stuff from lyxfunctional where approp.
11400 * Make file changes to use partial linking (lets test this now...)
11402 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11406 remove #include "support/syscontr.h" as it's redundant. Always has been.
11414 change Systemcalls::System to Systemcalls::Wait and
11415 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11416 No change of functionality, just reflects the stripped down Systemcalls
11419 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11421 * debug.[Ch]: add a GRAPHICS type to the enum.
11423 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11425 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11427 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11430 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11432 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11433 match the changes below.
11435 * text2.C (toggleInset): if there is not editable inset at cursor
11436 position, try to see if cursor is _inside_ a collapsable inset
11439 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11441 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11442 document menu has a nice checkbox
11444 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11446 * lyxlength.C (asLatexString): change PW to output as percent of
11449 * lengthcommon.C: change '%' to 't%'
11451 * lyxfunc.C (dispatch): a few comments from Martin
11453 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11457 * BufferView_pimpl.h:
11458 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11461 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11463 * vspace.C (inPixels): fix compiler warning
11465 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11467 * lyxfunc.C (getStatus): fix status message for disabled commands.
11469 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11471 * BufferView_pimpl.C: fix crash on close buffer
11472 during selection (#227)
11474 2002-01-27 Herbert Voss <voss@lyx.org>
11476 * buffer.C: link old Figure to new graphic inset
11478 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11480 * FontLoader.C (getFontinfo): Change the latex font names in order
11481 to match the names of type1inst.
11483 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11485 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11487 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11488 (extchanged): ditto
11490 (remove_files_with_extension): ditto
11491 (remove_file): ditto
11494 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11495 document is smaller than the work area height. Do not initialize
11496 static variables to 0.
11498 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11500 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11502 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11503 LFUN_LAYOUT_PARAGRAPHS.
11505 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11506 tabular. It is possible to provide a possible cell, which will
11507 typically be the actcell from the corresponding insettabular
11509 * lyxfunc.C (getStatus): small cleanup; disable
11510 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11513 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11515 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11517 * paragraph.C (startTeXParParams):
11518 (endTeXParParams): new methods. The LaTeX code to
11519 start/end paragraph formatting
11520 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11521 empty (fixes bug #200)
11523 * vspace.C (inPixels): adapt to the change below
11524 (inPixels): [later] more cleanups (remove unused variables)
11526 * lyxlength.C (inPixels): change to use a width and a height as
11529 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11531 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11532 Replaced with \paperwidth
11534 * DepTable.C (insert): add std:: qualifier
11536 2002-01-18 Allan Rae <rae@lyx.org>
11538 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11541 * text.C (drawInset): Turned out I didn't know enough about how
11542 rebreaking worked. This fixes most of the redraw problems. I see
11543 an occasional cursor trail when a line is broken now and the cursor
11544 placement can seem out by a few pixels also after a rebreak.
11546 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11548 * buffer.C (parseSingleLyXformat2Token): update because minipage
11549 width is now a LyXLength
11551 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11553 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11556 2002-01-17 Juergen Vigna <jug@sad.it>
11558 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11560 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11561 is set correctly and the inset is updated correctly.
11563 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11565 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11566 the beginning of the loop.
11568 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11570 * lyxrc.C: improve help for use_scalable_fonts
11572 2002-01-17 Allan Rae <rae@lyx.org>
11574 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11576 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11578 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11579 make sure to set their inset_owner to the right value (bug #171)
11581 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11584 * DepTable.C: Implement mtime checking to reduce time spent doing
11587 2002-01-16 Juergen Vigna <jug@sad.it>
11589 * tabular.C (GetAdditionalHeight): one of error fixed.
11591 * lyxrc.C (output): small fix in writing use_pspell.
11593 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11595 * sp_base.h: #include LString.h
11597 2002-01-16 Allan Rae <rae@lyx.org>
11599 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11600 Can someone check this please?
11602 * text.C (drawInset): It was possible that p.row would be removed by
11603 breakAgainOneRow upsetting a few other settings. There may be another
11604 small tweak possible by setting need_break_row = 0 when p.row has been
11605 removed but I don't know enough about the logic here.
11607 2002-01-15 Allan Rae <rae@lyx.org>
11609 * text.C (insertChar): removed conditional truism.
11611 * BufferView2.C (removeAutoInsets): More tweaks.
11612 cur_par_prev could be a stray pointer. Check for trailing empty line
11613 in case last line was cur_par and only had an error inset on it.
11615 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11617 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11620 * vc-backend.C (most methods):
11621 * exporter.C (Export):
11622 * converter.C (convert):
11624 * LyXSendto.C (SendtoApplyCB):
11625 * lyxfunc.C (dispatch):
11629 * lyx_cb.C (AutoSave):
11631 * BufferView_pimpl.C (MenuInsertLyXFile):
11632 * buffer.C (runChktex): use Buffer::filePath().
11634 * buffer.h: rename filename to filename_; rename filepath to
11635 filepath_ and make it private
11636 (filePath): new method
11638 * buffer.C (writeFile): use fileName()
11641 * lyx_main.C (init): fix starting of LyX when the binary is a
11642 link from so,ewhere else.
11644 * minibuffer.C: include <cctype> for isprint
11646 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11648 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11649 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11650 name clash with InsetCollapsable's width function.
11652 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11654 * lastfiles.C: include <iterator>
11656 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11658 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11661 * buffer.C (makeLaTeXFile): ditto.
11662 Also make loop operation more transparent.
11664 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11666 * ToolbarDefaults.C: remove trailing comma closing namespace.
11668 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11670 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11673 * trans.C (Load): comment out unused variable, allowed.
11675 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11677 * minibuffer.[Ch] (append_char): new method to recieve input from the
11678 drop-down completion browser. If a key was pressed, then recieve this
11679 char and append it to the existing string.
11680 (peek_event): modify the positioning data passed to the completion
11681 browser so that it can be placed above the minibuffer rather than below.
11682 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11684 * LyXAction.C (init): alloe error-next for readonly documents.
11686 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11689 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11691 * bufferlist.C (readFile): create the buffer _after_ checking that
11694 * lyxfunc.C (verboseDispatch): fix handling of arguments
11696 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11698 * lyxrc.C: use string::erase() instead of initializing to "".
11701 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11703 * BufferView_pimpl.h:
11704 * BufferView_pimpl.C:
11707 * text2.C: tell X when we have made a selection for copying
11709 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11711 * BufferView_pimpl.C (MenuInsertLyXFile):
11712 * lyxfunc.C (menuNew):
11714 (doImport): add shortcuts to directory buttons
11716 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11719 * lyxfunc.C (setStatusMessage):
11720 (getStatusMessage): new methods
11721 (getStatus):use setStatusMessage instead of setErrorMessage
11722 (dispatch): when function is disabled, set error message here
11723 [instead of in getStatus previously]
11725 * BufferView_pimpl.C (workAreaButtonRelease): update
11726 toolbar/menubar here too.
11728 2002-01-13 Allan Rae <rae@lyx.org>
11730 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11731 Now seems indestructible. Remaining task is to audit all other
11732 code affected by deleteEmptyParagraphMechanism. One small quirk
11733 left is that an empty document with an error in the preamble can
11734 be made to report an error but no error box appears. I don't know
11736 (removeAutoInsets): Improved comments.
11738 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11741 * Thesaurus.C: update for Aiksaurus 0.14
11743 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11745 * text2.C (firstParagraph): removed member function, all uses
11746 replaces with ownerParagraph
11747 (redoParagraphs): here
11748 (updateInset): here
11749 (toggleAppendix): here
11750 * BufferView2.C (insertErrors): here
11751 (setCursorFromRow): here
11753 2002-01-13 Allan Rae <rae@lyx.org>
11755 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11756 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11757 There is still a way to segfault this although you may have to do this
11758 multiple times: Have an InsetERT with an unknown command in it.
11759 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11760 <down-arrow>, <Enter> again, View->DVI, BANG!
11762 * text2.C (setCursor):
11763 (deleteEmptyParagraphMechanism):
11764 * lyxtext.h (setCursor):
11765 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11766 Making use of the return value may help fix other bugs.
11768 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11770 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11772 * LyXView.C (updateMenubar): call MenuBar::update here
11773 (updateToolbar): but not here
11774 (showState): do not update toolbar/menubar
11776 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11777 should need to care about that.
11779 * lyxfunc.C (verboseDispatch): simplify a bit
11780 (getStatus): have a version which takes a pseudoaction, and
11781 another which requires a (kb_action,string).
11783 * LyXAction.C (retrieveActionArg): make it work also when action
11784 is not a pseudo-action.
11785 (getActionName): simplify a bit
11788 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11790 * lyxfunc.C (verboseDispatch): new families of methods with
11791 several ways to specify a command and a bool to indicate whether
11792 the command name and shortcut should be displayed in minibuffer
11793 (eventually, we could extend that to a finer bitmask like
11794 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11795 (dispatch): the pristine dispatch command which just, well,
11796 dispatchs! Note it still sets its result to minibuffer; I'm not
11799 * lyxfunc.h: remove setHintMessage
11801 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11803 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11805 * BufferView_pimpl.C (specialChar): delete new inset if we have
11806 not been able to insert it.
11808 * kbmap.C: revert to using int instead of kb_action, since all we
11809 are dealing with is pseudo-actions.
11811 * LyXAction.C (searchActionArg): change to return int instead of
11812 kb_action, since the result is a pseudoaction.
11814 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11816 * buffer.C (insertErtContents): Fix (partially) the font bug.
11818 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11820 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11821 as the other one is broken on my machine!
11823 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11826 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11828 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11830 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11831 reflect their actual use. Provide compatibility code for older lyxrc
11834 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11836 change names of popup font variables in line with the changes to lyxrc.C
11838 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11840 * buffer.C (asciiParagraph): avoid outputing a word twice after
11843 * lyxrc.C (getDescription): document that document_path and
11844 template_path can be empty.
11846 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11848 * LaTeXFeatures.C (getMacros):
11849 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11851 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11853 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11855 (getPackages): rename feature "floats" to "float". Use an array to
11856 iterate over 'simple' features (i.e. just a \usepackage). Add
11857 handling of "amsmath" (renamed from "amsstyle").
11859 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11861 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11864 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11866 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11867 FuncStaus::FuncStatus & FuncStaus::some_method().
11869 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11871 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11872 of the func_satus stuff. Edited and massaged in various ways by
11875 * lyxfunc.C (getStatus): use FuncStatus
11877 2002-01-08 Juergen Vigna <jug@sad.it>
11879 * text.C (nextBreakPoint): use function Inset::isChar().
11881 * paragraph.C (TeXOnePar): use function
11882 Inset::forceDefaultParagraphs.
11884 * buffer.C (latexParagraphs): use function
11885 Inset::forceDefaultParagraphs.
11887 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11889 * lyx_gui.C (init): set the style of the menu popups to
11890 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11892 2002-01-07 Juergen Vigna <jug@sad.it>
11894 * text.C (setHeightOfRow): small fix
11895 (prepareToPrint): don't look at alignment if we don't have the place
11898 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11900 * box.C: New file. Move the Box methods and functions out of box.h,
11901 following Lars' suggestion.
11903 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11905 * box.h: #include "support/LOstream.h", needed for inlined function.
11908 * lyxtextclasslist.C: added some using std declarations.
11910 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11912 * box.h: make signed dimensions to allow insets wider than
11913 the screen (bug #162)
11915 * BufferView_pimpl.C: add some insetHit debug
11917 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11919 * vc-backend.C: add FIXME
11921 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11923 * lyxfunc.C (getStatus): enable code for showing math font status
11926 2002-01-07 Juergen Vigna <jug@sad.it>
11928 * text.C (nextBreakPoint): removed debug output not needed anymore.
11930 2002-01-06 Juergen Vigna <jug@sad.it>
11932 * text.C (nextBreakPoint): fixed up this function we had this bug
11933 since ever but now hopefully we break row better.
11934 (insertChar): we have to check if an inset is the next char as it
11935 could now happen that a large inset is causing a break.
11937 2002-01-05 Juergen Vigna <jug@sad.it>
11939 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11940 if it doesn't like to be drawed.
11942 2002-01-04 Juergen Vigna <jug@sad.it>
11944 * BufferView2.C (lockInset): forgot to set a cursor.
11946 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11948 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11950 * FormMathsPanel.C:
11953 * form_maths_panel.C:
11954 * form_maths_panel.h:
11955 * form_maths_panel.fd: implemented sub- and super- buttons in math
11958 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11959 (or ^ space) to be used as in TeX (req'd by André).
11961 * lyxfunc.C: Allow ^ and _ again to be used both as
11962 super/subscript (mathed) and as themselves (in text).
11964 2002-01-03 Allan Rae <rae@lyx.org>
11966 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11967 "LyX" or the filename of the current buffer if it has one. This is a
11968 modified form of John Levon's patch.
11970 * XFormsView.C (setWindowTitle): also set icon title.
11972 * LyXView.h (setWindowTitle): signature changed.
11973 * XFormsView.h (setWindowTitle): ditto.
11975 2002-01-02 Juergen Vigna <jug@sad.it>
11977 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11979 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11981 * screen.C (topCursorVisible): introduce a temp var for
11982 text->cursor.row(), handle the case where this row is null. (kindo
11985 * text2.C (setCursor): add a couple of asserts.
11987 * paragraph.h (inset_iterator): add -> operator
11989 * paragraph.[Ch] (autoDeleteInsets): remove member function
11991 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11992 cursor pos correctly and handle inset deletion by itself.
11993 (insertErrors): move iterator declaration out of for expression
11995 * lyxtextclass.C: add <algorithm>
11997 * Makefile.am: added the new files to sources, removed layout.C
11999 * layout.C: removed file
12001 * layout.h: remove LYX_DUMMY_LAYOUT
12003 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12007 * lyxtextclass.[Ch]:
12008 * lyxtextclasslist.[Ch]: new files
12010 * include order changes to a lot of files, also changes because of
12013 2001-12-27 Juergen Vigna <jug@sad.it>
12015 * buffer.C (asciiParagraph): more fixes.
12017 * tabular.C (ascii): make ascii export support export of only the
12018 data separated by a column-delimiter.
12019 (ascii): better support for ascii export.
12021 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12023 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12025 * tabular_funcs.C: use a "using std::getline" instead of the
12026 previous fix from Angus (necessary for cxx + lyxstring)
12028 2001-12-24 Juergen Vigna <jug@sad.it>
12030 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12032 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12033 problems. First check a minipage also if we have some ert-contents
12034 (not only on par->size(), second set the right depth of the paragraph
12035 on the relink to the root-paragraph-list!
12037 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12038 which then did not anymore update the main paragraphs on undo/redo!
12040 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12042 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12043 code. Support all font-changing funcs (even those which are not in
12044 menu currently). Support for reporting font settings in
12045 mathed (disabled until Andre provides a function on mathed's side).
12047 * func_status.h (toggle): small helper function to set toggle
12050 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12052 * tabular_funcs.C: getline -> std::getline
12054 2001-12-21 Juergen Vigna <jug@sad.it>
12056 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12057 accessed and could be 0 (I couldn't generate this but it seems
12060 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12062 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12063 * tabular_funcs.h: here and include iosfwd
12065 2001-12-20 Juergen Vigna <jug@sad.it>
12067 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12068 inside inset but undo_par was.
12070 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12072 * Thesaurus.C: always include <config.h> in sources.
12076 * box.h: do not include <config.h> in header files
12078 * text.C (paintLastRow): remove unused variable
12080 * text.C (transformChar):
12082 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12084 * Painter.C (text):
12085 * font.C (width): rewrite to use uppercase() instead of
12088 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12090 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12092 * lyxfind.C: clean up of find failure position change
12094 2001-12-20 Juergen Vigna <jug@sad.it>
12096 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12098 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12099 (TeXRow): added to LaTeX a single tabular row.
12100 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12101 (Latex): simplified and finally good LT-h/f support.
12102 (various_functions): just small adaptions for LT-h/f support.
12104 * tabular_funcs.[hC]: added and moved here all not classfunctions
12107 2001-12-19 Juergen Vigna <jug@sad.it>
12109 * tabular.[Ch]: better support for longtabular options (not finished
12112 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12114 * text.C (paintLastRow): use the label font instead of the font of
12115 the last character to compute the size of *_BOX. This makes more
12116 sense and avoids a crash with empty paragraphs.
12117 Use Painter::rectangle to draw EMPTY_BOX.
12119 2001-12-19 Juergen Vigna <jug@sad.it>
12121 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12122 the paragraphs if the replaced paragraph is not the first one!
12123 Tried to delete not used paragraphs but does not work yet so for
12124 now it's inside #ifdef's and by default off!
12126 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12128 * MenuBackend.C: include "lyx_main.h" instead of declaring
12129 lastfiles (actually was declared as LastFiles* instead of a
12132 2001-12-17 Juergen Vigna <jug@sad.it>
12134 * tabular.C (AppendColumn): applied John's fix
12136 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12140 * BufferView_pimpl.h:
12141 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12144 * box.h: new start of class for above
12146 * lyxfunc.C: ignore space-only minibuffer dispatches.
12147 Show the command name when it doesn't exist
12149 * minibuffer.C: don't add empty lines to the history
12151 * minibuffer.C: add a space on dropdown completion
12153 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12155 * text.C: fix line above/below drawing in insets
12157 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12159 * lyxlength.C (LyXLength): Initialize private variables.
12161 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12163 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12164 when inserting error insets.
12166 2001-12-13 Juergen Vigna <jug@sad.it>
12168 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12169 actually sometimes the before-paragraph.
12170 (setUndo): don't clear the redostack if we're not actually undoing!
12172 2001-12-06 Juergen Vigna <jug@sad.it>
12174 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12175 and fixed redoing of main paragraph, so we can use it now ;)
12177 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12179 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12181 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12184 2001-12-13 André Pönitz <poenitz@gmx.net>
12187 * undo_func.C: minor cleanup
12189 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12191 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12192 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12193 font in urw-fonts package which is marked as -urw-fontspecific and
12194 does not work (incidentally, changing the encoding in the
12195 fonts.dir of this package to -adobe-fontspecific fixes the
12198 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12199 is a crash when undoing first paragraph (Juergen, please take a
12200 look). THis does not mean the undo fix is wrong, just that it
12203 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12204 the (Paragraph*) version when needed instead of duplicating the
12207 * text.C (workWidth): use Inset::parOwner to find out where the
12208 inset has been inserted. This is a huge performance gain for large
12209 documents with lots of insets. If Inset::parOwner is not set, fall
12210 back on the brute force method
12212 * paragraph_pimpl.C (insertInset):
12213 * paragraph.C (Paragraph):
12214 (cutIntoMinibuffer): set parOwner of insets when
12215 inserting/removing them
12217 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12219 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12225 * mathed/formulabase.C:
12226 * mathed/math_cursor.[Ch]:
12227 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12230 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12232 * lyxlength.[Ch] (operator!=): new function
12234 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12236 * text.C (workWidth): use Inset::parOwner to find out where the
12237 inset has been inserted. This is a huge performance gain for large
12238 documents with lots of insets. If Inset::parOwner is not set, fall
12239 back on the brute force method
12241 * paragraph_pimpl.C (insertInset):
12242 * paragraph.C (Paragraph):
12243 (cutIntoMinibuffer): set parOwner of insets when
12244 inserting/removing them
12246 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12248 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12250 * tabular-old.C (getTokenValue):
12251 * tabular.C (getTokenValue):
12252 (write_attribute): new versions for LyXLength
12253 (everywhere): adjust the use of widths
12255 * tabular.h: change the type of widths from string to LyXLength
12257 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12259 * paragraph.C: fixed missing line number count when exporting
12260 Environments to LaTeX file
12262 * buffer.C: added informational message for checking line numbers.
12264 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12266 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12267 paragraph, do the 'double space' part, but not the 'empty
12270 * text.C (workWidth): small optimization
12271 (getLengthMarkerHeight): use minimal size for negative lengths.
12273 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12275 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12277 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12279 2001-12-11 André Pönitz <poenitz@gmx.net>
12282 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12284 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12286 * text2.C: keep selection on a setFont()
12288 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12290 * lyx_cb.C: another bv->text misuse, from insert label
12292 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12295 * kbsequence.C: re-instate nmodifier mask
12297 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12299 * lyx_main.h: make lyxGUI private.
12301 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12303 * lyxfind.C: place the cursor correctly on failed search
12305 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12307 * text.C (getLengthMarkerHeight): for small heights, the arrows
12308 are not always on top/bottom of the text
12309 (drawLengthMarker): smaller arrows; take the left margin in
12310 account; draw also vfills.
12312 (paintLastRow): remove special code for vfill and standard spaces,
12313 since everything is handled in drawLengthMarker now.
12315 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12317 * buffer.C (insertErtContents): try to handle font and language
12318 interaction a bit better.g
12320 * ColorHandler.C (updateColor): change the hash to cover the whole
12321 LColor enum, ws cleanup
12322 (getGCLinepars): ditto
12323 (getGCLinepars): only lookup in the linecache once.
12325 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12327 * iterators.C (operator++): Make the iterator more robust
12329 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12331 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12333 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12336 * text.C: better added space drawing
12338 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12341 * BufferView2.C: fix layout combo update on inset unlock
12343 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12345 * Makefile.am: don't compile unused files
12347 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12351 * LyXAction.C: remove old LFUN_LAYOUTNO
12353 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12355 * paragraph_pimpl.h:
12356 * paragraph_pimpl.C: isTextAt() doesn't need font param
12358 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12361 * lyxlex.C: little cleanup
12363 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12365 * BufferView_pimpl.C: fix insertAscii for insets
12367 2001-12-05 Juergen Vigna <jug@sad.it>
12369 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12370 set the right font on the "multi" paragraph paste!
12372 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12378 * lyxlength.C: remove out-commented code.
12380 * BufferView_pimpl:
12394 * vc-backend.C: change "while(" to "while ("
12396 * lyxlength.[Ch]: add zero function to check if length is zero or
12398 * lyxgluelength.C: use it
12400 2001-12-05 Allan Rae <rae@lyx.org>
12402 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12403 Works for 2.95.3, from what I understand of Garst's reports this should
12404 work for other g++ versions. We're screwed if the abs(int) definition
12405 changed between bugfix releases of gcc.
12407 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12409 * text.C: fix chapter label offset !
12411 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12414 * text.C: fix hfill at end of line, clean up
12416 2001-12-04 Juergen Vigna <jug@sad.it>
12418 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12419 that we force an update of the inset and it's owners if neccessary.
12421 2001-12-03 Juergen Vigna <jug@sad.it>
12423 * text.C (rowLast): simplified code
12425 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12427 * lyxfunc.C: fix show options on timeout
12429 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12431 * screen.C (topCursorVisible): scroll half a page when the cursor
12432 reached top of bottom of screen
12434 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12436 * minibuffer.C: deactivate on loss of focus
12438 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12440 * vspace.[Ch] (operator!=): add operator.
12442 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12444 * BufferView_pimpl.C: refuse to open an inset when
12445 there's a selection.
12447 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12449 * BufferView_pimpl.C: allow to click on RHS of full row insets
12451 2001-11-30 Juergen Vigna <jug@sad.it>
12453 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12454 insets for undo reasons.
12456 2001-11-28 André Pönitz <poenitz@gmx.net>
12458 * vspace.[Ch]: cosmetical changes
12460 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12470 * kbsequence.C: part re-write of old kb code
12473 * WorkArea.C: remove Lgb_bug_find_hack
12475 2001-11-30 José Matos <jamatos@fep.up.pt>
12477 * buffer.C (makeDocBookFile): add a comment to point a hack.
12478 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12479 Fixed a double write of labels.
12481 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12484 * LaTeX.h Fixed bug in LaTeX class where it would not
12485 re-run latex if no depfiles were changed, but the .dvi was removed.
12487 2001-11-28 André Pönitz <poenitz@gmx.net>
12489 * all the files from the change on 2001/11/26:
12490 use lyx::layout_type instead of LyXTextClass::size_type
12491 use lyx::textclass_type instead of LyXTextClassList::size_type
12493 2001-11-29 Juergen Vigna <jug@sad.it>
12495 * text.C: added support for paragraph::isFreeSpacing()
12497 * buffer.C: same as above
12499 * paragraph.h: inserted isFreeSpacing() function to enable
12500 FreeSpacing inside InsetERT.
12502 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12503 of the paragraph's in the cut/copy buffer to 0!
12505 * text2.C (removeRow): remove the assert as it can!
12507 * lyxtext.h: added helper function firstRow returning firstrow and
12508 made firstrow private again.
12510 * BufferView2.C (lockInset): don't relock if we're already locked!
12512 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12513 the only paragraph.
12514 (removeRow): added Assert::(firstrow)
12516 * debug.C: forgot to add INSETTEXT here.
12518 2001-11-28 Juergen Vigna <jug@sad.it>
12520 * sp_spell.C (initialize): changed error text to more general
12521 spellchecker command use (not only ispell!)
12523 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12525 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12527 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12529 * vspace.C: initialise lyxgluelength on failure
12531 2001-11-28 Allan Rae <rae@lyx.org>
12533 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12534 declaration & definition that looks like a function declaration.
12536 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12538 * BufferView2.C (copy):
12539 (copyEnvironment): do not clear the selection when doing a copy.
12541 * text.C (paintFirstRow): compilation fix
12543 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12545 * tabular.C (Latex): correct line count when writing latex.
12547 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12549 * paragraph_pimpl.h:
12550 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12553 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12557 * LColor.C: change vfillline->added_space
12559 * text.C: add markers and text for added space
12561 * vspace.C: fix comment
12563 2001-11-28 André Pönitz <poenitz@gmx.net>
12565 * paragraph.C: whitespace changes
12566 * all the other files from the change on 2001/11/26:
12567 change *::pos_type into lyx::pos_type
12569 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12571 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12572 language of the document when inserting error insets.
12574 2001-11-26 André Pönitz <poenitz@gmx.net>
12576 * BufferView_pimpl.[Ch]:
12584 * paragraph_pimpl.[Ch]:
12587 * text2.C: reduce header dependencies, introduce type for positions
12589 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12591 * <various>: change to use Alert.h
12593 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12595 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12596 when encountering an unknown token.
12597 (readLyXformat2): Show an error message if there were unknown tokens.
12599 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12602 * BufferView_pimpl.C:
12606 * text2.C: use par->isInset()
12608 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12610 * paragraph_pimpl.h:
12611 * paragraph_pimpl.C: cleanup
12613 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12615 * text2.C (removeRow):
12616 * text.C (setHeightOfRow): remove useless (and costly) call to
12619 2001-11-20 Allan Rae <rae@lyx.org>
12621 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12622 Now need Inset*::checkInsertChar() to return true for appropriate
12623 cases so that the characters in the minibuffer will actually be
12626 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * text.C: change the order of the includes.
12629 (workWidth): initialize it at once.
12630 (workWidth): make maxw unsigned
12631 (setHeightOfRow): remove unused variable (inset)
12632 (selectSelectedWord): remove unused variable (inset)
12633 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12635 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12637 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12638 server is not running.
12640 (closeConnection): add debug info when server is disabled.
12642 * ColorHandler.C (getGCForeground): send debug message to GUI
12645 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12647 * kbmap.C (bind): modify because return conventions of
12648 kb_sequence::parse have changed.
12650 * kbsequence.C (parse): only ignore spaces and not any stupid
12651 control character. This avoids tests like s[i] <= ' ', which are
12652 guaranteed to fail with 8bit characters and signed chars.
12653 Change return code to string::npos when there have been no error
12654 (0 was a bad idea when error is at first character)
12656 2001-11-14 José Matos <jamatos@fep.up.pt>
12659 * buffer.C (simpleDocBookOnePar): removed unused argument.
12661 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12663 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12664 insets which are part of a word. Paragraph::isLetter takes care of
12665 that now. Use Paragraph::isInset to identify insets.
12666 (selectSelectedWord): do not test for hyphenation break.
12668 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12669 that protected spaces are considered as spaces.
12671 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12674 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12677 * lyxserver.C: fix it. and small cleanup.
12679 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12681 * BufferView_pimpl.C: use inline helpers
12684 * LaTeXFeatures.C: fix typos
12687 * Spacing.C: move spacing_string into class
12689 * ToolbarDefaults.C: move stuff into namespace anon
12691 * layout.h: update enum
12693 * lyxfunc.C: use better debug
12695 * minibuffer.h: fix typo
12699 * WorkArea.C: add and use Debug::WORKAREA
12703 * text2.C: code re-organisation, inline helpers
12705 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12707 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12708 std::vector.empty().
12710 2001-11-09 Allan Rae <rae@lyx.org>
12712 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12713 '\n's after tables. Tabular and ERT inset work now makes this no
12716 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12719 * minibuffer.C: fix crash, improve drop-down completion
12721 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12724 * lyxserver.C: invalidate fd's when doing endPipe()
12726 2001-11-08 José Matos <jamatos@fep.up.pt>
12728 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12729 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12732 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12734 2001-11-07 José Matos <jamatos@fep.up.pt>
12737 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12740 * buffer.C (sgmlOpenTag):
12741 * buffer.C (sgmlCloseTag): removed debug info.
12743 * buffer.h (sgmlOpenTag):
12744 * buffer.h (sgmlCloseTag): made public.
12746 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12748 * buffer.C (saveParamsAsDefaults):
12749 * lyx_cb.C (MenuLayoutSave): remove
12751 * LyXAction.C (init):
12753 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12755 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12757 * buffer.C (setPaperStuff): removed from here...
12759 * bufferparams.C (setPaperStuff): ... and moved there.
12761 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12765 * XFormsView.C: add support for drop-down completion
12767 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12769 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12772 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12774 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12777 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12779 * lyx_main.C: change ref to known bugs
12781 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12783 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12784 to work around older babel problems.
12786 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12788 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12790 2001-10-24 Juergen Vigna <jug@sad.it>
12792 * tabular-old.C (ReadOld): below variable changes reflected.
12794 * tabular.[Ch]: added ltType struct for longtable header/footer
12795 defines and changed all instances where they are used. Added
12796 future support for double top/bottom rows.
12798 2001-10-24 José Matos <jamatos@fep.up.pt>
12800 * buffer.h (docbookHandleCaption):
12801 * buffer.C (docbookHandleCaption): removed unused function.
12802 (makeDocBookFile): moved docbook supported version to v4.1.
12804 2001-10-24 José Matos <jamatos@fep.up.pt>
12807 * tabular.C (docbookRow): new function to export docbook code of a row.
12808 (DocBook): now honors the longtable flags.
12810 2001-10-23 José Matos <jamatos@fep.up.pt>
12813 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12814 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12816 * buffer.C (makeLinuxDocFile):
12817 (makeDocBookFile): reworked the preamble, more clean, and with
12818 support for lyx defined entities. Changed the document declaration
12819 to be more XML friendly.
12821 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12822 if we need to output XML that should be done with a filter.
12824 2001-10-22 Juergen Vigna <jug@sad.it>
12826 * sp_pspell.h (class PSpell): add alive function needed in the
12827 controller to see if the spellchecker could be started.
12829 2001-10-22 Juergen Vigna <jug@sad.it>
12831 * buffer.C (insertStringAsLines): modify the font for inserting
12832 chars in certain conditions by calling checkInsertChar(font).
12834 2001-10-19 Juergen Vigna <jug@sad.it>
12836 * text.C (workWidth): use getRow instead of wrong algorithm.
12837 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12839 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12844 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12846 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12848 * text.C (workWidth): do not search for the exact row when
12849 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12850 optimization for big documents.
12852 2001-10-18 Juergen Vigna <jug@sad.it>
12854 * text.C (workWidth): new function with added Inset * parameter.
12856 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12858 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12860 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12861 change return type of getColumnNearX.
12864 * text.C (changeRegionCase): use uppercase/lowercase instead of
12867 (rightMargin): simplify code by factoring out the uses of
12872 (appendParagraph): use Paragraph::size_type
12874 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12876 * vspace.C (asLatexString): add a missing break
12878 2001-10-15 Herbert Voss <voss@perce.de>
12880 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12882 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12884 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12887 2001-10-10 André Pönitz <poenitz@gmx.net>
12889 * lyxfunc.C: removed greek_kb_flag.
12891 2001-10-10 Herbert Voss <voss@perce.de>
12893 * lyx_main.C: delete global string help_lyxdir.
12895 2001-10-09 Herbert Voss <voss@perce.de>
12897 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12899 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12901 * lyx_main.C: added global string help_lyxdir.
12903 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12905 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12907 * lyxrc.C (set_font_norm_type): support iso8859-4
12909 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12911 * LaTeX.C (deplog): add another regex for MikTeX
12913 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12915 * lyxrc.C (set_font_norm_type): support iso8859-3
12917 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12919 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12921 * LaTeXFeatures.C: remove special case of french and index
12923 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12924 before \begin{document}). This solves several incompatibilities.
12926 2001-10-03 Garst Reese <reese@isn.net>
12928 * lyx_cb.C: change CheckTex error msg.
12930 2001-10-03 José Matos <jamatos@fep.up.pt>
12932 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12934 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12936 * .cvsignore: update
12938 * lyx_main.C (commandLineVersionInfo): use new style version info.
12940 * buffer.C (writeFile):
12942 (makeLinuxDocFile):
12943 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12945 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12947 * version.h: update to use stuff in version.C
12949 * version.C.in: new file. Contains version information determined
12950 at compile time. This is a merging of version.h and
12953 2001-10-03 Juergen Vigna <jug@sad.it>
12955 * BufferView_pimpl.C (update): don't change "dirty" status in
12958 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12960 * WorkArea.C (c-tor): re-position version string slightly.
12962 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12964 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12965 revert to previous code.
12967 WorkArea.[Ch]: (show, destroySplash): methods removed.
12969 WorkArea.C: rework code so that it's an amalgam of the codes before and
12970 after the splash screen was moved to WorkArea.
12972 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12975 * vspace.C (inPixels):
12978 * buffer.C (insertStringAsLines):
12979 (asciiParagraph): fix types to be large enough
12981 * lyxlex_pimpl.h: change member status from short to int
12983 * layout.h: fix type of endlabeltype
12986 * kbsequence.C (parse): change return type to string::size_type
12988 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12991 * Bullet.C (bulletSize):
12992 (bulletEntry): do not use short ints as parameters
12994 * BufferView2.C (insertLyXFile): change a char to an int.
12996 * WorkArea.C (WorkArea): remove unneeded floats in computation
12998 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13000 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13002 * paragraph.C (asString): Do not ignore newline/hfill chars when
13003 copying to the clipboard.
13005 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13007 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13008 after a multi-line inset.
13010 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13012 * paragraph.C (validate): Set NeedLyXFootnoteCode
13014 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13016 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13017 and decrease-error to decrease.
13019 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13021 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13022 it more readable (should be equivalent)
13024 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13026 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13028 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13030 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13031 of a cursor (row, etc.) after a character has been deleted
13032 (deleteEmptyParagraphMechanism): call the method above on _all_
13033 cursors held by the LyXText when a double space has been
13036 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13038 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13040 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13042 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13043 background. Use greyOut() and the new show() methods to toggle between
13044 the foreground and background. Add code to remove the splash after
13045 its initial showing.
13047 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13048 (create_forms): no longer call Dialogs::showSplash.
13050 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13052 * .cvsignore: add version_info.h
13054 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13056 * version_info.h.in: new file
13058 * Makefile.am: add version_info.h.in
13060 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13061 version_info.h instead of VERSION_INFO
13063 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13065 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13066 The ERT inset now returns string().
13068 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13070 * lyxtext.h, text.C (selectNextWord): renamed as
13071 selectNextWordToSpellcheck.
13073 * text.C (selectNextWordToSpellcheck): Modified to not select
13074 words inside an ERT inset.
13076 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13078 * lyx_cb.C (MenuLayoutSave): change a bit the question
13080 * sp_base.h: include <sys/types.h>
13082 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13084 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13086 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13088 * several files: fix typos in user-visible strings
13090 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13092 * text2.C (pasteSelection): do not set the selection, since it
13093 will be cleared later. Actually, the intent was to fix the way the
13094 selection was set, but I figured rmoving the code was just as good.
13096 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13098 * FontLoader.C (available): Check if font is available without
13101 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13103 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13105 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13107 * lyxrc.[Ch]: added display_graphics variable and associated code.
13109 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13111 * bufferparams.C (hasClassDefaults): new method. Returns true if
13112 the buffer parameters correspond to known class defaults
13114 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13116 * XFormsView.C (show): set minimum size to the main window.
13118 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13120 * text2.C (copySelection):
13122 * lyxfind.C (LyXReplace):
13123 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13124 LyXText::selectionAsString.
13126 * paragraph.C (asString): add "label" argument to the second form
13128 * text2.C (selectionAsString): add "label" argument and pass it to
13129 Paragraph::asString.
13131 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13133 * lyx_main.C (commandLineHelp): remove version information
13135 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13137 * lyx_main.C: add -version commandline option
13139 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13141 * paragraph.h: make the optional constructor arg required instead.
13142 some modifications to other files because of this.
13144 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13146 * lyxserver.C (C_LyXComm_callback): make it static
13148 * lyx_main.C (error_handler): make it static
13150 * lyx_gui.C (LyX_XErrHandler): make it static
13152 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13154 * WorkArea.C: make the extern "C" methods static.
13156 * Makefile.am (lyx_LDADD): simplify
13158 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13160 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13161 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13163 * LyXAction.C (init):
13164 * lyxfunc.C (dispatch): associated code removal.
13166 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13168 * lyxfont.h (isSymbolFont): shut off warning
13170 * text.C (setHeightOfRow):
13171 (getVisibleRow): fix crash with empty paragraphs which have a
13174 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13176 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13179 2001-09-04 José Matos <jamatos@fep.up.pt>
13182 * tabular.C (docbook): rename docBook method to docbook.
13184 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13186 * Makefile.am: add dependencies to main.o.
13188 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13190 * FontLoader.C (available): Return false if !lyxrc.use_gui
13192 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13194 * FontInfo.C (query):
13195 * converter.C (view):
13196 * importer.C (Import):
13197 * exporter.C (Export): Can not -> cannot.
13199 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13201 * BufferView_pimpl.C: allow to create index inset even if
13204 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13206 * buffer.C (getLists): replace boost::tie code with an explicit pair
13207 as boost::tie can break some compilers.
13209 * iterators.h: Added a std:: declaration to the return type of
13212 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13214 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13217 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13219 * iterators.[Ch]: New files. Provide paragraph iterators.
13221 * buffer.C (changeLanguage): Use paragraph iterators.
13222 (isMultiLingual): ditto
13224 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13226 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13228 * FontLoader.C: Support for cmr font.
13230 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13232 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13233 (available): New method.
13235 * FontInfo.C (getFontname): Use scalable fonts even when
13236 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13239 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13241 * converter.C (Formats::view): reverted! Incorrect fix.
13243 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13245 * converter.C (Formats::view): only output the -paper option
13246 if the dvi viewer is xdvi, thereby fixing bug #233429.
13248 2001-08-23 Herbert Voss <voss@perce>
13250 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13252 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13254 * Spacing.h (Spacing): Set space to Default on in the default
13257 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13259 * vc-backend.h (RCS::versionString): add RCS to version
13260 (CVS::versionString): add CVS to version
13262 * vc-backend.C (scanMaster): do not add CVS to version.
13263 (scanMaster): do not add RCS to version
13265 * lyxvc.C (versionString): new method
13267 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13269 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13271 * Spacing.C (set): initialize fval
13273 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13275 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13278 2001-08-16 Juergen Vigna <jug@sad.it>
13280 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13282 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13284 * BufferView_pimpl.C:
13287 * text2.C: setParagraph takes linespacing now
13289 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13291 * LyxAction.C: add internal LFUN_CITATION_INSERT
13293 * LyXView.C: actually apply fix
13295 * bufferlist.C: fix open non-existent file
13297 * lyxfind.C: fix indentation
13299 * lyxfunc.C: remove unneeded assert, fix typo
13301 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13303 * MenuBackend.C: use "Floatname List"
13305 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13307 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13308 when converting LaTeX layout to insetERT.
13309 Generate a non-collapsed float when reading old float
13311 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13313 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13316 2001-08-13 Juergen Vigna <jug@sad.it>
13318 * text.C (fill): return 0 instead of 20 as this seems to be the more
13321 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13323 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13326 2001-08-13 Juergen Vigna <jug@sad.it>
13328 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13330 (SearchBackward): comment out the unlocking of the inset_owner this
13331 should not be needed!
13333 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13335 * Many files: Remove inherit_language, and add latex_language
13337 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13338 collapsible insets.
13340 2001-08-10 Juergen Vigna <jug@sad.it>
13342 * text.C (prepareToPrint): fixed hfill-width in draw!
13344 * BufferView2.C (selectLastWord): save the selection cursor as this
13345 now is cleared in the function LyXText::clearSelection!
13347 2001-08-08 Juergen Vigna <jug@sad.it>
13349 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13350 BACKSPACE type functions.
13352 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13353 is only cutted from the document but not put in the cut-buffer, where
13354 still the old stuff should be.
13356 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13358 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13360 * tabular.C (SetWidthOfCell): fixed special case where the width
13362 (LeftLine): handle '|' in align_special.
13364 (LeftAlreadyDrawed): ditto
13365 (SetWidthOfCell): ditto
13367 2001-08-07 Juergen Vigna <jug@sad.it>
13369 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13371 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13373 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13374 * lyxlex.[hC]: ditto
13376 2001-08-06 Juergen Vigna <jug@sad.it>
13378 * text.C (getVisibleRow): fix up row clearing a bit.
13380 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13382 * minibuffer.C: make sure the X server sees the changes in the input.
13384 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13386 * paragraph.C (getFont): split into...
13387 (getLabelFont): this
13388 (getLayoutFont): and this
13389 * paragraph_pimpl.C (realizeFont): calling this
13391 * text2.C (getFont): split into...
13392 (getLayoutFont): this
13393 (getLabelFont): and this
13394 (realizeFont): all three calling this
13396 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13399 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13401 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13403 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13405 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13406 layouts from the Quote inset insertion.
13408 2001-08-03 Juergen Vigna <jug@sad.it>
13410 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13412 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13413 only if status not is already CHANGED_IN_DRAW (second level).
13415 * text.C (draw): don't set the need_break_row when inside an
13418 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13420 * buffer.C (parseSingleLyXformat2Token): handle more latex
13423 * bufferview_funcs.[hC]: change function names to
13424 begin with small char, adjust other files.
13426 2001-08-02 André Pönitz <poenitz@gmx.net>
13429 BufferView_pimpl.C: remove broken special code for math-greek
13431 2001-08-02 Juergen Vigna <jug@sad.it>
13433 * BufferView_pimpl.C (update): redone this function so that we
13434 update the text again if there was a CHANGE_IN_DRAW.
13436 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13437 (drawFromTo): added a new internal bool which is used by draw() and
13439 (general): some cursor drawing problems fixed.
13441 2001-08-01 Juergen Vigna <jug@sad.it>
13443 * lyxfind.C (LyXFind): fixed
13444 (SearchForward): ditto
13445 (SearchBackward): ditto
13447 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13448 spurius drawing of the cursor in the main area.
13450 * text2.C (status): small fix which could lead to a segfault!
13451 (clearSelection): remove unneeded BufferView param.
13453 2001-08-01 André Pönitz <poenitz@gmx.net>
13455 * lyxfunc.C: small change due to changed mathed interface
13457 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13459 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13461 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13463 * lyxfunc.c: fail gracefully if file doesn't exist
13468 * BufferView_pimpl.C: IsDirWriteable() proto changed
13470 * LyXView.C: fix updateWindowTitle() to store the last title
13472 2001-07-31 Juergen Vigna <jug@sad.it>
13474 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13475 the font (wrong since using of Paragraph::highestFontInRange).
13477 * paragraph.C (highestFontInRange): added a default_size parameter.
13479 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13480 (setHeightOfRow): reformat
13482 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13484 * converter.[hC] + affected files: move to (inital-char)lowercase
13487 * ParagraphParameters.C (ParagraphParameters): remove commented code
13489 * PainterBase.[Ch]: remove commented code
13491 * LaTeXFeatures.h: add "bool floats" for float.sty
13493 * LaTeXFeatures.C (LaTeXFeatures): init floats
13494 (require): handle float
13495 (getPackages): do it with floats
13497 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13499 * BufferView_pimpl.C (Dispatch): improve handling of
13500 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13502 * commandtags.h: #include lyxfont.h here temporarily to avoid
13505 * bufferlist.h: include LString.h here.
13507 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13509 * text2.C (getStringToIndex): new method.
13511 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13513 * *: Reduced header file dependencies all over.
13515 2001-07-30 Baruch Even <baruch@lyx.org>
13517 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13519 2001-07-29 Baruch Even <baruch@lyx.org>
13521 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13523 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13525 * ParameterStruct.h (endif): add a default constructor to make
13526 sure that all variables is initialized.
13528 * ParagraphParameters.C (ParagraphParameters): adjust
13530 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13532 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13533 index; also, check that there is something to index, and that it
13534 does not span over several paragraphs.
13535 (doubleClick): use WHOLE_WORD_STRICT for double click.
13537 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13539 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13542 2001-07-26 Baruch Even <baruch@lyx.org>
13544 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13545 an InsetFig figure, backwards compatible reading of old figure code.
13547 2001-07-27 Juergen Vigna <jug@sad.it>
13549 * text2.C: font.realize function adaption.
13551 * text.C (draw): add a warnings lyxerr text if needed.
13553 * layout.C: font.realize function adaption.
13555 * language.C: add inherit_language and implement it's handlings
13557 * bufferview_funcs.C (StyleReset): remove language parameter from
13558 font creation (should be language_inherit now).
13560 * bufferparams.C (writeFile): handle ignore_language.
13562 * paragraph.C (getFontSettings): the language has to be resolved
13563 otherwise we have problems in LyXFont!
13565 * lyxfont.C (lyxWriteChanges): added document_language parameter
13566 (update): removed unneeded language parameter
13568 * paragraph.C (validate): fixed wrong output of color-package when
13569 using interface colors for certain fonts in certain environments,
13570 which should not seen as that on the final output.
13572 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13574 * BufferView_pimpl.C:
13579 * LyXAction.C: add thesaurus support
13582 * lyxfind.C: add "once" parameter, for thesaurus, to not
13583 move to the next match
13585 2001-07-26 Juergen Vigna <jug@sad.it>
13587 * lyxfont.C (realize): honor ignore_language too!
13590 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13592 * text.C (draw): one place more for ignore_language to not draw
13595 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13597 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13599 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13601 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13602 the minipage conversion problem.
13604 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13606 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13609 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13611 * BufferView.h: don't forward declare WorkArea
13613 * BufferView.C: don't include WorkArea.h
13615 2001-07-25 André Pönitz <poenitz@gmx.net>
13619 * lyxfunc.C: new LFUN 'math-space'
13621 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13623 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13625 * text2.C (toggleInset): call open/close
13627 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13629 * lyxfunc.C (dispatch): add debug for the disabled case
13631 * font.C (buttonText): make similar to rectText
13633 * buffer.C (readInset): comment out parsing of insetlist and
13636 * PainterBase.C (rectText): small correction
13638 * BufferView_pimpl.C: comment out insettheorem and insetlist
13639 * LyXAction.C: ditto
13640 * commandtags.h: ditto
13642 2001-07-24 Juergen Vigna <jug@sad.it>
13644 * text.C (draw): honor the ignore_language.
13646 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13648 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13650 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13653 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13655 * lyxtext.h: remove unused (and unimplemented) methods
13657 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13659 * text.C (getVisibleRow): honor background color
13662 * Painter.h: remove default color argument for fillRectangle
13664 * text.C (backgroundColor): new method
13666 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13668 * text.C (getVisibleRow): adjust
13670 * font.[Ch] (rectText): new method, metrics
13671 (buttonText): new method, metrics
13673 * PainterBase.[hC]: make rectText and buttonText always draw and take
13676 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13678 * ToolbarDefaults.C (read):
13679 * MenuBackend.C (read): allow escaping in all strings
13681 * BufferView_pimpl.C (insertAndEditInset): new method.
13682 (Dispatch): use insertAndEditInset whenever appropriate.
13684 * BufferView_pimpl.C (insertNote): removed
13686 * BufferView_pimpl.C (smartQuote): new method, moved from
13687 BufferView; if an insetquote cannot be inserted, insert a '"'
13690 * BufferView2.C: remove insertCorrectQuote();
13692 * lyxfunc.C (getStatus): Add support for all remaingin
13693 inset-insert lfuns.
13695 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13697 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13698 command (necessary to pass " as parameter of self-insert.
13700 * text.C (selectWordWhenUnderCursor):
13701 (selectWord): add word_location parameter
13702 (selectWordWhenUnderCursor): same + remove special code for word
13704 (selectNextWord): use kind() to guess type of insetspecialchar,
13707 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13708 (insertErtContents): create ert insets as collapsed.
13709 (readInset): better compatibility code for Info inset.
13711 2001-07-20 Juergen Vigna <jug@sad.it>
13713 * lyxfunc.C (dispatch): use always LyXFind now!
13715 * text2.C (init): add a reinit flag so that the LyXText can be
13716 reinited instead of deleted and reallocated (used in InsetText).
13718 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13724 2001-07-18 Juergen Vigna <jug@sad.it>
13726 * text.C (selectNextWord): handle insets inside inset by calling
13727 always the bv->text functions so that we can go up the_locking_inset!
13729 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13730 in strange locations when inside an inset!
13732 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13733 handling to include insets.
13735 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13737 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13739 * LyXAction.C (init):
13741 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13742 LIGATURE_BREAK, since the name is so stupid.
13744 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13746 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13749 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13751 * sp_form.[Ch]: remove.
13753 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13755 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13758 * src/buffer.C (readInset): ditto.
13760 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13762 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13763 menuSeparator(), endOfSentenceDot(), ldots() and
13764 hyphenationPoint(), which are therefore removed.
13765 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13767 * LyXAction.C (init):
13768 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13770 * paragraph.C (getWord): removed.
13772 * BufferView_pimpl.C (Dispatch): use last word or selection for
13773 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13775 * lyx_main.C (queryUserLyXDir): do not ask before creating
13776 user_dir, except if it has been named explicitely.
13778 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13780 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13781 a document of zero size.
13783 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13785 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13786 approriately in the c-tor and in require().
13787 (getPackages): output the appropriate LaTeX for natbib support.
13789 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13790 variables "use_natbib" and "use_numerical_citations" when reading the
13792 (readInset): read the various natbib cite commands.
13793 (validate): white-space change.
13795 * bufferparams.[Ch]: new variables "bool use_natbib" and
13796 "bool use_numerical_citations".
13797 (writeFile): output them in the LyX file.
13799 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13801 * lyxfunc.C (getStatus): add support for all the inset insertion
13804 * text2.C (insertInset):
13805 * paragraph.C (insetAllowed):
13806 * BufferView_pimpl.C (insertInset): update to take in account the
13807 renaming of insertInsetAllowed
13809 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13811 * text2.C (getInset): new method. returns inset at cursor position.
13813 * BufferView_pimpl.C (Dispatch): changes because of this.
13815 * LyXAction.C (init): rename open-stuff to inset-toggle.
13817 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13819 * text2.C (toggleInset): renamed from openStuff; use
13822 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13824 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13826 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13828 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13830 * buffer.C (readLyXformat2): Add filename to the error dialog
13832 2001-07-18 Juergen Vigna <jug@sad.it>
13834 * tabular.C (GetCellNumber): put an assert here instead of the check!
13836 2001-07-17 Juergen Vigna <jug@sad.it>
13838 * BufferView_pimpl.C (toggleSelection): adapted too.
13840 * text.C (selectNextWord): adapted for use with insets.
13841 (selectSelectedWord): ditto
13843 2001-07-17 Juergen Vigna <jug@sad.it>
13845 * sp_spell.C (PSpell): fix initialitation order.
13847 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13849 * paragraph.C: spacing
13851 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13853 * sp_spell.C: repair language selection for pspell
13855 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13857 * lyxfunc.h: change more methods to begin with lower char.
13859 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13861 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13862 for unknown layouts.
13864 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13866 * buffer.C (readLyXformat2): Generate an error dialog if there are
13869 2001-07-16 Juergen Vigna <jug@sad.it>
13871 * sp_spell.C: always compile ISpell part.
13873 * lyxrc.C: added use_pspell entry and it's handling.
13875 2001-07-13 Juergen Vigna <jug@sad.it>
13877 * sp_spell.C: removed double includes.
13879 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13881 Consistent use of Lsstream.h:
13882 * Lsstream.h: added using std::stringstream for consistencies sake.
13884 * buffer.C: removed using std::stringstream
13886 * lyxfont.C (stateText):
13887 * paragraph.C (asString):
13888 * text.C (selectNextWord, selectSelectedWord):
13889 * text2.C (setCounter):
13890 * vspace.C (asString, asLatexString):
13891 std::ostringstream -> ostringstream.
13893 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13895 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13896 * commandtags.h: add LFUN_HELP_ABOUTLYX
13897 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13899 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13901 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13903 * lyx_gui_misc.C: remove spellchecker
13904 * lyxfunc.C: showSpellchecker
13906 * sp_ispell.h: added
13907 * sp_pspell.h: added
13908 * sp_spell.C: added
13909 * sp_form.[Ch]: removed
13910 * spellchecker.[Ch]: removed
13912 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13914 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13916 (simpleTeXSpecialChars): Simply print the input character without
13917 any special translation if pass_thru is set.
13919 * layout.h: Added bool pass_thru to layout class for being able to
13920 implement pass through of a paragraph for Literate Programming.
13922 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13923 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13924 * layout.C (Read): add "passthru" to list of layout tags and add
13925 code to set the pass_thru boolean when it is read.
13927 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13929 * trans_decl.h: remove allowed from KmodInfo
13931 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13932 remove allowed code
13935 * paragraph_pimpl.C (erase): use boost::prior
13937 * Painter.C (text): use data() instead of c_str() when length is
13939 * WorkArea.C (putClipboard): ditto
13940 * font.h (width): ditto
13942 * BufferView2.C: use it-> instead of (*it). for iterators
13944 * paragraph_pimpl.C: ditto
13945 * paragraph.C: ditto
13946 * minibuffer.C: ditto
13947 * language.C: ditto
13949 * encoding.C: ditto
13950 * counters.C: ditto
13951 * converter.C: ditto
13953 * Variables.C: ditto
13954 * TextCache.C: ditto
13955 * MenuBackend.C: ditto
13956 * LyXAction.C: ditto
13958 * FloatList.C: ditto
13959 * DepTable.C: ditto
13960 * ColorHandler.C (LyXColorHandler): ditto
13962 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13964 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13966 * text2.C (openStuff): reintroduce this method (which had been
13967 nuked in NEW_INSETS frenzy).
13969 * lyxfunc.C (Dispatch): when an action has not been handled, use
13970 its name in the error message, not its number.
13972 * paragraph.C (inInset): change method name to begin with lowercase.
13975 * text2.C: updates because of this.
13977 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13979 * ToolbarDefaults.C (add): add spaces in error message
13981 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13983 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13984 (readLyXformat2): rename return_par to first_par, use lyxlex's
13985 pushToken and remove the manual push handling.
13986 (parseSingleLyXformat2Token): add another ert comp. variable:
13987 in_tabular, rename return_par to first_par. handle newlines better
13989 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13991 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13993 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13995 * text2.C (getParFromID): removed
13997 * buffer.C (getParFromID): new method moved form lyxtext.
13998 * BufferView2.C (insertErrors): adjust
13999 (setCursorFromRow): adjust
14000 * BufferView_pimpl.C (restorePosition): adjust
14001 * lyxfunc.C (Dispatch): adjust
14002 * undo_funcs.C (textUndo): adjust
14004 (textHandleUndo): adjust
14005 (textHandleUndo): adjust
14007 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14009 * buffer.C: up' the LYX_FORMAT
14011 * lyxfont.h: turn NO_LATEX on as default
14013 * buffer.C (insertErtContents): new methods of tex style compability.
14014 (parseSingleLyXformat2Token): use it several places.
14015 * tabular.C (OldFormatRead): and here
14017 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14019 * text2.C: remove some commented code.
14022 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14023 * trans.C: changes because of the above.
14025 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14027 * text2.C (setCounter): Fix counters bug with bibliography layout.
14029 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14031 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14032 own member functions
14033 (simpleTeXSpecialChars): ditto
14035 2001-07-06 Juergen Vigna <jug@sad.it>
14037 * a lot of files: changed the access to LyXText::status and the
14038 call of undo-functions.
14040 * undo.[Ch]: added a inset_id to the undo informations.
14042 * undo_funcs.[Ch]: added and moved here all undo functions.
14044 * lyxtext.h: give the status enum a weight, made status_ a private
14045 variable and made accessor functions for it, removed the whole bunch
14046 of undo-functions as they are now in their own file, make some
14047 functions publically available. Added function ownerParagraph with
14050 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14051 made InInset() a const function, added getParFromID() function.
14053 * buffer.[Ch]: added const version for inset_iterator functions,
14054 added getInsetFromID() function.
14056 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14057 changed undo functions for new version.
14059 2001-07-05 Juergen Vigna <jug@sad.it>
14061 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14062 unknow mechanism does not call the proper constructor but only this
14063 one also if I request the other!?
14065 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14067 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14069 * text2.C (LyXText): use initialization lists.
14071 * lyxtext.h (Selection): initialize set_ and mark_
14072 (init): remove method
14074 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14076 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14078 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14080 * screen.[Ch]: change method names to begin with lowercase
14082 * BufferView_pimpl.C (updateScrollbar): simplify further and
14083 hopefully make it a bit faster.
14085 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14087 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14088 calling directly xforms functions.
14090 * Painter.C (Painter):
14091 * lyx_cb.C (MenuWrite):
14092 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14095 * lyx_gui.C: remove bogus guiruntime extern declaration.
14097 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14099 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14101 (redoDrawingOfParagraph): ditto
14102 (redoParagraphs): ditto
14103 (cutSelection): don't create a object for CutAndPaste use the
14104 static method directly
14105 (pasteSelection): ditto
14107 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14110 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14112 * modifications to some other files because of this.
14114 * Makefile.am (lyx_SOURCES): add XFormsView
14116 * XFormsView.[Ch]: new files
14118 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14119 the main window. Move the gui dependent stuff to XFormsView
14121 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14123 * tabular.C (GetCellInset): update cur_cell also in the row/col
14124 version of this function.
14126 * lyxfunc.C: no need to include figure_form.h here.
14132 * lyxvc.C: no need to include forms.h here.
14134 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14136 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14138 * lyxfunc.C (Dispatch):
14140 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14141 constructor argument.
14143 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14145 * paragraph.C (Paragraph): dont't clear, and just set layout.
14146 (makeSameLayout): use params's copy contructor.
14148 * ParagraphParameters.[Ch] (makeSame): delete method
14150 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14152 * Variables.[Ch]: fix indentation, rename set to isSet
14154 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14156 * lyxfunc.C (Dispatch): fix typo
14158 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14160 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14163 * bufferlist.C: include assert.h for emergencyWrite().
14165 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14167 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14168 give up at last (bug #425202) !
14170 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14176 * spellchecker.C: strip spellchecker options and bring up
14177 preferences tab instead
14179 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14181 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14182 the istringstream constructor
14184 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14186 * paragraph.C (getLayout): fix return value
14188 * paragraph.h: do not declare getLayout as inline.
14190 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14192 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14194 * lyxcursor.h (operator<): new func
14195 (operator>): new func
14196 (operator>=): new func
14197 (operator<=): new func
14199 * text.C (changeCase): use selection.start and selection.end
14200 (changeRegionCase): require from to be <= to. Require par to be a
14203 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14205 2001-06-27 Juergen Vigna <jug@sad.it>
14207 * text.C (cursorLeftOneWord): changed to return the cursor and added
14208 overlay with BufferView * parameter which calls this one.
14210 (selectWord): use new getWord function.
14211 (changeCase): renamed from changeWordCase as and extended to work
14212 also on selections.
14214 * lyxtext.h: added enum word_location
14216 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14217 changeCase as this operates now also on selections.
14219 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14221 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14223 * many files: send debug output to Debug::INFO instead of
14226 * converter.C (View):
14228 (Move): send debug output to Debug::FILES instead of console.
14230 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14232 * lyxfunc.C (getStatus): use func_status
14234 * func_status.h: new header, describing the results of
14235 LyXFunc::getStatus;
14237 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14240 2001-06-25 The LyX Project <jug@sad.it>
14242 * buffer.C (sgmlOpenTag):
14244 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14246 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14248 * text2.C: remove some dead code
14250 * tabular.C (GetCellInset): store the last cell checked (gotten)
14252 * tabular.h: add the helper for the speedup
14254 * lyxtext.h: remove some dead code
14256 2001-06-26 The LyX Project <Asger>
14258 * paragraph.C: Change export to LaTeX of alignment to
14259 \begin{center} and family for better roundtrip work with reLyX.
14261 * Tune the math drawing a bit.
14263 2001-06-25 The LyX Project <Asger>
14265 * LColor.C (LColor): New color for math background. New color
14268 2001-06-25 The LyX Project <jug@sad.it>
14270 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14272 * lyxfunc.C (Open):
14273 * bufferlist.C (newFile): do not restrict to files ending with
14276 * BufferView_pimpl.C (MenuInsertLyXFile):
14278 2001-06-24 The LyX Project <jug@sad.it>
14280 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14283 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14285 * lyxtext.h: rename most methods to begin with a small char.
14286 Lots of changes because of this.
14288 * paragraph.C (Paragraph): do not call fitToSize
14289 (erase): call Pimpl::erase
14290 (insertChar): call Pimpl::insertChar
14291 (insertInset): call Pipl::insertInset
14292 (breakParagraph): do not call fitToSize
14293 (breakParagraphConservative): do not call fitToSize
14294 (fitToSize): remove method
14296 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14298 2001-06-24 The LyX Project <Asger>
14300 * Fix Qt compilation^2
14302 2001-06-24 The LyX Project <jug@sad.it>
14304 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14305 depthHook(getDepth()-1).
14308 * ParagraphParameters.h:
14309 * ParameterStruct.h: change type of depth to unsigned int ==
14310 depth_type. Many adaptations to other files before of that.
14312 2001-06-24 The LyX Project <Asger>
14314 * Fix Qt compilation.
14316 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14318 * paragraph.h: renamed several methods to begin with small letter.
14319 several changes to many parts of the code because of this.
14321 2001-06-23 The LyX Project <jug@sad.it>
14323 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14324 rewritten to discard all double spaces when KeepEmpty is off
14325 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14326 to only handle newlines but not fiddle with spaces and friends.
14328 * lyxfunc.C (MenuNew): when doing 'new from template', use
14329 template_path as default directory
14331 2001-06-23 The LyX Project <Asger>
14333 * Clean-up of header file includes all over
14334 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14336 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14338 * paragraph.h: renamed from lyxparagraph.h
14340 2001-06-23 Asger <lyx@violet.home.sad.it>
14342 * Buffer.h: Removed Buffer::resize
14343 * BufferList.h: Removed BufferList::resize
14344 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14345 the document lazily when we change the width, or the font settings.
14347 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14349 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14351 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14353 * buffer.h: remove out of date comment
14355 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14358 * screen.C: fix "theoretical" GC leak
14360 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14362 * LaTeX.C (scanAuxFile):
14363 (deplog): remove trailing \r when reading stream (useful under
14366 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14368 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14369 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14370 and BufferView::theLockingInset(Inset*), so should use them and not
14371 access bv_->text->the_locking_inset directly.
14373 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14375 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14378 * tex-defs.h: remove old unused file
14380 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14382 * BufferView_pimpl.C: fix typo, remove minibuffer message
14383 when buffer has loaded
14385 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14387 * lyxfunc.C (Dispatch): use stringstream
14388 (MenuNew): use stringstream
14389 (Open): use stringstream
14391 * importer.C (Import): use stringstream
14393 * bufferview_funcs.C (CurrentState): use stringstream
14395 * LaTeX.C (run): use stringstream
14397 * BufferView_pimpl.C (savePosition): use stringstream
14398 (restorePosition): use stringstream
14399 (MenuInsertLyXFile): use stringstream
14401 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14414 * vspace.C: removed // -*- C++ -*- as first line.
14417 * version.h: added // -*- C++ -*- as first line.
14419 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14421 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14423 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14426 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14428 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14431 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14433 * gettext.C: include LString.h even when --disable-nls is on.
14435 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14437 * converter.h (Get): changed argument type from int to
14438 FormatList::size_type to avoid unnecessary conversion.
14440 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14443 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14445 * gettext.h: include LString.h even when --disable-nls is on.
14447 2001-06-07 Juergen Vigna <jug@sad.it>
14449 * text.C (BreakAgain): subst spaces with tabs.
14451 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14452 (resizeInsetsLyXText): set force on resizeLyXText.
14454 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14456 * gettext.h (gettext_init):
14457 (locale_init): use a real definition instead of a macro
14459 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14461 * Bufferview_pimpl.C:
14463 * LColor.C: further lcolor tidies
14465 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14467 * BufferView_pimpl.C (updateScrollbar): simplify.
14469 * BufferView2.C: don't include insets/insetinfo.h, change
14470 prototype for insertInset and call the Pimpl version. let
14471 updateInset call Pimpl version.
14473 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14474 gotoInset to BufferView::Pimpl
14476 2001-06-01 Juergen Vigna <jug@sad.it>
14478 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14479 inside a LockingInset (is the update needed at all?).
14481 2001-05-31 Juergen Vigna <jug@sad.it>
14483 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14484 here not the old one otherwise how should we compare it afterwards
14487 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14492 * FontInfo.C: bring C functions into global namespace when
14495 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14497 * LString.h: make sure config.h has been loaded before LString.h.
14499 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14500 (one for each char read by EatLine!).
14502 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14505 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14507 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14508 to the same as the par we break from
14510 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14512 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14514 * MenuBackend.C (expand): also create menu entries for wide
14515 versions of the floats.
14517 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14519 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14521 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14522 frontends/Makefile.am
14528 * tabular.C (getTokenValue): add std::
14530 * tabular-old.C (getTokenValue): add std::
14531 (getTokenValue): ditto
14532 (getTokenValue): ditto
14534 * screen.C (ToggleSelection): adjust
14536 * lyxtext.h: put selection cursors inside a Selection struct.
14538 * lyxfunc.C (moveCursorUpdate): adjust
14540 * lyxfont.C (latexWriteStartChanges): add std::
14542 * lyxfind.C: adjust
14544 * font.h: delete with(char const *, LyXFont const &)
14546 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14548 * FontInfo.C (getFontname): add std::
14550 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14551 (workAreaButtonPress): adjust
14552 (tripleClick): adjust
14554 (moveCursorUpdate): adjust
14557 * BufferView2.C (gotoInset): adjust
14559 2001-05-30 Juergen Vigna <jug@sad.it>
14561 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14562 to check pspell I add this as default as I now have new pspell
14563 libraries and they seem to use this.
14565 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14567 * text2.C (CutSelection): make the cursor valid before the call to
14570 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14572 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14573 relied on 0 terminated strings and other horrors. Bug found due to
14574 the new assert in lyxstring!
14576 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14579 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14581 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14584 * lyxfunc.C (processKeySym): change method of getting to the
14587 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14588 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14589 * BufferView_pimpl.[Ch]: here as private methods.
14591 2001-05-28 Juergen Vigna <jug@sad.it>
14593 * text.C (SetHeightOfRow): added the update() call again as it is
14594 needed to initialize inset dimensions!
14596 2001-05-16 Juergen Vigna <jug@sad.it>
14598 * text2.C (SetCharFont): Add new function with BufferView * and
14599 bool toggleall parameters for setting insets internal fonts.
14600 (SetFont): Freeze the undo as we may change fonts in Insets and
14601 all this change should be inside only one Undo!
14603 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14604 setting font's in insets as for them we have the SetFont function!
14606 2001-05-15 Juergen Vigna <jug@sad.it>
14608 * text2.C (ClearSelection): to be sure we REALLY don't have any
14611 * tabular.C (TeXCellPreamble): fixed the left border problem for
14614 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14616 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14619 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14621 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14622 LFUN_BREAKPARAGRAPH.
14624 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14625 help test to "internal only", similar for LFUN_INSERT_URL
14627 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14628 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14629 auto_region_delete and deadkeys.
14631 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14634 * LColor.C: remove some dead entries, tidy a little
14636 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14638 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14640 (Dispatch): implement LFUN_ESCAPE
14642 * commandtags.h: add LFUN_ESCAPE
14644 * LyXAction.C (init): add entry for LFUN_ESCAPE
14646 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14647 Remove commented code.
14648 (insertNote): moved here
14649 (open_new_inset): moved here
14651 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14654 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14656 * kbmap.C (findbinding): clean it up and make it work correctly.
14658 * lyx_main.C (init): do not pass argc and argv as parameters
14660 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14662 * buffer.C: fix path for OS/2 & Win32
14666 * lyx_main.C: Added os:: class.
14668 * os2_defines.h: update
14670 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14672 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14673 better by trying again with reduced state.
14675 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14677 * lyxrc.C (read): print error about invalid key sequence only when
14678 debugging (because not all latinX keysyms are known to some X
14681 * kbsequence.C (getiso): add a few std:: qualifiers
14682 (getiso): comment out extra return statement.
14684 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14686 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14688 (Dispatch): enhance the accent inset a bit. (not perfect)
14690 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14692 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14694 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14696 * bufferlist.C (emergencyWrite): fix assert() call
14698 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14700 * text.C (InsertChar): Added trivial patch to only send the "you
14701 can not do multiple spaces this way" message once during a
14704 2001-05-08 Baruch Even <baruch@lyx.org>
14706 * Makefile.am: Changed order of libraries to get LyX to link properly
14707 with the gnome frontend.
14709 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14711 * LaTeXFeatures.h: add a std:: qualifier
14713 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14715 * paragraph.C (String): use stringstream
14717 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14719 * paragraph.C (writeFile): remove footflag arg
14721 * buffer.C (makeLaTeXFile): use stringstream
14722 (latexParagraphs): remove footnot gurba
14724 * LaTeXFeatures.C (getPackages): use stringstream
14725 (getMacros): likewise
14726 (getTClassPreamble): likewise
14727 (getFloatDefinitions): new method
14729 * paragraph.C (writeFile): reindent
14732 * WorkArea.h: revert the xpos + etc changes.
14734 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14736 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14738 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14739 (pasteSelection): likewise
14740 * text2.C (CreateUndo): likewise
14742 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14744 * minibuffer.C (peek_event): temporarily reduce the functionality
14745 of the minibuffer (to allow args on lfuns)
14747 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14748 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14750 * buffer.C (readInset): add compability reading of old float
14751 lists, add reading of new style float list.
14752 (readInset): avoid reevaluation of inscmd.getCmdName()
14753 (getLists): reindent
14755 * MenuBackend.C (MenuItem): implement parsing of
14756 md_floatlistinsert and md_floatinsert.
14757 (expand::LastFiles): move initalizaton of iterators out of loop,
14758 avoid reevaluation.
14759 (expand::Documents): introduce typdedef vector<string> Strings,
14761 (expand::ExportFormats): introduce typedef vector<Format const *>
14762 Formats, and use it.
14763 (expand): implement FloatListInsert and FloatInsert.
14765 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14766 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14767 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14769 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14771 (Dispatch::LFUN_FLOAT_LIST): implement
14773 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14775 * LaTeX.C (run): Fix problem with --export code.
14777 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14779 * BufferView.[Ch] (workarea): removed.
14780 (getClipboard) new method; wrapper for workarea()->getClipboard()
14782 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14785 * WorkArea.h (width, height, xpos, ypos): These methods all
14786 returned the dimensions of the work_area sub-area of WorkArea,
14787 resulting in a position error if the WorkArea were resized. Now
14788 return the dimensions of the entire WorkArea.
14790 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14792 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14794 * LaTeX.C (deplog): correct the syntax of regex reg1
14796 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14798 * undo.C: remove !NEW_INSETS cruft
14800 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14802 * text2.C: remove !NEW_INSETS cruft
14804 * text.C: remove !NEW_INSETS cruft
14806 * tabular.C: remove !NEW_INSETS cruft
14808 * spellchecker.C: remove !NEW_INSETS cruft
14810 * lyxtext.h: remove !NEW_INSETS cruft
14812 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14814 * lyxfunc.C: remove !NEW_INSETS cruft
14816 * lyxfind.C: remove !NEW_INSETS cruft
14818 * lyx_cb.C: remove !NEW_INSETS cruft
14820 * figureForm.C: remove !NEW_INSETS cruft
14822 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14824 * buffer.[Ch]: remove !NEW_INSETS cruft
14826 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14828 * CutAndPaste.C: remove !NEW_INSETS cruft
14830 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14832 * BufferView2.C: remove !NEW_INSETS cruft
14834 * BufferView.h: remove !NEW_INSETS cruft
14836 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14838 * Lsstream.h: include LString.h before the sstream headers to
14839 fix problem with gcc 2.95.3 and lyxstring
14841 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14843 * lyx_main.C: add using directives when needed for C functions
14844 declared in std:: namespace.
14846 2001-04-27 Juergen Vigna <jug@sad.it>
14848 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14849 (SetHeightOfRow): comment out the update call should not be needed!
14851 2001-04-13 Juergen Vigna <jug@sad.it>
14853 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14854 (LyXTabular): tried to minimize operator= operations (and realized
14855 hopfully Lars wish).
14857 2001-04-27 Juergen Vigna <jug@sad.it>
14859 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14861 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14863 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14865 * buffer.C (readInset): hack to make listof algorithm work
14867 * BufferView_pimpl.C: hack to make listof algorithm work
14869 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14871 * LyXAction.C: removed all !NEW_INSETS cruft
14872 (init): moved lfun_item in method
14874 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14876 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14878 * BufferView2.C (theLockingInset): white space.
14880 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14882 * minibuffer.C: include <iostream>
14884 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14886 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14888 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14890 * text.[Ch] (TransposeChars): new method
14892 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14894 * call message directly through LyXView instead of through LyXFunc
14895 * BufferView2.C: adjust
14896 * BufferView_pimpl.C: adjust
14897 * FontLoader.C: adjust
14899 * bufferview_funcs.C: adjust
14900 * converter.C: adjust
14901 * figureForm.C: adjust
14902 * importer.C: adjust
14904 * lyx_gui_misc.C: adjust
14905 * lyxfunc.C: adjust
14908 + more files in subdirs
14910 * lyxparagraph.h (size): move up int file
14913 * adjust all uses of Assert to lyx::Assert.
14915 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14916 lyxfunctional in namespace lyx
14917 * layout.C (hasLayout): ditto
14920 (delete_layout): ditto
14921 (NumberOfClass): ditto
14922 * converter.C (GetFormat): ditto
14927 * bufferlist.C (getFileNames): ditto
14928 (emergencyWriteAll): ditto
14931 * MenuBackend.C (hasSubmenu): ditto
14934 * BufferView_pimpl.C (getInsetByCode): ditto
14936 2001-04-18 Juergen Vigna <jug@sad.it>
14938 * vspace.C (asLatexString): fixed the 100% problem.
14940 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14942 * lyxfunc.C (Dispatch):
14944 * minibuffer.h: add a few std:: qualifiers
14946 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14948 * minibuffer.[Ch]: reimplement so that commands is initiated and
14949 run from lyxfunc, simplified som handling, and made the completion
14950 and history code for complete. wip.
14952 * lyxfunc.C (processKeySym): call message
14953 (miniDispatch): new temporary method
14954 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14955 (LFUN_MESSAGE): implement
14956 (LFUN_MESSAGE_PUSH): implement
14957 (LFUN_MESSAGE_POP): implement
14958 (initMiniBuffer): the initial/defualt minibuffer message.
14960 * lyxfont.[Ch]: inline some more getters
14962 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14964 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14966 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14967 (AutoSave): use LFUN_MESSAGE
14968 (Reconfigure): ditto
14970 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14972 * figureForm.C: use LFUN_MESSAGE
14974 * converter.C (runLaTeX): use LFUN_MESSAGE
14976 * bufferview_funcs.C: use LFUN_MESSAGE
14978 (changeDepth): ditto
14980 * bufferparams.h: use boost::
14982 * bufferlist.h: inherit privately from noncopyable
14984 * bufferlist.C (loadLyXFile): remove some commented code.
14986 * buffer.C (runChktex): use LFUN_MESSAGE
14988 * ShareContainer.h: inherit privately from noncopyable
14990 * ParagraphParameters.[hC] (depth): inline it.
14992 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14994 (message): new method
14995 (messagePush): ditto
14996 (messagePop): ditto
14997 (show): init minibuffer
14998 (showState): direct call
15000 * LaTeX.[Ch]: inherit privately from noncopyable
15001 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15002 instead of WriteStatus.
15004 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15006 * BufferView_pimpl.C (buffer): don't init minibuffer
15007 (workAreaButtonPress): use LFUN_MESSAGE
15008 (workAreaButtonRelease): ditto
15009 (savePosition): ditto
15010 (restorePosition): ditto
15011 (MenuInsertLyXFile): ditto
15012 (workAreaExpose): don't init minibuffer
15013 (update): remove commented code, simplify
15015 * BufferView2.C (openStuff): use LFUN_MESSAGE
15016 (toggleFloat): ditto
15019 (copyEnvironment): ditto
15020 (pasteEnvironment): ditto
15025 (updateInset): remove some commented code
15027 * lastfiles.h: inherit privately from noncopyable
15030 * lyx_main.h: ditto
15032 * lyxlex_pimpl.h: ditto
15034 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15035 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15036 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15038 * LyXAction.h: inherit privately from noncopyable, add methods
15039 func_begin, func_end, returning iterators to the func map.
15041 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15042 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15043 (func_begin): new method
15044 (func_end): new method
15046 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15048 (copySelection): ditto
15049 (pasteSelection): ditto
15051 * BufferView.C: whitespace change
15052 * BufferView.h: inherit privately from noncopyable
15054 2001-04-16 Allan Rae <rae@lyx.org>
15056 * tabular-old.C (l_getline):
15057 * spellchecker.C (sc_check_word):
15058 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15059 an unrecognised preprocessor directive. So ensure they're wrapped.
15061 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15063 * src/exporter.C (Export): Give an error message when path to file
15066 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15068 * LaTeX.C (deplog): Always check that foundfile exists.
15070 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15073 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15075 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15077 * tabular.[Ch] (getLabelList): implement new method
15079 * minibuffer.h: comment ouf setTiimer
15081 * minibuffer.C (ExecutingCB): constify res
15082 (peek_event): constify s
15083 (Set): constify ntext
15084 (Init): constify nicename
15086 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15088 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15089 (savePosition): use two params to Minibuffer::Set
15090 (restorePosition): ditto
15092 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15094 * lyx_main.C: include language.h
15096 * Makefile.am (lyx_main.o): add language.h
15098 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15104 * CutAndPaste.C: include gettext.h
15106 * lyxfont.h: remove old hack with ON and OFF.
15109 * lyxfont.h: do not include language.h...
15114 * bufferview_funcs.C:
15120 * paragraph.C: ... but do it here instead
15122 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15124 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15126 * tabular.C: small reformat
15128 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15131 (BreakParagraph): ditto
15132 (SetOnlyLayout): ditto
15135 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15138 * lastfiles.C: removed most using decl, add std:: where needed
15140 * buffer.C: ws changes
15142 * MenuBackend.C (class compare_format): put into anon namespace
15143 (expand): constify label, names, action, action2
15146 * text.C (SingleWidth): constify font
15147 (IsBoundary): constify rtl2
15148 (GetVisibleRow): constify ww
15150 * LaTeX.C (deplog): constify logfile
15152 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15154 (workAreaExpose): constify widthChange, heightChange
15156 * lyxrow.C (par): moved
15159 * lyxrow.h: as inlines here
15161 * lyxfont.h (shape): moved from lyxfont.C
15162 (emph): moved from lyxfont.C
15164 * lyxfont.C (LyXFont): use initialization list for all
15166 (shape): move to lyxfont.h as inline
15167 (emph): move to lyxfont.h as inline
15170 2001-04-04 Juergen Vigna <jug@sad.it>
15172 * vspace.C: had to include stdio.h for use of sscanf
15174 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15177 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15178 independent of xforms.
15180 2001-04-02 Juergen Vigna <jug@sad.it>
15182 * spellchecker.C: fixed namespace placing!
15184 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15186 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15187 the LyXParagraph * is 0.
15189 2001-03-29 Juergen Vigna <jug@sad.it>
15191 * vspace.C: added support for %, c%, p%, l%.
15192 (stringFromUnit): added helper function.
15193 (asLatexString): changed to give right results for the %-values.
15195 * buffer.C: convert the widthp in a width%.
15197 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15199 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15202 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15203 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15205 * lyx_cb.[Ch]: see above.
15207 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15211 * lyx.[Ch]: replaced by figure_form.[Ch].
15215 * lyxfunc.C: changed headers associated with above changes.
15217 2001-03-27 Juergen Vigna <jug@sad.it>
15219 * BufferView_pimpl.C: set the temporary cursor right!
15221 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15223 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15225 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15227 * LString.h: removed "using std::getline"!
15229 * BufferView_pimpl.C (Dispatch): changes due to changes in
15230 InsetInclude::Params.
15232 * buffer.C (tag_name): removed redundant break statements as they were
15233 producing lots of warnings with my compiler.
15235 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15237 * LString.h: add "using std::getline" when using the real <string>.
15239 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15241 * buffer.C: removed bitset usage.
15242 PAR_TAG moved to an anonymous name space.
15243 (tag_name): new funtion, also in the anonymous namespace.
15244 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15245 (makeDocBookFile): clean code. Completed transition from string arrays
15247 (SimpleDocBookOnePar): code clean.
15249 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15251 * tabular.C: add some comments.
15253 2001-03-22 Juergen Vigna <jug@sad.it>
15255 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15256 compatibility read a bit and fixed bug with minipage in different
15259 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15261 * buffer.C (pop_tag): removed.
15262 (push_tag): removed.
15263 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15264 array replaced with vector. Added support for CDATA sections.
15265 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15267 (makeDocBookFile): XML conformant declaration of CDATA section,
15268 fixed bug related to <emphasis> in the first paragraph char.
15269 (sgmlOpenTag): exclude empty tags.
15270 (sgmlCloseTag): ditto.
15272 * buffer.h (pop_tag): removed.
15273 (push_tag): removed.
15275 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15277 * language.h (Languages): added size_type and size().
15279 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15281 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15282 response on compability reading of minipages. One probliem is that
15283 the old usage of minipages was «flertydig»
15285 * several files here and in subdirs: don't use static at file
15286 scope use anon namespaces instead.
15288 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15290 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15291 LaTeX output. This is necessary for Literate document
15294 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15296 * buffer.C: insert hfill when needed.
15298 * tabular.C (l_getline): use string::erase, small whitespace change.
15300 * BufferView_pimpl.C: try the anon namespace.
15301 * WorkArea.C: ditto
15303 2001-03-16 Juergen Vigna <jug@sad.it>
15305 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15306 otherwise it won't open options-dialogs.
15308 * buffer.C: honor pextraWidth(p) on converting minipages.
15310 * tabular.C (l_getline): changed the functions to strip trailing \r.
15312 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15314 * BufferView_pimpl.C:
15315 * minibuffer..C: added "using SigC::slot" declaration.
15317 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15319 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15325 * paragraph.C: ditto
15327 * lyxtext.h: NO_PEXTRA
15329 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15331 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15332 * ParameterStruct.h: ditto
15333 * ParagraphParameters.h: ditto
15334 * lyxparagraph.h: ditto
15336 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15338 * buffer.C: add compability for minipage alignment.
15339 (latexParagraphs): remove unwanted pextra check.
15341 * several files: remove CXX_WORKING_NAMESPACES
15343 * buffer.C (pop_tag): tie is in namespace boost
15345 * BufferView.h: noncopyable is in namespace boost
15347 * lyx_main.h: ditto
15350 * lastfiles.h: ditto
15351 * bufferlist.h: ditto
15352 * ShareContainer.h: ditto
15354 * LyXAction.h: ditto
15357 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15359 * Merging changes from BRANCH_MVC back into HEAD.
15361 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15363 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15365 * BufferView_pimpl.C: change from intl.C
15369 * Makefile.am: move combox.*
15375 * intl.C: remove dialog (covered by prefs)
15377 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15379 * lyxfunc.C (Dispatch): removed redundant break statement.
15381 2001-03-14 Juergen Vigna <jug@sad.it>
15383 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15385 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15387 * buffer.C: add hack to fix compability reading of minipages.
15389 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15391 * buffer.C (getLists): Cleanup.
15393 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15395 * lyxfont.C (update): don't honor toggleall on font size.
15397 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15401 * Makefile.am: moved to frontends/xforms/
15405 * BufferView_pimpl.C: changes for moved mathpanel
15407 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15409 * gettext.h: fix gettext_init() in --disable-nls
15411 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15413 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15415 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15418 * lyx.h: strip external form
15420 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15422 * BufferView_pimpl.C: add comment, destroySplash()
15424 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15426 * BufferView_pimpl.C:
15430 * lyxfunc.C: use re-worked insetinclude
15432 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15434 * buffer.C: add using std::stringstream.
15436 * lyx_cb.C: readd using std::ios.
15438 * buffer.C: add using std::map.
15440 * BufferView_pimpl.C: add using std::vector.
15442 * ShareContainer.h: add std:: to swap.
15444 * buffer.h: add some typedefs
15445 * buffer.C (getLists): use them
15446 (getLists): renamed from getTocList.
15447 add a counter for the different float types and use it in the
15449 (getLists): use the same counter for the NEW_INSETS and the "non"
15452 * lyx_cb.h: remove unused items, includes, using etc.
15454 * ShareContainer.h: remove some commented code, add more comments
15455 and "documentation".
15457 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15459 * buffer.C (getTocList): make the list also when NEW_INSETS is
15462 * buffer.h: remove TocType
15464 * buffer.C (getTocList): change to return a map<string,
15465 vector<TocItem> >, implement for dynamic number of list.
15467 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15468 * text2.C (PasteSelection): adjust
15469 * CutAndPaste.C (pasteSelection): adjust
15471 * FloatList.C (FloatList): update from the new_insets branch.
15472 * Floating.[Ch]: ditto
15473 * LaTeXFeatures.C: ditto
15475 * lyxlex_pimpl.C: ditto
15477 * paragraph.C (Last): remove when NEW_INSETS is defined.
15479 * other file: changes because of the above.
15481 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15483 * lyxparagraph.h: rename next to next_, previous to previous_,
15484 make them private for NEW_INSETS. Rename Next() to next(),
15485 Previous() to previous().
15487 * other files: changes because of the above.
15489 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15492 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15495 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15497 * main.C (main): pass lyx_localedir to gettext_init().
15499 * gettext.h: remove locale_init and gettext_init macros
15501 * gettext.C (locale_init): new function
15502 (gettext_init): new function
15504 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15507 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15509 * Moved credits to frontends:
15510 * credits.[Ch]: removed
15511 * credits_form.[Ch]: removed
15512 * lyx_gui_misc.C: remove credits stuff
15515 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15517 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15519 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15520 unneeded destructor.
15522 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15523 a standalone pointer again.
15525 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15527 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15533 * ToolbarDefaults.C:
15542 * BufferView_pimpl.C: use new file dialog in GUII
15545 * lyx_cb.C: remove LayoutsCB to Toolbar
15547 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15549 * ShareContainer.h (get): add std:: qualifier
15551 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15553 * ShareContainer.h: define a proper ShareContainer::value_type
15554 type (and use typename to please compaq cxx)
15556 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15558 * lyxparagraph.h: move serveral local vars to
15559 ParameterStruct/ParagraphParameters., use ShareContainer in
15560 FontTable., make vars in FontTable private and add getter and
15563 * paragraph.C: changes because of the above.
15565 * lyxfont.h: remove copy constructor and copy assignment. (the
15566 default ones is ok), move number inside FontBits. move inlines to
15569 * lyxfont.C: add number to initializaton of statics, move several
15570 inlines here. constify several local vars. some whitespace
15571 cleanup. Dont hide outerscope variables.
15573 * Spacing.h: add two new constructors to match the set methods.
15575 * ShareContainer.h: new file, will perhaps be moved to support
15577 * ParameterStruct.h: new file
15579 * ParagraphParameters.h: new file
15581 * ParagraphParameters.C: new file
15583 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15584 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15586 * BufferView_pimpl.C: ParagraphParameter changes.
15587 * buffer.C: Likewise.
15588 * bufferview_funcs.C: Likewise.
15589 * text.C: Likewise.
15590 * text2.C: Likewise.
15592 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15594 * lyxfind.C (LyXReplace): do not redefine default argument in
15596 (IsStringInText): ditto
15597 (SearchForward): ditto
15598 (SearchBackward): ditto
15600 2001-03-06 Juergen Vigna <jug@sad.it>
15602 * lyxfind.C (IsStringInText): put parentes around expressions.
15604 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15606 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15608 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15610 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15612 * stl_string_fwd.h: add comment
15614 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15617 * tabular.C: remove unused DocBook methods
15623 killed DO_USE_DEFAULT_LANGUAGE
15625 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15627 * lyx_gui.C: do not include language.h.
15629 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15630 arguments in function implementation.
15632 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15634 * BufferView_pimpl.C: add <ctime>
15636 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15638 * BufferView_pimpl.C: add using std::find_if
15640 2001-02-27 José Matos <jamatos@fep.up.pt>
15642 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15645 2001-02-11 José Matos <jamatos@fep.up.pt>
15647 * buffer.C (makeDocBookFile): command styles now have a parameter as
15648 "title" by default.
15650 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15652 * layout_forms.[Ch]: removed
15653 * lyx_cb.[Ch]: out character
15654 * lyx_gui.C: out character
15655 * lyx_gui_misc.C: out character
15656 * bufferview_funcs.C: : out character,
15657 added toggleall as parameter in ToggleAndShow
15659 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15661 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15663 * text2.C (SetCurrentFont): Disable number property at boundary.
15665 2001-02-26 Juergen Vigna <jug@sad.it>
15667 * lyxfunc.C (getStatus): added a string argument override function so
15668 that this is correctly called from LyXFunc::Dispatch if it contains a
15669 do_not_use_argument which is used!
15670 (Dispatch): added check for "custom" export and call appropriate func.
15672 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15674 * lyxrc.C: Add language_command_local, language_use_babel and
15675 language_global_options.
15677 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15679 * buffer.C (makeLaTeXFile): Use language_use_babel and
15680 language_global_options.
15682 2001-02-23 Juergen Vigna <jug@sad.it>
15684 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15685 which works with LyXText and putted it inside BufferView. Here now we
15686 only call for that part the BufferView::Dispatch() function.
15688 * BufferView.C (Dispatch): added.
15690 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15691 functions which needs to use a LyXText over from LyXFunc.
15692 (MenuInsertLyXFile): added
15693 (getInsetByCode): added
15694 (moveCursorUpdate): added
15695 (static TEXT): added
15697 2001-02-22 Juergen Vigna <jug@sad.it>
15699 * BufferView_pimpl.C (update): call a status update to see if LyXText
15702 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15704 * vc-backend.C (revert): implement for CVS
15705 (getLog): implement for CVS
15707 2001-02-20 Juergen Vigna <jug@sad.it>
15709 * text2.C (ClearSelection): added BufferView param for inset_owner call
15711 * lyxfunc.C (TEXT): added this function and use it instead of
15712 directly owner->view()-text of getLyXText().
15714 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15716 * src/layout_forms.C: out preamble
15717 * src/layout_forms.h: out preamble
15718 * src/lyx_cb.C: out preamble
15719 * src/lyx_cb.h: out preamble
15720 * src/lyx_gui.C: out preamble
15721 * src/lyx_gui_misc.C: out preamble
15722 * src/lyxfunc.C: connect with guii preamble
15724 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15726 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15728 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15730 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15731 whether to run bibtex.
15733 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15735 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15737 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15739 * Makefile.am (lyx_SOURCES): removed bibforms.h
15741 * vspace.h: doxygen
15743 * text.C (GetVisibleRow): make several local vars const
15745 * tabular.C: small cleanup.
15747 * lyxserver.C (callback): use compare instead of strncmp
15749 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15750 inlines to after class or to paragraph.C
15752 * lyxfont.h: remove friend operator!=
15754 * converter.h: move friend bool operator< to non friend and after
15757 * combox.h: small cleanup
15759 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15760 to inlines after class def.
15762 * buffer.C (pop_tag): use string operations instead of strcmp
15764 * bmtable.c: doxygen, small cleanup
15766 * LaTeX.h: remove friend operator==
15768 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15780 * BufferView_pimpl.C:
15781 * BufferView.[Ch]: remove cruft
15783 2001-02-14 Juergen Vigna <jug@sad.it>
15785 * lyxfunc.C: removed #if 0 unused code
15787 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15789 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15791 * text2.C (SetSelection): added a BufferView * parameter
15793 2001-02-13 Juergen Vigna <jug@sad.it>
15795 * lyxfunc.C (Dispatch): fixed protected blank problem.
15796 * BufferView2.C (protectedBlank): added LyxText * parameter.
15798 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15799 (AppendColumn): same as above for column_info.
15801 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15802 (moveCursorUpdate): use a LyXText param for support of InsetText.
15804 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15805 (tripleClick): ditto
15807 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15809 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15811 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15813 * text2.C (SetSelection): set correct update status if inset_owner
15814 (ToggleFree): ditto
15816 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15818 * tabular.C: remove some commented code.
15820 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15822 * BufferView_pimpl.C: call hideSplash()
15824 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15827 * bibforms.h: remove
15830 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15831 add LFUN_CHILD_CREATE
15833 * counters.h: fix tiny typo
15838 * lyx.C: move splash to frontends/xforms/
15840 * lyx_gui_misc.C: move Include and Bibform to frontends
15842 * lyxvc.h: clarify comment
15844 * vspace.C: tiny housekeeping
15846 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15848 * text.C (PrepareToPrint): RTL Fix.
15850 * paragraph.C (GetUChar): New method.
15851 (String): Use GetUChar.
15853 * buffer.C (asciiParagraph): Use GetUChar.
15855 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15857 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15859 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15862 * buffer.C: rename to getLogName(), handle
15863 build log / latex log nicely
15865 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15868 * MenuBackend.h: remove support for reference menuitem type.
15870 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15872 * BufferView_pimpl.C: housekeeping
15873 * BufferView_pimpl.h:
15878 * minibuffer.h: move Timeout GUI-I
15880 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15882 * lyxrc.C (read): Update converters data-structures.
15884 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15886 * LaTeX.h (operator!=): add operator != for Aux_Info
15888 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15890 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15892 * LaTeXLog.C: deleted, useful code moved to Buffer
15895 * buffer.C: new function getLatexLogName()
15901 * lyxfunc.C: use frontends for LaTeX and VC logs
15903 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15905 * LaTeX.h: yet another std:: that Allan forgot.
15907 * Variables.C (set): renamed from isset(), because this clashes
15908 with some HP-UX macros (grr).
15910 2001-02-06 Allan Rae <rae@lyx.org>
15912 * LaTeX.h: Another bug fix. Missing std:: this time.
15914 2001-02-04 Allan Rae <rae@lyx.org>
15916 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15917 floats problem. I've left it commented out because it's not quite
15918 correct. It should also test that the current object is a table or
15919 figure inset. But I haven't gotten around to figuring out how to do
15920 that. I *think* it'll be something like: "table" == inset.type()
15922 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15925 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15927 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15928 all the citation/databases/styles in the auxilary file.
15929 (run): Rerun latex if there was a babel language error.
15931 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15933 * text.C (Backspace): Preserve the font when changing newline char
15935 (BreakParagraph): If the cursor is before a space, delete the space.
15937 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15939 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15941 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15942 new argument (code).
15943 (ChangeCitationsIfUnique): New method.
15945 * paragraph.C (GetPositionOfInset): Handle bibkey.
15947 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15949 * BufferView_pimpl.h: change type of Position::par_pos to
15950 LyXParagraph::size_type.
15952 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15954 * BufferView_pimpl.C (savePosition, restorePosition): Write
15955 messages to minibuffer.
15957 2001-01-28 José Matos <jamatos@fep.up.pt>
15959 * buffer.C (makeDocBookFile): adds support for document language.
15960 A silly restriction on the name of LatexCommand types where removed.
15961 Added support for CDATA sections, allows to chars unescaped, used
15962 among others in code, to avoid escape < and >.
15964 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15966 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15967 saved positions instrad of a stack. Furthermore, a position is
15968 stored using paragraph id/paragraph position.
15970 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15971 Remove LFUN_REF_BACK.
15973 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15975 * converter.C (dvipdfm_options): New method.
15977 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15979 * vspace.C (isValidLength): Fix for empty input string.
15981 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15983 * LyXAction.C (init): change description of LFUN_FIGURE to
15986 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15988 * LaTeX.C: add using directive
15990 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15992 * MenuBackend.C (expand): Fix the sorting of the formats.
15994 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15996 * lyx_main.C: tiny error message fix
15998 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16000 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16001 calling fl_initialize(). This fixes the problem with ',' as
16002 decimal separator in text files.
16004 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16006 * trans.C (process): Fix the keymap bug.
16008 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16010 * LaTeX.C (scanAuxFiles): New method. Provides support for
16011 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16012 (scanLogFile) Scan for "run BibTeX" messages.
16014 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16015 OT1 font encoding. Also, load the aecompl package if the ae
16018 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16020 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16022 * texrow.C (increasePos): turn two error messages into debug
16025 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16027 * LaTeX.C (scanAux): Handle the \@input macro.
16028 (runBibTeX): Use scanAux().
16030 * language.C (latex_options_): New field.
16032 * LaTeXFeatures.C (getMacros): Add language macros.
16034 * buffer.C (makeLaTeXFile): Small fix.
16036 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16038 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16040 * text2.C: add a using directive.
16042 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16047 * lyxfunc.C: kill LyXBell.
16049 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16051 * text.C (IsBoundary): Remove the error message
16053 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16055 * lyxrc.C (setDefaults): Correct initialization value for
16058 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16060 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16063 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16064 and GotoNextNote().
16066 * src/LyXAction.C: Added reference-next.
16068 * text.C (InsertChar): Use contains instead of strchr.
16070 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16072 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16074 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16075 alignment commands (when needed).
16077 * text.C (InsertChar): Add ':' to number separator chars.