1 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * output_latex.C (TeXOnePar): make sure font setting is the first
4 thing that gets output (and the last at the end). Should fix bug
7 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
9 * pch.h: use proper signal include
11 * LaTeX.h: Use preferred calling of Boost.Signal
14 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
16 * pch.h: dont include <boost/function/function0.hpp>
18 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
20 * paragraph_pimpl.h: remove usage of ShareContainer
22 * paragraph_pimpl.C: remove initialization of ShareContainer.
24 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * BufferView.C (putSelectionAt): change the semantics when
29 backwards == true: now, this just swaps cursor and anchor wrt the
32 * BufferView.h (putSelectionAt): add some documentation
34 * lyxfind.C (findBackwards): rewrite using while(). In particular,
35 make sure backwardChar is done at least once (to avoid getting
37 (findNextChange): use putSelectionAt in the forward direction
38 (operator()): use Paragraph::isWord
40 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
42 * Spacing.C (set): c_str fix
44 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
46 * lyx_cb.C (Reconfigure): quote the name of configure script in
47 case it contains spaces
49 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
53 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
54 (BOOST_LIBS): use top_buildir when looking for the file
56 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
58 * pch.h: do not use include boost/format.hpp, multiple symbols
62 2004-08-23 José Matos <jamatos@lyx.org>
64 * bufferparams.C (readToken): fix reading of the author field.
66 2004-08-20 José Matos <jamatos@lyx.org>
68 * lyxrc.C: remove support/translator.h inclusion since it is not used.
70 2004-08-20 José Matos <jamatos@lyx.org>
72 * lyxlex.[Ch] (findToken): remove function.
74 * ParagraphParameters.C (findToken):
75 * bufferparams.C (findToken): replace call for previous function
76 with local copy. This local function has one more argument, the
79 2004-08-16 José Matos <jamatos@lyx.org>
81 * ParagraphParameters.C (write):
82 * Spacing.C (writeFile):
83 * bufferparams.C (writeLaTeX):
84 * lyx_cb.C (Reconfigure):
85 * paragraph.C (write):
86 * tabular.C (write): remove unnecessary space at end of line.
89 2004-08-16 José Matos <jamatos@lyx.org>
91 * text.C (readParagraph): remove debug message.
93 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
95 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
98 * output_plaintext.C (asciiParagraph): set depth correctly
100 * outputparams.h: add member depth
102 * paragraph_funcs.C (ownerPar): remove.
104 * text2.C (setCounter): remove first_pit; comment out some
105 non-working code that uses ownerPar
107 * BufferView.C (getParentLanguage): remove. Not used anymore, and
110 2004-08-16 José Matos <jamatos@lyx.org>
112 * text.C (readParToken, readParagraph, read): report all unknown tokens.
113 For the same level of importance use the same chanel to report problems.
114 (read): add code to deal with \begin_body and \end_body.
117 2004-08-15 José Matos <jamatos@lyx.org>
119 * lyxlex.C (getString): fix comment, buffer::readBody is now
122 * tex-strings.C (string_papersize): Default -> default,
123 Custom -> custom, for consistency with other options.
125 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
129 * Makefile.am: support pch
131 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
133 * text.C (readParToken): remove the static LyXFont variable and
134 pass it as a parameter instead. This fixes a nasty bug where an
135 inset will be inserted with a bad font in some situations
136 (readParagraph): adapt
138 * text2.C (setCounter): reduce number of calls to pars_[pit]
140 * text.C (singleWidth): add an assert, fix a test
142 * rowpainter.C (paintText): reduce number of calls to singleWidth
144 * paragraph.C (isHfill):
147 2004-08-14 André Pönitz <poenitz@gmx.net>
152 * lyxtext.h (several functions): use a Paragraph & argument
155 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
157 * metricsinfo.h: add a new field ltr_pos to PainterInfo
159 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
161 * text.C (singleWidth): remove useless test
163 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
165 * tabular.h: remove bogus comments
167 * tabular.C (getDescentOfRow):
168 (isPartOfMultiColumn): add assertions
170 * lyxlength.C (inPixels): remove #warning
172 2004-08-14 André Pönitz <poenitz@gmx.net>
174 * paragraph.h: inline getChar()
176 * BufferView.h: remove unused declarations
178 2004-08-14 José Matos <jamatos@lyx.org>
180 * Buffer.[Ch] (readDocument): new name for old readBody.
181 * Buffer.C: new file format, new keywords: \begin_document,
182 \begin_header, \begin_body, \end_body.
184 * bufferparams.C (readToken): replace all calls to lex.nextToken
185 by lex.next(). Do the same to eatLine except where really needed.
187 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
188 line when writing to the lyx file.
190 * output_plaintext.C (asciiParagraph): fix Bibliography style
193 * text.C (read): fix end of file handling.
195 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * MenuBackend.C (Menu::operator[]): new method to access
198 individual menu items
199 (Menu::hasFunc): new method. search for an item that corresponds
201 (MenuBackend::specialMenu): new method
202 (MenuBackend::expand): if a special menu has been set, skip
203 entries whose func() appears in this menu
205 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
207 * text3.C: use Debug::DEBUG a bit more
209 * text.C (leftMargin): try to simplify a tiny bit change var x to
210 l_margin. Dont output the wide margins always.
211 (rightMargin): no margin in inner texts
213 * rowpainter.h (nestMargin): new func
214 (changebarMargin): new func
215 (rightMargin): new func
217 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
221 * factory.C (createInset): modify setDrawFrame
223 * cursor.C: use Debug::DEBUG a bit more
225 2004-08-14 André Pönitz <poenitz@gmx.net>
228 * Makefile.am: new files to accomodate an 'external' (x,y)-position
229 cache for all insets in (at least partially) visible (top-level)
232 * BufferView_pimpl.C: reset external coord cache before every update.
233 This means the coord cache only contains valid entries.
235 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
238 * BufferView_pimpl.C (getInsetByCode): move function out of class
239 and change in to a template in anon namespace. Also fix to do what
242 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
245 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
247 (breakParagraph): rename par to par_offset and use a local
248 reference. Add code to keep the language over a rebreak.
249 (breakParagraphConservative): rename par to par_offset, use a
251 (mergeParagraph): ditto
253 (isFirstInSequence): ditto
254 (outerFont): rename pit to par_offset
256 * paragraph.C: ws change
261 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
266 * paragraph.C (simpleTeXOnePar): when we have a \item with
267 optional argument, enclose the argument with curly brackets (in
268 case it contains a closing square bracket)
272 * text3.C (checkInsetHit): constify
274 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
279 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
281 Fix toggling of collapsable insets with the mouse (bug 1558)
283 * lyxfunc.C (dispatch): adapt to LCursor changes
285 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
286 make sure that dispatch is not invoked twice
288 * cursor.C (needsUpdate): new method
289 (dispatch): return void
290 (result): new method, to access the DispatchResult of the cursor.
292 2004-08-13 José Matos <jamatos@lyx.org>
294 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
296 2004-08-13 André Pönitz <poenitz@gmx.net>
298 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
300 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
303 2004-08-12 André Pönitz <poenitz@gmx.net>
305 * text3.C: take out the 'cursor right' form insertInset and only
306 do it in those places when it is really needed. Fixes crash on
309 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
311 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
313 * BufferView_pimpl.C (setBuffer): initialize the current font of
314 the underlying LyXText
316 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
318 * kbsequence.C (print): use UI native formatting for menu
321 * text.C (insertChar): call Paragraph::insertChar with a font
324 * paragraph.C (insertInset, insertChar): the version that takes a
325 LyXFont argument is now a wrapper around the other one (the
326 opposite used to be true).
328 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
329 argument. Font setting is done in Paragraph now.
331 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * outputparams.h: add new members intitle and lang.
335 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
336 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
338 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
340 * text3.C (dispatch): remove special handling of button 4 and 5,
341 it is now taken care of in the frontend code.
343 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
345 * Spacing.h: add <string> (STLPort compile fix)
347 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
349 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
351 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
353 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
356 * converter.C (showMessage): inherit from unary_function, make
359 * buffer.C (writeFile): initialize retval
361 * InsetList.h: rename private variable list to list_
362 * InsetList.[Ch]: adjust accordingly.
364 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
366 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
367 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
368 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
369 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
370 * ParagraphParameters.C, LaTeXFeatures.C: replace
371 "support/std_sstream.h" with <sstream>
373 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
375 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
376 * lyxsocket.C (LyXServerSocket): ditto
377 (serverCallback): ditto
379 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
381 * LaTeXFeatures.C: check release date when loading jurabib.
383 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
385 * lyxserver.C (startPipe): call register_socket_callback
386 (endPipe): call unregister_socket_callback
388 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
390 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
391 (LyXServerSocket): register the callback
392 (LyXServerSocket): unregister the callback
393 (fd): delete function
394 (serverCallback): improve error checking and setup the callbacks.
395 (dataCallback): change arg to fd.
396 (writeln): new func (copied fro the client socket) used for server
398 (LyXDataSocket): simplify
399 (~LyXDataSocket): close ann unregiser callback
400 (server): delete function
401 (fd): delete function
402 (readln): small changes, improve some std::string usage
403 (writeln): constify a bit
405 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
407 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
410 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
412 * BufferView_pimpl.C (setBuffer): set the layout combox value only
413 after it has been populated
415 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
417 * text2.C (insertInset): move cursor when inserting inset.
419 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
421 * kbmap.C (findbindings): a couple of new methods. returns a
422 container of kb_sequence objects. The real work is done by the
423 private recursive version
424 (printbindings): uses findbindings to print out a bracketed list
425 of bindings (renamed from findbinding).
427 * MenuBackend.C (binding): use kb_keymap::findbindings
429 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
431 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
433 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
435 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
437 * paragraph.C (isWord): return true on insets that report
440 * text.C (getWord): use Paragraph::isWord to decide what is in a
441 word and what is not; fix bug 1609.
443 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
445 * tex-strings.C: add "none" to string_paperpackages[], fixes
446 off-by-one-error in the paperpackage selection.
449 * tex-strings.[Ch]: char const * string[n]
450 -> char const * const string[]
452 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
455 command, return early.
457 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
459 * debug.h: add DEBUG to enum and fix size of ANY.
461 * debug.C: add support for Debug::DEBUG
462 (showTags): cast errorTags.level to unsigned int
464 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
465 (redoCurrentBuffer): ditto
466 (updateScrollbar): ditto
467 * cursor.C (dispatch): ditto
468 * text2.C (setLayout): ditto
470 (updateCounters): ditto
472 (deleteEmptyParagraphMechanism): ditto
474 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
476 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
477 annotations to cleanup the Makefile slightly.
479 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
481 * lyxrc.C: do not set user_email to a default value but use empty
482 instead. The entry used to be translated, which does not work
483 since at the point where lyxrc is constructed there is no
484 translation service available
486 * messages.C (getLocaleDir): remove and use directly
487 lyx_localedir() instead
489 2004-06-02 Angus Leeming <leeming@lyx.org>
491 Fix crash caused by dereferencing null pointer 'exportdata' in
492 OutputParams by creating a new ExportData variable on the heap,
493 storing it in a boost::shared_ptr.
494 The crash was triggered when generating an Instant Preview
495 of an external inset.
497 * Makefile.am: add outputparams.C
499 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
500 (c-tor): allocate memory to it.
502 * exporter.C (c-tor): associated changes.
504 2004-06-01 Angus Leeming <leeming@lyx.org>
506 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
507 contains data before calling isInset(0). (Bug 1513.)
509 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
511 * exporter.C (checkOverwrite): new method
512 * exporter.C (copyFile): new method
513 * exporter.C (Export): copy referenced files to the document dir
514 * exporter.[Ch]: new class ExportedFile
515 * exporter.[Ch]: new class ExportData. Contains currently the
516 names of referenced external files
517 * outputparams.h: add exportdata member.
519 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
521 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
524 2004-05-19 Angus Leeming <leeming@lyx.org>
529 * lyxfunc.C: small changes due to the introduction of namespace
530 lyx::frontend and the moving of namespace biblio to lyx::biblio.
532 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
534 * text3.C (dispatch): supress update when only moving the cursor
535 * cursor.C (selHandle): remove commented code
537 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
539 * paragraph.C (startTeXParParams): correct column count
540 * CutAndPaste.C (pasteSelection): remove const_cast
541 * output_docbook.C (docbookParagraphs): remove const_cast
542 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
543 const_cast and return ParagraphList::const_iterator
544 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
545 * output_plaintext.C (writeFileAscii): remove const_cast
546 * paragraph.[Ch] (simpleTeXOnePar): make const
547 * paragraph_funcs.C (outerPar): use const iterators
548 * paragraph_pimpl.C (validate): use const iterators
549 * text.C (setHeightOfRow): use const iterators
551 2004-05-17 Angus Leeming <leeming@lyx.org>
554 * LyXAction.C (init): new LFUN_INSET_REFRESH.
556 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
557 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
558 if the citation engine has changed.
560 2004-05-14 José Matos <jamatos@lyx.org>
562 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
563 if the textclass does not provide it. Have it different for sgml and
565 support the language of document.
566 * output_docbook.C (docbookParagraphs):
567 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
568 first anchor as the id of the paragraph, remove special case code.
569 * sgml.C (escapeChar): escape only < & >.
571 2004-05-14 Angus Leeming <leeming@lyx.org>
573 * bufferparams.h: move biblio::CiteEngine enum here to minimize
574 dependencies on src/frontends/controllers/biblio.h. Define a
575 CiteEngine_enum wrapper class to enable the enum to be forward
578 2004-05-12 Angus Leeming <leeming@lyx.org>
580 * buffer.C: up LYX_FORMAT to 234.
581 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
582 use_numerical_citations with a single biblio::CiteEngine cite_engine
584 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
586 2004-05-13 José Matos <jamatos@lyx.org>
589 * converter.C (Converter, readFlags): add xml member.
590 * outputparams.h: add XML flavor.
591 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
593 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
595 * lyxfunc.C (dispatch):
596 (getStatus): fix handling of LFUN_SEQUENCE
598 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
600 * debug.C (showLevel): do not forget the end-of-line marker
602 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
604 * kbmap.C (read): do not stop parsing a bind file when an error
607 2004-04-29 Angus Leeming <leeming@lyx.org>
612 * text2.C: wrap a bunch of #warning statements
613 inside #ifdef WITH_WARNINGS blocks.
615 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
617 * buffer.C: increment format to 233.
619 2004-04-28 Angus Leeming <leeming@lyx.org>
621 * BufferView_pimpl.C:
624 s/updateToolbar()/updateToolbars()/
625 s/Toolbar.h/Toolbars.h/
627 2004-04-28 Angus Leeming <leeming@lyx.org>
629 * BufferView.[Ch] (c-tor):
630 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
631 No longer passes these data to the WorkArea generator.
633 2004-04-28 Angus Leeming <leeming@lyx.org>
635 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
637 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
639 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
641 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
643 * output_latex.C (TeXEnvironment): make sure that there is a line
644 break before \end{foo} for the last paragraph of a document
645 (TeXOnePar): if the paragraph is at the end of the document (or
646 inset) and the language has to be reset, then make sure that the
647 line break is _before_ the language command, not after (fixes bug
648 1225); also make sure that the language reset command is the first
649 thing after the paragraph (to ensure proper nesting of
650 environments and thus fix bug 1404)
652 2004-04-21 John Levon <levon@movementarian.org>
655 * ToolbarBackend.C: make "name" be a programmatic name
656 and a gui_name field.
658 * lyxfunc.C: display the minibuffer on M-x
660 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
662 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
665 2004-04-19 Angus Leeming <leeming@lyx.org>
667 * BufferView_pimpl.C (setBuffer): changed preview interface.
669 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
672 2004-04-19 John Levon <levon@movementarian.org>
674 * BufferView_pimpl.C:
675 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
677 2004-04-05 Angus Leeming <leeming@lyx.org>
679 * text.C (redoParagraphs): add call to updateCounters(), thereby
680 fixing the missing "Figure #:" label from the caption of a
683 2004-04-13 Angus Leeming <leeming@lyx.org>
685 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
686 cursor is clicked out of an inset.
688 2004-04-13 Angus Leeming <leeming@lyx.org>
690 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
691 than an InsetOld one.
693 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
695 * format.[Ch]: add editor to Format
696 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
697 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
699 2004-04-08 André Pönitz <poenitz@gmx.net>
701 * metricsinfo.h: remove PainterInfo::width member
703 2004-04-08 Angus Leeming <leeming@lyx.org>
705 * lyx_sty.C (boldsymbol_def): modify so that it outputs
706 "\providecommand" rather than "\newcommand", thereby preventing
707 clashes with packages that define "\boldsymbol" themselves.
710 2004-04-08 Angus Leeming <leeming@lyx.org>
712 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
713 thereby squashing an unnecessary warning.
715 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
717 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
720 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
722 * BufferView.C (setCursor): call redoParagraph (some insets could
724 (putSelectionAt): remove the 'double update' trick
726 * BufferView_pimpl.C (fitCursor): call refreshPar
727 (workAreaDispatch): remove an uneeded update call
728 (dispatch): remove some manual update calls
730 * cursor.[Ch]: remove cached_y_, updatePos
731 (selHandle): set noUpdate when appropriate
733 * lyxfunc.C (dispatch): track if we need an update
735 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
737 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
738 (paintSelection): cheap optimization, do not call cursorX when not
740 (paintPars): change signature
743 (paintTextInset): adjust
747 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
749 * lengthcommon.C: compilation fix: remove explicit array size from
750 unit_name[] and friends
752 2004-04-05 Angus Leeming <leeming@lyx.org>
754 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
756 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
757 present only for the preferences dialog.
758 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
760 2004-04-05 Angus Leeming <leeming@lyx.org>
762 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
763 to enable the frontends to export changes to lyxrc correctly.
765 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
767 2004-04-07 André Pönitz <poenitz@gmx.net>
769 * cursor.[Ch] (selClear, adjust): remove math
771 * cursor_slice.C: more agressive assert
774 * BufferView_pimpl.C: rework mouse event dispatch
781 2004-04-05 André Pönitz <poenitz@gmx.net>
783 * cursor.[Ch] (valign, halign...): remove unneeded functions
785 2004-04-05 Angus Leeming <leeming@lyx.org>
787 * lyxlength.[Ch] (unit_name et al.): const-correct.
789 2004-04-05 Angus Leeming <leeming@lyx.org>
791 * BufferView_pimpl.C:
800 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
802 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
804 * text3.C (getStatus): add LFUN_BEGINNINGBUF
806 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
808 * lyxfind.C: add a couple of inTexted() tests + other small fixes
809 * BufferView_pimpl.[Ch] (getStatus)
810 * BufferView.[Ch] (getStatus): add
811 * lyxfunc.C (getStatus): move lfuns handled in
812 BufferView::dispatch to te function above
813 * Cursor.C (setSelection): set selection() = true
815 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
817 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
819 2004-03-31 Angus Leeming <leeming@lyx.org>
821 * lyxfunc.C (dispatch): Fall through to the generic
822 Dialogs::show("preamble").
824 2004-03-31 Angus Leeming <leeming@lyx.org>
826 * lyxfunc.C (dispatch): Fall through to the generic
827 Dialogs::show("spellchecker").
829 2004-03-31 Angus Leeming <leeming@lyx.org>
831 * lyxfunc.C (getStatus, dispatch): changed invocation of the
834 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
839 * insetiterator.[Ch]:
844 * undo.[Ch]: s/DocumentIterator/DocIterator/g
846 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
848 * BufferView.C (setCursor, putSelectionAt): call edit to open the
849 insets where we are putting the cursor.
851 2004-03-31 Angus Leeming <leeming@lyx.org>
854 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
856 * lyxrc.[Ch] (read, write): overloaded member functions taking
857 a std::[io]stream arguments.
859 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
861 2004-03-31 Angus Leeming <leeming@lyx.org>
863 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
864 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
866 * lyxtextclass.C (load): if the text class couldn't be loaded, then
867 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
869 2004-03-31 Angus Leeming <leeming@lyx.org>
871 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
872 the LFUN_ALL_INSETS_TOGGLE code.
874 2004-03-30 Angus Leeming <leeming@lyx.org>
876 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
877 has died. Fall through to the generic Dialogs::show("document").
879 2004-03-30 Angus Leeming <leeming@lyx.org>
882 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
883 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
885 * lyxfunc.C (getStatus, dispatch): define the actions for these
886 lfuns. Little more than a cut and pste job from ControlDocument.C
888 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
890 2004-03-30 Angus Leeming <leeming@lyx.org>
893 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
894 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
896 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
897 open/closed state of ollapsable insets. Usage:
899 all-inset-toggle <state> <name>, where
900 <state> == "open" || "closed" || "toggle" and
901 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
903 * lyxtext.h, text2.C (toggleInset): removed.
905 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
906 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
907 now passes LFUN_INSET_TOGGLE to the found inset.
909 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
910 is now invoked as "all-insets-toggle toggle branch".
912 2004-03-30 Angus Leeming <leeming@lyx.org>
916 * pariterator.[Ch]: added/corrected header blurb.
918 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
920 * dociterator.[Ch]: add an inset_ member
921 (backwardPos): implemented
922 (backwardPos, forwardPos): use inset_ when the stack is empty.
923 (doc_iterator_begin, doc_iterator_end): implemented
924 * pariterator.[Ch]: adjust, add begin, end
925 * insetiterator.[Ch]: adjust, add begin, end
929 * BufferView_pimpl.C:
930 * CutAndPaste.C: adjust
932 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
934 * buffer.C: increment file format to 232.
935 * LaTeXFeatures.C: add bibtopic package.
936 * bufferparams.[Ch]: param \use_bibtopic.
938 * lyxrc.[Ch]: add lyxrc bibtex_command
939 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
941 * buffer.C: increment file format to 231.
943 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
945 * dociterator.C: implement forwardPar
946 * iterators.[Ch]: remove, replaced by
947 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
949 * BufferView_pimpl.C:
952 * bufferview_funcs.C:
958 * Makefile.am: adjust
960 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
962 * CutAndPaste.C (pasteSelection): fix 2 crashes
963 (eraseSelection): fix a crash
964 * paragraph_funcs.C: remove a warning
966 2004-03-28 Angus Leeming <leeming@lyx.org>
969 * LyXAction.C (init): new LFUN_PRINT.
971 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
973 2004-03-27 Angus Leeming <leeming@lyx.org>
976 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
978 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
980 2004-03-27 Angus Leeming <leeming@lyx.org>
982 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
983 insetlist always contains non-null pointers to insets.
985 2004-03-26 Angus Leeming <leeming@lyx.org>
987 * src/BufferView_pimpl.C:
991 * src/output_plaintext.C:
992 * src/outputparams.h:
993 * src/paragraph_funcs.C:
997 * src/frontends/controllers/ControlErrorList.C:
998 * src/frontends/gtk/FileDialogPrivate.C:
999 * src/frontends/gtk/GPainter.C:
1000 * src/frontends/gtk/GToolbar.C:
1001 * src/frontends/qt2/QRef.C:
1002 * src/mathed/math_scriptinset.C: squash compiler warnings.
1004 2004-03-26 Angus Leeming <leeming@lyx.org>
1006 * ispell.C (LaunchIspell::start):
1007 * lyx_cb.C (AutoSaveBuffer::start):
1008 invoke run(DontWait) rather than runNonBlocking().
1010 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1012 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1014 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1016 * kbsequence.C (print): adjust
1018 * kbmap.C (printKeySym): rename and change signature
1019 (printKey): use LyXKeySym::print()
1021 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1023 * undo.C: add using std::advance to compile for stlport
1025 2004-03-24 Angus Leeming <leeming@lyx.org>
1027 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1028 it leads to a crash when no buffer is present.
1030 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1031 Martin Vermeer <martin.vermeer@hut.fi>
1033 * lyxfunc.C (dispatch):
1034 * bufferparams.C (readToken): use the new LColor::setColor
1036 * LColor.[Ch] (setColor): new version that takes two strings as
1037 argument and creates a new color entry if necessary
1039 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1041 * buffer.C (makeLaTeXFile): if the main latex file that is
1042 processed is usually a subdocument of some master, then pretend
1043 for a while that it is actually the master
1045 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1047 * buffer.C (getLabelList):
1048 (getBibkeyList): use getMasterBuffer()
1049 (getMasterBuffer): new method. Returns the main document in the
1050 case where one is using included documents.
1052 2004-03-25 André Pönitz <poenitz@gmx.net>
1056 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1058 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1060 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1061 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1063 * ParameterStruct.h: merge with ParagraphParameters
1065 * lyxtext.h: remove LyXText::parOffset() and getPar()
1067 * text3.C: Remove all 'manual' update calls. We do now one per user
1068 interaction which is completely sufficient.
1072 * BufferView_pimpl.C:
1073 * FontIterator.[Ch]:
1075 * ParagraphParameters.[Ch]:
1080 * cursor_slice.[Ch]:
1087 * output_docbook.[Ch]:
1088 * output_latex.[Ch]:
1089 * output_linuxdoc.[Ch]:
1090 * output_plaintext.[Ch]:
1092 * paragraph_funcs.[Ch]:
1093 * paragraph_pimpl.[Ch]:
1101 * frontends/controllers/ControlDocument.C:
1102 * frontends/controllers/ControlErrorList.C:
1103 * frontends/controllers/ControlSpellchecker.C:
1106 * insets/insetbase.h:
1107 * insets/insetbibitem.C:
1108 * insets/insetbox.C:
1109 * insets/insetbranch.C:
1110 * insets/insetcaption.C:
1111 * insets/insetcharstyle.C:
1112 * insets/insetcharstyle.h:
1113 * insets/insetcollapsable.C:
1114 * insets/insetcollapsable.h:
1115 * insets/insetert.C:
1116 * insets/insetfloat.C:
1117 * insets/insetfoot.C:
1118 * insets/insetmarginal.C:
1119 * insets/insetnote.C:
1120 * insets/insetoptarg.C:
1121 * insets/insettabular.C:
1122 * insets/insettext.C:
1123 * insets/insettext.h:
1124 * insets/insetwrap.C:
1125 * mathed/math_mboxinset.C:
1126 * mathed/math_nestinset.C:
1127 * mathed/math_scriptinset.C:
1128 * mathed/math_scriptinset.h:
1131 2004-03-24 Angus Leeming <leeming@lyx.org>
1133 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1134 deal with any child processes that have finished but are waiting to
1135 communicate this fact to the rest of LyX.
1137 2004-03-24 Angus Leeming <leeming@lyx.org>
1139 64-bit compile fixes.
1141 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1142 (c-tor): pass lyx::pos_types rather than ints.
1144 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1147 * text.C (Delete): compile fix.
1148 (getPar): ensure that function declaration is the same as that in
1151 2004-03-23 Angus Leeming <leeming@lyx.org>
1153 * ispell.C (LaunchIspell):
1154 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1155 a boost::shred_ptr rather than a std::auto_ptr.
1157 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1159 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1160 handle LFUN_FILE_INSERT_*
1162 * lyxrc.C (setDefaults, getDescription, output, read):
1163 * lyxrc.h: remove ps_command
1165 2004-03-22 Angus Leeming <leeming@lyx.org>
1167 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1168 Ensure that error_handler is processed once only and that all data
1169 is saved before attempting to output any warning messages.
1171 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1173 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1175 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1177 2004-03-19 André Pönitz <poenitz@gmx.net>
1179 * cursor.[Ch] (reset): take main text inset as argument
1181 * BufferView: adjust
1182 * BufferView_pimpl.C: adjust
1184 * paragraph.[Ch]: fix completely broken operator=()
1186 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1188 * LColor.C (getFromLyXName): make sure that the color name is used
1191 2004-03-17 Angus Leeming <leeming@lyx.org>
1194 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1196 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1197 dialog and to kill a forked process.
1199 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1201 * text2.C (setCursorFromCoordinates): fix font problem
1203 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1205 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1206 bogus "rebuild cursor" code
1208 2004-03-11 André Pönitz <poenitz@gmx.net>
1210 * buffer.[Ch]: use InsetText instead of LyXText as container for
1213 * dociterator.[Ch]: drop the BufferView * member which is not needed
1214 anymore after the change to buffer.C
1216 * paragraph_funcs.C:
1220 * BufferView_pimpl.[Ch]:
1222 * cursor_slice.[Ch]: adjust
1224 * text3.C: fix bug in mathDispatch
1226 2004-03-08 André Pönitz <poenitz@gmx.net>
1228 * undo.[Ch]: use 'StableDocumentIterator' as base for
1231 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1234 * bufferparams.[Ch]: add jurabib support and param.
1236 * LaTeX.C: add FIXME/comment.
1238 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1240 * buffer.C: increment file format to 230.
1242 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1244 * cursor.C (dispatch): avoid infinite loops
1246 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1248 * rowpainter.C (paintSelection): fix x coordinates
1250 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1252 * text.C (rowBreakPoint): fix breaking before displayed insets
1254 2004-03-01 André Pönitz <poenitz@gmx.net>
1256 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1258 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1262 * BufferView_pimpl.C:
1270 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1276 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1277 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1279 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1281 * Bidi.[Ch] (computeTables): const correctness
1282 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1283 fill_hfill, fill_label_hfill and x from Row
1284 * lyxtext.h: prepareToPrint returns a RowMetrics
1285 * rowPainter.C: adjust
1286 * text.C (prepareToPrint): use width, not textWidth. adjust
1287 (redoParagraphInternal, cursorX): adjust
1288 * text2.C (getColumnNearX): adjust
1289 (init): put a default value to the top LyXText::width
1291 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1293 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1295 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1297 * lyxtext.h: add FontIterator class
1299 * text.C (FontIterator, operator*, operator->, operator++): add
1300 (rowBreakPoint, setRowWidth): adjust (fixing a
1303 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1305 * BufferView_pimpl.C (workAreaDispatch): allow also
1306 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1308 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1310 * text.C (rowBreakPoint): fix a bug showing with very large insets
1312 2004-02-25 André Pönitz <poenitz@gmx.net>
1315 * cursor.[Ch]: move some mathed specific code to mathed
1317 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1319 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1320 use_tempdir in preferences
1321 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1323 * lyx_main.C: ensure that tempdir is valid
1324 * lyxlex.h: correct typo
1325 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1326 * paragraph.[Ch] (isMultiLingual): make const
1327 * cursor.[Ch] (openable): make const
1329 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1331 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1333 2004-02-20 André Pönitz <poenitz@gmx.net>
1335 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1337 * cursor.[Ch]: prepare for localized getStatus()
1343 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1345 2004-02-20 André Pönitz <poenitz@gmx.net>
1347 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1349 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1351 * text2.C (setCursorFromCoordinates): switch to absolute coords
1353 (cursorDown): adjust
1354 * text3.C (dispatch): adjust
1356 2004-02-16 André Pönitz <poenitz@gmx.net>
1358 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1361 * cursor_slice.[Ch]: remove unneeded acessor function
1363 * lyxtext.h: rename rtl() to isRTL()
1371 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1373 * rowpainter.C (paintSelection): coord fix
1375 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1377 * Spacing.C: compile fix
1379 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1381 * cursor.C (dispatch): restore current_ before returning
1383 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1385 * text2.C (cursorUp, cursorDown): fix coords
1388 2004-02-12 André Pönitz <poenitz@gmx.net>
1393 * text3.C: add LCursor & parameter to most cursor movement functions
1394 remove usage of LyXText::cursorRow() and cursorPar()
1396 * cursor.[Ch]: add textRow() needed members
1399 * BufferView_pimpl.C:
1402 * BufferView_pimpl.C: adjust
1404 2004-02-11 André Pönitz <poenitz@gmx.net>
1408 * BufferView_pimpl.C: shift undo/redo handling
1410 * cursor.[Ch]: fix mathed crash
1413 * lyxtext.h: move selectionAsText to LCursor
1421 * rowpainter.C: fix excessive drawing
1423 2004-02-06 André Pönitz <poenitz@gmx.net>
1426 * BufferView_pimpl.[Ch]:
1427 * text3.C: move some text specific LFUN handling
1429 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1431 * text3.C (checkInsetHit): adjust coords
1432 * text2.C (getColumnNearX): adjust coords
1433 (edit): adjust coords
1434 * text.C (getRowNearY): add two asserts
1436 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1439 * format.C: add using std::distance to compile on gcc 2.95/stlport
1441 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1443 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1445 2004-02-04 André Pönitz <poenitz@gmx.net>
1447 * BufferView.[Ch] (insertInset):
1448 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1453 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1455 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1456 on the default clause of the switch
1457 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1458 wasn't catched by LCursor::dispatch
1460 2004-02-03 André Pönitz <poenitz@gmx.net>
1463 * cursor.[Ch]: some additional asserts
1465 * undo.[Ch]: remove LyXText dependency in interface
1469 * lyxtext.h (firstPar, lastPar): remove dead functions
1474 * paragraph.[Ch]: adjust
1476 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1478 * lyxfind.C (find): fix argument order in call to ::find
1480 2004-02-02 André Pönitz <poenitz@gmx.net>
1482 * cursor.[Ch]: remove direct access to anchor
1484 * text.C: remove findText() hack
1486 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1488 * iterators.[Ch] (lockPath): remove in favour of...
1489 * BufferView.[Ch] (setCursor): this addition
1490 * BufferView.C (putSelectionAt): adjust
1491 * undo.C (performUndoOrRedo): adjust
1492 * lyxfunc.C (dispatch): adjust
1494 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1496 * iterators.C (lockPath): add a missing slice
1497 * undo.C (performUndoOrRedo): remove redundant positioning code
1499 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1501 * vc-backend.C (scanMaster): ";" -> ';'
1503 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1505 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1506 std::binary_function
1508 * lyxtextclass.C (compare_name): rename to...
1509 (LayoutNamesEqual): ...this
1511 * lyxlex_pimpl.C (compare_tags): inherit from
1512 std::binary_function, put back into anon namespace
1514 * lyxfind.C (MatchString): inherig from std::binary_function
1515 (findChange): use empty() istead of !size()
1517 * format.C (FormatNamesEqual): new functor
1524 * converter.C (compare_Converter): rename to...
1525 (ConverterEqual): ...this, and fixup a bit.
1526 (getConverter): use it, and make function const
1527 (getNumber): use it, and make function const
1531 * bufferlist.C: add using boost::bind
1533 * MenuBackend.C (MenuNamesEqual): new functor
1534 (hasMenu): use it, and make function const
1535 (hasSubmenu): use nested bind to get rid of compare_memfun.
1537 2004-01-30 André Pönitz <poenitz@gmx.net>
1539 * BufferView_pimpl.C:
1542 * cursor_slice.[Ch]:
1545 * paragraph_funcs.C:
1546 * paragraph_funcs.h:
1550 * text3.C: move some of the edit(x,y) handling to the insets
1551 some coordinate changes.
1553 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1555 * text.C: add using statements for std::advance and std::distance
1557 * paragraph.C: add using statement for std::distance
1559 * lyxfind.C: add using statement for std::advance
1561 * cursor.C (region): remove std:: from swap
1562 (openable): use nucleus in stead of operator->
1564 * BufferView.C: add using statements for std::distance and std::swap
1566 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1568 * iterators.C: Remove the pimple, move the needed structures to
1569 the header file. Create accessor for the positions stack.
1570 (asPosIterator): remove function
1572 * PosIterator.C (PosIterator): move constructors to top of file
1573 (PosIterator): reimplement the constructor taking a ParIterator in
1575 (setFrom): new function
1576 (operator!=): inline it
1578 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1580 * lyxfind.C (replaceAll): use std::advance
1582 * iterators.h: inherit from std::iterator.
1584 * PosIterator.C (advance, distance): remove
1585 * PosIterator.h: interit from std::iterator.
1587 2004-01-26 André Pönitz <poenitz@gmx.net>
1590 * BufferView_pimpl.[Ch]:
1594 * bufferview_funcs.C:
1604 * output_linuxdoc.C:
1605 * output_plaintext.C:
1607 * paragraph_funcs.[Ch]:
1608 * paragraph_pimpl.[Ch]:
1614 * text3.C: more IU: dumps most of the rest of the mathcursor
1615 implementation into cursor.[Ch]; "globalize" a bit of it.
1617 2004-01-25 Angus Leeming <leeming@lyx.org>
1619 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1621 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1623 * LaTeXFeatures.h: add nice_ and nice() const
1624 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1626 2004-01-20 André Pönitz <poenitz@gmx.net>
1629 * BufferView_pimpl.C:
1631 * bufferview_funcs.C:
1633 * cursor_slice.[Ch]:
1644 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1645 LCursor and mathcursor parts to LCursor and InsetBase.
1647 2004-01-15 André Pönitz <poenitz@gmx.net>
1649 * cursor_slice.[Ch]: add a few covienience functions
1651 * funcrequest.[Ch]: remove BufferView * member
1653 * BufferView_pimpl.C:
1660 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1662 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1664 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1665 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1667 2004-01-13 André Pönitz <poenitz@gmx.net>
1670 * lyxtext.h: hide cursor and selection anchor behind accessor function
1673 * BufferView_pimpl.[Ch]:
1675 * bufferview_funcs.C:
1685 * cursor_slice.[Ch]: some integer type changes for inset unification
1687 * lyxcursor.[hC]: remove, it's CursorSlice now.
1690 * BufferView_pimpl.[Ch]:
1691 * bufferview_funcs.C:
1697 * textcursor.[Ch]: adjust
1699 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1701 * text2.C (undoSpan): add and use
1702 * text.C (breakParagraph): use undoSpan (fix bug 578)
1705 2004-01-08 Angus Leeming <leeming@lyx.org>
1707 * BufferView_pimpl.C (MenuInsertLyXFile):
1708 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1709 * lyxfunc.C (menuNew, open, doImport):
1710 FileFilterList change to the FileDialog open and save functions.
1712 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1714 * ShareContainer.h: make isEqual and isUnique adaptable
1716 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1718 2004-01-07 Angus Leeming <leeming@lyx.org>
1721 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1723 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1725 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1726 functions replacing find, replace and replaceAll.
1728 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1729 LFUN_WORDFIND(FORWARD|BACKWARD).
1731 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1733 * text.C (breakParagraph): remove an outdated #warning
1735 2004-01-07 André Pönitz <poenitz@gmx.net>
1737 * lyxfind.C: somewhat clearer logic
1739 * text.C: prevent crash in cursorX on unitialized row cache
1741 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1743 * lyxcursor.[Ch] (operator>): add
1744 * textcursor.C (selStart, selEnd): use std::min and std::max
1746 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1748 * Chktex.C: include boost/format.hpp
1750 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1752 * InsetList.C: replace functor MathcIt with adaptable functor
1754 (insetIterator): modify accordingly
1756 * BranchList.h: move the BranchNamesEqual functor here from...
1757 * BranchList.C: ... to here
1759 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1761 (add): replace a finding loop with std::find_if.
1763 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1765 * output_docbook.C: moving LatexParam functionality into
1768 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1770 * buffer.C: increment format to 229.
1772 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1775 * lyx_sty.[Ch]: remove minipageindent_def
1781 * text3.C: remove LFUN_INSET_MINIPAGE
1783 2003-12-28 Angus Leeming <leeming@lyx.org>
1785 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1787 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1789 * text2.C (setParagraph): fix off-by-one crash
1791 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1793 * output_docbook.C: header stuff for AGU
1795 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1797 * text2.C (redoCursor): remove
1800 * BufferView_pimpl.C: remove calls to redoCursor and
1801 setCursor(cursor.par(), cursor.pos()) all around
1803 2003-12-15 Angus Leeming <leeming@lyx.org>
1805 * buffer.C: up the format to 228.
1807 2003-12-15 André Pönitz <poenitz@gmx.net>
1809 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1814 * BufferView_pimpl.C:
1823 2003-12-15 Angus Leeming <leeming@lyx.org>
1825 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1826 than getFromGUIName to manipulate the color.
1828 2003-12-14 Angus Leeming <leeming@lyx.org>
1830 * BranchList.[Ch]: minimize the API.
1831 (Branch::getBranch, getColor): now return a 'const &'.
1832 (Branch::setSelected) now returns a bool set to true if the
1833 selection status changes.
1834 (BranchList::clear, size, getColor, setColor, setSelected,
1835 allBranches, allSelected, separator): removed.
1836 (BranchList::find): new functions, returning the Branch with
1838 (BranchList::add, remove): return a bool indicating that
1839 the operation was successful.
1841 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1842 new InsetBranch::isBranchSlected member function.
1844 * LColor.[Ch]: mimimize the API.
1845 (fill): renamed as addColor and made private.
1846 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1847 versions of these functions taking a string arg have been removed.
1849 * bufferparams.C (readToken):
1850 * lyxfunc.C (dispatch):
1851 * lyxrc.C (read): changes due to the altered BranchList and
1854 * factory.C (createInset, readInset): changes due to altered
1857 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1860 * lyxfunc.C: remove insetminipage. "minipage-insert"
1861 now produces a frameless minipage box inset.
1863 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1865 * textcursor.[Ch] (selStart,selEnd): add new methods
1866 remove selection::start, end, use LyXCursor::operator<
1867 * lyxcursor.[Ch] (operator<): add
1868 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1869 * BufferView.[Ch] (unsetXSel): add
1870 * text2.C (clearSelection): use unsetXSel,adjust
1873 * rowpainter.C: adjust
1874 * bufferview_funcs.C (put_selection_at): adjust
1876 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1878 * BufferView_pimpl.C: small coord. correction
1880 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1882 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1883 dragging over the splash screen.
1885 2003-12-11 Angus Leeming <leeming@lyx.org>
1887 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1888 as it is now handled in LyXText::dispatch.
1890 * text3.C (doInsertInset): remove a level of nesting.
1892 2003-12-11 Angus Leeming <leeming@lyx.org>
1894 * factory.C (createInset): changes due to the changed interface to
1895 InsetCommandMailer::string2params.
1897 2003-12-10 Angus Leeming <leeming@lyx.org>
1899 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1900 'dialog-show-new-inset <inset name>'
1902 2003-12-10 Angus Leeming <leeming@lyx.org>
1904 * buffer.C: up the format to 227.
1906 * factory.C: the box inset is now identified simply by 'Box'.
1908 2003-12-10 Angus Leeming <leeming@lyx.org>
1910 * buffer.C: up the format to 226.
1912 * factory.C: the note inset is now identified simply by 'Note'.
1914 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1916 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1917 when a pit is enough. Standarize a couple of loops.
1919 2003-12-05 Angus Leeming <leeming@lyx.org>
1921 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1922 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1923 data to the re-worked "log" dialog.
1925 2003-12-03 André Pönitz <poenitz@gmx.net>
1931 * paragraph_funcs.C:
1933 * text2.C: use Inset::getText instead of Inset::getParagraph
1935 2003-12-03 André Pönitz <poenitz@gmx.net>
1939 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1940 InsetText::read() as LyXText::read()
1942 2003-12-02 Angus Leeming <leeming@lyx.org>
1944 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1945 type. Add a comment in the implementation that the function uses
1946 the stream's bad() function rather than fail() as the std::streams
1949 2003-12-02 André Pönitz <poenitz@gmx.net>
1951 * lyxlex.[Ch]: make interface more similar to std::stream
1953 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1955 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1957 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1959 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1961 * vspace.[Ch]: remove VSpace::NONE
1963 2003-12-01 André Pönitz <poenitz@gmx.net>
1966 * lyxtext.h: move ParagraphList member to LyXText
1967 rename LyXText::ownerParagraphs to LyXText::paragraph
1970 * bufferview_funcs.C:
1980 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1982 * undo.C: fix cursor positioning
1984 2003-12-01 John Levon <levon@movementarian.org>
1986 * BufferView_pimpl.C: fix a crash on exit with
1989 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1991 * BranchList.C: fix setSelected() method.
1993 2003-11-28 André Pönitz <poenitz@gmx.net>
1995 * ParagraphParameters.[Ch]:
1996 * ParameterStruct.h: remove space above/below from Paragraph to
1999 * BufferView_pimpl.C:
2005 * paragraph_funcs.C:
2011 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2013 * factory.C: Syntax change for CharStyles
2015 2003-11-28 André Pönitz <poenitz@gmx.net>
2020 * buffer.[Ch]: move LyXText member
2022 2003-11-28 André Pönitz <poenitz@gmx.net>
2024 * BufferView.[Ch]: make LyXText * text a private member
2026 * BufferView_pimpl.C:
2037 * output_plaintext.C: cleanup
2039 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2042 * lyxtextclass.[Ch]: parametrize SGML document header
2044 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2047 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2050 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2052 * text2.C (setFont): rework using PosIterator (no more recursive)
2053 (setCharFont): no more needed
2054 (setLayout): no more selection cursors fiddling (done by redoCursor)
2055 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2056 destroy remaining ones)
2058 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2060 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2062 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2065 * text3.C: adjust + re-allow multi par depth changes
2066 * textcursor.C: simplify a bit
2068 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2074 * src/output_docbook.C:
2075 * src/output_latex.C:
2080 * src/text2.C: Introducing a number of tags parametrizing various
2081 XML formats that we may want to support
2083 2003-11-25 André Pönitz <poenitz@gmx.net>
2085 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2087 * lyxtext.h (leftMargin/rightMargin): simplify interface
2094 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2096 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2097 master file to any child files. Fixes bug 546.
2099 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2101 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2103 2003-11-24 André Pönitz <poenitz@gmx.net>
2105 * rowpainter.C: simplification
2107 * text2.C (updateCounters): remove call to redoParagraph on
2108 changed labels as this is far too expensive.
2110 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2112 * converter.C (convert): fix a crash: this function gets
2113 called with buffer == 0 from importer code.
2115 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2117 * text3.C (cursorPrevious): make sure that we do not compare
2118 iterators form different containers.
2121 * rowpainter.C (paintSelection): make sure that we do not compare
2122 iterators from different containers.
2124 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2125 iterators from different ParagraphList containers.
2128 * text2.C (LyXText): change order of initialization slightly
2129 (operator=): new function. copy all variables except cache_par_
2130 (moveUp): make sure that we do not compare iterators from
2131 different ParagraphList constainers.
2134 * text.C (firstPar): new function
2135 (lastPar): new function
2136 (endPar): new function
2138 * lyxtext.h: move things around and group public functions, public
2139 variables, private functions, private variables
2141 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2143 * factory.C: change call to InsetERT constructor to avoid
2144 additional invocation of method status
2145 * text2.C (toggleInset): remove redundant update() call
2146 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2147 instead of a Bufferview pointer
2149 2003-11-21 André Pönitz <poenitz@gmx.net>
2151 * rowpainter.C: simplification
2153 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2155 * text3.C (dispatch): make possible to extend a word/row selection
2158 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2160 * lyxtext.h: x0_,y0_ -> xo_,yo_
2161 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2162 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2163 * rowpainter.C (paintRows): paint full paragraphs
2165 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2167 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2170 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2172 * lyxtext.h: add x0_, y0_
2173 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2174 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2176 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2178 * text2.C (setCursorIntern): move the x_target update here *
2179 * text3.C: change some bv() to true/false in calls to
2180 cursorUp/Down/Right/Left
2181 * cursor.C: use helper function.
2183 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2185 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2186 * paragraph_funcs.[Ch]: correct comment
2187 * rowpainter.C: do not paint selections away from bv->cursor()
2188 Fix a long standing selection painting bug.
2189 * text3.C: generalize mouse-selection code to LyXTexts other that
2191 * textcursor.C: do not use y coords if we can use par offsets
2193 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2195 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2196 cursor position after e.g. inset insert)
2198 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2200 * lyxfind.C (replace): adjust to locking removal + some
2203 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2205 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2208 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2211 * output_docbook.C: XML sanitation: new layout
2212 parameters InnerTag and CommandDepth
2214 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2216 * BufferView_pimpl.C:
2218 * text3.C: Fix the insertion and modification of button-style
2221 2003-11-13 André Pönitz <poenitz@gmx.net>
2223 * InsetList.[Ch]: remove deleteLyXText
2225 * paragraph.[Ch]: cache beginOfBody position
2230 * text3.C: remove superfluous update() calls
2234 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2236 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2237 * BufferView.C (fitLockedInsetCursor): remove
2238 * cursor.[Ch] (getDim): add
2239 * text.C (getRowNearY): add faster version
2240 * text3.C: remove some update calls
2242 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2254 * text3.C: The Character Style /XML short element patch.
2256 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2259 * factory.C: Small step to solving 'unable to insert some insets'
2262 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2264 * cursor.[Ch] (updatePos): new function for updating the y
2265 position of the tip inset
2266 * bufferview_funcs.C (put_selection_at):
2267 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2269 2003-11-11 André Pönitz <poenitz@gmx.net>
2271 * text.C: remove big comment on invalid Paragraph pointers as it is
2274 2003-11-11 André Pönitz <poenitz@gmx.net>
2276 * text_funcs.[Ch]: merge with ...
2284 * Makefile.am: remove text_funcs.[Ch]
2286 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2288 * cursor.C (getPos): return absolute cached y coord
2290 * BufferView_pimpl.C (fitCursor): new simplistic code
2291 (workAreaDispatch): add a fitCursor call
2293 2003-11-10 André Pönitz <poenitz@gmx.net>
2296 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2298 2003-11-10 André Pönitz <poenitz@gmx.net>
2300 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2301 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2302 indicate that the cursor needs to leave an inset
2304 * lyxtext.h: remove inset locking
2306 * cursor.[Ch]: re-implement functionality provided by inset locking
2309 * BufferView_pimpl.[Ch]:
2311 * bufferview_funcs.[Ch]:
2323 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2325 * PosIterator.[Ch]: replace the stack with a vector, add inset
2327 * iterators.[C]: adjust
2329 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2331 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2333 * paragraph_funcs.C (readParToken): put the correct id in the
2334 error item, not the id of the top paragraph
2336 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2338 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2339 * bufferview_funcs.C (put_selection_at): use the above
2341 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2343 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2345 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2347 * output_linuxdoc.h:
2348 * output_plaintext.h:
2350 * output_docbook.h: add #include statements
2352 2003-11-05 José Matos <jamatos@lyx.org>
2354 * output_docbook.[Ch]:
2355 * output_latex.[Ch]:
2356 * output_linuxdoc.[Ch]:
2357 * output_plaintext.[Ch]: New files for output formats.
2358 * output.[Ch]: New file for helper functions.
2361 * paragraph_funcs.[Ch]: output functions moved to new files.
2363 * outputparams.h: rename of latexrunparams.h
2371 * paragraph_funcs.[Ch]:
2372 * paragraph_pimpl.[Ch]:
2373 * tabular.[Ch]: rename ascii to plaintext
2374 and LatexRunParams to OutputParams.
2376 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2378 * iterators.[Ch] (text): require bv argument
2379 * undo.C (recordUndo):
2380 * lyxfunc.C (dispatch):
2381 * bufferview_funcs.C (put_selection_at): adjust
2383 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2385 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2387 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2389 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2392 2003-11-04 André Pönitz <poenitz@gmx.net>
2394 * cursor.[Ch]: restructure
2397 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2399 * iterators.[Ch] (asCursor): remove
2401 * lfuns.h: remove LFUN_INSET_EDIT
2407 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2409 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2411 * lyxfind.[Ch]: complete overhaul
2412 * BufferView_pimpl.C:
2414 * paragraph.[Ch] (insert): add
2416 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2420 * text.C: remove dead spellcheck code
2422 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2424 * dispatchresult.h: add a val setter
2426 * cursor.C (dispatch): use a tempvar for data_[i]
2428 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2430 * PosIterator.[Ch]: compile fix
2432 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2434 * text.C (cursorPar): deactivate the cursor cache
2436 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2438 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2440 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2442 * text3.C (dispatch): adjust for new DisptchResult semantics.
2444 * lyxfunc.C (dispatch): handle update when return from
2445 Cursor::dispatch, adjust for new DispatchResult semantics.
2447 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2448 DispatchResult(true) mean to not update. Add class functions for
2449 setting dispatched and update, as well as reading.
2451 * cursor.C (dispatch): don't handle update here
2453 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2456 * trans_mgr.C: adjust
2458 * paragraph_funcs.C (readParToken): exception safety
2460 * lyxvc.h: store the vcs pointer in a scoped_ptr
2463 * lyxsocket.C (serverCallback): exception safety
2465 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2467 * ispell.C (clone): make it return a auto_ptr
2469 * factory.C (createInset): exception safety
2470 (readInset): exception safety
2472 * bufferlist.C (newBuffer): exception safety
2474 * Thesaurus.C (Thesaurus): use initialization for aik_
2476 * MenuBackend.C (expandToc): exception safety.
2478 2003-11-03 André Pönitz <poenitz@gmx.net>
2482 * bufferview_funcs.C: remove getInsetFromId()
2485 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2491 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2493 * PosIterator.C (distance, advance): new
2494 * bufferview_funcs.[Ch] (put_selection_at): new
2495 * iterators.[Ch] (lockPath): new
2497 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2499 * iterators.[Ch] (asPosIterator): added
2500 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2501 * PosIterator.[Ch]: added
2503 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2507 * cursor.C (dispatch):
2508 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2510 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2511 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2512 contructor, add a class function dispatched. Remove operator>=
2514 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2516 * debug.C: only use the default constructor for debugstream
2519 * main.C (main): include debug.h and setup the lyxerr streambuf
2522 2003-10-31 José Matos <jamatos@lyx.org>
2524 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2526 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2527 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2528 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2529 * paragraph_pimpl.C (simpleTeXSpecialC):
2530 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2531 add LatexRunParams argument.
2533 * exporter.C (Export): change call accordingly.
2535 * latexrunparams.h: add new member to take care of the other backends.
2536 2003-10-30 José Matos <jamatos@lyx.org>
2538 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2539 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2540 factorise code for paragraph output.
2542 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2545 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2547 * text3.C (dispatch):
2548 * lyxfunc.C (dispatch):
2549 * cursor.C (dispatch):
2550 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2552 * dispatchresult.h: make the dispatch_result_t ctor explicit
2554 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2557 * buffer.C: small refactoring of docbook stuff
2559 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2561 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2564 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2566 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2567 operator dispatch_result_t, and operators for == != and >=
2569 * cursor.C (dispatch): adjust for operator dispatch_result_t
2570 removal. comment out call to update
2572 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2574 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2582 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2585 * dispatchresult.h: new file, DispatchResult broken out of
2588 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2590 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2592 * text.C (rowBreakPoint): put a hack inside #if 0
2594 2003-10-28 André Pönitz <poenitz@gmx.net>
2598 * paragraph_funcs.C:
2601 * text2.C: general cleanup (lots of small stuff)
2603 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2605 * text2.C (cursorEnd): simple fix to the "end key goes to one
2606 before the end on last row" bug
2608 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2610 * text.C (backspace): fix the "zombie characters"
2612 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2614 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2616 2003-10-27 André Pönitz <poenitz@gmx.net>
2618 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2620 * factory.C: handle new InsetPagebreak, InsetLine
2622 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2623 and move handling into new InsetPagebreak, InsetLine
2625 * BufferView_pimpl.C:
2627 * ParagraphParameters.C:
2628 * ParameterStruct.h:
2633 * paragraph_funcs.C:
2634 * paragraph_pimpl.C:
2640 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2643 * lyxrow_funcs.[Ch]:
2649 * text3.C: remove lastPos uses in favour of Row::endpos
2651 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2653 * undo.C (performUndoOrRedo): fix two crashes by setting a
2654 cursor by hand and reordering some calls. Use bv->lockInset instead
2655 of inset->edit because the latter loses cursor information
2657 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2659 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2661 (rowBreakPoint): fix width. change point to point + 1.
2662 Add a missing check.
2664 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2667 * lyxfunc.C: fix (at least partly) the problems
2668 with the Nav menu and headers inside branch insets
2671 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2673 * paragraph.C (getChar): add strong asserts
2675 * lyxrow_funcs.C (lastPos): remove hideous hack
2677 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2678 (fill): adjust to that (avoid an infinite loop)
2680 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2682 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2684 2003-10-23 André Pönitz <poenitz@gmx.net>
2686 * RowList_fwd.h: change list<> to vector<> to gain speed
2687 after suggestion from Alfredo
2689 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2691 * lyxtext.h: move the bidi stuff from here...
2694 * Bidi.[Ch]: ... to here
2696 2003-10-23 André Pönitz <poenitz@gmx.net>
2699 * text.C (isLastRow, isFirstRow): new functions
2701 * paragraph.h: new width cache member
2703 * rowpainter.C: replace RowList::iterator with Row & where possible
2705 * lyxfunc.C: replace several view()->text with a single call
2707 * toc.C: fix 'unused' warning
2709 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2711 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2712 when woring with stream::pos_type
2713 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2715 2003-10-22 André Pönitz <poenitz@gmx.net>
2718 * text.C: use Row & instead of RowList::iterator
2720 * lyxrow.h: rename end() to endpos()
2726 2003-10-22 Angus Leeming <leeming@lyx.org>
2728 * buffer.[Ch] (fully_loaded): new member function, returning true
2729 only when the file has been loaded fully.
2730 Used to prevent the premature generation of previews and by the
2731 citation inset to prevent computation of the natbib-style label.
2733 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2734 templates are all set up.
2736 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2738 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2740 * text.C: fixed an "oops" in the "is a bit silly"
2743 2003-10-21 André Pönitz <poenitz@gmx.net>
2745 * FuncStatus.[Ch]: small stuff, whitespace
2747 * lyxfont.[Ch]: operator<<() for debug reasons
2751 * lyxtext.h: whitespace, spelling
2753 * paragraph.C: naming of variables
2756 * text2.C: small stuff
2759 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2761 * text.C: (1) finish off the inset display() work;
2762 (2) fix the "is a bit silly" bug (accessing char
2765 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2767 * text.C: re-introduce display() for insets, fixing the
2768 various bugs (stretch of line above, math inset
2771 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2773 * text.C (rightMargin): remove spurious semicolon
2775 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2778 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2780 * text3.C: fix one crash due to wrong cursor def
2782 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2784 * vc-backend.C (scanMaster): make the regex static
2786 * LaTeX.C (scanAuxFile): make the regexs static
2788 * text3.C (doInsertInset, dispatch, dispatch):
2789 * text2.C (cursorUp, cursorDown):
2790 * text.C (selectNextWordToSpellcheck):
2791 * BufferView_pimpl.C (dispatch):
2792 * lyxfunc.C (dispatch): localDispatch -> dispatch
2794 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2796 * lyxsocket.C: include <cerrno>
2798 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2800 * lyxfunc.C (dispatch): remove textcache stuff
2802 * bufferlist.C (release): remove textcache stuff
2805 * TextCache.C: delete file
2806 * TextCache.h: delete file
2808 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2810 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2811 delete of the bv_->text.
2812 (resizeCurrentBuffer): remove texcache stuff
2813 (workAreaResize): ditto
2815 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2817 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2820 2003-10-16 André Pönitz <poenitz@gmx.net>
2827 * text3.C: speed up by storing y positions per paragraph plus per-row
2828 offset instead of having a 'full' y position in the row.
2830 2003-10-15 André Pönitz <poenitz@gmx.net>
2834 * undo.[Ch]: make undo aware of inner insets
2836 2003-10-14 Angus Leeming <leeming@lyx.org>
2838 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2839 static member functions LyX::ref() and LyX::cref.
2840 (lastfiles): new accessor functions for the new lastfiles_ member var.
2841 (addLyXView, views_): add a new LyXView to the list of views_.
2842 (updateInset): loop over all LyXViews to call their own updateInset
2843 member function, returning a pointer to the Buffer owning the inset.
2845 * BufferView_pimpl.C (loadLyXFile):
2846 * MenuBackend.C (expandLastfiles):
2847 * bufferlist.C (MenuWrite, QuitLyX):
2848 lastfiles is no longer a global variable.
2849 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2851 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2852 static function. Access through LyX::cref().emergencyCleanup().
2854 2003-10-14 André Pönitz <poenitz@gmx.net>
2856 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2858 * undo.[Ch]: restoring part of 'undo in insets'
2861 * undo_funcs.[Ch]: merge with undo.[Ch]
2863 * tabular.C: small cleansing stuff
2865 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2867 * paragraph_funcs.C (readParToken): report unknown insets as error
2868 boxes. Use the outer paragraph as location (also for unknown
2871 * factory.C (readInset): do not abort on reading an unknown inset.
2872 Eat it and return 0.
2874 2003-10-13 Angus Leeming <leeming@lyx.org>
2876 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2878 * lyxrc.C: displayTranslator is now a function,
2879 declared in GraphicsTypes.h.
2881 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2883 * format.C: new placeholder $$a to pass the socket address.
2885 * bufferlist.[Ch]: new function getBufferFromTmp.
2887 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2888 files in the temporary dir.
2890 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2892 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2894 * Makefile.am: add lyxsocket.[Ch].
2896 * lyx_main.C (error_handler): handle SIGPIPE.
2898 2003-10-13 André Pönitz <poenitz@gmx.net>
2900 * BufferView_pimpl.C:
2905 * undo_funcs.[Ch]: use paroffset_type instead of
2906 ParagraphList::iterators to prevent multiple conversion
2907 (and get a more robust interface)
2909 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2911 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2913 * text3.C (dispatch): ditto
2915 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2917 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2918 move the onlyfile, use onlyfile instead of foundfile in a couple
2921 * DepTable.C (update): flush the error stream a bit more
2923 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2925 * lyxserver.C (callback): adjust
2927 * lyxfunc.C (getStatus): add a missing brace in commented code
2928 (ensureBufferClean): reindent
2929 (dispatch): delete version taking a string
2931 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2933 * LaTeX.C (deplog): move found file handlig from here...
2934 (handleFoundFile): .. to new function here.
2935 (deplog): make sure to discover several files mentioned on the
2938 2003-10-10 André Pönitz <poenitz@gmx.net>
2945 * text3.C: fix some of the tabular crashes
2947 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2949 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2951 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2953 2003-10-09 André Pönitz <poenitz@gmx.net>
2955 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2958 * BufferView_pimpl.C:
2959 * bufferview_funcs.C:
2970 * undo_funcs.C: adjust
2972 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2974 * text2.C (incrementItemDepth): new function, use a backtracking
2975 algorithm to discover the correct item depth.
2976 (resetEnumCounterIfNeeded): new function, use a backtracking
2977 algorithm to discover if counter reset is needed.
2978 (setCounter): use them. Simplify a bit. Add different labels for
2979 different item depths for itemize.
2981 * paragraph.C (Paragraph): remove initialization of enumdepth
2984 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2985 enumerate and itemize. Change the type of itemdepth to signed char.
2987 2003-10-08 André Pönitz <poenitz@gmx.net>
2989 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2994 * tabular.[Ch]: fix crash after 'row-insert'
2996 2003-10-08 Angus Leeming <leeming@lyx.org>
2998 Fix doxygen warnings.
3000 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3001 Remove CutAndPaste:: prefix from header file declaration.
3003 * LColor.h (fill): remove LColor:: prefix from declaration.
3005 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3006 use lyx::depth_type rather than Paragraph::depth_type so that
3007 header file and .C file match.
3009 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3011 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3012 * aspell.C: \file aspell_local.C -> \file aspell.C
3013 * gettext.C: \file gettext.C -> \file src/gettext.C
3014 * gettext.h: \file gettext.h -> \file src/gettext.h
3015 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3016 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3017 * text.C: \file text.C -> \file src/text.C
3019 * toc.C: move comment so that doxygen is not confused.
3021 2003-10-07 Angus Leeming <leeming@lyx.org>
3023 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3025 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3028 * aspell_local.h: add forgotten std::string's.
3030 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3037 * text3.C: The Box patch. Fancybox support, minipage, parbox
3039 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3045 * ParagraphParameters.h:
3055 * lyxtextclasslist.h:
3058 * paragraph_pimpl.C:
3059 * textcursor.h: add <string> and other small fixes to make Lars'
3060 std::string patch compile with STLport.
3062 2003-10-06 Angus Leeming <leeming@lyx.org>
3064 * LColor.h: Add missing #include <string>.
3066 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3068 * All most all file in all subdirs: Make <string> be the prefered
3069 way of getting to std::string, add using declarations.
3071 2003-10-06 André Pönitz <poenitz@gmx.net>
3073 * metricsinfo.C: initialize LyXFont before changing attribute.
3074 (fixes the 'math in \emph is upright' bug)
3076 2003-10-06 André Pönitz <poenitz@gmx.net>
3078 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3080 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3083 * paragraph_pimpl.C: Small fixes to build using STLport
3085 2003-10-02 André Pönitz <poenitz@gmx.net>
3088 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3090 2003-10-01 André Pönitz <poenitz@gmx.net>
3092 * factory.C: assert early
3094 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * lyx_main.C: remove the global debug object
3098 * debug.h: adjust for new debugstream
3100 * debug.C: adjust for new debugstream and keep the global debug
3103 2003-09-22 Angus Leeming <leeming@lyx.org>
3105 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3106 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3107 an incomplete class LyXFont.
3109 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3111 * factory.C: bug fix in branches
3113 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3115 * lyxfunc.C (processKeySym): adjust
3117 (dispatch): change arg name from ev to func, adjust
3118 (sendDispatchMessage): ditto
3120 * lyx_main.C (defaultKeyBindings): adjust keybindings
3121 (deadKeyBindings): ditto
3123 * kbsequence.C (addkey): return a FuncRequest
3125 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3127 * kbmap.C (bind): take a FuncRequest as arg, adjust
3130 (defkey): change to take a FuncRequest as arg, adjust
3131 (findbinding): take a FuncRequest as arg, adjust.
3133 * funcrequest.h (operator=): added
3135 * funcrequest.C (FuncRequest): default kb_action changed from
3136 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3138 * buffer.C (dispatch): simplify
3139 (dispatch): adjust to take a FuncRequest as arg, adjust
3141 * boost.C (assertion_failed): change assertion message slightly
3143 * ToolbarBackend.C (read): simplify
3145 * MenuBackend.C (binding): adjust call to findbinding, add a
3146 message if no binding is found.
3148 (expandToc): correct by adding a empty FuncRequest
3150 * LyXAction.C: include <boost/assert.hpp>
3151 (isPseudoAction): delete function
3152 (LookupFunc): change name to...
3153 (lookupFunc): this. change return type to FuncRequest.
3154 (getActionName): take kb_action as arg, simplify
3155 (funcHasFlag): add an assert, simplify.
3157 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3159 * toc.C (action): return a FuncRequest, simplify
3161 * lyxfunc.C (processKeySym): adjust
3162 (getStatus): delete version that takes an int.
3164 (dispatch): delete version that takes action as int
3166 (sendDispatchMessage): simplify and adjust
3168 * funcrequest.C (getArg): take unsigned int as arg
3170 * ToolbarBackend.C (read): adjust
3171 (add): delete version that takes func as a string.
3172 (getIton): take a FuncRequest as arg
3174 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3177 * MenuBackend.C (MenuItem): add a new construct that only takes a
3178 Kind, simplify the constructor use for submenus.
3180 (expandLastfiles): adjust
3181 (expandDocuments): adjust
3182 (expandFormats): adjust
3183 (expandFloatListInsert): adjust
3184 (expandFloatInsert): adjust
3185 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3187 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3188 Remove class variables lyx_pseudo_map and lyx_arg_map
3190 * LyXAction.C (searchActionArg): delete function
3191 (getPseudoAction): delete function
3192 (retrieveActionArg): delete function
3193 (LookupFunc): make it return kb_action, simplify.
3194 (getActionName): simplify
3196 * factory.C (createInset): fix new bug
3198 2003-09-19 Angus Leeming <leeming@lyx.org>
3200 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3201 masterFilename_ parameter in the include inset.
3203 * factory.C (createInset): changes due to the changes to InsetInclude.
3205 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3207 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3209 2003-09-18 Angus Leeming <leeming@lyx.org>
3212 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3213 Inset::fillWithBibKeys.
3214 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3216 2003-09-18 Angus Leeming <leeming@lyx.org>
3218 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3220 (ctor): pass and store a 'Buffer const &'
3221 (buffer): new member function.
3223 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3224 '*this' to the LaTeXFeatures ctor.
3226 2003-09-18 Angus Leeming <leeming@lyx.org>
3232 * text.C: rename EnumLColor as LColor_color.
3234 2003-09-18 Angus Leeming <leeming@lyx.org>
3236 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3237 remove #include "insets/insetbase.h" from cursor.h.
3239 2003-09-18 Angus Leeming <leeming@lyx.org>
3241 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3242 InsetOld_code to remove #include "inset.h".
3244 * iterators.C: add #include "insets/inset.h"
3246 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3248 * BufferView.C: remove more locking stuff that apparently doesn't
3249 do anything sensible.
3251 2003-09-16 André Pönitz <poenitz@gmx.net>
3254 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3257 2003-09-16 Angus Leeming <leeming@lyx.org>
3259 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3261 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3264 * paragraph.h: remove #include "lyxfont.h". Forward declare
3267 2003-09-16 Angus Leeming <leeming@lyx.org>
3269 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3270 of support/textutils.h.
3271 (isWord): move the contents of support/textutils.h's IsWordChar here.
3277 * text2.C: add #include "paragraph.h".
3280 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3282 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3288 * LaTeX.C: use namespace alias for lyx::support::os
3290 2003-09-16 Angus Leeming <leeming@lyx.org>
3293 * bufferview_funcs.C:
3296 * paragraph_pimpl.C:
3298 * text.C: add #include "LColor.h".
3300 2003-09-16 Angus Leeming <leeming@lyx.org>
3302 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3303 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3305 Store the FontBits::color variable as an int rather than as an
3306 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3309 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3310 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3311 string calls together.
3313 * lyxrc.C: add #include "LColor.h".
3315 2003-09-15 Angus Leeming <leeming@lyx.org>
3317 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3320 2003-09-15 Angus Leeming <leeming@lyx.org>
3322 * LColor.h: add an EnumLColor wrapper for LColor::color.
3324 * lyxfont.[Ch] (color, setColor, realColor):
3325 * lyxtext.h, text.C (backgroundColor):
3326 pass EnumLColor args to/from the functions, rather than LColor::color
3330 * lyxtext.h: forward declare EnumLColor.
3332 * lyx_main.C: add #include "LColor.h".
3334 2003-09-15 Angus Leeming <leeming@lyx.org>
3336 * .cvsignore: add lyx-gtk.
3338 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3343 * ParagraphParameters.C
3347 * bufferview_funcs.C
3357 * vc-backend.C: remove usage of STRCONV
3359 2003-09-15 Angus Leeming <leeming@lyx.org>
3361 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3362 explicitly define the color passed to the painter.
3364 2003-09-15 Angus Leeming <leeming@lyx.org>
3366 * bufferparams.C (BufferParams): reorder member initializers to avoid
3369 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3371 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3372 * text.C (updateRowPositions): remove an unusual nop
3374 2003-09-12 André Pönitz <poenitz@gmx.net>
3376 * BufferView_pimpl.C:
3385 * Counters.[Ch]: finish the 'automatic counters' job
3387 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3389 * aspell.C: include <boost/assert.cpp> (compile fix)
3391 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3393 * boost.C (assertion_failed): use lyx::support::abort instead of
3396 2003-09-10 Angus Leeming <leeming@lyx.org>
3398 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3399 with their _fwd progeny.
3401 2003-09-09 Angus Leeming <leeming@lyx.org>
3403 134 files throughtout the source tree: replace 'using namespace abc;'
3404 directives with the appropriate 'using abc::xyz;' declarations.
3406 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3408 * boost.C (emergencyCleanup): moved here from LAssert.c
3409 (assertion_failed): new function, called by BOOST_ASSERT
3411 * several files: change Assert to BOOST_ASSERT
3413 2003-09-09 Angus Leeming <leeming@lyx.org>
3415 * buffer.[Ch]: Add an Impl class and move Buffer's member
3416 variables into it. As a result move several header files out of
3419 Add header files to lots of .C files all over the tree as a result.
3421 2003-09-09 Angus Leeming <leeming@lyx.org>
3423 * buffer.[Ch]: make Buffer's member variables private. Add
3426 Lots of changes all over the tree as a result.
3428 2003-09-08 Angus Leeming <leeming@lyx.org>
3430 * graph.C: #include <config.h>.
3432 2003-09-08 Angus Leeming <leeming@lyx.org>
3436 * BufferView_pimpl.C:
3465 * toc.C: remove redundant using directives.
3467 2003-09-07 Angus Leeming <leeming@lyx.org>
3469 * LaTeXFeatures.h: remove #include "support/types.h".
3470 * ToolbarBackend.h: remove #include <algorithm>.
3471 * changes.h: remove #include <ctime>.
3472 * debug.h: remove #include <iosfwd>.
3473 * graph.h: remove #include "support/std_string.h".
3474 * lyx_main.h: remove #include <csignal>.
3475 * lyxlex_pimpl.h: remove #include <fstream>.
3476 * sgml.h: remove #include <algorithm>, <utility>.
3477 * toc.h: remove #include "support/std_ostream.h".
3478 Add #include <iosfwd>.
3480 2003-09-07 Angus Leeming <leeming@lyx.org>
3482 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3484 * converter.h: forward declare LatexRunParams.
3485 * encoding.h: remove #include "lyxrc.h".
3486 * lyxtext.h: remove #include "LColor.h".
3487 * lyxtextclass.h: remove #include "support/types.h".
3488 * trans.h: remove #include "tex-accent.h".
3489 * trans_mgr.h: remove #include "tex-accent.h".
3490 * insets/inset.h: remove #include "support/types.h", <vector>.
3491 * insets/insetcollapsable.h: remove #include "LColor.h".
3492 * insets/insetinclude.h: remove #include "dimension.h".
3493 * insets/insetlatexaccent.h: remove #include "dimension.h".
3494 * insets/insetoptarg.h:: remove #include "insettext.h".
3495 * insets/insettext.h: remove #include "dimension.h",
3496 <boost/shared_ptr.hpp>
3498 * insets/renderers.h: add #include "dimension.h".
3499 * insets/updatableinset.h: add #include "support/types.h".
3501 * many .C files: Associated changes.
3503 2003-09-06 Angus Leeming <leeming@lyx.org>
3505 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3506 one, inside testInvariant.
3508 * PrinterParams.C: new file.
3509 * PrinterParams.[Ch]: move the function bodies out of line.
3511 2003-09-06 Angus Leeming <leeming@lyx.org>
3513 * ParagraphParameters.h: forward declare ParameterStruct rather than
3514 including its header file.
3515 (depth): moved out-of-line.
3517 2003-09-06 Angus Leeming <leeming@lyx.org>
3519 * BufferView_pimpl.h:
3522 * lyxfunc.h: forward declare LyXKeySym rather than
3523 #include "frontends/LyXKeySym.h".
3525 * BufferView_pimpl.C:
3528 * lyxfunc.C: associated changes.
3530 2003-09-06 Angus Leeming <leeming@lyx.org>
3532 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3533 As a result, can remove the #include "insets/inset.h" from BufferView.h
3535 2003-09-06 Angus Leeming <leeming@lyx.org>
3537 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3538 As a result, can remove the #include "insets/inset.h" from BufferView.h
3540 2003-09-06 Angus Leeming <leeming@lyx.org>
3546 * bufferview_funcs.C:
3547 * BufferView_pimpl.C:
3552 * ParagraphParameters.C:
3557 * frontends/controllers/ControlDocument.C:
3558 * insets/insetcaption.C: rearrange the #includes into some sort of
3561 * buffer.h: remove #includes ErrorList.h, undo.h
3563 2003-09-06 Angus Leeming <leeming@lyx.org>
3565 * support/types.h: add a 'depth_type' typedef, used to store the
3566 nesting depth of a paragraph.
3569 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3570 defining explicitly.
3573 * paragraph_funcs.h:
3574 * ParagraphParameters.h:
3575 * sgml.h: use lyx::depth_type rather than Paragraph or
3576 ParameterStruct's depth_type.
3579 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3582 * BufferView_pimpl.C:
3584 * ParagraphParameters.C:
3587 * bufferview_funcs.C:
3594 * frontends/LyXView.C:
3595 * frontends/controllers/ControlDocument.C:
3596 * frontends/controllers/ControlErrorList.C:
3597 * insets/insetbibitem.C:
3598 * insets/insetbranch.C:
3599 * insets/insetcaption.C:
3600 * insets/insetcollapsable.C:
3601 * insets/insetenv.C:
3602 * insets/insetert.C:
3603 * insets/insetfloat.C:
3604 * insets/insetfoot.C:
3605 * insets/insetfootlike.C:
3606 * insets/insetnewline.C:
3607 * insets/insetquotes.C:
3608 * insets/insettabular.C:
3609 * insets/insettext.C:
3610 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3612 * frontends/controllers/ControlChanges.C: #include "changes.h".
3614 2003-09-06 Angus Leeming <leeming@lyx.org>
3616 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3617 than #including paragraph.h.
3620 * RowList.h: deleted. Superfluous.
3630 * insets/insettext.h: use ParagraphList_fwd.h rather than
3633 * paragraph.h: don't forward declare ParagraphList.
3636 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3637 rather than ParagraphList.h. paragraph.h is still needed for the
3638 Paragraph::depth_type parameters.
3640 * textcursor.h: enable it to compile stand-alone in light of the
3643 * bufferview_funcs.C:
3655 * frontends/controllers/ControlParagraph.C:
3656 * frontends/controllers/ControlTabular.C:
3657 * insets/insetmarginal.C:
3658 * insets/insetminipage.C:
3659 * insets/insetnote.C:
3660 * insets/insetoptarg.C: add header files needed to compile again.
3662 2003-09-06 Angus Leeming <leeming@lyx.org>
3664 * RowList_fwd.h: new file, forward-declaring Row rather than
3665 #including lyxrow.h.
3670 * insets/insettext.h: use it instead of RowList.h
3672 * bufferview_funcs.C:
3679 * text3.C: #include "RowList.h".
3681 2003-09-05 Angus Leeming <leeming@lyx.org>
3683 * factory.C (createInset):
3684 * vspace.C (c-tor): replace sscanf call with an istringstream.
3685 * ispell.C: re-add missing HP/UX headers.
3686 * lyxserver.C: re-add missing os2 headers.
3688 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3697 * text3.C: re-add missing system headers, needed for 2.95.2.
3699 2003-09-05 Angus Leeming <leeming@lyx.org>
3701 Changes most place everywhere due to the removal of using directives
3702 from support/std_sstream.h.
3704 2003-09-05 Angus Leeming <leeming@lyx.org>
3706 Replace LString.h with support/std_string.h,
3707 Lsstream.h with support/std_sstream.h,
3708 support/LIstream.h with support/std_istream.h,
3709 support/LOstream.h with support/std_ostream.h.
3711 Changes resulting throughout the tree.
3713 2003-09-05 Angus Leeming <leeming@lyx.org>
3715 * sgml.h: ensure that the header file can be compiled stand-alone.
3716 * *.C: strip out redundant #includes. (320 in total.)
3718 2003-09-04 Angus Leeming <leeming@lyx.org>
3720 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3721 here (from getPackages).
3723 * debug.[Ch]: add a new EXTERNAL tag.
3725 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3727 * text2.C (cursorEnd): simplify
3729 (getColumnNearX): adjust
3731 * text.C (computeBidiTables): adjust
3734 * rowpainter.C (paintChars): adjust
3735 (paintSelection): adjust
3736 (paintChangeBar): adjust
3739 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3741 (numberOfSeparators): adjust
3743 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3749 * text3.C: Restricts the mouse click functionality
3750 of insets like bibtex, include, toc and floatlist to the visible
3751 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3752 up the dialogs. Cursor has to be in front of the inset (i.e.
3753 start of row) for this to function.
3755 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3757 * bufferview_funcs.C (currentState): output row information
3759 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3761 * bufferview_funcs.C (currentState): output paragraph position
3763 2003-09-04 Angus Leeming <leeming@lyx.org>
3765 * FloatList.h: move out #include "Floating.h".
3766 * LaTeX.h: move out #include "DepTable.h".
3767 * LyXAction.h: move out #include "funcrequest.h".
3768 * buffer.h: move out #include "author.h", "iterators.h".
3769 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3770 * lyx_main.h: move out #include "errorlist.h".
3771 * lyxfunc.h: move out #include "FuncStatus.h".
3772 * lyxtext: move out #include "lyxcursor.h".
3773 * paragraph_pimpl.h: move out #include "counters.h".
3775 2003-09-03 Angus Leeming <leeming@lyx.org>
3777 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3778 preamble_snippets list, enabling us to add snippets to the preamble
3779 only if the snippet was not there already.
3781 2003-09-04 Angus Leeming <leeming@lyx.org>
3783 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3785 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3787 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3790 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3792 * BranchList.C: point fix, earlier forgotten
3794 2003-09-02 Angus Leeming <leeming@lyx.org>
3796 * box.C (contains): renamed from 'contained' after a fantastic
3799 2003-09-02 John Levon <levon@movementarian.org>
3805 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3807 2003-09-02 John Levon <levon@movementarian.org>
3809 * text2.C: simplification of cursorEnd(), including partial
3812 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3814 * buffer.C (readFile): add a space
3816 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3818 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3820 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * buffer.C (readFile): new function, take a filename and a
3823 ParagraphList::iterator
3825 (readFile): adjust, make it private. don't use setStream, make
3826 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3827 always contain the filename.
3829 * BufferView.C (insertLyXFile): simplify and make it work for
3832 2003-08-30 John Levon <levon@movementarian.org>
3834 * Makefile.am: fix dist (from Kayvan)
3836 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * most files: change to use const Buffer refs
3840 2003-08-27 André Pönitz <poenitz@gmx.net>
3842 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3843 on top of ownerPar().
3845 2003-08-27 John Levon <levon@movementarian.org>
3847 * funcrequest.C: properly initialise POD members
3849 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3851 * lyxtext.h (top_y): move top_y from here
3856 * BufferView_pimpl.[Ch]: to here
3857 * frontends/screen.C:
3858 * insets/insettabular.C:
3859 * insets/insettext.C: adjust
3860 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3862 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3865 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3867 2003-08-26 André Pönitz <poenitz@gmx.net>
3869 * paragraph_func.[Ch] (outerPar): new function
3872 * paragraph_funcs.C:
3873 * paragraph_funcs.h:
3874 * paragraph_pimpl.C:
3875 * text2.C: remove Inset::par_owner
3877 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3882 * text2.C: eliminates the needFullRow/display() stuff
3883 altogether, putting the logic in metrics/draw in the insets.
3885 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3887 * text2.C (redoParagraphInternal, redoParagraphs):
3888 * text.C (redoParagraph): add a call to updateRowPositions at the
3889 end of each 'metrics-like' call. Remove all others.
3890 (getRow): remove the 'y-computing' version.
3891 (getRowNearY): do not compute nor return the real y. Solve the
3892 'y < 0' problem and simplify.
3894 2003-08-22 Angus Leeming <leeming@lyx.org>
3896 * *.[Ch]: clean-up of licence and author blurbs.
3897 Also move config.h out of a few .h files and into a few .C files.
3899 2003-08-22 André Pönitz <poenitz@gmx.net>
3901 * lyxrow.[Ch]: add x_ and *fill_ members
3906 * text2.C: adjust/remove prepareToPrint() calls
3908 2003-08-22 André Pönitz <poenitz@gmx.net>
3910 * lyxrow.[Ch]: add end_ member
3912 * lyxrow_funcs.C: use LyXRow::end_
3914 * lyxtext.h (singleWidth): add LyXFont parameter
3917 * text2.C: adjust LyXText::singleWidth() calls
3919 * text.C (redoParagraph): simplify row breaking logic
3922 2003-08-19 André Pönitz <poenitz@gmx.net>
3924 * funcrequest.C: initialize button_ member
3927 * rowpainter.[Ch]: interface consolidation
3929 2003-08-18 André Pönitz <poenitz@gmx.net>
3932 * BufferView_pimpl.C:
3934 * paragraph_funcs.C:
3936 * text3.C: remove LyXScreen::draw() and fitCursor calls
3938 * BranchList.h: remove spurious semicolons
3940 * MenuBackend.C: fix branchlist related crash
3942 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3950 * bufferparams.[Ch]:
3954 * text3.C: implements the 'branch inset'
3955 idea. This allows the output of various versions of a document
3956 from a single source version, selectively outputing or suppressing
3957 output of parts of the text.
3958 This implementation contains a 'branch list editor' in a separate
3959 tab of the document settings dialog. Branches are user definable
3960 and have a "display colour" to distinguish them on-screen.
3962 ColorHandler was somewhat cleaned up.
3963 (1) make possible a dynamically growing LColor list by allowing
3964 the graphic context cache to grow along (vector);
3965 (2) eliminate an IMHO unnecessary step in colour allocation.
3967 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3969 * BufferView_pimpl.C: compile fix
3971 2003-08-15 André Pönitz <poenitz@gmx.net>
3973 * rowpainter.C: remove extra metrics calls
3975 * lyxtext.h: merge the two constructors into a single one,
3976 pass reference to owner's par list
3978 * BufferView_pimpl.C:
3982 2003-08-15 André Pönitz <poenitz@gmx.net>
3984 * lyxrow_funcs.[Ch]:
3987 * paragraph_funcs.C:
3992 * text_funcs.C: split LyXText::rowlist_ into individual
3993 Paragraph::rows_ chunks
3996 * BufferView_pimpl.[Ch]:
3999 * text3.C: remove toggleSelection()
4001 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4003 * bufferlist.C: beautify two alerts (shorter text of buttons)
4004 * buffer.C: Remove redundant ' ' from message
4006 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4007 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4008 rename VALIGN_CENTER to VALIGN_MIDDLE
4010 2003-08-11 André Pönitz <poenitz@gmx.net>
4012 * lyxtext.h (getPar):
4013 * text.C: new function
4015 2003-08-11 André Pönitz <poenitz@gmx.net>
4018 * tracer.[Ch]: remove unneeded files
4020 * InsetList.[Ch]: remove resizeInsetsLyXText()
4025 * text3.C: merge insertParagraphs() and appendParagraph()
4026 remove breakAgain(), update()
4028 * BufferView_pimpl.[Ch]:
4029 * bufferview_funcs.[Ch]:
4033 * tabular.C: adjust after text & InsetList changes.
4035 2003-08-08 André Pönitz <poenitz@gmx.net>
4037 * text.C (insertChar, backspace): replace rowlist fiddling
4038 with rebreak of full par
4041 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4042 checkParagraph, updateInset): removed
4044 2003-08-07 André Pönitz <poenitz@gmx.net>
4047 * text3.C: merge some LFUN handlers, remove dead code
4049 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4051 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4053 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4055 * text2.C (DEPM): fix part of bug 1255 and 1256
4057 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4059 * BufferView_pimpl.C (workAreaDispatch): change to use
4060 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4061 that are no mouse related.
4063 2003-08-05 André Pönitz <poenitz@gmx.net>
4066 * BufferView_pimpl.[Ch]:
4067 * bufferview_funcs.C:
4069 * text3.C: rip out "deep update"
4071 * textcursor.[Ch] (last_sel_cursor): remove unused member
4073 2003-08-04 André Pönitz <poenitz@gmx.net>
4076 * BufferView_pimpl.[Ch]:
4077 * ParagraphParameters.C:
4078 * bufferview_funcs.C:
4084 * text3.C: replace "complicated" BufferView::update(...) calls with
4087 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4089 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4091 * Makefile.am (lyx_SOURCES): add paper.h
4093 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4095 * Makefile.am: move things around so that both lyx-qt and
4096 lyx-xforms can be built (according to --with-frontend). Then lyx
4097 is a symbolic link to lyx-[firstfrontend]
4099 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4101 * Always use std::endl with lyxerr
4103 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4105 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4107 2003-08-01 André Pönitz <poenitz@gmx.net>
4110 * BufferView_pimpl.[Ch]:
4112 * text3.C: merge BufferView::repaint() and BufferView::update()
4114 2003-08-01 José Matos <jamatos@lyx.org>
4116 * buffer.[Ch]: file_format is no longer a buffer data element.
4118 2003-08-01 André Pönitz <poenitz@gmx.net>
4123 * text2.C: make redoParagraph more independent of current cursor
4125 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4127 * text2.C: remove unneeded members
4129 2003-07-30 André Pönitz <poenitz@gmx.net>
4131 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4133 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4134 create a single function...
4136 * paragraph_funcs.C (moveItem): ... here.
4139 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4141 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4143 * LColor.[Ch]: Add comment and greyedout logical colors.
4145 2003-07-30 André Pönitz <poenitz@gmx.net>
4147 * tabular.C: don't use Assert too heavily. This crashes where it
4150 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4152 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4153 is disabled (bug 1232)
4155 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4157 * factory.C: limited 'arg' scope
4159 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4161 * factory.C: fixed Note submenu issues
4163 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4165 * factory.C: submenu for Note/Comment/Greyedout
4167 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4170 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4172 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4175 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4176 greyedout. Patch provided by Jürgen Spitzmüller.
4178 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4180 * kbmap.C (read): fix error message when reading bind files
4182 2003-07-29 Angus Leeming <leeming@lyx.org>
4184 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4185 certainly does not do what it purports to do. I am doing it, and
4186 us, a favour by killing it.
4188 2003-07-28 José Matos <jamatos@lyx.org>
4190 * buffer.C (readBody, do_writeFile):
4191 * paragraph.C(readParagraph): \end_document replaces \the_end.
4193 2003-07-29 André Pönitz <poenitz@gmx.net>
4196 * BufferView_pimpl.[Ch]:
4200 * textcursor.[Ch]: remove toggleToggle & Co
4202 2003-07-28 José Matos <jamatos@fep.up.pt>
4204 * buffer.C (readParagraph):
4205 * params_func (readParToken, readParagraph):
4206 * paragraph.C (write): \layout -> \begin_layout.
4208 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4210 * lyxlex_pimpl.C (setFile): clean up slightly.
4212 * bufferparams.h: add compressed var
4214 * buffer_funcs.C (readFile): adjust for LyXLex change
4215 (newFile): ditto + simplify
4217 * buffer.C (writeFile): handle writing of compressed files
4219 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4220 Check if the file is compressed and set a bufferparm if so.
4222 * Makefile.am (lyx_LDADD): remove explicit -lz
4224 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4226 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4227 makeDocBookFile): put the real LyX version in the first line of
4231 * version.C.in: remove lyx_docversion
4233 * tabular.C (write_attribute): add a template-based version to
4234 write enums properly
4236 2003-07-28 André Pönitz <poenitz@gmx.net>
4241 * text3.C: use doubles again for x-coordinates. They are needed.
4243 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4245 * messages.C (getLocaleDir): use lyx_localedir()
4247 * lyxlex_pimpl.C (setFile): compress stuff
4249 * buffer.C (writeFile): add some compression stuff
4250 (do_writeFile): new func, dont call expliti close... will this
4253 * Makefile.am (lyx_LDADD): add -lz
4255 2003-07-28 José Matos <jamatos@fep.up.pt>
4257 * buffer.C: increment file format.
4258 * paragraph_funcs (readParagraph, readParToken):
4259 * paragraph.C (readParagraph): add \end_layout.
4261 2003-07-27 Angus Leeming <leeming@lyx.org>
4263 * Makefile.am: remove special casing for configure-time setting of
4264 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4266 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4267 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4269 2003-07-26 André Pönitz <poenitz@gmx.net>
4271 * paragraph_func.[Ch]:
4272 * paragraph.C (realizeFont): inline it whereever it is used
4277 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4280 2003-07-26 André Pönitz <poenitz@gmx.net>
4284 * text2.C: get rid of LyXText::need_break_row
4286 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4288 * toc.[Ch]: put namespace toc inside namespace lyx
4290 * MenuBackend.C (expandToc2): adjust for lyx::toc
4293 * lyxfunc.C (dispatch): adjust for lyx::find
4295 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4296 lyx::find instead. Reorganize a bit.
4297 (LyXReplace): rename to replace
4298 (LyXFind): rename to find
4300 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4303 2003-07-26 André Pönitz <poenitz@gmx.net>
4305 * text.C (setHeightOfRow): restrict scope of temporary variable
4307 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4308 code (never has been used?)
4310 2003-07-27 Asger Alstrup <alstrup@local>
4312 * text.C (fill): Optimise algorithm to exploit that we can reuse
4313 the LyXFont for many characters.
4314 (setHeightOfRow): Same thing.
4315 (rowBreakPoint): Same thing.
4317 2003-07-26 Asger Alstrup <alstrup@local>
4319 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4321 * text.C (singleWidth): Spurious font copying in hot-spot
4322 singleWidth avoided. Reorder tests for arabic for efficiency.
4324 * text.C (fill): handle empty paragraphs better.
4326 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4329 * encoding.h: add includes
4331 * lyxrc.C: remove reading of bind files
4333 * lyx_main.C (init): setup bindings and menus only if we have a
4336 * kbmap.C (read): new method. Do the actual reading of bind
4339 * converter.C (dvipdfm_options):
4342 (output): adapt PAPER_* enums.
4344 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4346 * bufferparams.h: remove paper-related enums from there
4348 * paper.h: New file. A trivial header file to hold paper-related
4349 enums. It should later expand to contain many paper-related
4352 * lyxrc.C: declare extern displayTranslator
4354 2003-07-27 José Matos <jamatos@fep.up.pt>
4356 * tabular.[Ch] (linuxdoc): add support for tables and figures
4359 2003-07-27 José Matos <jamatos@fep.up.pt>
4361 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4362 consistency in both functions.
4363 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4365 2003-07-26 Asger Alstrup <alstrup@local>
4367 * rowpainter.C (paintRows): Change algorithm to work directly on
4368 the insets rather than asking every character in the document
4369 whether its an inset.
4371 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4373 * buffer.C (openFileWrite): factorize some code
4375 2003-07-26 Angus Leeming <leeming@lyx.org>
4378 * lyx_main.[Ch]: replace occurances of system_tempdir with
4381 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * rename Inset to InsetOld
4385 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4387 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4388 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4389 which I think is a bit clearer. EDIT is gone, since it was
4390 premature optimisation, and broken for mathed anyway.
4391 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4392 with cursor positioning in insets as well (math insets still do not
4393 work, but that's a different story anyway.) It mysteriously
4394 crashes sometimes with undo in the first paragraph, but I'm fairly
4395 confident that this is a compiler bug.
4397 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4399 * paragraph.C (Paragraph): adjust for new clone return type
4401 (copyIntoMinibuffer): ditto
4403 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4405 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4406 by not having a special case, and always doing a full rebreak of
4407 the document after undo.
4409 2003-07-23 Angus Leeming <leeming@lyx.org>
4411 * factory.C (createInset): InsetExternal::setParams now takes a
4414 2003-07-23 Angus Leeming <leeming@lyx.org>
4416 * factory.C (createInset): changed interface to the external and
4417 graphics mailers' string2params functions.
4419 2003-07-23 Angus Leeming <leeming@lyx.org>
4421 * factory.C (createInset): pass a
4422 Buffer const * parameter to InsetExternalMailer's string2params.
4424 2003-07-22 John Levon <levon@movementarian.org>
4426 * Thesaurus.h: include the right aiksaurus header
4428 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4430 * MenuBackend.C (expand): check menu shortcuts unconditionally
4432 2003-07-21 Angus Leeming <leeming@lyx.org>
4434 * factory.C (createInset): pass a
4435 buffer_path parameter to InsetGraphicsMailer's string2params.
4437 2003-07-21 Angus Leeming <leeming@lyx.org>
4439 * BufferView_pimpl.C (buffer):
4442 * lyxfunc.C (dispatch):
4443 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4444 rather than the grfx shortcut.
4446 2003-07-21 André Pönitz <poenitz@gmx.net>
4448 * rowpainter.C: remove unused variables
4451 * tabular_funcs.h: move to tabular.C
4452 * Makefile.am: adjust
4454 * tabular.[Ch]: basic optical cleaning
4456 * author.h: pass references, not values
4458 2003-07-18 André Pönitz <poenitz@gmx.net>
4466 * text3.C: two-phase drawing for InsetText and InsetTabular
4467 some float -> int changes.
4469 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4471 * lyx_main.C: fix the fix
4473 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4475 * lyx_main.C: fix a crash in batch mode if no files specified
4478 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4480 * format.[Ch] (papersize): moved to BufferParams
4481 * converter.[Ch] (dvips_options): moved to BufferParams
4482 (dvipdfm_options): moved to anon namespace
4483 * bufferparams.[Ch]: added above functions.
4485 2003-07-17 André Pönitz <poenitz@gmx.net>
4489 * text2.C: don't call inset->update() anymore
4491 * metricsinfo.[Ch]: add convenience constructor
4493 2003-07-16 André Pönitz <poenitz@gmx.net>
4498 * text2.C: replace the LyXCursor::irow_ member with
4499 on-demand computation of the value
4501 2003-07-16 John Levon <levon@movementarian.org>
4503 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4505 2003-07-15 André Pönitz <poenitz@gmx.net>
4508 * text2.C: remove no more needed refresh_row
4510 2003-07-15 André Pönitz <poenitz@gmx.net>
4515 * text3.C: refresh_status tristate -> need_update bool
4517 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4519 * lyxtext.h (init): remove reinit argument (act as if always true)
4520 * text2.C: adjust to that
4522 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4524 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4525 * text3.C: use it to delete selections in some cases
4526 (bugs 441, 673, 702, 954).
4528 2003-07-14 André Pönitz <poenitz@gmx.net>
4530 * rowpainter.[Ch]: reduce interface
4532 2003-07-14 André Pönitz <poenitz@gmx.net>
4534 * BufferView_pimpl.C:
4535 * text2.C: adjust after removing unused BufferView * argument
4537 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4539 * text2.C (init): fix a crash fired on resize
4541 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4543 * buffer.[Ch]: added new closing signal
4544 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4545 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4546 BufferView::Pimpl via the closing the signal
4548 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4550 * buffer.[Ch]: take out all bv-related from buffer
4552 * BufferView_pimpl.[Ch]: connect to new signals
4553 * CutAndPaste.C: removed useless asserts
4554 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4557 * lyxfunc.C: moved view-related funciontality from vc here
4558 * paragraph.C: removed outdated comments
4561 2003-07-10 André Pönitz <poenitz@gmx.net>
4563 * BufferView_pimpl.C:
4567 * text2.C: remove InsetText::InnerCache, clean up consequences
4569 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4571 * ispell.C: fix two typos in error messages
4573 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4575 * Extend Note inset to other forms of annotation like Comment
4576 and Greyedout. Right button click gives dialog.
4578 Files modified or added (+):
4582 * ControlNote.[Ch] +
4584 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4585 frontends/controllers
4589 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4591 * aspell.C: add missing namespace lyx::support
4593 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4595 * BufferView.[Ch] (newFile): Add
4596 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4597 * LaTeX.[Ch] (message): added this signal and use it
4598 * buffer.[Ch] (busy, message): added these signals and use them
4599 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4603 * importer.C: use buffer signals instead of direct bv calling
4604 * lyx_cb.[Ch] (ShowMessage): removed
4607 * paragraph_funcs.C:
4608 * text2.C: use buffer signals
4610 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4612 * introduce namespace lyx::graphics
4614 2003-07-02 André Pönitz <poenitz@gmx.net>
4616 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4618 2003-07-01 André Pönitz <poenitz@gmx.net>
4625 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4626 text*.C to text_func.C
4628 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4630 * introduce namespace lyx::support
4632 2003-06-30 André Pönitz <poenitz@gmx.net>
4637 * text.C: re-enable --with-included-string
4639 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4641 * textcursor.C: add <config.h>
4643 * text.C (getWord): remove const from word_location arg
4645 * lyxvc.C (getLogFile): fix const type order
4647 * lyxtext.h: remove const from word_location arg, add arg name
4649 * lyxlayout.h: currect type on labeltype.
4651 * importer.C: correct \file
4653 * converter.C (intToFormat): use std:: on ret val, ws changes
4655 * bufferlist.h: correct \file
4657 * buffer.C (makeLinuxDocFile): fix const type order
4658 (makeDocBookFile): ditto
4659 (fillWithBibKeys): use std:: on stdlib args.
4661 * CutAndPaste.C: fix authors.
4662 (availableSelections): use std:: on return vector
4664 2003-06-27 André Pönitz <poenitz@gmx.net>
4666 * BufferView_pimpl.C:
4667 * bufferview_funcs.C:
4675 * text3.C: remove LyXCursor::row_ member
4678 * text.C: rename fullRebreak() to partialRebreak() and implement
4679 a fullRebreak() that really bereks fully
4681 * textcursor.h: new struct for cursor-related data
4683 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4685 * lyx_main.C (LyX): get full path of document loaded on the
4688 2003-06-26 André Pönitz <poenitz@gmx.net>
4690 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4691 remove unused/broken operator>,<,>=.
4693 * text.C: remove only use of broken operator<= in an Assert().
4695 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4697 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4698 moved errorlist_.clear to showErrorList
4700 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4702 * converter.C (scanLog, runLaTeX):
4703 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4704 move the bv->showErrorList call to the callers
4705 * lyxfunc.C: i.e. here...
4707 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4708 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4709 namespace, the second to...
4710 * buffer_funcs (BufferFormat, parseErrors): added
4711 * errorlist.C (ErrorList(TeXErrors const &)): removed
4713 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4715 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4717 2003-06-24 "Garst R. Reese" <reese@isn.net>
4721 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4723 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4725 * version.C.in: change docversion to 1.4
4727 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4729 * buffer.C: fix a bug just introduced
4731 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4733 * buffer.[Ch]: added the parseError signal and use it, removed
4735 * BufferView.[Ch] (addError): moved to ...
4736 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4737 to the Buffer::parseError signal to catch (guess what) parse errors
4738 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4740 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4742 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4743 ability to create a buffer and to return an existing one from
4744 the list. Moved these functions to...
4745 * buffer_funcs.[Ch]: added
4746 * BufferView.[Ch] (loadLyXFile): added
4747 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4748 job removed from bufferlist::loadLyXFile.
4749 * buffer.C (setReadOnly): make it work without view
4750 (i.e added an if (users))
4752 2003-06-19 Angus Leeming <leeming@lyx.org>
4755 * LyXAction.C (init):
4756 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4757 with LFUN_DIALOG_SHOW <name> <data>.
4759 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4761 * CutAndPaste.C (availableSelections): small compilation fix for
4762 ancient (gcc 2.9x) compilers
4764 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4766 * text3.C (cursorNext): add tmp var
4768 * text2.C (updateCounters): for function calling out of for clause
4769 (replaceSelectionWithString): ditto
4770 (insertStringAsParagraphs): ditto
4771 (getColumnNearX): add tmp var
4772 (setCursorFromCoordinates): add tmp var
4773 (cursorDownParagraph): add tmp var
4774 (deleteEmptyParagraphMechanism): add tmp var
4776 * text.C (insertChar): add tmp var
4778 * rowpainter.C (paintDepthBar): add tmp var
4780 * CutAndPaste.C (availableSelections): potentially check all
4781 paragraphs in a cut to fill the shown strings.
4783 2003-06-18 André Pönitz <poenitz@gmx.net>
4785 * kbmap.[Ch]: use vector<> instead of list<>
4787 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4789 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4790 pasteSelection with index
4792 * text2.C (pasteSelection): modify, call pasteSelection with index
4794 * paragraph.C (asString): reimplement version with no interval to
4795 call the one with interval.
4797 * lyxtext.h: add index arg to pasteSelection
4799 * MenuBackend.C (MenuItem): handle PasteRecent
4800 (Menu::read::Menutags): add md_pasterecent
4802 (expandPasteRecent): new function
4805 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4807 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4809 (availableSelections): new function
4811 2003-06-17 Angus Leeming <leeming@lyx.org>
4813 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4815 2003-06-17 Angus Leeming <leeming@lyx.org>
4818 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4820 * lyxfunc.C (dispatch): invoke it.
4822 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4824 * iterators.C (operator++, ParPosition): reintroduce some
4825 const_cast for the benefit of older compilers.
4827 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4829 * text3.C (dispatch): do not modify clipboard when doing
4830 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4831 LFUN_DELETE_SKIP on a selection selection
4833 2003-06-16 André Pönitz <poenitz@gmx.net>
4839 * tabular.[Ch]: IU of clone() and getLabelList();
4841 2003-06-13 André Pönitz <poenitz@gmx.net>
4843 * tabular.h: compactification
4845 2003-06-12 André Pönitz <poenitz@gmx.net>
4849 * tabular_funcs.h: some renaming plus whitespace
4851 2003-06-12 André Pönitz <poenitz@gmx.net>
4854 * BufferView_pimpl.C:
4860 * toc.C: Return a Paragraph & for ParIterator::operator*()
4862 2003-06-11 John Levon <levon@movementarian.org>
4866 * ToolbarBackend.C: add "Toolbars" section and
4869 2003-06-10 Angus Leeming <leeming@lyx.org>
4872 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4874 * lyxfunc.C (dispatch): invoke it.
4876 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4878 * main.C: protect <ios> with HAVE_IOS
4879 (main): protect sync_with_stdio with HAVE_IOS
4881 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4883 * text2.C (cutSelection): adjust
4884 (pasteSelection): adjust
4886 * messages.C: handle get of empty string
4888 * main.C (main): use sync_with_stdio(false)
4890 * lyxfunc.C (dispatch): adjust
4892 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4893 (WriteAs): remove unneeded BufferView arg.
4895 * bufferparams.h: use correct types on papersize, papersize2 and
4898 * bufferparams.C (readToken): adjust for type
4899 (writeLaTeX): add missing cases to switch.
4901 * bufferlist.C (quitWriteBuffer): adjust
4904 * buffer.C (asciiParagraph): remove some commented code.
4906 * CutAndPaste.C: remove current_view extern variable.
4907 (cutSelection): add BufferParams arg.
4908 (eraseSelection): add BufferParams arg.
4909 (pasteSelection): add Buffer const & arg
4911 2003-06-07 John Levon <levon@movementarian.org>
4914 * paragraph_funcs.C:
4915 * paragraph_pimpl.C:
4919 * paragraph.C: allow InsetERT to freely space lines,
4920 and some consolidation of code
4922 2003-06-06 José Matos <jamatos@fep.up.pt>
4924 * buffer.C (makeDocBookFile): fix bug #821
4926 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4928 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4930 2003-06-04 Angus Leeming <leeming@lyx.org>
4932 * buffer.C: bump format to 224.
4934 2003-06-05 André Pönitz <poenitz@gmx.net>
4936 * text2.C (redoParagraphs): remove two const_cast<>
4938 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4940 * ParagraphList.h: remove last remnants of NO_STD_LIST
4942 2003-06-03 Angus Leeming <leeming@lyx.org>
4944 * factory.C (createInset): small change to the way InsetExternal's params
4947 2003-06-04 André Pönitz <poenitz@gmx.net>
4949 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4951 * paragraph_pimpl.h:
4952 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4954 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4956 * undo_funcs.C: make some simple cases of undo work again
4958 2003-06-03 John Levon <levon@movementarian.org>
4960 * ispell.C: HPUX doesn't have sys/select.h
4963 2003-06-03 John Levon <levon@movementarian.org>
4965 * CutAndPaste.C: update tabular and include inset
4970 * paragraph.C: remove owningBuffer(), don't pass Buffer
4973 * factory.C: insetGraphicsParams changed
4975 2003-06-02 John Levon <levon@movementarian.org>
4981 * text3.C: remove insetparent
4983 2003-06-02 John Levon <levon@movementarian.org>
4986 * buffer.C: fix inset_iterator.end(), move out of line
4989 2003-06-01 John Levon <levon@movementarian.org>
4991 * text3.C: use a proper cut/paste when doing inset
4992 insert (from Jürgen Spitzmüller)
4994 2003-06-01 John Levon <levon@movementarian.org>
4996 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4998 2003-05-30 André Pönitz <poenitz@gmx.net>
5000 * rowpainter.C: unify second drawing phase
5002 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5004 * trans_mgr.C: remove one case of current_view
5006 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5008 * paragraph_funcs.h: remove paragraph.h include
5010 * paragraph.h: delete NO_STD_LIST stuff
5012 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5014 * buffer.h: remove paragraph.h include
5016 * ParagraphList.C: delete file
5018 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5020 * toc.C (getTocList): adjust
5022 * paragraph_pimpl.C (validate): adjust
5024 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5026 * paragraph.C (Paragraph): adjust
5027 (getPositionOfInset): use const_iterator, adjust
5028 (bibitem): use const_iterator, adjust
5029 (setInsetOwner): adjust
5031 * iterators.C (operator++): adjust
5033 * InsetList.[Ch]: Replace selfmade iterator with standard
5034 vector::iterator also introduce const_iterator. Remove getPos,
5035 getInset and setInset from InsetTable. Adjust accordingly.
5037 * BufferView.C (lockInset): adjust
5038 (ChangeInsets): adjust
5040 * tabular.[Ch]: delete commented same_id functions
5042 2003-05-28 John Levon <levon@movementarian.org>
5044 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5046 2003-05-28 André Pönitz <poenitz@gmx.net>
5048 * metricsinfo.[Ch]: remove 'fullredraw' member
5050 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5052 * lyxtextclass.C (operator): remove caching.
5054 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5058 * text2.C (cursorBottom): adjust
5059 (setCounter): use ParagraphList::find, adjust
5061 * text.C (workWidth): use ParagraphList::find, adjust
5063 * lyxcursor.C (LyXCursor): adjust
5065 * buffer.C (inset_iterator): adjust
5067 * ParagraphList.h: make iterator(value_type) private, make
5068 ParagraphList a friend of iterator.
5070 * ParagraphList.C (find): new function
5072 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5074 2003-05-27 André Pönitz <poenitz@gmx.net>
5076 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5078 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5080 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5082 2003-05-26 John Levon <levon@movementarian.org>
5084 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5086 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5088 * remove same_id from function signatures, adjust.
5090 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5092 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5094 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5096 * paragraph.C (Paragraph): get rid of same_ids parameter
5098 * ParagraphList.C (insert): adjust
5101 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5103 * paragraph_funcs.C (breakParagraph): adjust
5104 (breakParagraphConservative): adjust
5106 * buffer.C (readParagraph): adjust
5108 * ParagraphList.C (insert): take a reference instead of a pointer
5111 * paragraph.[Ch] (id): new function
5113 * bufferlist.C (newFile): adjust
5115 * ParagraphList.C (ParagraphList): adjust
5117 (push_back): take a reference instead of a pointer.
5119 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5121 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5124 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5125 set else use old code.
5127 * ParagraphList.C: remove all NO_NEXT code and only compile this
5128 code of NO_STD_LIST is set.
5130 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5132 * BufferView_pimpl.C:
5142 * graphics/GraphicsConverter.C:
5143 * graphics/PreviewLoader.C: header adjustment
5145 2003-05-23 Angus Leeming <leeming@lyx.org>
5147 * LaTeXFeatures.[Ch] (useBabel): new method.
5148 * bufferparams.C (writeLaTeX): use it.
5150 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5152 * ParagraphList.h (set): remove unused function.
5154 2003-05-23 André Pönitz <poenitz@gmx.net>
5157 * BufferView_pimpl.C:
5161 * undo_funcs.C: setUndo reworked
5163 * iterators.[Ch]: add access to topmost ParagraphList
5165 * lyxtext.[Ch] (workWidth): add a const
5167 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5169 * texrow.[Ch] (increasePos): remove function
5170 * exporter.C (export): removed unused var and outdated comment
5172 2003-05-23 Angus Leeming <leeming@lyx.org>
5174 * latexrunparams.h: rename fragile as moving_arg.
5175 * paragraph.C (simpleTeXOnePar): ditto.
5176 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5178 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5182 (textUndoOrRedo): comment out a currently unused var.
5184 * paragraph.h (NO_NEXT): enable NO_NEXT
5186 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5188 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5190 * exporter.C (Export): adjust for removeAutoInsets removal.
5192 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5194 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5196 * BufferView.[Ch] (removeAutoInsets): delete function
5198 2003-05-22 Angus Leeming <leeming@lyx.org>
5200 * latexrunparams.h: add a free_spacing variable.
5202 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5203 to pass moving_arg, as the data is stored in runparams.fragile.
5205 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5206 to Inset::latexOptional or to simpleTeXOnePar.
5208 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5209 free_spacing arg to Inset::latexOptional.
5211 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5214 2003-05-22 Angus Leeming <leeming@lyx.org>
5216 * latexrunparams.h: add fragile and use_babel variables.
5218 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5219 * buffer.C (makeLaTeXFile): store this returned value in
5220 runparams.use_babel, thus passing it to the inset::latex methods.
5222 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5223 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5225 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5226 longer has a fragile arg, as it is stored in runparams.fragile.
5228 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5229 moving_arg parameter as the data is stored in runparams.fragile.
5231 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5232 a fragile parameter as the data is stored in runparams.fragile.
5234 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5236 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5238 2003-05-22 Angus Leeming <leeming@lyx.org>
5240 * latexrunparams.h: add a 'bool nice' which defaults to false.
5242 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5243 now encapsulated within runparams.
5245 * bufferlist.C (updateIncludedTeXfiles):
5246 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5248 2003-05-22 Angus Leeming <leeming@lyx.org>
5250 * latexrunparams.h: new file containing struct LatexRunParams.
5251 * Makefile.am: add new file.
5253 * LaTeX.[Ch] (c-tor, run):
5254 * buffer.[Ch] (makeLaTeXFile):
5255 * bufferlist.[Ch] (updateIncludedTeXfiles):
5256 * converter.C (convert, scanLog):
5257 * converter.[Ch] (runLaTeX):
5258 * exporter.C (Export):
5259 * paragraph.[Ch] (simpleTeXOnePar):
5260 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5261 * paragraph_funcs.[Ch] (latexParagraphs):
5262 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5263 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5264 pass around a LatexRunParams parameter.
5266 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5268 * paragraph.[Ch]: remove unused constructor
5270 * ParagraphList.C (erase): new function, taking two iterators
5272 2003-05-22 André Pönitz <poenitz@gmx.net>
5274 * undo_funcs.C: remove duplicated code
5276 * iterator.[Ch]: operator=
5278 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5280 * tabular.C (SetMultiColumn): ws changes
5282 * rowpainter.C (paintFirst): get rid of a ->previous
5284 * lyx_cb.C (getPossibleLabel): parlist simplification
5286 * BufferView.C (ChangeInsets): simplify slightly.
5288 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5290 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5291 * lfuns.h: new LFUN_SPACE
5292 * lyxfunc.C: protected space has a new lfun
5293 * paragraph_funcs.C: read new space insets
5295 * factory.C: handle new space insets
5297 2003-05-22 André Pönitz <poenitz@gmx.net>
5300 * BufferView_pimpl.C:
5303 * undo_funcs.C: return a ParIterator from getParFromID.
5305 * iterators.[Ch]: add two const's
5307 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5309 * toc.C (getTocList): adjust
5311 * iterators.[Ch]: rework for parlist
5313 * buffer.C (par_iterator_begin): adjust
5314 (par_iterator_end): adjust
5316 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5318 * BufferView.C (removeAutoInsets): adjust
5319 (ChangeInsets): adjust
5321 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5323 * text.C (top_y): fix bug 1110
5325 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5327 * errorlist.[Ch]: added
5330 * BufferView_pimpl.C:
5331 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5334 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5336 * Makefile.am: ensure that lyx is relinked upon changes to the
5337 various "convenience" libs.
5339 2003-05-20 Angus Leeming <leeming@lyx.org>
5341 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5342 files are compiled in alphabetical order again.
5344 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5346 2003-05-19 Angus Leeming <leeming@lyx.org>
5348 * gettext.[Ch]: remove "char const * _(char const *)".
5350 2003-05-19 André Pönitz <poenitz@gmx.net>
5352 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5361 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5363 2003-05-19 André Pönitz <poenitz@gmx.net>
5367 * lyxtextclass.[Ch]:
5369 * paragraph_funcs.[Ch]:
5371 * text3.C: more insetenv work
5373 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5375 * ParagraphParameters.C (params2string): small bug fixed
5377 2003-05-16 André Pönitz <poenitz@gmx.net>
5380 * bufferview_funcs.C: patch from Kornel Benko to prevent
5381 crash when _(...) is called twice in a statement
5383 2003-05-16 André Pönitz <poenitz@gmx.net>
5390 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5392 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5394 * lyx_main.C (init): remove spurious static_cast
5396 2003-05-14 André Pönitz <poenitz@gmx.net>
5398 * BufferView.C: fix format string
5400 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5402 * BufferView.[Ch] (insertErrors): removed
5403 * BufferView.[Ch] (showErrorList): added
5404 * buffer.C (runChkTeX):
5405 * converter.C (scanLog): call showErrorList instead of inserterrors
5407 2003-05-13 André Pönitz <poenitz@gmx.net>
5409 * BufferView_pimpl.C:
5411 * bufferview_func.C:
5418 * tabular_funcs.h: tostr() from its own header
5420 * ParagraphParameters.C:
5425 * text3.C: STRCONV()
5427 2003-05-12 André Pönitz <poenitz@gmx.net>
5430 * BufferView_pimpl.C:
5434 * ParagraphParameters.C:
5438 * bufferview_funcs.C:
5451 * paragraph_funcs.C:
5455 * text3.C: boost::format -> bformat all over the place
5458 2003-05-09 André Pönitz <poenitz@gmx.net>
5460 * LColor.[Ch]: Pimpl the #include <map> away
5462 2003-05-09 John Levon <levon@movementarian.org>
5464 * bufferlist.C: never remove emergency saves
5466 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5468 * Makefile.am: better lib building
5470 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5472 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5474 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5475 (simpleTeXSpecialChars): adjust
5476 (simpleTeXSpecialChars): adjust
5477 * paragraph.C (simpleTeXOnePar): adjust
5478 * buffer.C (makeLaTeXFile): adjust
5480 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5482 * text2.C (changeDepth): parlist cleanup
5483 (getColumnNearX): ditto
5485 * rowpainter.C (getLabelFont): parlist cleanup
5487 * bufferlist.C (newFile): parlist cleanup
5489 * CutAndPaste.C (eraseSelection): parlist cleanup
5491 * BufferView_pimpl.C (trackChanges): parlist cleanup
5494 * BufferView.C (lockInset): parlist cleanup.
5495 (ChangeInsets): ditto
5497 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5499 * CutAndPaste.h: Update file header.
5501 * CutAndPaste.C: Update file header.
5502 Store the parts cut out of the Document in a limited_stack.
5503 (copySelection): adjust
5504 (pasteSelection): new function, takes the index in the limited stack.
5505 (nrOfParagraphs): adjust
5506 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5507 simplify error inset insertion.
5508 (checkPastePossible): adjust
5510 2003-05-06 John Levon <levon@movementarian.org>
5512 * text2.C: don't cast wrap inset to float
5514 2003-05-05 André Pönitz <poenitz@gmx.net>
5517 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5519 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5520 few naked Paragraph *.
5522 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5524 * bufferparams.C: Output warning if a document with missing
5525 TeX document class is loaded
5526 * exporter.C: Disable TeX exports if the document class is missing
5529 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5530 isTeXClassAvailable()
5532 2003-05-03 John Levon <levon@movementarian.org>
5535 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5536 explicit cursor show/hide
5538 * BufferView_pimpl.h:
5539 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5540 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5542 * lyxfunc.C: hide cursor before dispatching.
5547 * text3.C: remove explicit cursor hides
5549 2003-05-02 André Pönitz <poenitz@gmx.net>
5551 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5554 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5557 * text2.C: tiny whitespace
5559 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * undo_funcs.C: almost only ws changes.
5563 * ParagraphList.C (splice): just return if pl is empty.
5565 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5567 * ParagraphList.C (splice): new function.
5569 * CutAndPaste.C (pasteSelection): use it
5571 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5573 * CutAndPaste.C (pasteSelection): remove the last next and
5574 previous from this file.
5576 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5578 * CutAndPaste.C (pasteSelection): more clean up, user proper
5579 ParagraphList functions for pasteing.
5581 * ParagraphList.C (insert): new function, three arg insert
5583 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5585 * ParagraphList.C (insert): new function, three arg insert
5587 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5590 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5594 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5596 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5598 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5600 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5601 (copySelection): clean up a bit.
5602 (pasteSelection): use make_pair
5604 * ParagraphList.C (ParagraphList): implement copy constructor
5605 (operator=): implement, base on copy constructor.
5608 * paragraph.C (erase): return a bool
5610 * paragraph_pimpl.C (erasePos): remove function, move contents...
5611 (erase): ... here. Return a bool.
5612 (erase): call erase instead of erasePos.
5614 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5616 * ParagraphList.h: define PitPosPair
5617 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5618 ParagraphList, fix a bug on pasting multiple pars
5619 * text2.C: change interface to C&P
5621 2003-04-30 André Pönitz <poenitz@gmx.net>
5623 * undo_func.C: revert part of yesterday's patch 2
5625 2003-04-30 John Levon <levon@movementarian.org>
5627 * LColor.C: s/tabular/table/
5629 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5631 * text3.C (dispatch): do not convert iterator -> pointer
5632 * undo_funcs.C (setCursorParUndo): ditto
5633 * text_funcs.C (transposeChars): ditto
5635 * text2.C (setLayout): ws changes only
5637 * text.C (breakParagraph): do not convert iterator -> pointer
5639 (acceptChange): ditto
5640 (rejectChange): ditto
5645 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5648 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5650 * text3.C (gotoInset): YABG (yet another bad getChar)
5652 2003-04-29 André Pönitz <poenitz@gmx.net>
5654 * paragraph.h: make operator= private unimplemented as long as
5657 * ParagraphList.C: whitespace
5660 * paragraph_pimpl.[Ch]:
5661 * paragraph_funcs.C:
5663 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5666 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5668 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5670 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5671 * paragraph.[Ch] (erase):
5672 * paragraph_pimpl.[Ch] (erase): change return type and value
5673 * text2.C (cutSelection): some rework
5675 2003-04-28 John Levon <levon@movementarian.org>
5677 * bufferlist.C: changes for unsaved changes dialog
5679 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5681 * bufferlist.C (newFile): set language (messages_) for new
5684 * buffer.C (readFile): ws changes only.
5686 2003-04-28 André Pönitz <poenitz@gmx.net>
5691 * BufferView_pimpl.C:
5692 * BufferView.C: getParFromID related ParagraphList::iterator changes
5694 2003-04-28 André Pönitz <poenitz@gmx.net>
5696 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5699 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5701 * messages.C: remove one more localedir class variable.
5703 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5705 * messages.C (getLocaleDir): singleton generation function
5707 (Messages): add a default constructor.
5709 * main.C (main): do not setup localedir here, do not call
5712 * gettext.C (_): use it.
5713 (gettext_init): delete funciton
5715 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5717 * gettext.C (getLyXMessages): new singleton generating function.
5719 * buffer.C (updateDocLang): adjust
5721 * Makefile.am (messages.o): add target
5722 (main.o): remove target
5724 2003-04-27 John Levon <levon@movementarian.org>
5729 * lyxvc.C: specify cancel button in Alert::prompt
5731 2003-04-26 John Levon <levon@movementarian.org>
5736 * LyXAction.C: add LFUN_INSET_SETTINGS
5738 * lyxfunc.C: don't enable tabular-feature when there's
5739 just any locking inset
5741 2003-04-26 John Levon <levon@movementarian.org>
5743 * bufferlist.C: re-add Cancel to buffer close question
5745 * lyxfunc.C: fix import UI a bit
5747 2003-04-25 John Levon <levon@movementarian.org>
5749 * gettext.C: remove the broken asserts for now
5751 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5753 * messages.C: make case where setlocale cannot comply work better.
5755 * buffer.C (updateDocLang): new function
5756 (changeLanguage): use it
5759 * text2.C (setCounter): use B_ a bit.
5761 * lyxlayout.C (Read): be sure to trim the label strings.
5763 * messages.C (Messages): fix typo in comment
5765 * buffer.C (readFile): set message_ after file is loaded.
5766 (makeDocBookFile): remove double return
5767 (changeLanguage): reset message_ upon language change.
5768 (B_): new func, use this to get translated buffer strings.
5770 * main.C: add myself and Jean Marc as authors.
5772 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5774 * messages.[hC]: pimplify Messages, and three different pimpls to be
5775 used in different circumstances.
5777 * gettext.[Ch]: change for use with new message code.
5779 2003-04-24 André Pönitz <poenitz@gmx.net>
5781 * factory.C: support for eqref
5783 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5785 * messages.[Ch]: add missing char
5787 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5789 * messages.[Ch]: New files
5791 2003-04-18 John Levon <levon@movementarian.org>
5795 * BufferView_pimpl.C:
5799 * text2.C: remove layout-copy/paste (bug 778)
5801 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5803 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5805 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5807 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5808 if they succeed. Act accordingly.
5810 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5812 * text2.C (setCharFont): adjust
5813 (setCounter): adjust
5814 (insertStringAsLines): adjust
5816 * text.C (leftMargin): adjust
5817 (setHeightOfRow): adjust
5819 * rowpainter.C (paintFirst): adjust
5822 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5824 (isFirstInSequence): ditto
5825 (getEndLabel): ditto
5828 * paragraph.C (getParLanguage): comment out some hard stuff.
5830 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5832 (simpleDocBookOnePar): ditto
5833 (makeDocBookFile): use ParagraphList::iterator
5835 * CutAndPaste.C (pasteSelection): adjust
5837 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5839 * text2.C (getFont): adjust
5840 (getLayoutFont): adjust
5841 (getLabelFont): adjust
5843 * paragraph_funcs.C (TeXOnePar): adjust
5845 * buffer.C (simpleLinuxDocOnePar): adjust
5846 (simpleDocBookOnePar): adjust
5848 * CutAndPaste.C (pasteSelection): adjust
5850 * BufferView.C (getEncoding): adjust
5852 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5854 2003-04-16 John Levon <levon@movementarian.org>
5856 * lyxfind.C: use parlist stuff for search/changes
5858 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5860 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5862 * text2.C (deleteEmptyParagraphMechanism): adjust
5864 * text2.[Ch] (ownerParagraph): delete func (both of them
5866 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5868 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5870 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5872 * ParagraphList.C: prepare for NO_NEXT
5874 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5876 * text2.C (getFont): adjust
5877 (getLayoutFont): adjust
5878 (getLabelFont): adjust
5880 * paragraph.C (getFont): adjust
5881 (getLabelFont): adjust
5882 (getLayoutFont): adjust
5884 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5886 2003-04-15 John Levon <levon@movementarian.org>
5890 * lyx_main.C: handle Include in .ui files
5892 2003-04-15 John Levon <levon@movementarian.org>
5894 * MenuBackend.C: make the doc files length shorter
5897 * ToolbarBackend.C: handle toolbar placement flags,
5900 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5902 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5905 * paragraph_funcs.C (TeXOnePar): adjust
5907 * paragraph.C (getLabelFont): add outerfont arg, adjust
5908 (getLayoutFont): ditto
5909 (simpleTeXOnePar): adjust
5911 * paragraph_pimpl.C (realizeFont): delete func
5913 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5915 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5916 row argument, constify cur argument.
5918 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * text2.C (getFont): adjust
5921 (getLayoutFont): adjust
5922 (getLabelFont): adjust
5924 * paragraph_funcs.C (TeXOnePar): adjust
5925 (outerFont): new func...
5926 (realizeFont): ...moved out from here, changed this to facilitate
5929 * paragraph.C (getFont): take outerfont as arg, adjust
5930 (simpleTeXOnePar): add outerfont arg, adjust
5932 * buffer.C (simpleLinuxDocOnePar): adjust
5933 (simpleDocBookOnePar): adjust
5935 * CutAndPaste.C (pasteSelection): adjust
5937 * BufferView.C (getEncoding): adjust
5939 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5941 * text2.C (setCharFont): adjust
5942 (setCounter): adjust
5944 * text.C (leftMargin): adjust
5945 (setHeightOfRow): adjust
5947 * rowpainter.C (paintFirst): adjust
5950 * paragraph_pimpl.C (realizeFont): adjust
5952 * paragraph.C (isFirstInSequence): move from here...
5953 * paragraph_funcs.C (isFirstInSequence): ...to here
5955 * paragraph.C (outerHook): move from here...
5956 * paragraph_funcs.C (outerHook): ...to here
5958 * paragraph.C (depthHook): move from here...
5959 * paragraph_funcs.C (depthHook): ...to here
5961 * paragraph.C (getEndLabel): move from here...
5962 * paragraph_funcs.C (getEndLabel): ...to here
5964 * text2.C (realizeFont): move from here...
5965 * paragraph_funcs.C (realizeFont): ...to here
5967 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5969 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5971 2003-04-14 Angus Leeming <leeming@lyx.org>
5973 * LColor.[Ch]: scrap LColor mathcursor.
5975 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5977 * lyxlex.[Ch] (text): delete function
5978 * trans.C (Load): adjust
5979 * paragraph_funcs.C (readParToken): adjust
5981 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5983 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5984 vector<char> instead of a char[].
5986 * lyxlex_pimpl.C (getString): adjust
5988 (lex): use getString
5992 * lyxlex.C (text): use pimpl_->getString()
5996 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5998 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5999 (makeFontEntriesLayoutSpecific): temp var for par.size()
6000 (setLayout): temp var for ownerParagraphs().end()
6001 (fullRebreak): temp var for rows().end()
6002 (selectionAsString): temp var for boost::next(startpit), realize
6003 that the while really is a regular for loop.
6004 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6005 setCursor in one place.
6006 (setParagraph): temp vr for ownerParagraphs().end()
6007 (updateCounters): make the while loop a for loop
6008 (cutSelection): temp var for ownerParagraphs().end()
6009 (updateInset): make the do {} while() a regular for loop
6010 (getCursorX): use temp vars
6011 (setCurrentFont): use temp vars
6012 (getColumnNearX): use temp vars
6014 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6016 * text.C (transformChar): use temp var for getChar
6017 (computeBidiTables): use temp var for row->par()
6018 (fill): move temp vars for row->par() and pit->layout() earlier in
6020 (labelFill): use temp var for row->par()
6021 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6022 asc and desc, realize that pit never changes and that firstpit is
6023 just a duplicate and not needed. Exchange rit->par() with pit in a
6025 (breakAgain): use a temp var for boost::next(rit)
6026 (breakAgainOneRow): ditto
6027 (breakParagraph): use a temp var for rows().begin()
6028 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6029 (cursorRightOneWord): use temp var for cursor.par() and
6030 cursor.pos(), remove usage of tmpcursor.
6031 (cursorLeftOneWord): use temp var for cursor.par() and
6032 cursor.pos() only set cur at end of function.
6034 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6036 * text.C, text2.C: exchange all usage of Paragraph::next with
6037 boost::next(ParagraphList::iterator)
6039 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6041 * text2.C (cursorTop): simplify implementation
6042 (cursorBottom): ditto
6043 (setParagraph): use ParagraphList::iterator
6044 (setCurrentFont): adjust
6045 (getColumnNearX): adjust
6046 (cursorRight): adjust
6047 (cursorLeft): remove usage of Paragraph::previous
6048 (cursorUpParagraph): ditto
6049 (deleteEmptyParagraphMechanism): slight cleanup
6051 * text.C (isBoundary): take a Paragraph const & instead of a
6053 (addressBreakPoint): ditto
6054 (leftMargin): remove usage of Paragraph::previous.
6055 (setHeightOfRow): ditto
6056 (cursorLeftOneWord): ditto
6057 (selectNextWordToSpellcheck): ditto
6060 (breakParagraph): remove one usage of Paragraph::next
6061 (redoParagraph): ditto
6062 (acceptChange): ditto
6063 (insertChar): adjust
6064 (rowBreakPoint): adjust
6066 * bufferview_funcs.C (toggleAndShow): adjust
6068 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6070 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6071 methods to access it.
6073 * text.C: Added updateRowPositions to compute all row positions.
6074 Make top_y and getRowNearY() to use the cached y position
6076 2003-04-11 John Levon <levon@movementarian.org>
6078 * text.C (rowBreakPoint): reintroduce the labelEnd
6079 checks, code copied from the row fill stuff. Deep voodoo.
6081 * text.C (fill): add a comment and debugging for the
6084 2003-04-11 John Levon <levon@movementarian.org>
6086 * text.C: make sure fullrow insets get wrapped to the next line,
6087 even when they're in a manual label
6089 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6091 * text2.C (insertParagraph): make it take ParagraphList::iterator
6093 (setLayout): make it return ParagraphList::iterator
6094 (redoParagraphs): ditto
6096 (checkParagraph): ditto
6098 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6100 * text2.C: adjust several funcs.
6101 (realizeFont): take a ParagraphList::iterator as arg.
6102 (getLayoutFont): ditto
6103 (getLabelFont): ditto
6104 (setCharFont): ditto
6106 * text.C: adjust several funcs.
6108 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6110 * text.C (selectNextWordToSpellcheck): don't accidentally
6113 2003-04-10 John Levon <levon@movementarian.org>
6115 * ToolbarBackend.C (getIcon): special handling for
6118 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6120 * text2.C (cursorRight): a getChar assert fixed
6122 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6124 * text2.C (getFont): change to take a ParagraphList::iterator
6125 instead of Paragraph*
6126 Adjust several functions.
6128 * text.C (transformChar): change to take a ParagraphList::iterator
6129 instead of Paragraph*
6130 (singleWidth): ditto
6131 Adjust several functions.
6133 * rowpainter.C: adjust several functions
6134 * rowpainter.h:store a ParagraphList::iterator and not a
6138 2003-04-09 John Levon <levon@movementarian.org>
6143 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6144 and the "help" bits as well
6146 2003-04-09 John Levon <levon@movementarian.org>
6149 * ToolbarBackend.C: allow multiple toolbars
6151 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * undo_funcs.C (setCursorParUndo): adjust
6155 * text_funcs.C (transposeChars): adjust
6157 * text3.C (gotoNextInset): adjust
6160 * text2.C (setLayout): adjust
6161 (changeDepth): adjust
6163 (redoParagraphs): adjust
6164 (selectionAsString): adjust
6165 (setParagraph): adjust
6166 (insertInset): adjust
6167 (cutSelection): adjust
6168 (copySelection): adjust
6169 (pasteSelection): adjust
6170 (insertStringAsLines): adjust
6171 (updateInset): adjust
6172 (setCursor): change to take a ParagraphList::iterator parameter
6173 (setCursorIntern): change to take a ParagraphList::iterator parameter
6174 (setCurrentFont): adjust
6175 (cursorLeft): adjust
6176 (cursorRight): adjust
6177 (deleteEmptyParagraphMechanism): adjust
6179 * text.C (breakParagraph): adjust
6180 (insertChar): adjust
6181 (acceptChange): adjust
6182 (rejectChange): adjust
6183 (selectNextWordToSpellcheck): adjust
6184 (changeCase): adjust
6188 * lyxfind.C (SearchForward): adjust
6189 (SearchBackward): adjust
6190 (nextChange): adjust
6192 * lyxcursor.C (par): adjust
6194 * lyxcursor.h: store a ParagraphList::iterator instead of a
6197 * lyx_cb.C (getPossibleLabel): adjust
6199 * bufferview_funcs.C (toggleAndShow): adjust
6201 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6204 * BufferView.C (removeAutoInsets): adjust
6205 (lockedInsetStoreUndo): adjust
6207 2003-04-09 John Levon <levon@movementarian.org>
6209 * ToolbarBackend.C: try icon without argument
6210 if with argument fails
6212 2003-04-08 John Levon <levon@movementarian.org>
6215 * ToolbarBackend.C: add getIcon(), handle tooltip,
6216 and change from "Icon" to "Item".
6218 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6220 * BufferView.C (lockInset): another bad getchar crunched
6222 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6224 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6227 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6229 * lyxfind.C (searchForward, searchBackwards): bug 782
6231 2003-04-07 John Levon <levon@movementarian.org>
6233 * paragraph.C: remove dead comment
6235 * text.C: remove troublesome depth-fiddling code
6236 in leftMargin() and rightMargin() (bug 1017)
6238 * text.C: fix breaking of rows in nested lists
6241 * text2.C (updateCounters): fix up depth values
6244 2003-04-07 John Levon <levon@movementarian.org>
6246 * BufferView_pimpl.C: clear message when doc finishes resizing,
6247 and after a mouse event
6249 * lyxfunc.C: clear message after exiting inset
6251 2003-04-07 John Levon <levon@movementarian.org>
6253 * bufferview_funcs.C: show math status not outside
6254 status in the statusbar
6256 2003-04-07 John Levon <levon@movementarian.org>
6258 * lyxfunc.C: note status changed after a depth change
6260 2003-04-04 Angus Leeming <leeming@lyx.org>
6262 * LaTeX.h: move AuxInfo operator==, != out of line.
6263 Remove LaTeX virtual destructor; nothing derives from it.
6264 Move operator()() out of public area and rename it startscript().
6265 Change protected for private.
6267 2003-04-04 Angus Leeming <leeming@lyx.org>
6270 * text2.C: remove unneeded #includes.
6272 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6274 * text2.C (dEPM): fix the heigth of the next row
6276 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6278 * text.C: squashed an invalid getChar requester + some ws changes
6280 2003-04-03 John Levon <levon@movementarian.org>
6282 * bufferview_funcs.h:
6283 * bufferview_funcs.C:
6286 * text2.C: make getStatus work for the env depth lfuns
6288 2003-04-03 John Levon <levon@movementarian.org>
6290 * bufferview_funcs.h:
6291 * bufferview_funcs.C:
6294 * text2.C: parlistize decDepth(), by merging it with incDepth()
6296 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6298 * lyxrow.h: store a ParagraphList::iterator instead of a
6299 Paragraph* and adjust other class functions to suit.
6301 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6304 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6306 * text2.C (setCursor): do not anchor to cursor row for the time being
6308 2003-04-02 John Levon <levon@movementarian.org>
6315 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6317 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6319 * paragraph.h: make ParagraphList and ParagraphList::iterator
6320 friends of Paragraph.
6322 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6324 * ParagraphList.C: Use the private next_ and previous_ from
6327 2003-04-01 John Levon <levon@movementarian.org>
6331 * Makefile.am: rename, remove defaults gunk
6334 * MenuBackend.C: remove defaults gunk
6337 * Languages.C: remove defaults gunk
6340 * lyx_main.C: error out if files couldn't be found.
6342 2003-04-02 John Levon <levon@movementarian.org>
6344 * text2.C: make incDepth() use parlist
6346 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6348 * undo_funcs.C (firstUndoParagraph): adjust
6350 * text3.C (gotoInset): adjust
6351 (dispatch): adjust, and rewrite loop.
6353 * text2.C (init): adjust, and rewrite loop.
6354 (redoParagraphs): adjust
6355 (updateInset): adjust, and rewrite loop.
6356 (deleteEmptyParagraphMechanism): adjust
6358 * tabular.C (LyXTabular): adjust
6359 (SetMultiColumn): adjust
6362 * lyxtext.[Ch] (ownerParagraph): delete function
6363 (ownerParagraphs): new function returns a ParagraphList.
6365 * BufferView.C (removeAutoInsets): adjust
6366 (insertErrors): adjust
6367 (setCursorFromRow): adjust
6369 2003-04-01 Angus Leeming <leeming@lyx.org>
6371 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6374 2003-04-02 John Levon <levon@movementarian.org>
6380 * text_funcs.C: make transposeChars a free function
6382 * lyxrow_funcs.C: remove wrong comment
6384 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6387 * rowpainter.C: adjust
6392 * lyxrow_funcs. [Ch]: new files
6394 * lyxrow.[Ch]: remove next and previous pointers
6395 (next,previous): remove accessor functions
6396 (isParEnd): move to lyxrow_funcs
6397 (lastPos): move to lyxrow_funcs
6398 (nextRowIsAllInset): move to lyxrow_funcs
6399 (lastPrintablePos): move to lyxrow_funcs
6400 (numberOfSeparators): move to lyxrow_funcs
6401 (numberOfHfills): move to lyxrow_funcs
6402 (numberOfLabelHfills): move to lyxrow_funcs
6403 (hfillExpansion): move to lyxrow_funcs
6407 * bufferview_funcs.C (toggleAndShow): adjust
6409 * RowList.h: Remove class RowList from file leave just a
6412 * RowList.C: delete file
6414 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6417 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6419 * text3.C (cursorPrevious): adjust
6420 (cursorNext): adjust
6423 * text2.C (redoHeightOfParagraph): adjust
6424 (redoDrawingOfParagraph): adjust
6427 * text.C (breakParagraph): adjust
6428 (insertChar): adjust
6431 * rowpainter.C (RowPainter): adjust
6432 (leftMargin): simplify and adjust
6433 (most rowpainter functions): adjust.
6435 * rowpainter.h: store the row as RowList::iterator not as Row*
6437 * lyxcursor.C (row): taka RowList::iterator as arg
6440 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6443 2003-04-01 Angus Leeming <leeming@lyx.org>
6445 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6446 stuff like bool Bool.
6448 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6450 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6453 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6455 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6458 * lyxtext.h (rows): drop one version and leve a const variant that
6459 returns a RowList::iterator.
6461 2003-03-31 Angus Leeming <leeming@lyx.org>
6463 * text.C (fill): ensure that the signature is the same as that in the
6466 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6468 * text2.C (redoParagraphs): adjust
6469 (updateCounters): adjust
6470 (checkParagraph): adjust
6471 (getColumnNearX): adjust and reformat a bit.
6473 * text.C (top_y): adjust
6475 (leftMargin): adjust
6476 (prepareToPrint): adjust
6478 (getRowNearY): adjust
6480 * lyxtext.h: make rowlist_ mutable.
6482 * RowList.h: add const_iterator
6483 * RowList.C: adjust for RowList::const_iterator.
6485 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6488 2003-03-31 John Levon <levon@movementarian.org>
6491 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6493 * lyx_main.C: set default fonts from using lyx_gui funcs
6495 * exporter.C: pdf_mode moved from lyxrc
6498 * lyxfunc.C: changes from above
6500 2003-03-31 John Levon <levon@movementarian.org>
6502 * lyx_main.C: fix to the last fix
6504 2003-03-31 John Levon <levon@movementarian.org>
6506 * bufferlist.C: "Load original" -> "Load Original"
6512 * format.C: more Alert cleanups
6514 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6516 * text2.C (removeParagraph): make it take a RowList::iterator as
6518 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6519 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6521 * text.C (anchor_row): make it take a RowList::iterator as arg,
6523 (computeBidiTables): make it take a const reference to Row instead
6524 of Row pointer, adjust.
6525 (leftMargin): make it take a RowList::iterator as arg, adjust.
6526 (rowBreakPoint): adjust
6527 (breakAgainOneRow): make it take a RowList::iterator as arg,
6529 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6531 * bufferview_funcs.C (toggleAndShow): adjust
6533 2003-03-30 John Levon <levon@movementarian.org>
6537 * boost-inst.C: moved to support
6539 * several files: changes as a result
6541 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6543 * text2.C (LyXText): adjust.
6545 (removeRow): make it take a RowList::iterator as arg, adjust.
6546 (fullRebreak): adjust
6547 (deleteEmptyParagraphMechanism): adjust
6548 (clearPaint): adjust
6551 * text.C (top_y): adjust
6552 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6553 (breakAgain): make it take a RowList::iterator as arg, adjust.
6554 (breakParagraph): adjust
6555 (insertChar): adjust
6558 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6559 need_break_row, and refresh_row.
6561 * text3.C (dispatch): adjust
6563 * text2.C (checkParagraph): adjust
6565 (setCursorFromCoordinates): adjust
6567 * text.C (top_y): adjust
6569 (getRow): make it return a RowList::iterator, adjust
6570 (getRowNearY): make it return a RowList::iterator, adjust
6572 * text2.C (init): adjust
6573 (insertRow): remove function
6574 (insertParagraph): adjust
6575 (redoParagraphs): adjust
6576 (fullRebreak): adjust
6577 (updateCounters): adjust
6579 * text.C (top_y): rewrite to use RowList iterators.
6581 (setHeightOfRow): rewrite to sue RowList iterators.
6582 (appendParagraph): adjust
6583 (breakAgain): adjust
6584 (breakAgainOneRow): adjust
6585 (breakParagraph): adjust
6587 (getRowNearY): adjust, and remove commented code.
6589 * lyxtext.h (firstRow): delete function
6590 (lastRow): delete function
6591 (rows): new function (const and non-const versions.)
6592 (insertRow): delete function
6594 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6596 2003-03-29 John Levon <levon@movementarian.org>
6598 * BufferView_pimpl.C: always update scrollbar top
6599 because pasting text when we're anchored could mean we
6600 miss an update altogether
6602 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6604 * text2.C (init): use rowlist_.end() and not 0.
6605 (insertRow): change to take a RowList::iterator as arg, adjust
6607 (insertParagraph): change to take a RowList::iterator as arg,
6609 (redoParagraphs): remove some debug msgs.
6611 * text.C (appendParagraph): change to take a RowList::iterator
6612 arg, adjust for this.
6613 (breakAgain): add an assert
6614 (breakAgainOneRow): ditto
6616 2003-03-29 John Levon <levon@movementarian.org>
6618 * text2.C: do not clear selection after inc/decDepth
6621 2003-03-29 John Levon <levon@movementarian.org>
6624 * buffer.C: fix broken strerrors according to Lars
6626 2003-03-29 John Levon <levon@movementarian.org>
6628 * converters.C: more Alert cleanups
6630 2003-03-29 John Levon <levon@movementarian.org>
6632 * bufferview_funcs.C: remove pointless Alert
6634 * buffer.C: fix confusing error message when
6635 a template is chmoded 000
6637 2003-03-29 John Levon <levon@movementarian.org>
6641 * BufferView_pimpl.C: Alert fixes
6645 * tabular-old.C: remove unused table compat reading
6647 2003-03-29 John Levon <levon@movementarian.org>
6652 * lyx_cb.C: more Alert cleanups
6654 * lyxfunc.C: don't allow chktex if not latex document
6656 2003-03-29 John Levon <levon@movementarian.org>
6660 * buffer.C: warnings pushed down from support/,
6663 2003-03-29 John Levon <levon@movementarian.org>
6665 * lyxfunc.C: safety check for C-r (revert)
6667 2003-03-29 John Levon <levon@movementarian.org>
6670 * bufferlist.C: several UI fixes using Alert::prompt.
6671 Fix the pointless looping quit code. Fix stupid revert
6676 * lyx_cb.C: use Alert::prompt
6678 * lyx_main.C: remove a silly question
6680 * lyxfunc.C: remove a couple of silly questions,
6683 2003-03-28 John Levon <levon@movementarian.org>
6685 * text2.C: fix bug 974 (End on empty par)
6687 2003-03-28 John Levon <levon@movementarian.org>
6689 * BufferView_pimpl.C:
6691 * lfuns.h: remove do-nothing math greek lfuns
6693 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6695 * lyxgluelength.h (isValidGlueLength): add default arg on
6696 parameter 2. Remove default arg from friend in class.
6698 * lyxlength.h (isValidLength): add default arg on parameter 2.
6699 Remove default arg from friend in class.
6701 * text2.C (LyXText): adjust, initialize refresh_row.
6705 (insertParagraph): adjst
6706 (redoParagraphs): adjust
6707 (fullRebreak): adjust
6708 (updateCounters): adjust
6709 (deleteEmptyParagraphMechanism): first attempt at fixing a
6712 * text.C (top_y): adjust
6713 (setHeightOfRow): adjust
6715 (getRowNearY): adjust
6717 * lyxtext.h: include RowList.h
6718 (~LyXText): not needed anymore, deleted.
6719 (firstRow): modify for RowList
6720 (lastRow): new function
6721 Delete firstrow and lastrow class variables, add a Rowlist
6722 rowlist_ class variable.
6724 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6727 * RowList.C (insert): fix case where it == begin().
6729 2003-03-26 Angus Leeming <leeming@lyx.org>
6731 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6732 the thesaurus dialog.
6734 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6736 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6738 * RowList.[Ch]: new files
6740 * ParagraphList.C (erase): handle the case where it == begin
6743 2003-03-25 John Levon <levon@movementarian.org>
6747 * aspell.C: add new aspell support
6750 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6753 2003-03-25 Angus Leeming <leeming@lyx.org>
6756 * LyXAction.C (init): new LFUN_INSET_INSERT.
6758 * BufferView_pimpl.C (dispatch): split out part of the
6759 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6761 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6764 2003-03-25 Angus Leeming <leeming@lyx.org>
6766 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6768 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6771 * text3.C: remove useless row->height(0)
6773 2003-03-25 John Levon <levon@movementarian.org>
6777 * text3.C: rename the refreshing stuff to better names
6779 2003-03-24 John Levon <levon@movementarian.org>
6781 * BufferView_pimpl.h:
6782 * BufferView_pimpl.C: update layout choice on a mouse
6785 2003-03-23 John Levon <levon@movementarian.org>
6787 * Makefile.am: fix commandtags.h reference
6789 2003-03-22 John Levon <levon@movementarian.org>
6791 * BufferView_pimpl.C:
6796 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6798 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6801 * text.C: take the rtl methods out of line
6803 2003-03-21 André Pönitz <poenitz@gmx.net>
6805 * metricsinfo.[Ch]: new files containing structures to be passed around
6806 during the two-phase-drawing...
6808 2003-03-21 André Pönitz <poenitz@gmx.net>
6810 * lyxtextclass.C: read 'environment' tag.
6812 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6814 * text2.C (removeRow): fix bug 964
6816 2003-03-20 John Levon <levon@movementarian.org>
6820 * text2.C: paint cleanups. Inset::update() dropped font
6823 2003-03-19 John Levon <levon@movementarian.org>
6825 * lyxfunc.C: only fitcursor/markDirty if available()
6827 2003-03-19 John Levon <levon@movementarian.org>
6829 * commandtags.h: rename to ...
6831 * lfuns.h: ... this, and renumber / cleanup
6833 2003-03-19 John Levon <levon@movementarian.org>
6835 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6836 fit the cursor after an lfun
6840 * BufferView_pimpl.h:
6841 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6843 * LyXAction.C: layout-character should have ReadOnly
6845 * ParagraphParameters.C:
6847 * bufferview_funcs.C:
6854 * undo_funcs.C: changes from above
6856 2003-03-18 John Levon <levon@movementarian.org>
6858 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6859 remove it from update()
6861 * lyxfunc.C: update layout choice after an lfun
6863 * text3.C: remove extra updateLayoutChoice()s
6865 2003-03-18 John Levon <levon@movementarian.org>
6867 * text.C: top_y change means full repaint, fix
6868 a drawing bug with cursor movement
6870 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6874 * text2.C: anchor row on setCursor
6876 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6878 * lyxtext.h: remove almost all mutable keywords
6881 * text3.C: remove const keywords accordingly
6883 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6885 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6887 (TeXEnvironment): ditto
6890 2003-03-17 John Levon <levon@movementarian.org>
6892 * text.C (rowBreakPoint): remove attempt to fix displayed
6893 math insets inside a manual label
6895 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6897 * lyxtext.h: remove BufferView* as first arg from almost all class
6899 * other files: adjust.
6901 2003-03-17 John Levon <levon@movementarian.org>
6905 * text2.C: more paint cleanups
6907 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6910 * rowpainter.C: remove "smart" background painting code
6912 2003-03-16 John Levon <levon@movementarian.org>
6917 * text3.C: add helper functions for setting refresh_row/y
6919 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6921 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6922 newline inset which *can* get inserted in the pass_thru layouts.
6923 This is primarily for literate documents.
6925 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6927 * buffer.C: increment LYX_FORMAT to 223
6929 2003-03-14 André Pönitz <poenitz@gmx.net>
6931 * textclass.h: prepare for environment handling, ws changes
6932 * lyxlayout.C: read latexheader and latexfooter tags
6934 2003-03-14 John Levon <levon@movementarian.org>
6936 * text2.C: rewrite ::status() a bit
6938 2003-03-13 John Levon <levon@movementarian.org>
6940 * lyxtext.h: add some docs
6942 2003-03-13 John Levon <levon@movementarian.org>
6947 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6949 2003-03-13 John Levon <levon@movementarian.org>
6951 * text3.C: fix appendix redrawing
6953 2003-03-13 John Levon <levon@movementarian.org>
6955 * text.C (setHeightOfRow):
6957 * rowpainter.C: make appendix mark have the text
6958 "Appendix" so the user knows what it is
6961 * LColor.C: s/appendixline/appendix/ from above
6963 2003-03-13 John Levon <levon@movementarian.org>
6965 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6967 * text.C: fix a getChar(pos) bug properly
6969 2003-03-13 Angus Leeming <leeming@lyx.org>
6972 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6973 Probably only temporary. Let's see how things pan out.
6975 * BufferView.C (unlockInset):
6976 * BufferView_pimpl.C (fitCursor):
6977 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6979 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6980 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6982 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6983 new functions that convert ParagraphParameters to and from a string.
6985 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6986 BufferView::Pimpl's dispatch.
6987 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6989 2003-03-13 André Pönitz <poenitz@gmx.net>
6993 * factory.C: make it aware of InsetEnv
6995 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6997 * text2.C (setCursor): never ask for one past last
6998 (setCursor): add some debugging messages.
7000 * text.C (singleWidth): never ask for one past last
7001 (singleWidth): ditto
7003 (rightMargin): ditto
7004 (rowBreakPoint): ditto
7005 (setHeightOfRow): ditto
7006 (prepareToPrint): ditto
7008 * rowpainter.C (paintBackground): never ask for one past last
7009 (paintText): never ask for one past last
7011 * paragraph_pimpl.C (getChar): make the assert stricter, never
7012 allow the one past last pos to be taken
7014 * paragraph.C (getChar): ws changes only
7016 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7017 (numberOfSeparators): ditto
7018 (numberOfHfills): ditto
7020 2003-03-12 John Levon <levon@movementarian.org>
7026 * paragraph_funcs.C: fix per-buffer authorlists
7028 2003-03-12 John Levon <levon@movementarian.org>
7030 * text.C: fix newline in right address
7032 2003-03-12 Angus Leeming <leeming@lyx.org>
7034 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7035 duplicate those in LyXFunc::dispatch.
7039 * ToolbarDefaults.C:
7040 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7041 Add LFUN_FONTFREE_UPDATE.
7043 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7044 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7046 * bufferview_func.[Ch]: several new functions to facilliate
7047 transfer of data to and from the character dialog.
7049 2003-03-12 John Levon <levon@movementarian.org>
7054 * paragraph_funcs.C:
7055 * paragraph_pimpl.C:
7059 * text3.C: remove META_NEWLINE in favour of an inset
7062 * rowpainter.C: remove paintNewline (done by inset)
7064 2003-03-12 John Levon <levon@movementarian.org>
7066 * paragraph_pimpl.C: complain about bad getChar()s
7067 for a while at least
7069 2003-03-12 John Levon <levon@movementarian.org>
7072 * buffer.C: move paragraph read into a separate function,
7073 a little renaming to reflect that.
7076 * bufferparams.C: remove the author_ids map, not necessary now
7079 * factory.C: moved Buffer::readInset to here
7081 * paragraph_funcs.h:
7082 * paragraph_funcs.C: readParagraph free function moved from
7085 * tabular.C: name change
7087 2003-03-12 John Levon <levon@movementarian.org>
7090 * ParagraphParameters.C: move par params input to
7093 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7094 behave like a normal read from the stream wrt reading
7095 a line vs. a \\token
7097 2003-03-12 John Levon <levon@movementarian.org>
7100 * ParagraphParameters.h:
7101 * ParagraphParameters.C: move output code to a
7104 2003-03-12 John Levon <levon@movementarian.org>
7106 * BufferView.C (insertLyXFile):
7109 * tabular.C: use a parlist iterator for creating the
7112 2003-03-12 John Levon <levon@movementarian.org>
7114 * buffer.C: make current_change static local not
7117 2003-03-12 John Levon <levon@movementarian.org>
7119 * buffer.C: fix insertStringAsLines for change tracking
7121 2003-03-12 John Levon <levon@movementarian.org>
7128 * bufferparams.C: move author list into params. Rename some
7129 functions. Move the header reading into a separate token
7130 loop. Move the header token reading into BufferParams.
7132 2003-03-12 John Levon <levon@movementarian.org>
7134 * changes.C: put debug inside lyxerr.debugging() checks
7136 2003-03-11 André Pönitz <poenitz@gmx.net>
7138 * factory.C: make it aware of InsetHFill
7140 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7142 * buffer.C (latexParagraphs): move function from here...
7143 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7146 2003-03-10 Angus Leeming <leeming@lyx.org>
7148 * LyXAction.C (init): fix bug in poplating array with multiple entries
7149 with the same LFUN (spotted by JMarc).
7151 2003-03-10 John Levon <levon@movementarian.org>
7154 * text2.C: move getColumnNearX() near its
7157 2003-03-10 John Levon <levon@movementarian.org>
7159 * text.C: fix break before a minipage
7161 2003-03-10 John Levon <levon@movementarian.org>
7163 * text.C: fix the last commit
7165 2003-03-09 John Levon <levon@movementarian.org>
7169 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7170 bug 365 (don't break before insets unless needed). Don't
7171 return a value > last under any circumstances.
7173 2003-03-09 Angus Leeming <leeming@lyx.org>
7175 * BufferView_pimpl.C (trackChanges, dispatch): call
7176 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7178 2003-03-09 Angus Leeming <leeming@lyx.org>
7180 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7181 than Dialogs::showAboutlyx().
7183 2003-03-09 Angus Leeming <leeming@lyx.org>
7185 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7186 than Dialogs::showTabularCreate().
7188 2003-03-09 John Levon <levon@movementarian.org>
7192 * text2.C: 3rd arg to nextBreakPoint was always the same.
7195 2003-03-08 John Levon <levon@movementarian.org>
7202 * text2.C: Remove the "main" bit from the "main body"
7205 2003-03-08 John Levon <levon@movementarian.org>
7207 * text.C (leftMargin): The left margin of an empty
7208 manual label paragraph should not include the label width
7211 * text.C (prepareToPrint): don't attempt to measure hfills
7212 for empty manual label paragraphs - the answer should be 0
7214 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7216 * CutAndPaste.C: remove commented code and reindent.
7218 2003-03-08 John Levon <levon@movementarian.org>
7221 * lyxfunc.C: move reloadBuffer()
7224 * BufferView.C: to here
7226 * lyxvc.C: add comment
7229 * vc-backend.C: call bv->reload() to avoid
7230 getStatus() check on MENURELOAD
7232 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7234 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7235 to an old format .dep file.
7237 2003-03-07 Angus Leeming <leeming@lyx.org>
7239 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7240 when the LFUN_MOUSE_RELEASE should have been handled by
7241 inset->localDispatch.
7243 2003-03-07 Angus Leeming <leeming@lyx.org>
7245 * BufferView_pimpl.C (dispatch):
7246 * LyXAction.C (init):
7247 * ToolbarDefaults.C (init):
7249 * lyxfunc.C (getStatus):
7250 remove LFUN_INSET_GRAPHICS.
7252 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7254 2003-03-07 Angus Leeming <leeming@lyx.org>
7257 * LyXAction.C (init):
7258 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7260 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7263 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7265 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7266 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7268 2003-03-07 Angus Leeming <leeming@lyx.org>
7270 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7273 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7275 * ParagraphList.C (front): new function
7278 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7280 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7281 and top_row_offset_. removed var first_y.
7283 * text2.C (LyXText, removeRow):
7285 * BufferView_pimpl.C:
7286 use these methods instead of using first_y
7288 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7290 * text2.C (pasteSelection): adjust for checkPastePossible
7292 * CutAndPaste.C: remove Paragraph * buf and replace with
7293 ParagraphList paragraphs.
7294 (DeleteBuffer): delete
7295 (cutSelection): change the tc type to textclass_type
7296 (copySelection): change the tc type to textclass_type
7297 (copySelection): adjust for ParagraphList
7298 (pasteSelection): change the tc type to textclass_type
7299 (pasteSelection): adjust for Paragraphlist
7300 (nrOfParagraphs): simplify for ParagraphList
7301 (checkPastePossible): simplify for ParagraphList
7302 (checkPastePossible): remove unused arg
7304 * ParagraphList.C (insert): handle the case where there are no
7307 * CutAndPaste.h: make CutAndPaste a namespace.
7309 * text3.C (dispatch): adjust
7311 * text.C (breakParagraph): add a ParagraphList as arg
7313 * paragraph_funcs.C (breakParagraph): change to take a
7314 BufferParams and a ParagraphList as args.
7315 (breakParagraphConservative): ditto
7316 (mergeParagraph): ditto
7317 (TeXDeeper): add a ParagraphList arg
7318 (TeXEnvironment): ditto
7321 * buffer.C (readLyXformat2): adjust
7322 (insertStringAsLines): adjust
7323 (latexParagraphs): adjust
7325 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7326 (cutSelection): adjust
7327 (pasteSelection): adjust
7329 * BufferView_pimpl.C (insertInset): adjust
7331 2003-03-05 Angus Leeming <leeming@lyx.org>
7334 * LyXAction.C (init):
7335 * BufferView_pimpl.C (dispatch):
7336 * lyxfunc.C (getStatus):
7337 remove LFUN_CHILD_INSERT.
7339 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7341 2003-03-05 Angus Leeming <leeming@lyx.org>
7344 * LyXAction.C (init):
7345 * src/factory.C (createInset):
7346 * lyxfunc.C (getStatus):
7347 * text3.C (dispatch):
7348 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7350 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7352 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7354 * ParagraphList.C (insert): handle insert right before end()
7355 (erase): fix cases where it can be first or last paragraph.
7357 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7359 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7360 Paragraph::next and Paragraph::previous
7363 * text.C (breakParagraph): adjust
7365 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7366 BufferParams& as arg.
7367 (breakParagraph): use ParagraphList::insert
7368 (breakParagraphConservative): take a Buffer* instead of a
7369 BufferParams& as arg.
7370 (breakParagraphConservative): use ParagraphList::insert.
7372 * buffer.C (insertStringAsLines): un-const it
7373 (insertStringAsLines): adjust
7375 * ParagraphList.C (insert): new function
7377 * CutAndPaste.C (pasteSelection): adjust
7379 * text.C (backspace): adjust
7381 * tabular.C (SetMultiColumn): adjust
7383 * CutAndPaste.C (cutSelection): adjust
7384 (pasteSelection): adjust
7386 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7387 Buffer const * as arg
7389 * ParagraphList.C (erase): new function
7390 * paragraph_funcs.C (mergeParagraph): use it
7391 (mergeParagraph): make it take a Buffer* instead of a
7392 BufferParams* as arg
7394 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7396 (breakParagraphConservative): ditto
7398 * paragraph.h: remove the breakParagraph friend
7400 * paragraph.C (eraseIntern): new function
7401 (setChange): new function
7403 * paragraph_funcs.C (mergeParagraph): make it take a
7404 ParagraphList::iterator instead of a Paragraph *, adjust
7407 * paragraph.h: move an #endif so that the change tracking stuff
7408 also works in the NO_NEXT case.
7410 2003-03-04 Angus Leeming <leeming@lyx.org>
7413 * LyXAction.C: new LFUN_INSET_MODIFY.
7415 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7416 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7418 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7420 * several files: ws changes only
7422 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7423 (TeXEnvironment): ditto
7426 * buffer.C (makeLaTeXFile): adjust
7427 (latexParagraphs): make it take ParagraphList::iterator as args
7429 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7431 * buffer.C (latexParagraphs): adjust
7433 * paragraph.C (TeXOnePar): move function...
7434 (optArgInset): move function...
7435 (TeXEnvironment): move function...
7436 * paragraph_pimpl.C (TeXDeeper): move function...
7437 * paragraph_funcs.C: ...here
7439 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7441 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7443 * buffer.C (readInset): remove compability code for old Figure and
7446 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7448 * buffer.C: ws changes
7451 * BufferView_pimpl.C: ditto
7454 * bufferlist.h: ditto
7458 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7460 * converter.[Ch]: split into itself +
7463 * Makefile.am: += graph.[Ch] + format.[Ch]
7470 * lyxrc.C: added #include "format.h"
7472 2003-02-27 Angus Leeming <leeming@lyx.org>
7474 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7477 * factory.C (createInset): add "label" to the factory.
7479 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7480 string and do no more.
7482 2003-02-27 Angus Leeming <leeming@lyx.org>
7485 * LyXAction.C (init):
7486 * factory.C (createInset):
7487 * BufferView_pimpl.C (dispatch):
7488 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7490 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7492 * lyxfunc.C (dispatch):
7493 * text3.C (dispatch): pass name to params2string.
7495 2003-02-26 Angus Leeming <leeming@lyx.org>
7497 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7499 Rearrange the ~includes. Strip out the unnecessary ones.
7501 * factory.C (createInset): reformat.
7502 create new insets for the various LFUN_XYZ_APPLY lfuns.
7504 2003-02-26 John Levon <levon@movementarian.org>
7507 * lyxrow.C: add isParStart,isParEnd helpers
7509 * paragraph.h: make isInserted/DeletedText take refs
7511 * paragraph_funcs.h:
7512 * paragraph_funcs.C: remove #if 0'd code
7517 * text.C: use lyxrow helpers above.
7518 Move draw and paint routines to RowPainter.
7519 Make several methods use refs not pointers.
7520 Make backgroundColor() const.
7521 Add markChangeInDraw(), isInInset().
7522 Merge changeRegionCase into changeCase.
7523 Make workWidth() shouldn't-happen code into an Assert.
7526 * rowpainter.C: new class for painting a row.
7529 * vspace.C: make inPixels take a ref
7531 2003-02-26 Angus Leeming <leeming@lyx.org>
7533 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7536 2003-02-25 John Levon <levon@movementarian.org>
7538 * ispell.C: give the forked command a more accurate name
7540 2003-02-22 John Levon <levon@movementarian.org>
7543 * toc.C: make TocItem store an id not a Paragraph *
7546 2003-02-21 Angus Leeming <leeming@lyx.org>
7548 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7549 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7550 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7551 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7552 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7553 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7555 * BufferView_pimpl.C (dispatch):
7556 * LyXAction.C (init):
7557 * factory.C (createInset):
7558 * lyxfunc.C (getStatus, dispatch):
7559 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7561 2003-02-21 Angus Leeming <leeming@lyx.org>
7563 * BufferView_pimpl.C (MenuInsertLyXFile):
7564 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7565 * lyxfunc.C (menuNew, open, doImport):
7566 no longer pass a LyXView & to fileDlg.
7568 2003-02-21 Angus Leeming <leeming@lyx.org>
7570 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7571 * LyXAction.C: change, BIBKEY to BIBITEM.
7572 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7573 Change InsetBibKey to InsetBibitem.
7574 Change BIBKEY_CODE to BIBITEM_CODE.
7575 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7576 * factory.C: replace insetbib.h with insetbibitem.h.
7577 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7578 * paragraph.C: replace insetbib.h with insetbibitem.h.
7579 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7580 Change bibkey() to bibitem().
7581 * text.C: remove insetbib.h.
7582 * text2.C: replace insetbib.h with insetbibitem.h.
7583 change bibkey() to bibitem().
7584 * text3.C: remove insetbib.h.
7585 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7587 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7589 * lyxrc.C (output): enclose user email in quotes (in case there are
7592 2003-02-18 John Levon <levon@movementarian.org>
7594 * buffer.h: add std::
7596 2003-02-17 John Levon <levon@movementarian.org>
7602 * pspell.C: reworking. Especially in ispell, a large
7603 number of clean ups and bug fixes.
7605 * lyxfunc.C: fix revert to behave sensibly
7607 2003-02-17 André Pönitz <poenitz@gmx.net>
7610 * commandtags.h: new LFUN_INSERT_BIBKEY
7620 * paragraph_func.C: remove special bibkey handling
7622 2003-02-17 John Levon <levon@movementarian.org>
7624 * text.C (Delete): fix case where delete at the end of
7625 the very first paragraph would not merge the pars
7627 2003-02-17 John Levon <levon@movementarian.org>
7629 * lyxrow.C: fix lastPrintablePos()
7631 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7633 * bufferparams.C (writeLaTeX): add a std:here
7635 * buffer.C: and remove a using directive there
7637 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7639 * buffer.C (makeLaTeXFile): move the code that generates the
7642 * bufferparams.C (writeLaTeX): ... in this new method
7644 * LaTeXFeatures.C (getEncodingSet): make const
7645 (getLanguages): make const
7647 * MenuBackend.C (binding): returns the binding associated to this
7649 (add): sets the status of each item by calling getStatus. Adds
7651 (read): add support for OptSubMenu
7652 (expand): remove extra separator at the end of expanded menu
7654 2003-02-15 John Levon <levon@movementarian.org>
7657 * BufferView_pimpl.C:
7659 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7660 inset code that had no actual effect. Remove unneeded status
7663 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7665 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7668 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7670 * text.C (drawLengthMarker): also draw an arrow marker for
7671 symbolic lengths (medskip...)
7673 2003-02-14 John Levon <levon@movementarian.org>
7676 * tabular.C: better method names
7678 2003-02-14 John Levon <levon@movementarian.org>
7680 * BufferView_pimpl.C:
7685 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7686 it's a more accurate name. Remove some pointless uses.
7688 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7690 * text2.C (LyXText): change order of initilizers to shut off
7693 2003-02-14 John Levon <levon@movementarian.org>
7695 * buffer.C: use ParIterator for getParFromID()
7699 * paragraph_pimpl.h:
7700 * paragraph_pimpl.C: remove unused getParFromID()
7702 2003-02-14 John Levon <levon@movementarian.org>
7704 * buffer.C: remove some very old #if 0'd parse code
7706 2003-02-13 John Levon <levon@movementarian.org>
7710 * text2.C: move hfillExpansion(), numberOfSeparators(),
7711 rowLast(), rowLastPrintable(), numberofHfills(),
7712 numberOfLabelHfills() ...
7715 * lyxrow.C: ... to member functions here.
7720 * text.C: remove LyXText::beginningOfMainBody(), and call
7721 p->beginningOfMainBody() directly. Move the check for
7722 LABEL_MANUAL into the latter.
7729 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7735 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7736 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7738 2003-02-13 John Levon <levon@movementarian.org>
7740 * CutAndPaste.C: remove debug
7742 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7744 * paragraph.C (asString): remove two unused variables
7746 * lyxtextclass.C (readTitleType):
7748 (LyXTextClass): handle new members titletype_ and titlename_
7750 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7752 2003-02-09 John Levon <levon@movementarian.org>
7755 * buffer.C: replace hand-coded list with a map for the dep clean
7757 2003-02-08 John Levon <levon@movementarian.org>
7759 * LaTeX.C: consolidate code into showRunMessage() helper
7761 2003-02-08 John Levon <levon@movementarian.org>
7766 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7767 and pass the size in explicitly
7769 * BufferView_pimpl.h:
7770 * BufferView_pimpl.C:
7772 * BufferView.C: add getCurrentChange()
7774 * BufferView_pimpl.h:
7775 * BufferView_pimpl.C: handle change lfuns
7777 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7778 for changes. Mark pasted paragraphs as new.
7780 * support/lyxtime.h:
7781 * support/lyxtime.C:
7782 * DepTable.C: abstract time_t as lyx::time_type
7785 * LColor.C: add colours for new text, deleted text, changebars
7787 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7788 package use "usenames" option.
7792 * LyXAction.C: add change lfuns
7796 * author.C: author handling
7799 * buffer.C: add a per-buffer author list, with first entry as
7800 current author. Handle new .lyx tokens for change tracking. Output
7801 author list to .lyx file. Output dvipost stuff to .tex preamble.
7802 Bump lyx format to 222.
7805 * bufferlist.C: add setCurrentAuthor() to reset current author details
7809 * bufferparams.C: add param for tracking
7811 * bufferview_funcs.C: output change info in minibuffer
7815 * changes.C: add change-tracking structure
7818 * debug.C: add CHANGES debug flag
7821 * lyxfind.C: add code for finding the next change piece
7824 * lyxrc.C: add user_name and user_email
7827 * lyxrow.C: add a metric for the top of the text line
7830 * text.C: implement accept/rejectChange()
7833 * text.C: paint changebars. Paint new/deleted text in the chosen
7834 colours. Strike through deleted text.
7838 * paragraph_pimpl.h:
7839 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7840 in the current change to the insert functions. Rework erase to
7841 mark text as deleted, adding an eraseIntern() and a range-based
7842 erase(). Implement per-paragraph change lookup and
7845 * paragraph_funcs.C: Fixup paste for change tracking.
7847 * tabular.C: mark added row/columns as new.
7849 * text.C: fix rowLast() to never return -1. Don't allow
7850 spellchecking of deleted text. Track transpose changes. Don't
7851 allow paragraph break or merge where appropriate.
7853 * text2.C: leave cursor at end of selection after a cut.
7855 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7857 * text.C (getLengthMarkerHeight):
7858 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7859 visible on screen too.
7861 2003-02-07 John Levon <levon@movementarian.org>
7863 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7865 2003-02-05 Angus Leeming <leeming@lyx.org>
7867 * lyxserver.C (read_ready): revert my patch of 11 September last year
7868 as it sends PC cpu through the roof. Presumably this means that
7869 the lyxserver will no longer run on an Alpha...
7871 2003-01-30 Angus Leeming <leeming@lyx.org>
7873 * factory.C (createInset): create an InsetCommandParam of type "index"
7874 and use it to 'do the right thing'.
7876 * text2.C (getStringToIndex): ensure that cursor position is always
7877 reset to the reset_cursor position.
7879 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7881 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7884 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7888 * lyxfunc.C: Output messages with identical spelling, punctuation,
7891 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7893 * MenuBackend.C (expandFormats): List only viewable export formats
7896 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7899 * lyxfunc.C (getStatus): Make sure that formats other than
7900 "fax" can also be disabled
7902 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7904 * text3.C (dispatch): put the lfuns that insert insets in 3
7905 groups, and call doInsertInset with appropriate arguments.
7906 (doInsertInset): new function, that creates an inset and inserts
7907 it according to some boolean parameters.
7909 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7911 * buffer.C (readFile): remember to pass on 'par' when calling
7912 readFile recursively.
7914 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7916 * MenuBackend.C (expandFormats): add "..." to import formats.
7918 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7920 * paragraph.C (asString): Remove XForms RTL hacks.
7922 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7923 * buffer.C: fix typo
7925 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7927 * Makefile.am (LIBS): delete var
7928 (lyx_LDADD): add @LIBS@ here instead.
7930 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7932 * Clarify the meaning of "wheel mouse jump"
7934 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7936 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7939 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7941 * importer.C (Loaders): do not preallocate 3 elements in the
7942 vector, since one ends up with 6 elements otherwise
7944 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7946 * DepTable.C (write): write the file name as last element of the
7947 .dep file (because it may contain spaces)
7948 (read): read info in the right order
7950 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7952 * paragraph_pimpl.C (simpleTeXBlanks):
7953 (simpleTeXSpecialChars):
7954 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7956 * tabular.C (latex): add some missing case statements. Reindent.
7958 * MenuBackend.C (expandToc): remove unused variable.
7960 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7969 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7972 2003-01-05 John Levon <levon@movementarian.org>
7975 * BufferView.C: add getEncoding()
7978 * kbsequence.C: do not store last keypress
7981 * lyxfunc.C: store last keypress here instead. Pass encoding
7984 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7986 * lyx_main.C (init): remove annoying error message when following
7987 symbolic links (bug #780)
7989 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7991 * text.C (insertChar):
7992 * lyxrc.C (getDescription): remove extra spaces
7994 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7996 * lyxrc.C (getDescription): remove extra spaces
7998 2002-12-20 John Levon <levon@movementarian.org>
8000 * text3.C: hack fix for page up/down across tall rows
8002 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8004 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8007 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8009 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8010 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8011 thesaurus is not compiled in
8013 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8015 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8017 2002-12-16 Angus Leeming <leeming@lyx.org>
8020 * lyx_main.C (init): remove override_x_deadkeys stuff.
8022 2002-12-12 John Levon <levon@movementarian.org>
8024 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8025 insert. Only remove shift modifier under strict
8028 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8030 * MenuBackend.C (expandToc): fix crash.
8032 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8034 * MenuBackend.C (expandToc): gettext on float names.
8036 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8038 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8039 implement bool empty() [bug 490]
8041 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8043 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8045 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8047 * several files: ws changes
8049 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8051 * text2.C (setCounter): clean up a bit, use boost.format.
8052 (updateCounters): initialize par upon declaration.
8054 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8055 if the layout exists. We do not just store the layout any more.
8056 (SwitchLayoutsBetweenClasses): use boost.format
8058 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8060 * converter.C (convert): if from and to files are the same, use a
8061 temporary files as intermediary
8063 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8066 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8068 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8070 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8072 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8074 * tabular.C (asciiPrintCell): use string(size, char) instead of
8077 * sgml.C (openTag): fix order of arguments to string constructor
8080 * lyxfunc.C (dispatch): use boost.format
8082 * lots of files: change "c" -> 'c'
8084 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8086 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8088 2002-11-25 Angus Leeming <leeming@lyx.org>
8090 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8092 * lyx_main.C (init): compile fix.
8094 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8096 * lyx_cb.C (start): boost.formatify
8097 do not include <iostream>
8099 * lengthcommon.C: ws only
8101 * boost-inst.C,BoostFormat.h: add more explict instantations
8103 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8105 * lots of files: handle USE_BOOST_FORMAT
8107 2002-11-21 John Levon <levon@movementarian.org>
8109 * pspell.C: fix compile
8111 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8113 * lyxfunc.C (dispatch): use boost::format
8117 * lyxfont.C (stateText): use boost::format
8119 * lyx_main.C (LyX): use boost::format
8121 (queryUserLyXDir): ditto
8124 (typedef boost::function): use the recommened syntax.
8126 * importer.C (Import): use boost::format
8128 * debug.C (showLevel): use boost::format
8130 * converter.C (view): use boost::format
8135 * bufferview_funcs.C (currentState): use boost::format
8137 * bufferlist.C (emergencyWrite): use boost::format
8139 * buffer.C (readLyXformat2): use boost::format
8140 (parseSingleLyXformat2Token): ditto
8142 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8144 * LaTeX.C (run): use boost::format
8146 * Chktex.C (scanLogFile): use boost::format
8148 * BufferView_pimpl.C (savePosition): use boost::format
8149 (restorePosition): ditto
8150 (MenuInsertLyXFile): ditto
8152 * BoostFormat.h: help file for explicit instation.
8154 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8156 * tabular.C (latex): Support for block alignment in fixed width
8159 2002-11-17 John Levon <levon@movementarian.org>
8161 * BufferView_pimpl.C:
8163 * lyxfunc.C: split filedialog into open/save
8165 2002-11-08 Juergen Vigna <jug@sad.it>
8167 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8168 by my last patch (hopefully).
8170 2002-11-08 John Levon <levon@movementarian.org>
8179 * toc.C: ParConstIterator, and use it (from Lars)
8181 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8183 * lyxtextclass.[Ch]: revise and add doxygen comments
8185 2002-11-07 John Levon <levon@movementarian.org>
8187 * text.C: fix progress value for spellchecker
8189 * toc.C: fix navigate menu for insetwrap inside minipage
8191 * paragraph_funcs.C: added FIXME for suspect code
8193 2002-11-07 John Levon <levon@movementarian.org>
8195 * BufferView_pimpl.C: fix redrawing of insets
8198 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8200 * text2.C (updateCounters): fix bug 668
8202 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8204 * text3.C (dispatch): Do not make the buffer dirty when moving the
8207 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * vc-backend.C: STRCONV
8212 * text2.C (setCounter): STRCONV
8214 * paragraph.C (asString): STRCONV
8216 * lyxlength.C (asString): STRCONV
8217 (asLatexString): ditto
8219 * lyxgluelength.C (asString): STRCONV
8220 (asLatexString): ditto
8222 * lyxfunc.C (dispatch): STRCONV
8225 * lyxfont.C (stateText): STRCONV
8227 * importer.C (Import): STRCONV
8229 * counters.C (labelItem): STRCONV
8230 (numberLabel): ditto
8231 (numberLabel): remove unused ostringstream o
8236 * bufferview_funcs.C (currentState): STRCONV
8238 * buffer.C (readFile): STRCONV
8239 (asciiParagraph): ditto
8240 (makeLaTeXFile): ditto
8242 * Spacing.C (writeEnvirBegin): STRCONV
8244 * LaTeXFeatures.C (getLanguages): STRCONV
8245 (getPackages): ditto
8247 (getBabelOptions): ditto
8248 (getTClassPreamble): ditto
8249 (getLyXSGMLEntities): ditto
8250 (getIncludedFiles): ditto
8254 (scanAuxFile): ditto
8257 * LString.h: add the STRCONV macros
8259 * BufferView_pimpl.C (savePosition): STRCONV
8260 (restorePosition): ditto
8261 (MenuInsertLyXFile): ditto
8263 * vc-backend.C (scanMaster): change from submatch[...] to
8266 * funcrequest.C: include config.h
8268 * factory.C: include config.h
8270 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8272 * box.C: include config.h
8274 * LaTeX.C (scanAuxFile): change from submatch[...] to
8278 2002-10-25 Angus Leeming <leeming@lyx.org>
8280 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8282 * ispell.[Ch] (setError): new method.
8283 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8284 Use setError() insetead of goto END.
8286 * lyx_cb.C (AutoSave): move out child process into new class
8289 2002-10-30 John Levon <levon@movementarian.org>
8291 * text3.C: make start appendix undoable
8293 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8295 * lyxlength.C (inPixels): Fix returned value.
8297 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8300 2002-10-24 Angus Leeming <leeming@lyx.org>
8302 * lyxgluelength.h: no need to forward declare BufferParams
8303 or BufferView, so don't.
8305 2002-10-21 John Levon <levon@movementarian.org>
8307 * BufferView.C: menuUndo ->undo, redo
8309 * BufferView.h: document, remove dead, make some methods private
8311 * paragraph_funcs.h:
8312 * paragraph_funcs.C:
8313 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8318 * sgml.C: move sgml open/close tag into sgml.C
8320 * bufferview_funcs.h: unused prototype
8323 * lyxfunc.C: remove unused
8326 * text.C: remove unused
8328 2002-10-21 John Levon <levon@movementarian.org>
8332 * BufferView_pimpl.h:
8333 * BufferView_pimpl.C: fix mouse wheel handling based on
8334 patch from Darren Freeman
8336 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8338 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8340 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8342 * lyxlength.C (inPixels): Fix hanfling of negative length.
8343 Fix LyXLength::MU case.
8345 2002-10-16 John Levon <levon@movementarian.org>
8347 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8349 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8351 * converter.C (view): add support for $$i (file name) and $$p
8352 (file path) for the viewer command. If $$i is not specified, then
8353 it is appended to the command (for compatibility with old syntax)
8355 2002-10-14 Juergen Vigna <jug@sad.it>
8357 * undo_funcs.C (textHandleUndo): alter the order in which the
8358 new undopar is added to the LyXText, as we have to set first
8359 the right prev/next and then add it as otherwise the rebuild of
8360 LyXText is not correct. Also reset the cursor to the right paragraph,
8361 with this IMO we could remove the hack in "redoParagraphs()".
8363 2002-10-09 Angus Leeming <leeming@lyx.org>
8365 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8366 to turn off an optimisation if a new inset is to be inserted.
8368 2002-10-11 André Pönitz <poenitz@gmx.net>
8370 * lyxtext.h: make some functions public to allow access
8371 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8373 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8375 * text3.C (dispatch): when changing layout, avoid an infinite loop
8378 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8380 * lyxrc.C (read): treat a viewer or converter command of "none" as
8383 * MenuBackend.C (expandFormats): for an update, also allow the
8384 formats that are not viewable
8386 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8387 script if it is newer than the lyxrc.defaults in user directory
8389 2002-10-07 André Pönitz <poenitz@gmx.net>
8391 * text.C: Vitaly Lipatov's small i18n fix
8393 2002-09-25 Angus Leeming <leeming@lyx.org>
8395 * ispell.h: doxygen fix.
8397 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8399 * buffer.h (readFile): Add a new argument to the method, to allow
8400 reading of old-format templates.
8402 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8404 * toc.C (getTocList): Get TOC from InsetWrap.
8406 2002-09-16 John Levon <levon@movementarian.org>
8408 * lyxfunc.C: check tabular for cut/copy too
8410 2002-09-12 John Levon <levon@movementarian.org>
8415 * factory.C: add header
8417 * paragraph_funcs.h:
8418 * paragraph_funcs.C: cleanup
8420 2002-09-11 John Levon <levon@movementarian.org>
8422 * PrinterParams.h: odd/even default to true
8424 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8426 * PrinterParams.h: update printer parameters for new xforms dialog
8428 2002-09-11 Angus Leeming <leeming@lyx.org>
8430 * lyxserver.C (read_ready): re-write to make it more transparent
8431 and to make it work in coherent fashion under Tru64 Unix.
8433 2002-09-11 André Pönitz <poenitz@gmx.net>
8437 * text3.C: implement LFUN_WORDSEL
8439 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8441 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8442 make floatlist_ a boost::shared_ptr<FloatList>
8444 * lyxtextclass.C: include FloatList.h
8445 (LyXTextClass): initialize floatlist_
8446 (TextClassTags): add TC_NOFLOAT
8447 (Read): match "nofloat" to TC_NOFLOAT and use it.
8448 (readFloat): modify call to floatlist_
8452 * FloatList.[Ch] (FloatList): remove commented out float
8454 (erase): new function
8456 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8458 * MenuBackend.C (expandToc): fix crash when there is no document
8461 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8463 * many files: Add insetwrap.
8465 2002-09-09 John Levon <levon@movementarian.org>
8467 * text2.C: remove confusing and awkward depth wraparound
8469 2002-09-09 John Levon <levon@movementarian.org>
8471 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8474 * buffer.C: remove getIncludeonlyList()
8477 * lyxfunc.C: remove headers
8479 2002-09-09 Juergen Vigna <jug@sad.it>
8481 * text.C (getColumnNearX): fix form Michael this is most
8482 probably a cut&paste bug.
8484 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8486 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8488 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8489 references, ws changes.
8491 * text2.C (init): update counters after init
8492 (insertParagraph): no need to set counter on idividual paragraphs.
8493 (setCounter): access the counters object in the textclass object
8494 on in the buffer object.
8495 (updateCounters): ditto
8497 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8498 shared_ptr<Counters> to avoid loading counters.h in all
8500 (LyXTextClass): initialize ctrs_
8501 (TextClassTags): add TC_COUNTER, and ...
8502 (Read): use it here.
8503 (CounterTags): new tags
8504 (readCounter): new function
8505 (counters): new funtion
8506 (defaultLayoutName): return a const reference
8508 * counters.C (Counters): remove contructor
8509 (newCounter): remove a couple of unneeded statements.
8510 (newCounter): simplify a bit.
8511 (numberLabel): some small formatting changes.
8513 * buffer.[Ch]: remove all traces of counters, move the Counters
8514 object to the LyXTextClass.
8516 2002-09-06 Alain Castera <castera@in2p3.fr>
8518 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8519 package to set the horizontal alignment on fixed width columns.
8522 * lyx_sty.h: added tabularnewline macro def.
8524 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8526 2002-09-06 John Levon <levon@movementarian.org>
8528 * LyXAction.C: tooltips for sub/superscript
8530 * MenuBackend.C: a bit more verbose
8532 * lyxfunc.C: tiny clean
8534 * undo_funcs.C: document undo_frozen
8536 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8538 * counters.C (Counters): add missing algorithm counter.
8540 * text2.C (setCounter): lookup the counter with layouts latexname
8541 instead of by section number.
8542 (setCounter): use a hackish way to lookup the correct enum
8544 a float name->type change
8545 reset enum couners with counter name directly instead of depth value.
8547 * counters.C (Counters): remove the push_backs, change to use the
8548 float type not the float name.
8549 (labelItem): remove unused string, float name->type change
8551 * counters.h: don't include vector, loose the enums and sects vectors
8553 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8555 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8556 (Read): add float->TC_FLOAT to textclassTags
8557 (Read): and handle it in the switch
8558 (readFloat): new function
8560 * FloatList.C (FloatList): comment out the hardcoded float
8563 * lyxlayout.h: ws change.
8565 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8567 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8569 2002-09-03 Angus Leeming <leeming@lyx.org>
8571 * BufferView_pimpl.h: qualified name is not allowed in member
8572 declaration: WorkArea & Pimpl::workarea() const;
8574 * factory.C: added using std::endl directive.
8576 * text3.C: added using std::find and std::vector directives.
8578 2002-08-29 André Pönitz <poenitz@gmx.net>
8581 * text2.C: remove unused member number_of_rows
8584 * BufferView2.C: remove file, move contents to...
8585 * BufferView.C: ... here
8587 * BufferView_pimpl.C:
8588 * factory.C: move more inset creation to factory
8590 * vspace.C: avoid direct usage of LyXText, ws changes
8593 don't provide direct access to WorkArea, use two simple
8594 acessors haveSelction() and workHeight() instead
8597 2002-08-29 John Levon <levon@movementarian.org>
8599 * BufferView_pimpl.C (dispatch): do not continue when
8602 2002-08-28 André Pönitz <poenitz@gmx.net>
8604 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8607 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8609 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8611 * buffer.C: increment LYX_FORMAT to 221
8613 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8614 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8616 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8618 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8620 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8622 * factory.C (createInset): use LyXTextClass::floats
8624 * MenuBackend.C (expandFloatListInsert):
8625 (expandFloatInsert):
8628 * text2.C (setCounter):
8630 * LaTeXFeatures.C (useFloat):
8631 (getFloatDefinitions):
8633 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8635 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8636 floatlist_, with accessor floats().
8638 * FloatList.h: remove global FloatList
8640 2002-08-26 André Pönitz <poenitz@gmx.net>
8642 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8646 * BufferView_pimpl.C:
8647 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8649 2002-08-25 John Levon <levon@movementarian.org>
8651 * LyXAction.C: fix margin note description
8653 2002-08-24 John Levon <levon@movementarian.org>
8657 * bufferview_funcs.C:
8659 * undo_funcs.C: cleanups
8661 * lyxfunc.C: disable CUT/COPY when no selection
8663 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8665 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8666 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8668 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8669 Add backward compatibility to "mono", "gray" and "no".
8671 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8673 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8674 (and file_format >= 200).
8676 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8678 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8680 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8682 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8684 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8686 * BufferView_pimpl.C:
8693 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8694 inset and code to make it work with the paragraph code. The inset
8695 can be anywhere in the paragraph, but will only do the expected
8696 thing in LaTeX if the layout file contains the parameter line
8698 (or more generally, a nonzero value) for that layout.
8700 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8702 * paragraph.h: remove the declaration of undefined counters class
8705 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8707 * text2.C (setCounter): fixed enumeration mis-count as reported by
8708 Dr. Richard Hawkins.
8710 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8712 * paragraph_funcs.h: remove some unneeded includes
8714 * text.C (backspace): pasteParagraph now in global scipe
8716 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8717 (pasteSelection): ditto
8719 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8720 * paragraph_funcs.C (pasteParagraph): ... here
8722 2002-08-20 André Pönitz <poenitz@gmx.net>
8724 * commandtags.h: new LFUNs for swapping/copying table row/colums
8727 * lyxfunc.C: support for new lfuns
8729 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8732 * buffer.[Ch]: remove NO_COMPABILITY stuff
8734 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8736 * boost.C (throw_exception): new file, with helper function for
8737 boost compiled without exceptions.
8742 * ParameterStruct.h:
8743 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8745 * bufferlist.C (emergencyWriteAll): use boost bind
8747 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8749 * text.C: include paragraph_funcs.h
8750 (breakParagraph): breakParagraph is now in global scope
8752 * paragraph_funcs.[Ch]: new files
8754 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8757 * buffer.C: include paragraph_funcs.h
8758 (insertStringAsLines): breakParagraph is now in global scope
8760 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8763 * CutAndPaste.C: include paragraph_funcs.h
8764 (cutSelection): breakParagraphConservative is now in global scope
8765 (pasteSelection): ditto
8767 * buffer.h: declare oprator== and operator!= for
8768 Buffer::inset_iterator
8770 * bufferlist.C (emergencyWrite): don't use fmt(...)
8772 * text3.C: add using std::endl
8774 * BufferView.C (moveCursorUpdate): remove default arg
8776 2002-08-20 André Pönitz <poenitz@gmx.net>
8778 * buffer.[Ch]: move inline functions to .C
8781 * BufferView_pimpl.C:
8783 * buffer.[Ch]: use improved inset_iterator
8786 * paragraph.[Ch]: write one paragraph at a time
8788 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8790 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8791 style if style is not specified.
8793 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8795 * text2.C (setCounter): when searching for right label for a
8796 caption, make sure to recurse to parent insets (so that a caption
8797 in a minipage in a figure float works) (bug #568)
8799 2002-08-20 André Pönitz <poenitz@gmx.net>
8801 * text3.C: new file for LyXText::dispatch() and helpers
8803 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8805 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8807 2002-08-19 André Pönitz <poenitz@gmx.net>
8810 * text.C: new LyXText::dispatch()
8812 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8814 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8816 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8818 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8821 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8823 * Makefile.am: use $(variables) instead of @substitutions@
8825 2002-08-15 André Pönitz <poenitz@gmx.net>
8828 * BufferView_pimpl.C: streamlining mathed <-> outer world
8832 * LyXAction.C: remove unused LFUN_MATH
8834 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8836 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8838 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8840 * paragraph.C (Paragraph): reformat a bit
8841 (cutIntoMinibuffer): use builtin InsetList function instad of
8845 * buffer.C: include boost/bind.hpp, add using std::for_each
8846 (writeFileAscii): use ParagraphList iterators
8847 (validate): use for_each for validate traversal of paragraphs
8848 (getBibkeyList): use ParagraphList iterators
8849 (resizeInsets): use for_each to resizeInsetsLyXText for all
8851 (getParFromID): use ParagraphList iterators
8853 * BufferView2.C (lockInset): use paragraph list and iterators
8855 2002-08-14 John Levon <levon@movementarian.org>
8857 * lyxserver.C: remove spurious xforms include
8859 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8861 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8863 2002-08-13 André Pönitz <poenitz@gmx.net>
8866 * lyxfunc.C: further cleaning
8868 2002-08-13 André Pönitz <poenitz@gmx.net>
8870 * funcrequest.h: new constructor
8872 * funcrequest.C: move stuff here from .h
8875 * BufferView_pimpl.C:
8878 * lyxfunc.C: subsequent changes
8880 * lyxfunc.h: new view() member function
8882 * lyxfunc.C: subsequent changes
8884 2002-08-13 Angus Leeming <leeming@lyx.org>
8887 * BufferView_pimpl.C:
8895 changes due to the changed LyXView interface that now returns references
8896 to member variables not pointers.
8898 2002-08-13 Angus Leeming <leeming@lyx.org>
8900 * WordLangTuple (word, lang_code): return references to strings,
8905 * lyxtext.h: forward-declare WordLangTuple.
8910 * text.C: #include "WordLangTuple.h".
8913 * text.C: (selectNextWordToSpellcheck): constify return type.
8915 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8921 * paragraph_pimpl.h:
8924 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8926 Made updateCounter always count from start of buffer, and removed
8927 second argument (par).
8928 Reverted floats number display to '#'. Perhaps I'll try again when the
8929 code base is sanitized a bit.
8931 2002-08-12 Angus Leeming <leeming@lyx.org>
8933 * buffer.[Ch] (getLabelList): constify.
8935 2002-08-07 André Pönitz <poenitz@gmx.net>
8937 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8939 * funcrequest.h: extension to keep mouse (x,y) position
8941 2002-08-12 Juergen Vigna <jug@sad.it>
8943 * BufferView2.C (insertErrors): forbid undo when inserting error
8946 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8948 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8950 * ParagraphList.[Ch]: new files
8952 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8954 * BufferView2.C (lockInset): ParagraphList changes
8957 * bufferlist.C: ditto
8961 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8963 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8964 unused class variable counter_,
8966 * paragraph.[Ch] (getFirstCounter): delete unused function
8968 * counters.C: include LAssert.h
8969 (reset): add a new function with no arg, change other version to
8970 not have def. arg and to not allow empty arg.
8972 * text2.C (setCounter): remove empty arg from call to Counters::reset
8974 2002-08-11 John Levon <levon@movementarian.org>
8976 * Makefile.am: add WordLangTuple.h
8978 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8980 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8981 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8983 * insets/insettext.C: InsetList changes
8985 * graphics/GraphicsSupport.C (operator()): InsetList changes
8987 * toc.C (getTocList): InsetList changes
8989 * paragraph_pimpl.[Ch]: InsetList changes
8991 * paragraph.[Ch]: InsetList changes
8993 * buffer.C (inset_iterator): InsetList changes
8994 (setParagraph): ditto
8995 * buffer.h (inset_iterator): ditto
8996 * iterators.C (operator++): ditto
8997 * iterators.h: ditto
8999 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9001 * InsetList.[Ch]: new files, most InsetList handling moved out of
9004 * BufferView2.C (removeAutoInsets): InsetList changes
9006 (ChangeInsets): ditto
9008 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9010 * paragraph_pimpl.h (empty): new function
9012 * paragraph.[Ch] (empty): new function
9014 * other files: use the new Paragraph::empty function
9016 2002-08-09 John Levon <levon@movementarian.org>
9018 * lyxtext.h: remove unused refresh_height
9020 2002-08-09 John Levon <levon@movementarian.org>
9027 * paragraph.C: move sgml char escaping out of paragraph
9030 * paragraph.C: remove id setter
9034 * paragraph_pimpl.C: remove dead tex_code_break_column
9036 * bufferview_funcs.C: small cleanup
9038 * lyxfunc.C: remove dead proto
9040 * lyxtext.h: make some stuff private. Remove some dead stuff.
9042 * lyxgluelength.C: make as[LyX]String() readable
9044 2002-08-08 John Levon <levon@movementarian.org>
9049 * ToolbarDefaults.C:
9052 * toc.C: lyxaction cleanup
9054 2002-08-08 John Levon <levon@movementarian.org>
9056 * BufferView2.C: small cleanup
9059 * lyxfind.C: move unnecessary header into the .C
9061 2002-08-08 John Levon <levon@movementarian.org>
9063 * funcrequest.h: just tedious nonsense
9066 * lyx_main.C: cleanups
9069 * vspace.C: remove dead header lyx_main.h
9071 2002-08-07 Angus Leeming <leeming@lyx.org>
9074 * paragraph_pimpl.h:
9075 Forward declare class Counters in paragraph.h by moving the ctrs member
9076 variable into Paragraph::Pimpl.
9077 (counters): new method, returning a reference to pimpl_->ctrs.
9079 * text2.C: ensuing changes.
9081 2002-08-07 John Levon <levon@movementarian.org>
9083 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9085 * BufferView_pimpl.C: announce X selection on double/triple
9088 * lyx_main.C: use correct bool in batch dispatch
9090 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9092 2002-08-07 André Pönitz <poenitz@gmx.net>
9094 * funcrequest.h: new class to wrap a kb_action and its argument
9097 * BufferView_pimpl[Ch]:
9101 * lyxrc.C: subsequent changes
9104 2002-08-07 John Levon <levon@movementarian.org>
9106 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9107 document options change.
9109 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9114 * makefile.am: move counters functionality over from
9115 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9117 2002-08-06 John Levon <levon@movementarian.org>
9119 * WordLangTuple.h: new file for word + language code tuple
9130 * BufferView2.C: use WordLangTuple
9133 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9135 2002-08-06 John Levon <levon@movementarian.org>
9137 * lyx_main.C: fix cmdline batch handling
9139 2002-08-06 André Pönitz <poenitz@gmx.net>
9141 * lyxrc.C: set default for show_banner to true
9143 2002-08-06 John Levon <levon@movementarian.org>
9145 * pspell.C: fix a crash, and allow new aspell to work
9147 2002-08-06 John Levon <levon@movementarian.org>
9150 * kbmap.C: small cleanup
9153 * vspace.C: add const
9155 2002-08-05 John Levon <levon@movementarian.org>
9157 * LyXAction.C: back to tabular-insert
9159 2002-08-04 John Levon <levon@movementarian.org>
9162 * BufferView.C: cosmetic change
9164 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9174 * BufferView2.C: purge all "Lyx" not "LyX" strings
9177 * lyxcursor.C: attempt to add some documentation
9182 * ToolbarDefaults.C:
9183 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9184 merge with LFUN_TABULAR_INSERT
9191 * pspell.C: split up i/pspell implementations into separate
9192 files, many cleanups
9194 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9196 * text2.C: some cleanup
9198 * lyxfunc.C: don't check for isp_command == "none" any more, it
9199 didn't make any sense
9201 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9206 * makefile.am: move counters functionality over
9207 from text2.C/paragraph.[Ch] to counters.[Ch], and
9209 2002-08-02 John Levon <levon@movementarian.org>
9211 * buffer.C: s/lyxconvert/lyx2lyx/
9213 2002-08-02 Angus Leeming <leeming@lyx.org>
9215 * lyxlex.C: revert John's change as it breaks reading of the user
9218 2002-08-02 Angus Leeming <leeming@lyx.org>
9220 * importer.C (Import):
9221 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9222 changes due to LyXView::view() now returning a boost::shared_ptr.
9224 2002-08-02 John Levon <levon@movementarian.org>
9226 * lyxlex.C: small cleanup
9228 2002-08-02 John Levon <levon@movementarian.org>
9230 * text2.C (status): small cleanup, no logic change
9232 2002-08-01 John Levon <levon@movementarian.org>
9235 * buffer.C (writeFile): don't output alerts, caller
9239 * lyx_cb.C: from above
9241 * lyxfunc.C: allow to open non-existent files
9243 2002-07-31 John Levon <levon@movementarian.org>
9245 * lyxserver.C: don't let incidental errors get
9248 2002-07-30 John Levon <levon@movementarian.org>
9250 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9252 2002-07-30 John Levon <levon@movementarian.org>
9255 * lyxserver.C: remove I/O callback too
9257 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9259 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9262 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9264 * many files: strip,frontStrip -> trim,ltrim,rtrim
9266 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9268 * PrinterParams.h: remove extern containsOnly, and include
9269 support/lstrings.h instead.
9271 * LaTeX.C (scanAuxFile): modify because of strip changes
9273 * buffer.C (makeLaTeXFile): ditto
9274 * bufferparams.C (writeFile): ditt
9275 * lyxfont.C (stateText): ditto
9276 * lyxserver.C (read_ready): ditto
9277 * vc-backend.C (scanMaster): ditto
9279 * BufferView_pimpl.h: ws changes
9281 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9283 2002-07-26 André Pönitz <poenitz@gmx.net>
9285 * kb_sequence.C: remove unnedred usings
9287 2002-07-26 Juergen Vigna <jug@sad.it>
9289 * lyxfind.C (LyXReplace): we have to check better if the returned
9290 text is not of theLockingInset()->getLockingInset().
9292 2002-07-25 Juergen Vigna <jug@sad.it>
9294 * lyxfind.C (LyXReplace): don't replace if we don't get the
9297 * undo_funcs.C (createUndo): remove debugging code.
9299 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9301 * buffer.C (parseSingleLyXformat2Token): Use default placement
9302 when reading old floats.
9304 * FloatList.C (FloatList): Change the default placement of figure
9305 and tables to "tbp".
9307 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9309 * MenuBackend.C: using std::max
9311 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9313 * MenuBackend.C (expandToc):
9314 (expandToc2): code moved from xforms menu frontend. It is now
9315 generic and TOCs are transparent to menu frontends.
9317 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9319 * toc.C (getTocList): protect against buf=0
9321 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9322 Menu as first parameter. Now, this calls itself recursively to
9323 expand a whole tree (this will be useful for TOC handling)
9324 (expandFloatInsert): remove 'wide' version of floats
9326 * MenuBackend.h (submenuname): returns the name of the submenu.
9327 (submenu): returns the submenu itself, provided it has been
9328 created by MenuBackend::expand
9330 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9332 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9333 insets which have noFontChange == true. (bug #172)
9335 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9337 * BufferView_pimpl.C: add connection objects and use them...
9340 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9342 * MenuBackend.C (expandLastfiles):
9345 (expandFloatListInsert):
9346 (expandFloatInsert):
9347 (expand): split expand in parts
9349 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9351 * lyx_gui.C: use lyx_gui::exit()
9353 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9355 * LyXAction.C: show the failing pseudo action
9357 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9359 * buffer.C (readFile): Run the lyxconvert script in order to read
9362 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9366 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9368 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9372 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9374 2002-07-22 Herbert Voss <voss@lyx.org>
9377 * lyxlength.[Ch]: add support for the vertical lengths
9379 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9381 * toc.[Ch]: std:: fixes
9383 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9385 * lyxrc.C: do not include lyx_main.h
9387 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9393 * BufferView2.C: include "lyxlex.h"
9396 * bufferparams.h: do not #include "lyxlex.h"
9398 * lyxtextclasslist.C (Add): remove method
9399 (classlist): renamed to classlist_
9401 * paragraph_pimpl.C:
9405 * bufferview_funcs.C:
9410 * toc.C (getTocList): use BufferParams::getLyXTextClass
9412 * toc.C (getTocList): use InsetFloat::addToToc
9414 * toc.[Ch]: new files, containing helper functions to handle table
9417 * lyxfunc.C (dispatch): no need to remove spaces around command
9419 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9420 first command of the sequence; it is not very clever, but I do not
9421 have a better idea, actually
9423 * LyXAction.C (LookupFunc): make sure to remove space at the
9424 beginning and end of the command
9426 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9428 * MenuBackend.C (getMenubar): new method: return the menubar of
9430 (read): treat differently reading of menu and menubar (in
9431 particular, the menubar has no name now)
9432 (Menu::menubar): remove
9434 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9437 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9439 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9440 a bibitem inset in a RTL paragraph.
9442 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9444 * paragraph_pimpl.C: constify
9446 * BufferView_pimpl.C:
9448 * lyxfunc.C: fix dispatch in a nicer way
9450 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9452 * lyxfunc.C (dispatch):
9453 * BufferView_pimpl.C:
9454 * BufferView_pimpl.h:
9456 * BufferView.h: rename Dispatch() to dispatch()
9458 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9460 * lyxlayout.C (Read): honor DependsOn tag
9462 * lyxlayout.[Ch] (depends_on): new method
9464 * version.C.in: update lyx_docversion
9466 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9468 * paragraph.C (validate): remove from here...
9469 * paragraph_pimpl.C (validate): ... and move here
9470 (isTextAt): make it const
9472 * buffer.C (getLists): ws cleanup
9474 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9476 * language.C (read): Use iso8859-1 encoding in latex_lang
9477 (this prevents LyX from crashing when using iso10646-1 encoding).
9479 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9481 * text2.C (toggleInset): if cursor is inside an inset, close the
9482 inset and leave cursor _after_ it
9484 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9486 * lyxfunc.C: move minibuffer completion handling out of here
9488 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9490 * BufferView_pimpl.C:
9491 * LaTeX.C: fix dispatch calls
9493 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9495 * text.C (drawChars): Fix Arabic text rendering.
9497 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9501 * lyxfunc.C: remove message-push/pop
9505 * lyxfunc.C: rationalise some code by removing verboseDispatch
9506 in favour of a bool argument to dispatch()
9508 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9510 * lyx_main.C (init): make sure to read symlinks as absolute paths
9512 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9515 * lyxfunc.C: no need for commandshortcut to be a member
9517 2002-07-15 André Pönitz <poenitz@gmx.net>
9519 * converter.C: add support for $$s (scripts from lib/scripts dir)
9520 * lyx_main.C: white space
9522 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9526 * lyxrc.C: remove second exit confirmation
9528 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9533 * BufferView_pimpl.h:
9534 * BufferView_pimpl.C:
9535 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9537 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9539 * MenuBackend.C (expand): add numeric shortcuts to document menu
9541 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9543 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9545 * lyxfont.C (setLyXFamily):
9552 * buffer.C (asciiParagraph): use ascii_lowercase
9554 2002-07-15 Mike Fabian <mfabian@suse.de>
9556 * lyxlex_pimpl.C (search_kw):
9557 * lyxlex.C (getLongString):
9558 * converter.h (operator<):
9559 * converter.C (operator<):
9560 * buffer.C (parseSingleLyXformat2Token):
9562 * ToolbarDefaults.C (read):
9563 * MenuBackend.C (checkShortcuts):
9565 * LColor.C (getFromGUIName):
9566 (getFromLyXName): use the compare_ascii_no_case instead of
9567 compare_no_case, because in turkish, 'i' is not the lowercase
9568 version of 'I', and thus turkish locale breaks parsing of tags.
9570 2002-07-16 Angus Leeming <leeming@lyx.org>
9572 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9573 now takes a Buffer const & argument.
9575 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9577 * BufferView.C (resize): check there's a buffer to resize
9579 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9581 * lyxfunc.C: remove dead code
9584 * lyxserver.C: use lyx_guii::set_read_callback
9586 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9588 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9589 an inset in a RTL paragraph.
9591 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9593 * lyxfunc.C: repaint after a font size update
9595 2002-07-15 André Pönitz <poenitz@gmx.net>
9597 * lyxlength.C: inBP should be able to return negative values
9599 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9601 * lyxfunc.C: use lyx_gui::update_fonts()
9603 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9605 * lyxfunc.C: use lyx_gui::update_color()
9607 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9613 * lyxrc.C: remove file->new asks for name option, and let
9614 buffer-new take an argument
9616 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9618 * BufferView_pimpl.C: remove unneeded extra repaint()
9620 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9622 * LyXAction.C: allow command-sequence with NoBuffer
9624 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9626 2002-07-10 Angus Leeming <leeming@lyx.org>
9628 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9630 2002-07-09 Angus Leeming <leeming@lyx.org>
9632 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9634 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9636 * lengthcommon.h: whitespace
9638 * lyxfunc.C: update scrollbar after goto paragraph
9640 * lyxtext.h: factor out page break drawing, and fix it so
9641 page break/added space paints as selected nicely
9643 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9645 * BufferView_pimpl.C: add FIXMEs, clean up a little
9647 2002-07-09 André Pönitz <poenitz@gmx.net>
9649 * lyxfont.[Ch]: support for wasy symbols
9651 2002-07-08 André Pönitz <poenitz@gmx.net>
9653 * BufferView_pimpl.C: apply John's patch for #93.
9655 2002-07-05 Angus Leeming <leeming@lyx.org>
9657 * BufferView_pimpl.C (buffer): generate previews if desired.
9659 * LColor.h: add "preview" to the color enum.
9661 * LColor.C (LColor): add a corresponding entry to the items array.
9663 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9666 2002-07-05 Angus Leeming <leeming@lyx.org>
9668 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9669 The body of the code is now in the method that is passed an ostream &
9670 rather than a file name.
9671 Pass an additional only_preamble parameter, useful for the forthcoming
9674 2002-07-03 André Pönitz <poenitz@gmx.net>
9676 * lyxfunc.C: simplify getStatus() a bit for math stuff
9678 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9680 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9682 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9684 * text.C (changeRegionCase): do not change case of all the
9685 document when region ends at paragraph end (bug #461)
9687 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9689 * paragraph.C (startTeXParParams):
9690 (endTeXParParams): add \protect when necessary
9692 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9694 * BufferView_pimpl.C (workAreaExpose): remove warning
9696 2002-06-27 Angus Leeming <leeming@lyx.org>
9698 * Makefile.am: add lyxlayout_ptr_fwd.h.
9700 2002-06-26 André Pönitz <poenitz@gmx.net>
9702 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9704 2002-06-25 Angus Leeming <leeming@lyx.org>
9706 * lyxfunc.C (dispatch): Comment out the call to
9707 grfx::GCache::changeDisplay. The method no longer exists now that the
9708 pixmap generation part of the graphics loader has been moved into
9711 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9713 * text2.C: layout as layout
9715 * text.C: layout as layout
9717 * tabular.C (OldFormatRead): layout as layout
9719 * paragraph_pimpl.C (TeXDeeper): layout as layout
9720 (realizeFont): layout as layout
9722 * paragraph.C (writeFile): layout as layout
9723 (validate): layout as layout
9724 (getFont): layout as layout
9725 (getLabelFont): layout as layout
9726 (getLayoutFont): layout as layout
9727 (breakParagraph): layout as layout
9728 (stripLeadingSpaces): layout as layout
9729 (getEndLabel): layout as layout
9730 (getMaxDepthAfter): layout as layout
9731 (applyLayout): layout as layout
9732 (TeXOnePar): layout as layout
9733 (simpleTeXOnePar): layout as layout
9734 (TeXEnvironment): layout as layout
9735 (layout): layout as layout
9736 (layout): layout as layout
9738 * lyxtextclass.C (compare_name): new functor to work with
9739 shared_ptr, layout as layout
9740 (Read): layout as layout
9741 (hasLayout): layout as layout
9742 (operator): layout as layout
9743 (delete_layout): layout as layout
9744 (defaultLayout): layout as layout
9746 * lyxlayout_ptr_fwd.h: new file
9748 * lyxlayout.C (Read): layout as layout
9750 * lyx_cb.C (MenuInsertLabel): layout as layout
9752 * bufferlist.C (newFile): layout as layout
9754 * buffer.C (readLyXformat2): layout as layout
9755 (parseSingleLyXformat2Token): layout as layout
9756 (insertStringAsLines): layout as layout
9757 (asciiParagraph): layout as layout
9758 (latexParagraphs): layout as layout
9759 (makeLinuxDocFile): layout as layout
9760 (simpleLinuxDocOnePar): layout as layout
9761 (makeDocBookFile): layout as layout
9762 (simpleDocBookOnePar): layout as layout
9763 (getLists): layout as layout
9765 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9767 * CutAndPaste.C (cutSelection): layout as layout
9768 (pasteSelection): layout as layout
9769 (SwitchLayoutsBetweenClasses): layout as layout
9771 * BufferView_pimpl.C (Dispatch): layout as layout
9772 (smartQuote): layout as layout
9774 * BufferView2.C (unlockInset): layout as layout
9776 2002-06-24 André Pönitz <poenitz@gmx.net>
9778 * lyxfunc.C: fix #487
9780 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9784 * lyxfunc.C: remove display_shortcuts, show_banner
9786 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9788 * Buffer_pimpl.C: oops, update on resize
9790 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9797 * BufferView.C: use repaint()
9799 * BufferView_pimpl.h:
9800 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9801 as it's a clearer description. Remove superfluous
9804 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9806 * text.C: fix bug 488. Not ideal, but getting
9807 getWord() to work properly for the insets that
9808 matter is more difficult ...
9810 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9812 * BufferView_pimpl.C:
9815 * lyxfunc.C: remove the six million index lyxfuncs to just
9816 one, and DTRT (bug 458)
9818 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9822 * BufferView_pimpl.h:
9823 * BufferView_pimpl.C: clean up resize() stuff,
9824 and unnecessary updateScreen()s
9826 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9830 * BufferView_pimpl.h:
9831 * BufferView_pimpl.C:
9834 * minibuffer.C: remove focus management of workarea,
9835 not needed. Use screen's greyOut()
9837 2002-06-17 Herbert Voss <voss@lyx.org>
9839 * converter.C: (convert) do not post a message, when converting
9840 fails, let the calling function decide what to do in this case
9842 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9844 * lyxfunc.C: tidy up a little
9846 2002-06-16 <alstrup@diku.dk>
9848 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9849 Got rid of FORMS_H_LOCATION include. Now we are
9852 2002-06-15 LyX Development team <lyx@rilke>
9854 * buffer.[Ch] (sgmlOpenTag):
9855 (sgmlCloseTag): Added support for avoiding pernicious mixed
9856 content. Return number of lines written.
9859 (makeDocBookFile): Fixed calls to sgml*Tag.
9860 Simple white space clean.
9862 (simpleDocBookOnePar): Simple white space clean.
9864 * tabular.[Ch] (docBook): Renamed to docbook and got another
9865 argument to related with the pernicious mixed content.
9867 (docbookRow): Fixed calls for docbook inset method.
9869 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9871 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9872 so it's X11 independent.
9876 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9878 2002-06-15 Lyx Development team <lyx@electronia>
9880 * intl.h: Renamed getTrans to getTransManager.
9882 2002-06-14 Angus Leeming <leeming@lyx.org>
9884 * Makefile.am: nuke forgotten stl_string_fwd.h.
9886 2002-06-12 Angus Leeming <leeming@lyx.org>
9888 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9890 2002-06-13 Angus Leeming <leeming@lyx.org>
9893 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9895 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9897 * kbmap.C (getiso): add support for cyrillic and greek
9899 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9903 * BufferView_pimpl.h:
9904 * BufferView_pimpl.C: move bogus scrolling logic
9907 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9910 * BufferView_pimpl.C: view->resize() change
9912 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9914 * BufferView_pimpl.C: topCursorVisible
9917 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9921 * lyx_gui.C: move to frontends/
9925 * lyx_main.C: changes from above
9927 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9934 * lyx_main.C: minor tidy
9936 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9938 * BufferView_pimpl.h:
9939 * BufferView_pimpl.C:
9941 * BufferView.C: make painter() const,
9944 * BufferView2.C: use screen() accessor
9947 * lyx_main.C: some minor cleanup
9949 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9951 * BufferView_pimpl.h:
9952 * BufferView_pimpl.C: remove enter/leaveView,
9955 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9960 * BufferView_pimpl.h:
9961 * BufferView_pimpl.C: only construct screen once,
9964 * lyxrc.C: remove pointless comment
9966 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9969 * BufferView.C: remove active() and belowMouse()
9971 * BufferView_pimpl.h:
9972 * BufferView_pimpl.C: use workarea() not workarea_,
9973 and make it use a scoped_ptr instead
9975 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9977 * lyx_gui.C: add debug message on BadWindow
9979 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9981 * sp_spell.C: fdopen is not part of the C++ standard.
9983 * paragraph.C (InsetIterator): use >= instead of ==
9985 2002-06-07 Angus Leeming <leeming@lyx.org>
9987 Fixes needed to compile with Compaq cxx 6.5.
9988 * BufferView_pimpl.C:
9995 * lyxtextclasslist.C:
10000 all c-library variables have been moved into namespace std. Wrap
10001 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10006 Add a using std::abs declaration.
10008 * kbmap.h (modifier_pair):
10009 * paragraph.h (InsetTable, InsetList):
10010 * lyxfont.h (FontBits):
10011 type definition made public.
10013 * bufferlist.C (emergencyWriteAll): the compiler complains that
10014 there is more than one possible lyx::class_fun template to choose from.
10015 I re-named the void specialisation as lyx::void_class_fun.
10017 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10019 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10020 the compiler is is unable to find tostr in write_attribute.
10022 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10024 * buffer.C (sgmlError): hide #warning
10026 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10028 * xtl/*: get rid of xtl, which is not in use anyway
10030 * LyXAction.C (init):
10031 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10032 were unimplemented xtl experimentation
10034 2002-06-04 André Pönitz <poenitz@gmx.net>
10036 * lyxfunc.C: disable array operation on simple formulae
10038 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10040 * converter.C: constify a bit
10042 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10044 * lyx_gui.C: check xforms version correctly
10046 2002-04-30 Herbert Voss <voss@lyx.org>
10048 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10051 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10053 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10054 attempt to register it with a VCS)
10056 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10058 * lyx_main.C (init): honor variables LYX_DIR_13x and
10061 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10065 * lyx_main.C: fix a crash on bad command line,
10066 and give a useful exit status on error
10068 * lyxfunc.C (doImport): allow -i lyx to work
10070 2002-03-30 André Pönitz <poenitz@gmx.net>
10072 * lyxfunc.C: mathed font changes
10074 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10089 * trans_mgr.h: srcdocs, and some minor cleanups
10091 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10093 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10094 call getFont all the time)
10096 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10098 * switch from SigC signals to boost::signals
10100 2002-05-29 André Pönitz <poenitz@gmx.net>
10102 * paragraph_pimpl.C (getChar): don't call size() too often...
10104 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10106 * paragraph_pimpl.C (insertChar): do not try to update tables when
10107 appending (pos == size())
10109 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10110 in order to reduce drastically the number of comparisons needed to
10111 parse a large document
10113 2002-05-29 André Pönitz <poenitz@gmx.net>
10119 * textclasslist.[Ch]:
10120 * sp_ispell.h: whitespace change
10122 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10124 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10125 lyxaction directly now.
10127 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10131 * lyxvc.C: remove unused headers
10133 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10140 * undo_funcs.C: some cleanups. Use shared_ptr
10141 and a template for the undo stacks.
10143 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10145 * BufferView_pimpl.h:
10146 * BufferView_pimpl.C:
10153 * text2.C: use key_state/mouse_state
10155 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10157 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10160 * chset.C: change include order
10161 (loadFile): use boost regex and get rid of LRegex and LSubstring
10163 * Makefile.am (BOOST_LIBS): new variable
10164 (lyx_LDADD): use it
10166 * LaTeX.C: change include order.
10167 (scanAuxFile): use boost regex and get rid of LRegex and
10171 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10176 * FontInfo.C: moved to frontends/xforms/
10179 * FontLoader.C: moved into frontends for GUIIzation
10184 * lyxfunc.C: changes from above
10186 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10188 * LColor.C: remove spurious X include
10190 * BufferView_pimpl.C:
10195 * text2.C: move font metrics to frontends/
10197 2002-05-24 Juergen Vigna <jug@sad.it>
10199 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10200 setting the undo_cursor.
10202 * ParagraphParameters.h: include local includes first.
10204 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10206 * BufferView_pimpl.C:
10207 * BufferView_pimpl.h:
10211 * screen.C: move WorkArea into frontends/
10217 * BufferView2.C: move LyXScreen into frontends/
10221 * lyx_gui.C: move lyxlookup into frontends/xforms/
10223 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10226 * BufferView_pimpl.C:
10236 * bufferview_funcs.C:
10249 * vc-backend.C: move LyX/XFormsView into frontends/
10251 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10263 * text2.C: move Painter to frontends/
10265 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10267 * buffer.C: comment out some some code that depend upon lyx_format
10270 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10271 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10273 * buffer.h (NO_COMPABILITY): turn off compability
10275 * ColorHandler.C: include scoped_array.hpp
10277 * font.C: Use more specific smart_ptr header.
10280 * ShareContainer.h: ditto
10281 * lyx_main.h: ditto
10283 * FontInfo.h: ditto
10284 * BufferView_pimpl.h: ditto
10285 * ColorHandler.h: ditto
10287 * kbmap.C (defkey): change call to shared_ptr::reset
10289 2002-05-21 Juergen Vigna <jug@sad.it>
10291 * buffer.C (insertErtContents): fix to insert ert asis if it is
10292 non empty. Skip it completely if it contains only whitespaces.
10294 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10296 * BufferView_pimpl.C:
10297 * BufferView2.C: clear selection on paste (bug 393)
10299 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10301 * DepTable.C: include ctime
10303 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10305 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10307 2002-05-14 Juergen Vigna <jug@sad.it>
10309 * text.C (breakParagraph): fixed function to honor the keepempty
10310 layout in the right maner and also to permit the right breaking
10311 algorithm on empty or non empyt keepempty paragraphs.
10313 * paragraph.C (breakParagraph): we have to check also if the par
10314 is really empty (!size()) for isempty otherwise we do the wrong
10317 2002-05-10 Juergen Vigna <jug@sad.it>
10319 * buffer.[Ch] : The following are only changes to the ert
10320 compatibility read reading old LaTeX layout and font stuff and
10321 convert it to ERTInsets.
10323 * buffer.h: added isErtInset().
10325 * buffer.C (struct ErtComp): add a fromlayout bool to check
10326 if we're inside a LaTeX layout.
10327 (isErtInset): new helper function.
10328 (insertErtContents): look for other ert insets before this one
10329 and insert the contents there, so that we don't have subsequent
10330 ERT insets with nothing between them. This way we create only one
10331 inset with multiple paragraphs. Also check if we don't insert only
10332 spaces ' ' as they are ignored anyway afterwards in the .tex file
10333 so if we have only spaces we will ignore this latex part in the
10335 (parseSingleLyXformat2Token \\layout): better compatibility when
10336 reading layout-latex stuff.
10337 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10339 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10340 stuff after reading the inset only get the information back from
10343 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10345 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10347 * LaTeXFeatures.C (getBabelOptions): New method.
10349 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10351 * BufferView_pimpl.C (Dispatch): work around missing argument for
10354 2002-05-08 Juergen Vigna <jug@sad.it>
10356 * text.C (leftMargin): handle paragraph leftindent.
10358 * paragraph.C (writeFile): write the new \\leftindent tag.
10359 (validate): handle leftindent code.
10360 (TeXEnvironment): handle paragraphleftindent code again.
10362 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10364 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10365 for paragrap_extra indent code and new token \\leftindent.
10366 (latexParagraphs): handle the leftindent as environment.
10368 * ParameterStruct.h: added leftindent support.
10370 * ParagraphParameters.C (leftIndent): added support functions for
10371 the paragraph left indent.
10373 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10376 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10378 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10381 * text.C (computeBidiTables): No bidi in insetERT.
10383 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10386 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10388 * version.C.in: pre 5
10390 2002-05-02 José Matos <jamatos@fep.up.pt>
10391 * buffer.C (makeDocBookFile): white space changes, add newline to
10393 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10395 * tabular.C (docBook): fix typo.
10397 2002-05-03 Juergen Vigna <jug@sad.it>
10399 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10400 change in LyXText as we can not be sure it was not freed.
10401 (drawOneRow): remove unused code.
10403 * text.C (drawInset): redo the calculation of the need_break_row as
10404 it could have a row which was already freed.
10405 (draw): look at the return value of drawInset and return false if
10406 it also returned false.
10407 (paintRowText): look at the return value of draw and return false if
10408 it also returned false.
10410 * lyxtext.h: added bool return type to drawInset() and draw() so that
10411 if we have a change in the row so that the rowbreak has to be redone
10412 we abort drawing as it will be called again.
10414 2002-05-02 Juergen Vigna <jug@sad.it>
10416 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10417 a change in the maintext also if we're inside an inset.
10418 (Dispatch): set the cursor again after a break line and after the
10419 screen has been updated as it could be we're in a different row.
10421 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10422 to set the cursor behind the pargraph with > size().
10423 (setCursor): check also for the same paragraph when checking where
10424 to put the cursor if we have a NFR inset.
10426 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10427 parts of layout read further up as it still was in the wrong
10430 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10432 * screen.C (drawFromTo): change sine fullRebreak always return
10435 * buffer.C (parseSingleLyXformat2Token): reindent some
10437 * BufferView_pimpl.C (update): change since fullRebreak always
10439 (Dispatch): git rid of the last hardcoded "Standard"s.
10441 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10443 * text2.[Ch] (fullRebreak): make it return void now that we always
10446 2002-04-30 Juergen Vigna <jug@sad.it>
10448 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10449 ert compatibility check for "latex" layout.
10451 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10453 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10454 minipages: use col% instead of p%, and also use the current font.
10455 (makeLaTeXFile): Fix use babel condition.
10456 (parseSingleLyXformat2Token): Correct font when reading old floats.
10458 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10460 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10461 inserting list of floats.
10463 2002-04-25 Herbert Voss <voss@lyx.org>
10465 * MenuBackend.C (expand): don't add the graphics extensions to the
10468 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10470 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10471 non-existing layout, do not complain if it was the default layout
10472 of the original class (bug #342)
10474 2002-04-24 Juergen Vigna <jug@sad.it>
10476 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10477 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10479 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10481 * buffer.C (getBibkeyList): If using \bibliography, return the
10482 option field with the reference itself. Enables us to provide natbib
10483 support when using \bibliography.
10485 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10487 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10489 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10490 natbib is provided by the LaTeX class.
10492 2002-04-23 Juergen Vigna <jug@sad.it>
10494 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10497 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10499 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10501 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10503 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10504 ensuremath around textordmasculine, textordfeminine and
10507 2002-04-19 Juergen Vigna <jug@sad.it>
10509 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10510 reinitializing the buffer otherwise row-dimensions may be wrong.
10511 (update): reset also the selection cursors if they do exits otherwise
10512 their x/y positions may be wrong.
10514 * text2.C (cursorDown): don't enter the inset if we came from a row
10515 above and are one row over the inset.
10517 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10518 really leaving an inset.
10520 2002-04-18 Juergen Vigna <jug@sad.it>
10522 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10523 of the selected paragraph does not have the selected layout also if
10526 * text2.C (setLayout): fixed bug which did not change last selected
10529 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10530 changed the read and substituted \\end_float with \\end_inset!
10532 * BufferView_pimpl.C (cursorPrevious):
10533 (cursorNext): fixed to make it work with rows heigher than the work
10534 area without moving the cursor only the draw of the row.
10535 (workAreaMotionNotify): fix jumping over high rows.
10537 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10539 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10542 2002-04-16 Juergen Vigna <jug@sad.it>
10544 * text2.C (setCursor): set also the irow().
10545 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10547 (cursorDown): support for locking an inset if the x_fix value goes
10548 inside it. That way I can transverse insets too with cursor up/down.
10550 * lyxrow.h: added irow helper function same as other (i) functions.
10552 * BufferView_pimpl.C (cursorPrevious):
10553 (cursorNext): fixed for insets!
10555 2002-04-15 Juergen Vigna <jug@sad.it>
10557 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10558 position otherwise it is wrong in some cases.
10560 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10561 inside the inset before the call.
10563 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10565 * buffer.[Ch] (getBibkeyList): make it const.
10567 2002-04-12 Juergen Vigna <jug@sad.it>
10569 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10571 * text2.C (getCursorX): new helper function
10572 (setCursor): compute also ix_
10573 (setCursorFromCoordinates): set also ix.
10575 * lyxcursor.h: added ix_ and helper functions.
10577 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10579 * buffer.C (insertStringAsLines): dont break paragraph if the this
10580 paragraph is inside an inset which does not permit it!
10582 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10583 also with no chars on this paragraph.
10584 (paintRowText): only paint stuff if it's inside the workarea!
10586 * paragraph.C (breakParagraph): honor keepempty flag and break the
10587 paragraph always below not above.
10589 * BufferView2.C (unlockInset): update the paragraph layout on inset
10590 unlock as we changed paragraph in such a case.
10592 * lyxfind.C (LyXFind): clear the former selection if not found!
10594 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10595 again called in insertChar().
10597 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10598 an inset which uses the whole row!
10599 (rightMargin): ditto.
10600 (insertChar): force a rebreak if we inserted an inset!
10602 2002-03-28 Herbert Voss <voss@lyx.org>
10604 * lyxlength.[Ch]: add inBP() to get the right PS-point
10605 units (BigPoint). With inPixels we have rounding errors
10607 2002-04-11 Juergen Vigna <jug@sad.it>
10609 * text2.C (setCursorFromCoordinates): set iy to the right value.
10610 (setCursor): add check if row->previous exists!
10612 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10613 an old float_type as this was the case in the old code!
10615 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10617 * BufferView2.C (showLockedInsetCursor): use iy
10618 (fitLockedInsetCursor): ditto
10620 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10621 locked insets as there we have the right value now.
10623 * lyxcursor.C: added iy_ variable and iy functions to set to the
10624 baseline of cursor-y of the locked inset.
10626 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10627 (setCursor): fixed for insets which need a full row.
10629 * text.C (rowLastPrintable): don't ignore the last space when before
10630 an inset which needs a full row.
10631 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10632 as last character of a row when before a inset which needs a full row.
10634 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10636 * version.C.in: update date
10638 * text2.C (fullRebreak): try to always return true and see what
10641 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10643 * MenuBackend.C (expand): use Floating::listName
10645 * FloatList.C (FloatList): add listName argument to the built-in
10648 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10649 text associated with the float.
10651 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10653 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10655 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10657 * ShareContainer.h: add a couple of missing typenames.
10659 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10661 * lyxrc.C (getDescription): use _() correctly rather than N_().
10663 2002-03-28 Herbert Voss <voss@lyx.org>
10665 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10666 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10668 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10670 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10671 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10673 2002-03-29 Juergen Vigna <jug@sad.it>
10675 * lyxfunc.C (dispatch): add a missing fitCursor call.
10677 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10678 it was scrolled by a cursor move, so return the bool status.
10680 * BufferView.C (fitCursor): return the bool flag also to the outside
10681 world as this is needed.
10683 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10685 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10686 call the edit() as it is not needed (and wrong) IMO.
10687 (workAreaButtonPress): set the screen_first variable before evt.
10688 unlock the inset as this may change screen_first and then we have
10689 a wrong y position for the click!
10691 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10693 * MenuBackend.C (expand): another translation that I missed
10695 2002-03-28 Juergen Vigna <jug@sad.it>
10697 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10699 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10701 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10703 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10705 * MenuBackend.C (expand): fix export/view/update when there is no
10708 2002-03-27 Herbert Voss <voss@lyx.org>
10710 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10713 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10715 * bufferview_funcs.C (currentState): only show paragraph number
10716 for is DEVEL_VERSION is set.
10718 * lyxfunc.C (dispatch): put warning in INFO channel
10720 * MenuBackend.C (expand): translate the name of floats
10722 * FloatList.C (FloatList): mark the float names for translation
10724 * converter.C (convert): use LibScriptSearch
10726 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10728 * MenuBackend.C (defaults): fix default menu (we might as well get
10731 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10733 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10736 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10738 * lyxvc.C: reorder includes.
10740 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10742 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10745 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10747 * CutAndPaste.C: change layouts earlier on paste
10748 to avoid crashing when calling getFont()
10750 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10752 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10755 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10757 * WorkArea.C: remove 'Pending' debug message.
10759 * most files: ws cleanup
10761 * buffer.[Ch]: ws changes
10763 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10765 2002-03-21 Juergen Vigna <jug@sad.it>
10767 * tabular.C (SetMultiColumn): collapse also the contents of the
10768 cells and set the last border right. Added a Buffer const * param.
10770 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10772 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10775 2002-03-19 Juergen Vigna <jug@sad.it>
10777 * text2.C (clearSelection): reset also xsel_cache.
10779 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10780 where it needs to be called (John tells us to do so too :)
10781 (selectionLost): reset sel_cache.
10783 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10785 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10787 * text2.C (setCursorIntern): put debuging code in INSETS channel
10789 2002-03-19 André Pönitz <poenitz@gmx.net>
10791 * lyxfunc.C: tiny whitespace change
10793 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10795 * ToolbarDefaults.C (init):
10796 * LyXAction.C (init):
10798 * BufferView_pimpl.C (Dispatch):
10799 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10801 2002-03-19 Allan Rae <rae@lyx.org>
10803 * exporter.C (Export): removeAutoInsets before doing anything else.
10804 While I've just introduced a dependency on BufferView this really is
10805 the best place to clean the buffer otherwise you need to cleanup in
10806 a dozen places before calling export or cleanup in a dozen functions
10809 * converter.C (runLaTeX):
10810 (scanLog): Better handling of removeAutoInsets and screen updates.
10812 * lyxfunc.C (dispatch): small whitespace changes
10814 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10816 * WorkArea.C (C_WorkAreaEvent): return a value.
10817 (event_cb): return 1 if we handled the event, 0 otherwise.
10819 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10821 2002-03-18 Juergen Vigna <jug@sad.it>
10823 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10824 (GetAdditionalWidth): ditto.
10825 (RightLine): ditto.
10828 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10829 inset if we're there actually (probably not used right now but this
10830 is the direction to go for unifying code).
10831 (paste): disable code to clear the selection.
10833 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10834 inside an InsetText and move the check further up as it is in the
10837 * text2.C (pasteSelection): set a selection over the pasted text.
10839 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10841 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10842 and libgraphics to build on Cygwin.
10844 2002-03-15 Juergen Vigna <jug@sad.it>
10846 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10847 inserting an Inset into the paragraph. I know this is not the best
10848 fix but we already use current_view in CutAndPaste so we will remove
10849 all of it's using at the same time.
10851 * buffer.C (sgmlError): deactivated function till it is rewritten in
10852 the right mode, now it can create problems.
10854 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10855 before accessing it.
10857 2002-03-14 Juergen Vigna <jug@sad.it>
10859 * undo_funcs.C (textHandleUndo): do the right thing when updating
10860 the inset after the undo/redo.
10862 * text2.C (setCursor): just some testcode for #44 not ready yet.
10864 * undo_funcs.C (textHandleUndo): set the next() and previous()
10865 pointers of the paragraph to 0 before deleting otherwise we have
10866 problems with the Paragraph::[destructor].
10868 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10869 on a paragraph insertion.
10871 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10873 * buffer.C (asciiParagraph): use += operator for char append to
10876 * paragraph.C (getFontSettings): compare >= not just >
10877 (highestFontInRange): ditto
10880 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10882 * paragraph.C: change several algorithm to be more appripriate for
10883 the problem domain. This is lookip in FontList and in the InsetList.
10885 2002-03-13 André Pönitz <poenitz@gmx.net>
10888 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10890 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10895 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10897 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10899 * Painter.C (display): anon helper function, adjust code for this
10901 (pixmap): remove function.
10903 * Painter.h: remove private display variable.
10905 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10907 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10909 * WorkArea.[Ch]: remove figinset_canvas cruft.
10911 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10913 * lyxtextclass.C (operator): add one item cache optimization.
10915 * bufferlist.h: doxy changes
10917 * bufferlist.C: ws changes
10919 * DepTable.[Ch] (ext_exist): place const in the right spot.
10921 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10923 (workAreaExpose): call resizeInsets when the with BufferView changes.
10924 (Dispatch): adjust for protectedBlank removal
10925 (specialChar): call updateInset if the insert went ok.
10927 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10928 specialChar instead.
10930 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10932 * BufferView.h: doxy change
10934 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10936 * lyxtextclass.C (operator[]): remove non-const version
10937 (defaultLayout): remove non-const version
10939 2002-03-12 Juergen Vigna <jug@sad.it>
10941 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10942 did resize the LyXText too.
10944 * buffer.C (readLyXformat2): set layout information on newly allocated
10947 * tabular.C (OldFormatRead): set layout information on the paragraph.
10949 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10951 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10953 2002-03-11 Juergen Vigna <jug@sad.it>
10955 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10957 (resizeCurrentBuffer): force also the insets to resize themselfes.
10958 (moveCursorUpdate): fixed up for InsetText.
10960 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10963 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10964 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10965 value of Dialogs::tooltipsEnabled().
10966 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10968 2002-03-08 Juergen Vigna <jug@sad.it>
10970 * BufferView_pimpl.C (updateInset): update inset inside inset also
10971 if it isn't inside theLockingInset().
10973 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10975 * buffer.C (asciiParagraph): redo some of the word and line length
10977 (getLists): look for Caption instead of caption.
10979 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10981 * buffer.C (Buffer): initialize niceFile to true
10983 (makeLinuxDocFile):
10984 (makeDocBookFile): make sure niceFile is true on exit
10986 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10988 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10990 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10992 * LyXSendto.C: remove.
10993 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10994 * lyx_gui.C: remove now-redundant comment.
10995 * ColorHandler.h: remove forward declaration of class WorkArea.
10996 * lyxfunc.C: remove #include "WorkArea.h".
10998 2002-03-07 Juergen Vigna <jug@sad.it>
11000 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11001 got moved away with the DEPM and also set the inset_owner always
11002 right which before could have been omitted.
11004 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11006 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11007 wanted layout is not found.
11009 2002-03-07 Juergen Vigna <jug@sad.it>
11011 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11013 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11015 * paragraph.C (breakParagraph): use default layout not layout of
11017 (Paragraph): clear ParagraphParameters.
11019 2002-03-06 Juergen Vigna <jug@sad.it>
11021 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11022 otherwise it would not be a valid lenght. Fixed a special case in
11023 the minipage compatibility read where we end the document with a
11026 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11027 was set as it could be 0 for InsetTexts first entry.
11029 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11031 * paragraph.C (writeFile): if layout is empty write out
11032 defaultLayoutName().
11034 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11035 file without named layout we set layout to defaultLayoutName().
11037 2002-03-06 Juergen Vigna <jug@sad.it>
11039 * CutAndPaste.C (copySelection): set layout for new paragraph.
11041 * text.C (prepareToPrint): leave ERT inset left aligned
11042 (leftMargin): don't indent paragraphs inside ERT insets
11044 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11046 * paragraph.C (breakParagraph): dont call clear do the work manually
11048 * paragraph.[Ch] (clear): remove function
11050 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11052 * paragraph.C (Paragraph): dont call clear, the work has already
11055 * lyxtextclass.C (operator): assert if n is empty
11057 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11058 work manually instead.
11060 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11062 * BufferView_pimpl.C: protect selectionLost against text == 0
11064 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11066 * text.C (breakParagraph): fix a setting layout to '0' problem.
11068 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11070 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11071 final location of file, for the included files, and graphics.
11073 2002-03-05 Juergen Vigna <jug@sad.it>
11075 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11077 2002-03-04 Juergen Vigna <jug@sad.it>
11079 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11081 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11082 last column of multicolumn cells.
11083 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11085 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11087 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11088 file if it doesn't go to a temporary file.
11090 * buffer.C (sgmlOpenTag):
11091 (sgmlCloseTag): remove extra newline insertion.
11093 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11095 * text.C (getRowNearY): comment out debug msg
11097 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11099 * text2.C: first -> first_y
11101 * text.C (getRowNearY): add some attemts at a possible
11102 optimization, not working.
11104 * tabular.[Ch]: add BufferParams to several function so that newly
11105 created paragraph can be initialized to he default layotu for the
11108 * tabular-old.C (ReadOld): add buf->params to call of Init
11110 * screen.C: rename text->first to text->first_y
11112 * paragraph.C (breakParagraph): always set layout in the broken
11115 * lyxtextclass.C (Read): remove lowercase
11118 (delete_layout): ditto
11120 * lyxtext.h: rename first -> first_y
11122 * lyxlayout.C (Read): remove lowercase
11125 (obsoleted_by): ditto
11127 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11129 * buffer.C (insertErtContents): add params are to InsetERT
11130 (parseSingleLyXformat2Token): add code to check if a paragraphs
11131 layout really exist.
11132 (parseSingleLyXformat2Token): add params to several inset
11134 (asciiParagraph): remove lowercase, do the layout comparisons with
11137 * BufferView_pimpl.C (cursorNext): first -> first_y
11138 (resizeCurrentBuffer): first -> first_y
11139 (updateScrollbar): first -> first_y
11140 (scrollCB): first -> first_y
11141 (workAreaMotionNotify): first -> first_y
11142 (workAreaButtonPress): first -> first_y
11143 (checkInsetHit): first -> first_y
11144 (cursorPrevious): first -> first_y
11145 (cursorNext): first -> first_y
11146 (Dispatch): add buffer_->params to severl inset contructors
11148 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11150 * lyxlayout.C (Read): remove some debug info that I forgot.
11152 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11153 clean up the code slightly.
11154 (makeLinuxDocFile): ditto
11155 (makeDocBookFile): ditto
11157 * text2.C: layout as string
11159 * text.C: layout as string
11161 * paragraph_pimpl.C: layout as string
11163 * paragraph.[Ch]: layout as string
11165 * lyxtextclasslist.[Ch]: layout as string
11167 * lyxtextclass.[Ch]: layout as string
11169 * lyxtext.h: layout as string
11171 * lyxlayout.[Ch]: layout as string
11173 * lyx_cb.C: layout as string
11175 * bufferview_funcs.C: layout as string
11177 * bufferparams.C: layout as string
11179 * buffer.C: layout as string
11181 * LyXView.[Ch]: layout as string
11183 * LaTeXFeatures.[Ch]: layout as string
11185 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11187 * BufferView_pimpl.C: change current_layout to string, remove
11192 (workAreaButtonRelease): layout as string
11194 * BufferView2.C (unlockInset): adjust
11196 * vspace.C (asLatexCommand): use an explict temp variable.
11198 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11200 * Makefile.am: use FRONTEND_*
11202 2002-03-01 Juergen Vigna <jug@sad.it>
11204 * tabular.C (SetWidthOfMulticolCell): changed to something better
11205 I hope but still work in progress.
11206 (recalculateMulticolumnsOfColumn): renamed function from
11207 recalculateMulticolCells as it is more appropriate now.
11208 (SetWidthOfCell): calculate multicols better.
11210 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11212 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11214 * lyxfunc.C (processKeySym): print sequence also if it is
11215 `deleted' (complete)
11217 * kbsequence.C (print): print sequence even if it is deleted
11218 (complete would be a better word, actually).
11220 * lyxfunc.C (dispatch): print complete options after a prefix key
11222 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11224 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11226 * text2.C (setCharFont): eliminate setCharFont code duplication.
11228 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11230 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11231 LFUN_TABULAR_FEATURE (bug #177)
11233 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11235 * Makefile.am: remove figure.h
11237 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11239 * Bufferview_pimpl.C:
11251 * text2.C: remove #include "lyx_gui_misc.h".
11253 * LaTeX.C: added #include <cstdio>
11255 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11257 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11258 that the paragraph following this one can have.
11260 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11262 * vspace.C (asLatexCommand): fix bogus gcc warning
11264 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11266 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11268 * text2.C (setLayout): get rid of redundant code
11270 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11272 * text2.C (incDepth): make sure depth cannot be increased beyond
11275 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11277 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11278 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11280 * PainterBase.h (image):
11281 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11282 a LyXImage const *.
11284 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11288 * BufferView_pimpl.C:
11289 * BufferView_pimpl.h:
11309 * sp_spell.C: remove fig inset, and the crap house of
11310 cards that follows it
11312 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11317 * os2_errortable.h:
11318 * nt_defines.h: move .h into support/
11320 * vms_defines.h: remove
11322 * WorkArea.C: add space in debug output
11326 * buffer.C: add WITH_WARNINGS
11330 * bufferlist.C: s/retrive/retrieve/, add docs
11339 * chset.C: add docs
11341 * lyxgui.C: add ID to X error handler
11343 * lyxtestclass.c: fix typo
11345 2002-02-26 Juergen Vigna <jug@sad.it>
11347 * tabular_funcs.C (write_attribute): changed so that some default
11348 attributes are not written at all.
11349 (getTokenValue): set default values before trying to read the
11350 value so we have the return value always set as default if we don't
11351 find the token we search for.
11353 * tabular.C (Write): write bools as bools not as strings!
11355 2002-02-22 Juergen Vigna <jug@sad.it>
11357 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11358 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11360 * text.C (leftMargin): don't add an indent for paragraphs inside
11361 tabular cells (fix #208).
11363 2002-02-21 José Matos <jamatos@fep.up.pt>
11365 * tabular.C (docBook): fixed support for long tables.
11367 2002-02-20 Juergen Vigna <jug@sad.it>
11369 * text2.C (getFont): get the drawing font of the Inset if this
11370 paragraph is inside an inset (only important for InsetERT for now).
11372 * buffer.C (insertErtContents): use new lanugage params in ERT
11375 * CutAndPaste.C: commenting out seemingly uneeded code.
11377 2002-02-19 Allan Rae <rae@lyx.org>
11379 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11380 Iterators might be simple to use but they also get invalidated.
11381 (removeAutoInsets): renamed saved cursor tracking variables and added
11382 some comments to clarify what everything does.
11384 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11391 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11392 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11395 * vc-backend.h: remove #include "support/syscall.h"
11399 * converter.C: rearrange #includes in Lars' approved fashion.
11401 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11402 forward declare class Timeout in the header file.
11404 * XFormsView.C: changes due to the above.
11406 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11407 similar to LyXView.
11409 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11410 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11412 2002-02-18 José Matos <jamatos@fep.up.pt>
11414 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11417 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11419 * a lot of small ws changes
11420 * add a lot of using std::XXX
11421 * use std construcs some places where approp.
11422 * use some exisint stuff from lyxfunctional where approp.
11423 * Make file changes to use partial linking (lets test this now...)
11425 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11429 remove #include "support/syscontr.h" as it's redundant. Always has been.
11437 change Systemcalls::System to Systemcalls::Wait and
11438 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11439 No change of functionality, just reflects the stripped down Systemcalls
11442 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11444 * debug.[Ch]: add a GRAPHICS type to the enum.
11446 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11448 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11450 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11453 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11455 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11456 match the changes below.
11458 * text2.C (toggleInset): if there is not editable inset at cursor
11459 position, try to see if cursor is _inside_ a collapsable inset
11462 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11464 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11465 document menu has a nice checkbox
11467 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11469 * lyxlength.C (asLatexString): change PW to output as percent of
11472 * lengthcommon.C: change '%' to 't%'
11474 * lyxfunc.C (dispatch): a few comments from Martin
11476 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11480 * BufferView_pimpl.h:
11481 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11484 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11486 * vspace.C (inPixels): fix compiler warning
11488 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11490 * lyxfunc.C (getStatus): fix status message for disabled commands.
11492 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11494 * BufferView_pimpl.C: fix crash on close buffer
11495 during selection (#227)
11497 2002-01-27 Herbert Voss <voss@lyx.org>
11499 * buffer.C: link old Figure to new graphic inset
11501 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11503 * FontLoader.C (getFontinfo): Change the latex font names in order
11504 to match the names of type1inst.
11506 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11508 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11510 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11511 (extchanged): ditto
11513 (remove_files_with_extension): ditto
11514 (remove_file): ditto
11517 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11518 document is smaller than the work area height. Do not initialize
11519 static variables to 0.
11521 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11523 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11525 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11526 LFUN_LAYOUT_PARAGRAPHS.
11528 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11529 tabular. It is possible to provide a possible cell, which will
11530 typically be the actcell from the corresponding insettabular
11532 * lyxfunc.C (getStatus): small cleanup; disable
11533 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11536 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11538 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11540 * paragraph.C (startTeXParParams):
11541 (endTeXParParams): new methods. The LaTeX code to
11542 start/end paragraph formatting
11543 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11544 empty (fixes bug #200)
11546 * vspace.C (inPixels): adapt to the change below
11547 (inPixels): [later] more cleanups (remove unused variables)
11549 * lyxlength.C (inPixels): change to use a width and a height as
11552 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11554 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11555 Replaced with \paperwidth
11557 * DepTable.C (insert): add std:: qualifier
11559 2002-01-18 Allan Rae <rae@lyx.org>
11561 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11564 * text.C (drawInset): Turned out I didn't know enough about how
11565 rebreaking worked. This fixes most of the redraw problems. I see
11566 an occasional cursor trail when a line is broken now and the cursor
11567 placement can seem out by a few pixels also after a rebreak.
11569 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11571 * buffer.C (parseSingleLyXformat2Token): update because minipage
11572 width is now a LyXLength
11574 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11576 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11579 2002-01-17 Juergen Vigna <jug@sad.it>
11581 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11583 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11584 is set correctly and the inset is updated correctly.
11586 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11588 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11589 the beginning of the loop.
11591 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11593 * lyxrc.C: improve help for use_scalable_fonts
11595 2002-01-17 Allan Rae <rae@lyx.org>
11597 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11599 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11601 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11602 make sure to set their inset_owner to the right value (bug #171)
11604 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11607 * DepTable.C: Implement mtime checking to reduce time spent doing
11610 2002-01-16 Juergen Vigna <jug@sad.it>
11612 * tabular.C (GetAdditionalHeight): one of error fixed.
11614 * lyxrc.C (output): small fix in writing use_pspell.
11616 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11618 * sp_base.h: #include LString.h
11620 2002-01-16 Allan Rae <rae@lyx.org>
11622 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11623 Can someone check this please?
11625 * text.C (drawInset): It was possible that p.row would be removed by
11626 breakAgainOneRow upsetting a few other settings. There may be another
11627 small tweak possible by setting need_break_row = 0 when p.row has been
11628 removed but I don't know enough about the logic here.
11630 2002-01-15 Allan Rae <rae@lyx.org>
11632 * text.C (insertChar): removed conditional truism.
11634 * BufferView2.C (removeAutoInsets): More tweaks.
11635 cur_par_prev could be a stray pointer. Check for trailing empty line
11636 in case last line was cur_par and only had an error inset on it.
11638 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11640 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11643 * vc-backend.C (most methods):
11644 * exporter.C (Export):
11645 * converter.C (convert):
11647 * LyXSendto.C (SendtoApplyCB):
11648 * lyxfunc.C (dispatch):
11652 * lyx_cb.C (AutoSave):
11654 * BufferView_pimpl.C (MenuInsertLyXFile):
11655 * buffer.C (runChktex): use Buffer::filePath().
11657 * buffer.h: rename filename to filename_; rename filepath to
11658 filepath_ and make it private
11659 (filePath): new method
11661 * buffer.C (writeFile): use fileName()
11664 * lyx_main.C (init): fix starting of LyX when the binary is a
11665 link from so,ewhere else.
11667 * minibuffer.C: include <cctype> for isprint
11669 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11671 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11672 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11673 name clash with InsetCollapsable's width function.
11675 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11677 * lastfiles.C: include <iterator>
11679 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11681 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11684 * buffer.C (makeLaTeXFile): ditto.
11685 Also make loop operation more transparent.
11687 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11689 * ToolbarDefaults.C: remove trailing comma closing namespace.
11691 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11693 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11696 * trans.C (Load): comment out unused variable, allowed.
11698 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11700 * minibuffer.[Ch] (append_char): new method to recieve input from the
11701 drop-down completion browser. If a key was pressed, then recieve this
11702 char and append it to the existing string.
11703 (peek_event): modify the positioning data passed to the completion
11704 browser so that it can be placed above the minibuffer rather than below.
11705 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11707 * LyXAction.C (init): alloe error-next for readonly documents.
11709 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11712 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11714 * bufferlist.C (readFile): create the buffer _after_ checking that
11717 * lyxfunc.C (verboseDispatch): fix handling of arguments
11719 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11721 * lyxrc.C: use string::erase() instead of initializing to "".
11724 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11726 * BufferView_pimpl.h:
11727 * BufferView_pimpl.C:
11730 * text2.C: tell X when we have made a selection for copying
11732 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11734 * BufferView_pimpl.C (MenuInsertLyXFile):
11735 * lyxfunc.C (menuNew):
11737 (doImport): add shortcuts to directory buttons
11739 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11742 * lyxfunc.C (setStatusMessage):
11743 (getStatusMessage): new methods
11744 (getStatus):use setStatusMessage instead of setErrorMessage
11745 (dispatch): when function is disabled, set error message here
11746 [instead of in getStatus previously]
11748 * BufferView_pimpl.C (workAreaButtonRelease): update
11749 toolbar/menubar here too.
11751 2002-01-13 Allan Rae <rae@lyx.org>
11753 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11754 Now seems indestructible. Remaining task is to audit all other
11755 code affected by deleteEmptyParagraphMechanism. One small quirk
11756 left is that an empty document with an error in the preamble can
11757 be made to report an error but no error box appears. I don't know
11759 (removeAutoInsets): Improved comments.
11761 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11764 * Thesaurus.C: update for Aiksaurus 0.14
11766 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11768 * text2.C (firstParagraph): removed member function, all uses
11769 replaces with ownerParagraph
11770 (redoParagraphs): here
11771 (updateInset): here
11772 (toggleAppendix): here
11773 * BufferView2.C (insertErrors): here
11774 (setCursorFromRow): here
11776 2002-01-13 Allan Rae <rae@lyx.org>
11778 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11779 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11780 There is still a way to segfault this although you may have to do this
11781 multiple times: Have an InsetERT with an unknown command in it.
11782 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11783 <down-arrow>, <Enter> again, View->DVI, BANG!
11785 * text2.C (setCursor):
11786 (deleteEmptyParagraphMechanism):
11787 * lyxtext.h (setCursor):
11788 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11789 Making use of the return value may help fix other bugs.
11791 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11793 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11795 * LyXView.C (updateMenubar): call MenuBar::update here
11796 (updateToolbar): but not here
11797 (showState): do not update toolbar/menubar
11799 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11800 should need to care about that.
11802 * lyxfunc.C (verboseDispatch): simplify a bit
11803 (getStatus): have a version which takes a pseudoaction, and
11804 another which requires a (kb_action,string).
11806 * LyXAction.C (retrieveActionArg): make it work also when action
11807 is not a pseudo-action.
11808 (getActionName): simplify a bit
11811 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11813 * lyxfunc.C (verboseDispatch): new families of methods with
11814 several ways to specify a command and a bool to indicate whether
11815 the command name and shortcut should be displayed in minibuffer
11816 (eventually, we could extend that to a finer bitmask like
11817 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11818 (dispatch): the pristine dispatch command which just, well,
11819 dispatchs! Note it still sets its result to minibuffer; I'm not
11822 * lyxfunc.h: remove setHintMessage
11824 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11826 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11828 * BufferView_pimpl.C (specialChar): delete new inset if we have
11829 not been able to insert it.
11831 * kbmap.C: revert to using int instead of kb_action, since all we
11832 are dealing with is pseudo-actions.
11834 * LyXAction.C (searchActionArg): change to return int instead of
11835 kb_action, since the result is a pseudoaction.
11837 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11839 * buffer.C (insertErtContents): Fix (partially) the font bug.
11841 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11843 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11844 as the other one is broken on my machine!
11846 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11849 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11851 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11853 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11854 reflect their actual use. Provide compatibility code for older lyxrc
11857 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11859 change names of popup font variables in line with the changes to lyxrc.C
11861 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11863 * buffer.C (asciiParagraph): avoid outputing a word twice after
11866 * lyxrc.C (getDescription): document that document_path and
11867 template_path can be empty.
11869 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11871 * LaTeXFeatures.C (getMacros):
11872 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11874 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11876 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11878 (getPackages): rename feature "floats" to "float". Use an array to
11879 iterate over 'simple' features (i.e. just a \usepackage). Add
11880 handling of "amsmath" (renamed from "amsstyle").
11882 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11884 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11887 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11889 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11890 FuncStaus::FuncStatus & FuncStaus::some_method().
11892 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11894 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11895 of the func_satus stuff. Edited and massaged in various ways by
11898 * lyxfunc.C (getStatus): use FuncStatus
11900 2002-01-08 Juergen Vigna <jug@sad.it>
11902 * text.C (nextBreakPoint): use function Inset::isChar().
11904 * paragraph.C (TeXOnePar): use function
11905 Inset::forceDefaultParagraphs.
11907 * buffer.C (latexParagraphs): use function
11908 Inset::forceDefaultParagraphs.
11910 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11912 * lyx_gui.C (init): set the style of the menu popups to
11913 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11915 2002-01-07 Juergen Vigna <jug@sad.it>
11917 * text.C (setHeightOfRow): small fix
11918 (prepareToPrint): don't look at alignment if we don't have the place
11921 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11923 * box.C: New file. Move the Box methods and functions out of box.h,
11924 following Lars' suggestion.
11926 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11928 * box.h: #include "support/LOstream.h", needed for inlined function.
11931 * lyxtextclasslist.C: added some using std declarations.
11933 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11935 * box.h: make signed dimensions to allow insets wider than
11936 the screen (bug #162)
11938 * BufferView_pimpl.C: add some insetHit debug
11940 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11942 * vc-backend.C: add FIXME
11944 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11946 * lyxfunc.C (getStatus): enable code for showing math font status
11949 2002-01-07 Juergen Vigna <jug@sad.it>
11951 * text.C (nextBreakPoint): removed debug output not needed anymore.
11953 2002-01-06 Juergen Vigna <jug@sad.it>
11955 * text.C (nextBreakPoint): fixed up this function we had this bug
11956 since ever but now hopefully we break row better.
11957 (insertChar): we have to check if an inset is the next char as it
11958 could now happen that a large inset is causing a break.
11960 2002-01-05 Juergen Vigna <jug@sad.it>
11962 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11963 if it doesn't like to be drawed.
11965 2002-01-04 Juergen Vigna <jug@sad.it>
11967 * BufferView2.C (lockInset): forgot to set a cursor.
11969 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11971 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11973 * FormMathsPanel.C:
11976 * form_maths_panel.C:
11977 * form_maths_panel.h:
11978 * form_maths_panel.fd: implemented sub- and super- buttons in math
11981 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11982 (or ^ space) to be used as in TeX (req'd by André).
11984 * lyxfunc.C: Allow ^ and _ again to be used both as
11985 super/subscript (mathed) and as themselves (in text).
11987 2002-01-03 Allan Rae <rae@lyx.org>
11989 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11990 "LyX" or the filename of the current buffer if it has one. This is a
11991 modified form of John Levon's patch.
11993 * XFormsView.C (setWindowTitle): also set icon title.
11995 * LyXView.h (setWindowTitle): signature changed.
11996 * XFormsView.h (setWindowTitle): ditto.
11998 2002-01-02 Juergen Vigna <jug@sad.it>
12000 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12002 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12004 * screen.C (topCursorVisible): introduce a temp var for
12005 text->cursor.row(), handle the case where this row is null. (kindo
12008 * text2.C (setCursor): add a couple of asserts.
12010 * paragraph.h (inset_iterator): add -> operator
12012 * paragraph.[Ch] (autoDeleteInsets): remove member function
12014 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12015 cursor pos correctly and handle inset deletion by itself.
12016 (insertErrors): move iterator declaration out of for expression
12018 * lyxtextclass.C: add <algorithm>
12020 * Makefile.am: added the new files to sources, removed layout.C
12022 * layout.C: removed file
12024 * layout.h: remove LYX_DUMMY_LAYOUT
12026 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12030 * lyxtextclass.[Ch]:
12031 * lyxtextclasslist.[Ch]: new files
12033 * include order changes to a lot of files, also changes because of
12036 2001-12-27 Juergen Vigna <jug@sad.it>
12038 * buffer.C (asciiParagraph): more fixes.
12040 * tabular.C (ascii): make ascii export support export of only the
12041 data separated by a column-delimiter.
12042 (ascii): better support for ascii export.
12044 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12046 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12048 * tabular_funcs.C: use a "using std::getline" instead of the
12049 previous fix from Angus (necessary for cxx + lyxstring)
12051 2001-12-24 Juergen Vigna <jug@sad.it>
12053 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12055 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12056 problems. First check a minipage also if we have some ert-contents
12057 (not only on par->size(), second set the right depth of the paragraph
12058 on the relink to the root-paragraph-list!
12060 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12061 which then did not anymore update the main paragraphs on undo/redo!
12063 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12065 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12066 code. Support all font-changing funcs (even those which are not in
12067 menu currently). Support for reporting font settings in
12068 mathed (disabled until Andre provides a function on mathed's side).
12070 * func_status.h (toggle): small helper function to set toggle
12073 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12075 * tabular_funcs.C: getline -> std::getline
12077 2001-12-21 Juergen Vigna <jug@sad.it>
12079 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12080 accessed and could be 0 (I couldn't generate this but it seems
12083 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12085 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12086 * tabular_funcs.h: here and include iosfwd
12088 2001-12-20 Juergen Vigna <jug@sad.it>
12090 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12091 inside inset but undo_par was.
12093 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12095 * Thesaurus.C: always include <config.h> in sources.
12099 * box.h: do not include <config.h> in header files
12101 * text.C (paintLastRow): remove unused variable
12103 * text.C (transformChar):
12105 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12107 * Painter.C (text):
12108 * font.C (width): rewrite to use uppercase() instead of
12111 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12113 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12115 * lyxfind.C: clean up of find failure position change
12117 2001-12-20 Juergen Vigna <jug@sad.it>
12119 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12121 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12122 (TeXRow): added to LaTeX a single tabular row.
12123 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12124 (Latex): simplified and finally good LT-h/f support.
12125 (various_functions): just small adaptions for LT-h/f support.
12127 * tabular_funcs.[hC]: added and moved here all not classfunctions
12130 2001-12-19 Juergen Vigna <jug@sad.it>
12132 * tabular.[Ch]: better support for longtabular options (not finished
12135 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12137 * text.C (paintLastRow): use the label font instead of the font of
12138 the last character to compute the size of *_BOX. This makes more
12139 sense and avoids a crash with empty paragraphs.
12140 Use Painter::rectangle to draw EMPTY_BOX.
12142 2001-12-19 Juergen Vigna <jug@sad.it>
12144 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12145 the paragraphs if the replaced paragraph is not the first one!
12146 Tried to delete not used paragraphs but does not work yet so for
12147 now it's inside #ifdef's and by default off!
12149 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12151 * MenuBackend.C: include "lyx_main.h" instead of declaring
12152 lastfiles (actually was declared as LastFiles* instead of a
12155 2001-12-17 Juergen Vigna <jug@sad.it>
12157 * tabular.C (AppendColumn): applied John's fix
12159 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12163 * BufferView_pimpl.h:
12164 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12167 * box.h: new start of class for above
12169 * lyxfunc.C: ignore space-only minibuffer dispatches.
12170 Show the command name when it doesn't exist
12172 * minibuffer.C: don't add empty lines to the history
12174 * minibuffer.C: add a space on dropdown completion
12176 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12178 * text.C: fix line above/below drawing in insets
12180 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12182 * lyxlength.C (LyXLength): Initialize private variables.
12184 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12186 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12187 when inserting error insets.
12189 2001-12-13 Juergen Vigna <jug@sad.it>
12191 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12192 actually sometimes the before-paragraph.
12193 (setUndo): don't clear the redostack if we're not actually undoing!
12195 2001-12-06 Juergen Vigna <jug@sad.it>
12197 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12198 and fixed redoing of main paragraph, so we can use it now ;)
12200 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12202 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12204 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12207 2001-12-13 André Pönitz <poenitz@gmx.net>
12210 * undo_func.C: minor cleanup
12212 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12214 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12215 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12216 font in urw-fonts package which is marked as -urw-fontspecific and
12217 does not work (incidentally, changing the encoding in the
12218 fonts.dir of this package to -adobe-fontspecific fixes the
12221 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12222 is a crash when undoing first paragraph (Juergen, please take a
12223 look). THis does not mean the undo fix is wrong, just that it
12226 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12227 the (Paragraph*) version when needed instead of duplicating the
12230 * text.C (workWidth): use Inset::parOwner to find out where the
12231 inset has been inserted. This is a huge performance gain for large
12232 documents with lots of insets. If Inset::parOwner is not set, fall
12233 back on the brute force method
12235 * paragraph_pimpl.C (insertInset):
12236 * paragraph.C (Paragraph):
12237 (cutIntoMinibuffer): set parOwner of insets when
12238 inserting/removing them
12240 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12242 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12248 * mathed/formulabase.C:
12249 * mathed/math_cursor.[Ch]:
12250 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12253 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12255 * lyxlength.[Ch] (operator!=): new function
12257 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12259 * text.C (workWidth): use Inset::parOwner to find out where the
12260 inset has been inserted. This is a huge performance gain for large
12261 documents with lots of insets. If Inset::parOwner is not set, fall
12262 back on the brute force method
12264 * paragraph_pimpl.C (insertInset):
12265 * paragraph.C (Paragraph):
12266 (cutIntoMinibuffer): set parOwner of insets when
12267 inserting/removing them
12269 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12271 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12273 * tabular-old.C (getTokenValue):
12274 * tabular.C (getTokenValue):
12275 (write_attribute): new versions for LyXLength
12276 (everywhere): adjust the use of widths
12278 * tabular.h: change the type of widths from string to LyXLength
12280 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12282 * paragraph.C: fixed missing line number count when exporting
12283 Environments to LaTeX file
12285 * buffer.C: added informational message for checking line numbers.
12287 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12289 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12290 paragraph, do the 'double space' part, but not the 'empty
12293 * text.C (workWidth): small optimization
12294 (getLengthMarkerHeight): use minimal size for negative lengths.
12296 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12298 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12300 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12302 2001-12-11 André Pönitz <poenitz@gmx.net>
12305 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12307 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12309 * text2.C: keep selection on a setFont()
12311 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12313 * lyx_cb.C: another bv->text misuse, from insert label
12315 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12318 * kbsequence.C: re-instate nmodifier mask
12320 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12322 * lyx_main.h: make lyxGUI private.
12324 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12326 * lyxfind.C: place the cursor correctly on failed search
12328 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12330 * text.C (getLengthMarkerHeight): for small heights, the arrows
12331 are not always on top/bottom of the text
12332 (drawLengthMarker): smaller arrows; take the left margin in
12333 account; draw also vfills.
12335 (paintLastRow): remove special code for vfill and standard spaces,
12336 since everything is handled in drawLengthMarker now.
12338 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12340 * buffer.C (insertErtContents): try to handle font and language
12341 interaction a bit better.g
12343 * ColorHandler.C (updateColor): change the hash to cover the whole
12344 LColor enum, ws cleanup
12345 (getGCLinepars): ditto
12346 (getGCLinepars): only lookup in the linecache once.
12348 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12350 * iterators.C (operator++): Make the iterator more robust
12352 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12354 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12356 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12359 * text.C: better added space drawing
12361 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12364 * BufferView2.C: fix layout combo update on inset unlock
12366 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12368 * Makefile.am: don't compile unused files
12370 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12374 * LyXAction.C: remove old LFUN_LAYOUTNO
12376 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12378 * paragraph_pimpl.h:
12379 * paragraph_pimpl.C: isTextAt() doesn't need font param
12381 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12384 * lyxlex.C: little cleanup
12386 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12388 * BufferView_pimpl.C: fix insertAscii for insets
12390 2001-12-05 Juergen Vigna <jug@sad.it>
12392 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12393 set the right font on the "multi" paragraph paste!
12395 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12401 * lyxlength.C: remove out-commented code.
12403 * BufferView_pimpl:
12417 * vc-backend.C: change "while(" to "while ("
12419 * lyxlength.[Ch]: add zero function to check if length is zero or
12421 * lyxgluelength.C: use it
12423 2001-12-05 Allan Rae <rae@lyx.org>
12425 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12426 Works for 2.95.3, from what I understand of Garst's reports this should
12427 work for other g++ versions. We're screwed if the abs(int) definition
12428 changed between bugfix releases of gcc.
12430 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12432 * text.C: fix chapter label offset !
12434 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12437 * text.C: fix hfill at end of line, clean up
12439 2001-12-04 Juergen Vigna <jug@sad.it>
12441 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12442 that we force an update of the inset and it's owners if neccessary.
12444 2001-12-03 Juergen Vigna <jug@sad.it>
12446 * text.C (rowLast): simplified code
12448 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12450 * lyxfunc.C: fix show options on timeout
12452 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12454 * screen.C (topCursorVisible): scroll half a page when the cursor
12455 reached top of bottom of screen
12457 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12459 * minibuffer.C: deactivate on loss of focus
12461 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12463 * vspace.[Ch] (operator!=): add operator.
12465 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12467 * BufferView_pimpl.C: refuse to open an inset when
12468 there's a selection.
12470 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12472 * BufferView_pimpl.C: allow to click on RHS of full row insets
12474 2001-11-30 Juergen Vigna <jug@sad.it>
12476 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12477 insets for undo reasons.
12479 2001-11-28 André Pönitz <poenitz@gmx.net>
12481 * vspace.[Ch]: cosmetical changes
12483 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12493 * kbsequence.C: part re-write of old kb code
12496 * WorkArea.C: remove Lgb_bug_find_hack
12498 2001-11-30 José Matos <jamatos@fep.up.pt>
12500 * buffer.C (makeDocBookFile): add a comment to point a hack.
12501 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12502 Fixed a double write of labels.
12504 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12507 * LaTeX.h Fixed bug in LaTeX class where it would not
12508 re-run latex if no depfiles were changed, but the .dvi was removed.
12510 2001-11-28 André Pönitz <poenitz@gmx.net>
12512 * all the files from the change on 2001/11/26:
12513 use lyx::layout_type instead of LyXTextClass::size_type
12514 use lyx::textclass_type instead of LyXTextClassList::size_type
12516 2001-11-29 Juergen Vigna <jug@sad.it>
12518 * text.C: added support for paragraph::isFreeSpacing()
12520 * buffer.C: same as above
12522 * paragraph.h: inserted isFreeSpacing() function to enable
12523 FreeSpacing inside InsetERT.
12525 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12526 of the paragraph's in the cut/copy buffer to 0!
12528 * text2.C (removeRow): remove the assert as it can!
12530 * lyxtext.h: added helper function firstRow returning firstrow and
12531 made firstrow private again.
12533 * BufferView2.C (lockInset): don't relock if we're already locked!
12535 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12536 the only paragraph.
12537 (removeRow): added Assert::(firstrow)
12539 * debug.C: forgot to add INSETTEXT here.
12541 2001-11-28 Juergen Vigna <jug@sad.it>
12543 * sp_spell.C (initialize): changed error text to more general
12544 spellchecker command use (not only ispell!)
12546 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12548 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12550 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12552 * vspace.C: initialise lyxgluelength on failure
12554 2001-11-28 Allan Rae <rae@lyx.org>
12556 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12557 declaration & definition that looks like a function declaration.
12559 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12561 * BufferView2.C (copy):
12562 (copyEnvironment): do not clear the selection when doing a copy.
12564 * text.C (paintFirstRow): compilation fix
12566 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12568 * tabular.C (Latex): correct line count when writing latex.
12570 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12572 * paragraph_pimpl.h:
12573 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12576 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12580 * LColor.C: change vfillline->added_space
12582 * text.C: add markers and text for added space
12584 * vspace.C: fix comment
12586 2001-11-28 André Pönitz <poenitz@gmx.net>
12588 * paragraph.C: whitespace changes
12589 * all the other files from the change on 2001/11/26:
12590 change *::pos_type into lyx::pos_type
12592 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12594 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12595 language of the document when inserting error insets.
12597 2001-11-26 André Pönitz <poenitz@gmx.net>
12599 * BufferView_pimpl.[Ch]:
12607 * paragraph_pimpl.[Ch]:
12610 * text2.C: reduce header dependencies, introduce type for positions
12612 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12614 * <various>: change to use Alert.h
12616 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12618 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12619 when encountering an unknown token.
12620 (readLyXformat2): Show an error message if there were unknown tokens.
12622 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12625 * BufferView_pimpl.C:
12629 * text2.C: use par->isInset()
12631 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12633 * paragraph_pimpl.h:
12634 * paragraph_pimpl.C: cleanup
12636 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12638 * text2.C (removeRow):
12639 * text.C (setHeightOfRow): remove useless (and costly) call to
12642 2001-11-20 Allan Rae <rae@lyx.org>
12644 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12645 Now need Inset*::checkInsertChar() to return true for appropriate
12646 cases so that the characters in the minibuffer will actually be
12649 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12651 * text.C: change the order of the includes.
12652 (workWidth): initialize it at once.
12653 (workWidth): make maxw unsigned
12654 (setHeightOfRow): remove unused variable (inset)
12655 (selectSelectedWord): remove unused variable (inset)
12656 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12658 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12660 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12661 server is not running.
12663 (closeConnection): add debug info when server is disabled.
12665 * ColorHandler.C (getGCForeground): send debug message to GUI
12668 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12670 * kbmap.C (bind): modify because return conventions of
12671 kb_sequence::parse have changed.
12673 * kbsequence.C (parse): only ignore spaces and not any stupid
12674 control character. This avoids tests like s[i] <= ' ', which are
12675 guaranteed to fail with 8bit characters and signed chars.
12676 Change return code to string::npos when there have been no error
12677 (0 was a bad idea when error is at first character)
12679 2001-11-14 José Matos <jamatos@fep.up.pt>
12682 * buffer.C (simpleDocBookOnePar): removed unused argument.
12684 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12686 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12687 insets which are part of a word. Paragraph::isLetter takes care of
12688 that now. Use Paragraph::isInset to identify insets.
12689 (selectSelectedWord): do not test for hyphenation break.
12691 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12692 that protected spaces are considered as spaces.
12694 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12697 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12700 * lyxserver.C: fix it. and small cleanup.
12702 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12704 * BufferView_pimpl.C: use inline helpers
12707 * LaTeXFeatures.C: fix typos
12710 * Spacing.C: move spacing_string into class
12712 * ToolbarDefaults.C: move stuff into namespace anon
12714 * layout.h: update enum
12716 * lyxfunc.C: use better debug
12718 * minibuffer.h: fix typo
12722 * WorkArea.C: add and use Debug::WORKAREA
12726 * text2.C: code re-organisation, inline helpers
12728 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12730 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12731 std::vector.empty().
12733 2001-11-09 Allan Rae <rae@lyx.org>
12735 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12736 '\n's after tables. Tabular and ERT inset work now makes this no
12739 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12742 * minibuffer.C: fix crash, improve drop-down completion
12744 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12747 * lyxserver.C: invalidate fd's when doing endPipe()
12749 2001-11-08 José Matos <jamatos@fep.up.pt>
12751 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12752 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12755 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12757 2001-11-07 José Matos <jamatos@fep.up.pt>
12760 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12763 * buffer.C (sgmlOpenTag):
12764 * buffer.C (sgmlCloseTag): removed debug info.
12766 * buffer.h (sgmlOpenTag):
12767 * buffer.h (sgmlCloseTag): made public.
12769 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12771 * buffer.C (saveParamsAsDefaults):
12772 * lyx_cb.C (MenuLayoutSave): remove
12774 * LyXAction.C (init):
12776 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12778 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12780 * buffer.C (setPaperStuff): removed from here...
12782 * bufferparams.C (setPaperStuff): ... and moved there.
12784 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12788 * XFormsView.C: add support for drop-down completion
12790 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12792 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12795 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12797 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12800 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12802 * lyx_main.C: change ref to known bugs
12804 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12806 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12807 to work around older babel problems.
12809 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12811 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12813 2001-10-24 Juergen Vigna <jug@sad.it>
12815 * tabular-old.C (ReadOld): below variable changes reflected.
12817 * tabular.[Ch]: added ltType struct for longtable header/footer
12818 defines and changed all instances where they are used. Added
12819 future support for double top/bottom rows.
12821 2001-10-24 José Matos <jamatos@fep.up.pt>
12823 * buffer.h (docbookHandleCaption):
12824 * buffer.C (docbookHandleCaption): removed unused function.
12825 (makeDocBookFile): moved docbook supported version to v4.1.
12827 2001-10-24 José Matos <jamatos@fep.up.pt>
12830 * tabular.C (docbookRow): new function to export docbook code of a row.
12831 (DocBook): now honors the longtable flags.
12833 2001-10-23 José Matos <jamatos@fep.up.pt>
12836 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12837 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12839 * buffer.C (makeLinuxDocFile):
12840 (makeDocBookFile): reworked the preamble, more clean, and with
12841 support for lyx defined entities. Changed the document declaration
12842 to be more XML friendly.
12844 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12845 if we need to output XML that should be done with a filter.
12847 2001-10-22 Juergen Vigna <jug@sad.it>
12849 * sp_pspell.h (class PSpell): add alive function needed in the
12850 controller to see if the spellchecker could be started.
12852 2001-10-22 Juergen Vigna <jug@sad.it>
12854 * buffer.C (insertStringAsLines): modify the font for inserting
12855 chars in certain conditions by calling checkInsertChar(font).
12857 2001-10-19 Juergen Vigna <jug@sad.it>
12859 * text.C (workWidth): use getRow instead of wrong algorithm.
12860 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12862 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12867 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12869 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12871 * text.C (workWidth): do not search for the exact row when
12872 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12873 optimization for big documents.
12875 2001-10-18 Juergen Vigna <jug@sad.it>
12877 * text.C (workWidth): new function with added Inset * parameter.
12879 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12881 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12883 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12884 change return type of getColumnNearX.
12887 * text.C (changeRegionCase): use uppercase/lowercase instead of
12890 (rightMargin): simplify code by factoring out the uses of
12895 (appendParagraph): use Paragraph::size_type
12897 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12899 * vspace.C (asLatexString): add a missing break
12901 2001-10-15 Herbert Voss <voss@perce.de>
12903 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12905 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12907 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12910 2001-10-10 André Pönitz <poenitz@gmx.net>
12912 * lyxfunc.C: removed greek_kb_flag.
12914 2001-10-10 Herbert Voss <voss@perce.de>
12916 * lyx_main.C: delete global string help_lyxdir.
12918 2001-10-09 Herbert Voss <voss@perce.de>
12920 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12922 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12924 * lyx_main.C: added global string help_lyxdir.
12926 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12928 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12930 * lyxrc.C (set_font_norm_type): support iso8859-4
12932 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12934 * LaTeX.C (deplog): add another regex for MikTeX
12936 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12938 * lyxrc.C (set_font_norm_type): support iso8859-3
12940 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12942 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12944 * LaTeXFeatures.C: remove special case of french and index
12946 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12947 before \begin{document}). This solves several incompatibilities.
12949 2001-10-03 Garst Reese <reese@isn.net>
12951 * lyx_cb.C: change CheckTex error msg.
12953 2001-10-03 José Matos <jamatos@fep.up.pt>
12955 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12957 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12959 * .cvsignore: update
12961 * lyx_main.C (commandLineVersionInfo): use new style version info.
12963 * buffer.C (writeFile):
12965 (makeLinuxDocFile):
12966 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12968 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12970 * version.h: update to use stuff in version.C
12972 * version.C.in: new file. Contains version information determined
12973 at compile time. This is a merging of version.h and
12976 2001-10-03 Juergen Vigna <jug@sad.it>
12978 * BufferView_pimpl.C (update): don't change "dirty" status in
12981 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12983 * WorkArea.C (c-tor): re-position version string slightly.
12985 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12987 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12988 revert to previous code.
12990 WorkArea.[Ch]: (show, destroySplash): methods removed.
12992 WorkArea.C: rework code so that it's an amalgam of the codes before and
12993 after the splash screen was moved to WorkArea.
12995 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12998 * vspace.C (inPixels):
13001 * buffer.C (insertStringAsLines):
13002 (asciiParagraph): fix types to be large enough
13004 * lyxlex_pimpl.h: change member status from short to int
13006 * layout.h: fix type of endlabeltype
13009 * kbsequence.C (parse): change return type to string::size_type
13011 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13014 * Bullet.C (bulletSize):
13015 (bulletEntry): do not use short ints as parameters
13017 * BufferView2.C (insertLyXFile): change a char to an int.
13019 * WorkArea.C (WorkArea): remove unneeded floats in computation
13021 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13023 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13025 * paragraph.C (asString): Do not ignore newline/hfill chars when
13026 copying to the clipboard.
13028 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13030 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13031 after a multi-line inset.
13033 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13035 * paragraph.C (validate): Set NeedLyXFootnoteCode
13037 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13039 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13040 and decrease-error to decrease.
13042 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13044 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13045 it more readable (should be equivalent)
13047 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13049 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13051 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13053 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13054 of a cursor (row, etc.) after a character has been deleted
13055 (deleteEmptyParagraphMechanism): call the method above on _all_
13056 cursors held by the LyXText when a double space has been
13059 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13061 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13063 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13065 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13066 background. Use greyOut() and the new show() methods to toggle between
13067 the foreground and background. Add code to remove the splash after
13068 its initial showing.
13070 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13071 (create_forms): no longer call Dialogs::showSplash.
13073 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13075 * .cvsignore: add version_info.h
13077 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13079 * version_info.h.in: new file
13081 * Makefile.am: add version_info.h.in
13083 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13084 version_info.h instead of VERSION_INFO
13086 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13088 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13089 The ERT inset now returns string().
13091 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13093 * lyxtext.h, text.C (selectNextWord): renamed as
13094 selectNextWordToSpellcheck.
13096 * text.C (selectNextWordToSpellcheck): Modified to not select
13097 words inside an ERT inset.
13099 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13101 * lyx_cb.C (MenuLayoutSave): change a bit the question
13103 * sp_base.h: include <sys/types.h>
13105 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13107 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13109 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13111 * several files: fix typos in user-visible strings
13113 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13115 * text2.C (pasteSelection): do not set the selection, since it
13116 will be cleared later. Actually, the intent was to fix the way the
13117 selection was set, but I figured rmoving the code was just as good.
13119 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13121 * FontLoader.C (available): Check if font is available without
13124 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13126 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13128 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13130 * lyxrc.[Ch]: added display_graphics variable and associated code.
13132 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13134 * bufferparams.C (hasClassDefaults): new method. Returns true if
13135 the buffer parameters correspond to known class defaults
13137 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13139 * XFormsView.C (show): set minimum size to the main window.
13141 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13143 * text2.C (copySelection):
13145 * lyxfind.C (LyXReplace):
13146 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13147 LyXText::selectionAsString.
13149 * paragraph.C (asString): add "label" argument to the second form
13151 * text2.C (selectionAsString): add "label" argument and pass it to
13152 Paragraph::asString.
13154 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13156 * lyx_main.C (commandLineHelp): remove version information
13158 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13160 * lyx_main.C: add -version commandline option
13162 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * paragraph.h: make the optional constructor arg required instead.
13165 some modifications to other files because of this.
13167 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13169 * lyxserver.C (C_LyXComm_callback): make it static
13171 * lyx_main.C (error_handler): make it static
13173 * lyx_gui.C (LyX_XErrHandler): make it static
13175 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13177 * WorkArea.C: make the extern "C" methods static.
13179 * Makefile.am (lyx_LDADD): simplify
13181 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13183 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13184 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13186 * LyXAction.C (init):
13187 * lyxfunc.C (dispatch): associated code removal.
13189 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13191 * lyxfont.h (isSymbolFont): shut off warning
13193 * text.C (setHeightOfRow):
13194 (getVisibleRow): fix crash with empty paragraphs which have a
13197 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13199 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13202 2001-09-04 José Matos <jamatos@fep.up.pt>
13205 * tabular.C (docbook): rename docBook method to docbook.
13207 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13209 * Makefile.am: add dependencies to main.o.
13211 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13213 * FontLoader.C (available): Return false if !lyxrc.use_gui
13215 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13217 * FontInfo.C (query):
13218 * converter.C (view):
13219 * importer.C (Import):
13220 * exporter.C (Export): Can not -> cannot.
13222 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13224 * BufferView_pimpl.C: allow to create index inset even if
13227 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13229 * buffer.C (getLists): replace boost::tie code with an explicit pair
13230 as boost::tie can break some compilers.
13232 * iterators.h: Added a std:: declaration to the return type of
13235 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13237 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13240 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13242 * iterators.[Ch]: New files. Provide paragraph iterators.
13244 * buffer.C (changeLanguage): Use paragraph iterators.
13245 (isMultiLingual): ditto
13247 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13249 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13251 * FontLoader.C: Support for cmr font.
13253 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13255 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13256 (available): New method.
13258 * FontInfo.C (getFontname): Use scalable fonts even when
13259 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13262 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13264 * converter.C (Formats::view): reverted! Incorrect fix.
13266 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13268 * converter.C (Formats::view): only output the -paper option
13269 if the dvi viewer is xdvi, thereby fixing bug #233429.
13271 2001-08-23 Herbert Voss <voss@perce>
13273 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13275 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13277 * Spacing.h (Spacing): Set space to Default on in the default
13280 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13282 * vc-backend.h (RCS::versionString): add RCS to version
13283 (CVS::versionString): add CVS to version
13285 * vc-backend.C (scanMaster): do not add CVS to version.
13286 (scanMaster): do not add RCS to version
13288 * lyxvc.C (versionString): new method
13290 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13292 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13294 * Spacing.C (set): initialize fval
13296 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13298 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13301 2001-08-16 Juergen Vigna <jug@sad.it>
13303 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13305 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13307 * BufferView_pimpl.C:
13310 * text2.C: setParagraph takes linespacing now
13312 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13314 * LyxAction.C: add internal LFUN_CITATION_INSERT
13316 * LyXView.C: actually apply fix
13318 * bufferlist.C: fix open non-existent file
13320 * lyxfind.C: fix indentation
13322 * lyxfunc.C: remove unneeded assert, fix typo
13324 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13326 * MenuBackend.C: use "Floatname List"
13328 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13330 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13331 when converting LaTeX layout to insetERT.
13332 Generate a non-collapsed float when reading old float
13334 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13336 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13339 2001-08-13 Juergen Vigna <jug@sad.it>
13341 * text.C (fill): return 0 instead of 20 as this seems to be the more
13344 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13346 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13349 2001-08-13 Juergen Vigna <jug@sad.it>
13351 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13353 (SearchBackward): comment out the unlocking of the inset_owner this
13354 should not be needed!
13356 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13358 * Many files: Remove inherit_language, and add latex_language
13360 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13361 collapsible insets.
13363 2001-08-10 Juergen Vigna <jug@sad.it>
13365 * text.C (prepareToPrint): fixed hfill-width in draw!
13367 * BufferView2.C (selectLastWord): save the selection cursor as this
13368 now is cleared in the function LyXText::clearSelection!
13370 2001-08-08 Juergen Vigna <jug@sad.it>
13372 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13373 BACKSPACE type functions.
13375 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13376 is only cutted from the document but not put in the cut-buffer, where
13377 still the old stuff should be.
13379 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13381 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13383 * tabular.C (SetWidthOfCell): fixed special case where the width
13385 (LeftLine): handle '|' in align_special.
13387 (LeftAlreadyDrawed): ditto
13388 (SetWidthOfCell): ditto
13390 2001-08-07 Juergen Vigna <jug@sad.it>
13392 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13394 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13396 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13397 * lyxlex.[hC]: ditto
13399 2001-08-06 Juergen Vigna <jug@sad.it>
13401 * text.C (getVisibleRow): fix up row clearing a bit.
13403 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13405 * minibuffer.C: make sure the X server sees the changes in the input.
13407 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13409 * paragraph.C (getFont): split into...
13410 (getLabelFont): this
13411 (getLayoutFont): and this
13412 * paragraph_pimpl.C (realizeFont): calling this
13414 * text2.C (getFont): split into...
13415 (getLayoutFont): this
13416 (getLabelFont): and this
13417 (realizeFont): all three calling this
13419 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13422 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13424 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13426 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13428 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13429 layouts from the Quote inset insertion.
13431 2001-08-03 Juergen Vigna <jug@sad.it>
13433 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13435 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13436 only if status not is already CHANGED_IN_DRAW (second level).
13438 * text.C (draw): don't set the need_break_row when inside an
13441 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13443 * buffer.C (parseSingleLyXformat2Token): handle more latex
13446 * bufferview_funcs.[hC]: change function names to
13447 begin with small char, adjust other files.
13449 2001-08-02 André Pönitz <poenitz@gmx.net>
13452 BufferView_pimpl.C: remove broken special code for math-greek
13454 2001-08-02 Juergen Vigna <jug@sad.it>
13456 * BufferView_pimpl.C (update): redone this function so that we
13457 update the text again if there was a CHANGE_IN_DRAW.
13459 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13460 (drawFromTo): added a new internal bool which is used by draw() and
13462 (general): some cursor drawing problems fixed.
13464 2001-08-01 Juergen Vigna <jug@sad.it>
13466 * lyxfind.C (LyXFind): fixed
13467 (SearchForward): ditto
13468 (SearchBackward): ditto
13470 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13471 spurius drawing of the cursor in the main area.
13473 * text2.C (status): small fix which could lead to a segfault!
13474 (clearSelection): remove unneeded BufferView param.
13476 2001-08-01 André Pönitz <poenitz@gmx.net>
13478 * lyxfunc.C: small change due to changed mathed interface
13480 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13482 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13484 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13486 * lyxfunc.c: fail gracefully if file doesn't exist
13491 * BufferView_pimpl.C: IsDirWriteable() proto changed
13493 * LyXView.C: fix updateWindowTitle() to store the last title
13495 2001-07-31 Juergen Vigna <jug@sad.it>
13497 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13498 the font (wrong since using of Paragraph::highestFontInRange).
13500 * paragraph.C (highestFontInRange): added a default_size parameter.
13502 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13503 (setHeightOfRow): reformat
13505 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13507 * converter.[hC] + affected files: move to (inital-char)lowercase
13510 * ParagraphParameters.C (ParagraphParameters): remove commented code
13512 * PainterBase.[Ch]: remove commented code
13514 * LaTeXFeatures.h: add "bool floats" for float.sty
13516 * LaTeXFeatures.C (LaTeXFeatures): init floats
13517 (require): handle float
13518 (getPackages): do it with floats
13520 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13522 * BufferView_pimpl.C (Dispatch): improve handling of
13523 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13525 * commandtags.h: #include lyxfont.h here temporarily to avoid
13528 * bufferlist.h: include LString.h here.
13530 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13532 * text2.C (getStringToIndex): new method.
13534 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13536 * *: Reduced header file dependencies all over.
13538 2001-07-30 Baruch Even <baruch@lyx.org>
13540 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13542 2001-07-29 Baruch Even <baruch@lyx.org>
13544 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13546 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13548 * ParameterStruct.h (endif): add a default constructor to make
13549 sure that all variables is initialized.
13551 * ParagraphParameters.C (ParagraphParameters): adjust
13553 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13555 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13556 index; also, check that there is something to index, and that it
13557 does not span over several paragraphs.
13558 (doubleClick): use WHOLE_WORD_STRICT for double click.
13560 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13562 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13565 2001-07-26 Baruch Even <baruch@lyx.org>
13567 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13568 an InsetFig figure, backwards compatible reading of old figure code.
13570 2001-07-27 Juergen Vigna <jug@sad.it>
13572 * text2.C: font.realize function adaption.
13574 * text.C (draw): add a warnings lyxerr text if needed.
13576 * layout.C: font.realize function adaption.
13578 * language.C: add inherit_language and implement it's handlings
13580 * bufferview_funcs.C (StyleReset): remove language parameter from
13581 font creation (should be language_inherit now).
13583 * bufferparams.C (writeFile): handle ignore_language.
13585 * paragraph.C (getFontSettings): the language has to be resolved
13586 otherwise we have problems in LyXFont!
13588 * lyxfont.C (lyxWriteChanges): added document_language parameter
13589 (update): removed unneeded language parameter
13591 * paragraph.C (validate): fixed wrong output of color-package when
13592 using interface colors for certain fonts in certain environments,
13593 which should not seen as that on the final output.
13595 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13597 * BufferView_pimpl.C:
13602 * LyXAction.C: add thesaurus support
13605 * lyxfind.C: add "once" parameter, for thesaurus, to not
13606 move to the next match
13608 2001-07-26 Juergen Vigna <jug@sad.it>
13610 * lyxfont.C (realize): honor ignore_language too!
13613 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13615 * text.C (draw): one place more for ignore_language to not draw
13618 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13620 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13622 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13624 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13625 the minipage conversion problem.
13627 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13629 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13632 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13634 * BufferView.h: don't forward declare WorkArea
13636 * BufferView.C: don't include WorkArea.h
13638 2001-07-25 André Pönitz <poenitz@gmx.net>
13642 * lyxfunc.C: new LFUN 'math-space'
13644 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13646 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13648 * text2.C (toggleInset): call open/close
13650 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13652 * lyxfunc.C (dispatch): add debug for the disabled case
13654 * font.C (buttonText): make similar to rectText
13656 * buffer.C (readInset): comment out parsing of insetlist and
13659 * PainterBase.C (rectText): small correction
13661 * BufferView_pimpl.C: comment out insettheorem and insetlist
13662 * LyXAction.C: ditto
13663 * commandtags.h: ditto
13665 2001-07-24 Juergen Vigna <jug@sad.it>
13667 * text.C (draw): honor the ignore_language.
13669 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13671 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13673 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13676 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13678 * lyxtext.h: remove unused (and unimplemented) methods
13680 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13682 * text.C (getVisibleRow): honor background color
13685 * Painter.h: remove default color argument for fillRectangle
13687 * text.C (backgroundColor): new method
13689 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13691 * text.C (getVisibleRow): adjust
13693 * font.[Ch] (rectText): new method, metrics
13694 (buttonText): new method, metrics
13696 * PainterBase.[hC]: make rectText and buttonText always draw and take
13699 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13701 * ToolbarDefaults.C (read):
13702 * MenuBackend.C (read): allow escaping in all strings
13704 * BufferView_pimpl.C (insertAndEditInset): new method.
13705 (Dispatch): use insertAndEditInset whenever appropriate.
13707 * BufferView_pimpl.C (insertNote): removed
13709 * BufferView_pimpl.C (smartQuote): new method, moved from
13710 BufferView; if an insetquote cannot be inserted, insert a '"'
13713 * BufferView2.C: remove insertCorrectQuote();
13715 * lyxfunc.C (getStatus): Add support for all remaingin
13716 inset-insert lfuns.
13718 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13720 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13721 command (necessary to pass " as parameter of self-insert.
13723 * text.C (selectWordWhenUnderCursor):
13724 (selectWord): add word_location parameter
13725 (selectWordWhenUnderCursor): same + remove special code for word
13727 (selectNextWord): use kind() to guess type of insetspecialchar,
13730 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13731 (insertErtContents): create ert insets as collapsed.
13732 (readInset): better compatibility code for Info inset.
13734 2001-07-20 Juergen Vigna <jug@sad.it>
13736 * lyxfunc.C (dispatch): use always LyXFind now!
13738 * text2.C (init): add a reinit flag so that the LyXText can be
13739 reinited instead of deleted and reallocated (used in InsetText).
13741 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13747 2001-07-18 Juergen Vigna <jug@sad.it>
13749 * text.C (selectNextWord): handle insets inside inset by calling
13750 always the bv->text functions so that we can go up the_locking_inset!
13752 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13753 in strange locations when inside an inset!
13755 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13756 handling to include insets.
13758 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13760 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13762 * LyXAction.C (init):
13764 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13765 LIGATURE_BREAK, since the name is so stupid.
13767 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13769 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13772 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13774 * sp_form.[Ch]: remove.
13776 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13778 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13781 * src/buffer.C (readInset): ditto.
13783 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13785 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13786 menuSeparator(), endOfSentenceDot(), ldots() and
13787 hyphenationPoint(), which are therefore removed.
13788 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13790 * LyXAction.C (init):
13791 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13793 * paragraph.C (getWord): removed.
13795 * BufferView_pimpl.C (Dispatch): use last word or selection for
13796 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13798 * lyx_main.C (queryUserLyXDir): do not ask before creating
13799 user_dir, except if it has been named explicitely.
13801 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13803 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13804 a document of zero size.
13806 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13808 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13809 approriately in the c-tor and in require().
13810 (getPackages): output the appropriate LaTeX for natbib support.
13812 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13813 variables "use_natbib" and "use_numerical_citations" when reading the
13815 (readInset): read the various natbib cite commands.
13816 (validate): white-space change.
13818 * bufferparams.[Ch]: new variables "bool use_natbib" and
13819 "bool use_numerical_citations".
13820 (writeFile): output them in the LyX file.
13822 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13824 * lyxfunc.C (getStatus): add support for all the inset insertion
13827 * text2.C (insertInset):
13828 * paragraph.C (insetAllowed):
13829 * BufferView_pimpl.C (insertInset): update to take in account the
13830 renaming of insertInsetAllowed
13832 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13834 * text2.C (getInset): new method. returns inset at cursor position.
13836 * BufferView_pimpl.C (Dispatch): changes because of this.
13838 * LyXAction.C (init): rename open-stuff to inset-toggle.
13840 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13842 * text2.C (toggleInset): renamed from openStuff; use
13845 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13847 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13849 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13851 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13853 * buffer.C (readLyXformat2): Add filename to the error dialog
13855 2001-07-18 Juergen Vigna <jug@sad.it>
13857 * tabular.C (GetCellNumber): put an assert here instead of the check!
13859 2001-07-17 Juergen Vigna <jug@sad.it>
13861 * BufferView_pimpl.C (toggleSelection): adapted too.
13863 * text.C (selectNextWord): adapted for use with insets.
13864 (selectSelectedWord): ditto
13866 2001-07-17 Juergen Vigna <jug@sad.it>
13868 * sp_spell.C (PSpell): fix initialitation order.
13870 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13872 * paragraph.C: spacing
13874 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13876 * sp_spell.C: repair language selection for pspell
13878 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13880 * lyxfunc.h: change more methods to begin with lower char.
13882 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13884 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13885 for unknown layouts.
13887 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13889 * buffer.C (readLyXformat2): Generate an error dialog if there are
13892 2001-07-16 Juergen Vigna <jug@sad.it>
13894 * sp_spell.C: always compile ISpell part.
13896 * lyxrc.C: added use_pspell entry and it's handling.
13898 2001-07-13 Juergen Vigna <jug@sad.it>
13900 * sp_spell.C: removed double includes.
13902 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13904 Consistent use of Lsstream.h:
13905 * Lsstream.h: added using std::stringstream for consistencies sake.
13907 * buffer.C: removed using std::stringstream
13909 * lyxfont.C (stateText):
13910 * paragraph.C (asString):
13911 * text.C (selectNextWord, selectSelectedWord):
13912 * text2.C (setCounter):
13913 * vspace.C (asString, asLatexString):
13914 std::ostringstream -> ostringstream.
13916 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13918 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13919 * commandtags.h: add LFUN_HELP_ABOUTLYX
13920 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13922 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13924 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13926 * lyx_gui_misc.C: remove spellchecker
13927 * lyxfunc.C: showSpellchecker
13929 * sp_ispell.h: added
13930 * sp_pspell.h: added
13931 * sp_spell.C: added
13932 * sp_form.[Ch]: removed
13933 * spellchecker.[Ch]: removed
13935 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13937 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13939 (simpleTeXSpecialChars): Simply print the input character without
13940 any special translation if pass_thru is set.
13942 * layout.h: Added bool pass_thru to layout class for being able to
13943 implement pass through of a paragraph for Literate Programming.
13945 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13946 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13947 * layout.C (Read): add "passthru" to list of layout tags and add
13948 code to set the pass_thru boolean when it is read.
13950 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13952 * trans_decl.h: remove allowed from KmodInfo
13954 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13955 remove allowed code
13958 * paragraph_pimpl.C (erase): use boost::prior
13960 * Painter.C (text): use data() instead of c_str() when length is
13962 * WorkArea.C (putClipboard): ditto
13963 * font.h (width): ditto
13965 * BufferView2.C: use it-> instead of (*it). for iterators
13967 * paragraph_pimpl.C: ditto
13968 * paragraph.C: ditto
13969 * minibuffer.C: ditto
13970 * language.C: ditto
13972 * encoding.C: ditto
13973 * counters.C: ditto
13974 * converter.C: ditto
13976 * Variables.C: ditto
13977 * TextCache.C: ditto
13978 * MenuBackend.C: ditto
13979 * LyXAction.C: ditto
13981 * FloatList.C: ditto
13982 * DepTable.C: ditto
13983 * ColorHandler.C (LyXColorHandler): ditto
13985 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13987 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13989 * text2.C (openStuff): reintroduce this method (which had been
13990 nuked in NEW_INSETS frenzy).
13992 * lyxfunc.C (Dispatch): when an action has not been handled, use
13993 its name in the error message, not its number.
13995 * paragraph.C (inInset): change method name to begin with lowercase.
13998 * text2.C: updates because of this.
14000 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14002 * ToolbarDefaults.C (add): add spaces in error message
14004 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14006 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14007 (readLyXformat2): rename return_par to first_par, use lyxlex's
14008 pushToken and remove the manual push handling.
14009 (parseSingleLyXformat2Token): add another ert comp. variable:
14010 in_tabular, rename return_par to first_par. handle newlines better
14012 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14014 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14016 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14018 * text2.C (getParFromID): removed
14020 * buffer.C (getParFromID): new method moved form lyxtext.
14021 * BufferView2.C (insertErrors): adjust
14022 (setCursorFromRow): adjust
14023 * BufferView_pimpl.C (restorePosition): adjust
14024 * lyxfunc.C (Dispatch): adjust
14025 * undo_funcs.C (textUndo): adjust
14027 (textHandleUndo): adjust
14028 (textHandleUndo): adjust
14030 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14032 * buffer.C: up' the LYX_FORMAT
14034 * lyxfont.h: turn NO_LATEX on as default
14036 * buffer.C (insertErtContents): new methods of tex style compability.
14037 (parseSingleLyXformat2Token): use it several places.
14038 * tabular.C (OldFormatRead): and here
14040 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14042 * text2.C: remove some commented code.
14045 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14046 * trans.C: changes because of the above.
14048 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14050 * text2.C (setCounter): Fix counters bug with bibliography layout.
14052 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14054 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14055 own member functions
14056 (simpleTeXSpecialChars): ditto
14058 2001-07-06 Juergen Vigna <jug@sad.it>
14060 * a lot of files: changed the access to LyXText::status and the
14061 call of undo-functions.
14063 * undo.[Ch]: added a inset_id to the undo informations.
14065 * undo_funcs.[Ch]: added and moved here all undo functions.
14067 * lyxtext.h: give the status enum a weight, made status_ a private
14068 variable and made accessor functions for it, removed the whole bunch
14069 of undo-functions as they are now in their own file, make some
14070 functions publically available. Added function ownerParagraph with
14073 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14074 made InInset() a const function, added getParFromID() function.
14076 * buffer.[Ch]: added const version for inset_iterator functions,
14077 added getInsetFromID() function.
14079 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14080 changed undo functions for new version.
14082 2001-07-05 Juergen Vigna <jug@sad.it>
14084 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14085 unknow mechanism does not call the proper constructor but only this
14086 one also if I request the other!?
14088 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14090 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14092 * text2.C (LyXText): use initialization lists.
14094 * lyxtext.h (Selection): initialize set_ and mark_
14095 (init): remove method
14097 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14099 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14101 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14103 * screen.[Ch]: change method names to begin with lowercase
14105 * BufferView_pimpl.C (updateScrollbar): simplify further and
14106 hopefully make it a bit faster.
14108 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14110 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14111 calling directly xforms functions.
14113 * Painter.C (Painter):
14114 * lyx_cb.C (MenuWrite):
14115 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14118 * lyx_gui.C: remove bogus guiruntime extern declaration.
14120 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14122 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14124 (redoDrawingOfParagraph): ditto
14125 (redoParagraphs): ditto
14126 (cutSelection): don't create a object for CutAndPaste use the
14127 static method directly
14128 (pasteSelection): ditto
14130 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14133 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14135 * modifications to some other files because of this.
14137 * Makefile.am (lyx_SOURCES): add XFormsView
14139 * XFormsView.[Ch]: new files
14141 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14142 the main window. Move the gui dependent stuff to XFormsView
14144 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14146 * tabular.C (GetCellInset): update cur_cell also in the row/col
14147 version of this function.
14149 * lyxfunc.C: no need to include figure_form.h here.
14155 * lyxvc.C: no need to include forms.h here.
14157 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14159 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14161 * lyxfunc.C (Dispatch):
14163 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14164 constructor argument.
14166 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14168 * paragraph.C (Paragraph): dont't clear, and just set layout.
14169 (makeSameLayout): use params's copy contructor.
14171 * ParagraphParameters.[Ch] (makeSame): delete method
14173 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14175 * Variables.[Ch]: fix indentation, rename set to isSet
14177 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14179 * lyxfunc.C (Dispatch): fix typo
14181 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14183 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14186 * bufferlist.C: include assert.h for emergencyWrite().
14188 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14190 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14191 give up at last (bug #425202) !
14193 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14199 * spellchecker.C: strip spellchecker options and bring up
14200 preferences tab instead
14202 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14204 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14205 the istringstream constructor
14207 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14209 * paragraph.C (getLayout): fix return value
14211 * paragraph.h: do not declare getLayout as inline.
14213 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14215 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14217 * lyxcursor.h (operator<): new func
14218 (operator>): new func
14219 (operator>=): new func
14220 (operator<=): new func
14222 * text.C (changeCase): use selection.start and selection.end
14223 (changeRegionCase): require from to be <= to. Require par to be a
14226 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14228 2001-06-27 Juergen Vigna <jug@sad.it>
14230 * text.C (cursorLeftOneWord): changed to return the cursor and added
14231 overlay with BufferView * parameter which calls this one.
14233 (selectWord): use new getWord function.
14234 (changeCase): renamed from changeWordCase as and extended to work
14235 also on selections.
14237 * lyxtext.h: added enum word_location
14239 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14240 changeCase as this operates now also on selections.
14242 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14244 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14246 * many files: send debug output to Debug::INFO instead of
14249 * converter.C (View):
14251 (Move): send debug output to Debug::FILES instead of console.
14253 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14255 * lyxfunc.C (getStatus): use func_status
14257 * func_status.h: new header, describing the results of
14258 LyXFunc::getStatus;
14260 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14263 2001-06-25 The LyX Project <jug@sad.it>
14265 * buffer.C (sgmlOpenTag):
14267 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14269 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14271 * text2.C: remove some dead code
14273 * tabular.C (GetCellInset): store the last cell checked (gotten)
14275 * tabular.h: add the helper for the speedup
14277 * lyxtext.h: remove some dead code
14279 2001-06-26 The LyX Project <Asger>
14281 * paragraph.C: Change export to LaTeX of alignment to
14282 \begin{center} and family for better roundtrip work with reLyX.
14284 * Tune the math drawing a bit.
14286 2001-06-25 The LyX Project <Asger>
14288 * LColor.C (LColor): New color for math background. New color
14291 2001-06-25 The LyX Project <jug@sad.it>
14293 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14295 * lyxfunc.C (Open):
14296 * bufferlist.C (newFile): do not restrict to files ending with
14299 * BufferView_pimpl.C (MenuInsertLyXFile):
14301 2001-06-24 The LyX Project <jug@sad.it>
14303 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14306 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14308 * lyxtext.h: rename most methods to begin with a small char.
14309 Lots of changes because of this.
14311 * paragraph.C (Paragraph): do not call fitToSize
14312 (erase): call Pimpl::erase
14313 (insertChar): call Pimpl::insertChar
14314 (insertInset): call Pipl::insertInset
14315 (breakParagraph): do not call fitToSize
14316 (breakParagraphConservative): do not call fitToSize
14317 (fitToSize): remove method
14319 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14321 2001-06-24 The LyX Project <Asger>
14323 * Fix Qt compilation^2
14325 2001-06-24 The LyX Project <jug@sad.it>
14327 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14328 depthHook(getDepth()-1).
14331 * ParagraphParameters.h:
14332 * ParameterStruct.h: change type of depth to unsigned int ==
14333 depth_type. Many adaptations to other files before of that.
14335 2001-06-24 The LyX Project <Asger>
14337 * Fix Qt compilation.
14339 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14341 * paragraph.h: renamed several methods to begin with small letter.
14342 several changes to many parts of the code because of this.
14344 2001-06-23 The LyX Project <jug@sad.it>
14346 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14347 rewritten to discard all double spaces when KeepEmpty is off
14348 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14349 to only handle newlines but not fiddle with spaces and friends.
14351 * lyxfunc.C (MenuNew): when doing 'new from template', use
14352 template_path as default directory
14354 2001-06-23 The LyX Project <Asger>
14356 * Clean-up of header file includes all over
14357 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14359 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14361 * paragraph.h: renamed from lyxparagraph.h
14363 2001-06-23 Asger <lyx@violet.home.sad.it>
14365 * Buffer.h: Removed Buffer::resize
14366 * BufferList.h: Removed BufferList::resize
14367 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14368 the document lazily when we change the width, or the font settings.
14370 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14372 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14374 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14376 * buffer.h: remove out of date comment
14378 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14381 * screen.C: fix "theoretical" GC leak
14383 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14385 * LaTeX.C (scanAuxFile):
14386 (deplog): remove trailing \r when reading stream (useful under
14389 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14391 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14392 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14393 and BufferView::theLockingInset(Inset*), so should use them and not
14394 access bv_->text->the_locking_inset directly.
14396 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14398 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14401 * tex-defs.h: remove old unused file
14403 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14405 * BufferView_pimpl.C: fix typo, remove minibuffer message
14406 when buffer has loaded
14408 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14410 * lyxfunc.C (Dispatch): use stringstream
14411 (MenuNew): use stringstream
14412 (Open): use stringstream
14414 * importer.C (Import): use stringstream
14416 * bufferview_funcs.C (CurrentState): use stringstream
14418 * LaTeX.C (run): use stringstream
14420 * BufferView_pimpl.C (savePosition): use stringstream
14421 (restorePosition): use stringstream
14422 (MenuInsertLyXFile): use stringstream
14424 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14437 * vspace.C: removed // -*- C++ -*- as first line.
14440 * version.h: added // -*- C++ -*- as first line.
14442 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14444 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14446 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14449 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14451 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14454 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14456 * gettext.C: include LString.h even when --disable-nls is on.
14458 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14460 * converter.h (Get): changed argument type from int to
14461 FormatList::size_type to avoid unnecessary conversion.
14463 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14466 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14468 * gettext.h: include LString.h even when --disable-nls is on.
14470 2001-06-07 Juergen Vigna <jug@sad.it>
14472 * text.C (BreakAgain): subst spaces with tabs.
14474 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14475 (resizeInsetsLyXText): set force on resizeLyXText.
14477 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14479 * gettext.h (gettext_init):
14480 (locale_init): use a real definition instead of a macro
14482 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14484 * Bufferview_pimpl.C:
14486 * LColor.C: further lcolor tidies
14488 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14490 * BufferView_pimpl.C (updateScrollbar): simplify.
14492 * BufferView2.C: don't include insets/insetinfo.h, change
14493 prototype for insertInset and call the Pimpl version. let
14494 updateInset call Pimpl version.
14496 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14497 gotoInset to BufferView::Pimpl
14499 2001-06-01 Juergen Vigna <jug@sad.it>
14501 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14502 inside a LockingInset (is the update needed at all?).
14504 2001-05-31 Juergen Vigna <jug@sad.it>
14506 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14507 here not the old one otherwise how should we compare it afterwards
14510 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14515 * FontInfo.C: bring C functions into global namespace when
14518 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14520 * LString.h: make sure config.h has been loaded before LString.h.
14522 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14523 (one for each char read by EatLine!).
14525 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14528 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14530 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14531 to the same as the par we break from
14533 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14535 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14537 * MenuBackend.C (expand): also create menu entries for wide
14538 versions of the floats.
14540 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14542 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14544 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14545 frontends/Makefile.am
14551 * tabular.C (getTokenValue): add std::
14553 * tabular-old.C (getTokenValue): add std::
14554 (getTokenValue): ditto
14555 (getTokenValue): ditto
14557 * screen.C (ToggleSelection): adjust
14559 * lyxtext.h: put selection cursors inside a Selection struct.
14561 * lyxfunc.C (moveCursorUpdate): adjust
14563 * lyxfont.C (latexWriteStartChanges): add std::
14565 * lyxfind.C: adjust
14567 * font.h: delete with(char const *, LyXFont const &)
14569 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14571 * FontInfo.C (getFontname): add std::
14573 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14574 (workAreaButtonPress): adjust
14575 (tripleClick): adjust
14577 (moveCursorUpdate): adjust
14580 * BufferView2.C (gotoInset): adjust
14582 2001-05-30 Juergen Vigna <jug@sad.it>
14584 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14585 to check pspell I add this as default as I now have new pspell
14586 libraries and they seem to use this.
14588 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14590 * text2.C (CutSelection): make the cursor valid before the call to
14593 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14595 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14596 relied on 0 terminated strings and other horrors. Bug found due to
14597 the new assert in lyxstring!
14599 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14602 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14604 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14607 * lyxfunc.C (processKeySym): change method of getting to the
14610 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14611 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14612 * BufferView_pimpl.[Ch]: here as private methods.
14614 2001-05-28 Juergen Vigna <jug@sad.it>
14616 * text.C (SetHeightOfRow): added the update() call again as it is
14617 needed to initialize inset dimensions!
14619 2001-05-16 Juergen Vigna <jug@sad.it>
14621 * text2.C (SetCharFont): Add new function with BufferView * and
14622 bool toggleall parameters for setting insets internal fonts.
14623 (SetFont): Freeze the undo as we may change fonts in Insets and
14624 all this change should be inside only one Undo!
14626 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14627 setting font's in insets as for them we have the SetFont function!
14629 2001-05-15 Juergen Vigna <jug@sad.it>
14631 * text2.C (ClearSelection): to be sure we REALLY don't have any
14634 * tabular.C (TeXCellPreamble): fixed the left border problem for
14637 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14639 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14642 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14644 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14645 LFUN_BREAKPARAGRAPH.
14647 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14648 help test to "internal only", similar for LFUN_INSERT_URL
14650 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14651 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14652 auto_region_delete and deadkeys.
14654 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14657 * LColor.C: remove some dead entries, tidy a little
14659 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14661 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14663 (Dispatch): implement LFUN_ESCAPE
14665 * commandtags.h: add LFUN_ESCAPE
14667 * LyXAction.C (init): add entry for LFUN_ESCAPE
14669 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14670 Remove commented code.
14671 (insertNote): moved here
14672 (open_new_inset): moved here
14674 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14677 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14679 * kbmap.C (findbinding): clean it up and make it work correctly.
14681 * lyx_main.C (init): do not pass argc and argv as parameters
14683 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14685 * buffer.C: fix path for OS/2 & Win32
14689 * lyx_main.C: Added os:: class.
14691 * os2_defines.h: update
14693 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14695 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14696 better by trying again with reduced state.
14698 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14700 * lyxrc.C (read): print error about invalid key sequence only when
14701 debugging (because not all latinX keysyms are known to some X
14704 * kbsequence.C (getiso): add a few std:: qualifiers
14705 (getiso): comment out extra return statement.
14707 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14709 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14711 (Dispatch): enhance the accent inset a bit. (not perfect)
14713 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14715 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14717 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14719 * bufferlist.C (emergencyWrite): fix assert() call
14721 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14723 * text.C (InsertChar): Added trivial patch to only send the "you
14724 can not do multiple spaces this way" message once during a
14727 2001-05-08 Baruch Even <baruch@lyx.org>
14729 * Makefile.am: Changed order of libraries to get LyX to link properly
14730 with the gnome frontend.
14732 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14734 * LaTeXFeatures.h: add a std:: qualifier
14736 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14738 * paragraph.C (String): use stringstream
14740 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14742 * paragraph.C (writeFile): remove footflag arg
14744 * buffer.C (makeLaTeXFile): use stringstream
14745 (latexParagraphs): remove footnot gurba
14747 * LaTeXFeatures.C (getPackages): use stringstream
14748 (getMacros): likewise
14749 (getTClassPreamble): likewise
14750 (getFloatDefinitions): new method
14752 * paragraph.C (writeFile): reindent
14755 * WorkArea.h: revert the xpos + etc changes.
14757 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14759 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14761 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14762 (pasteSelection): likewise
14763 * text2.C (CreateUndo): likewise
14765 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14767 * minibuffer.C (peek_event): temporarily reduce the functionality
14768 of the minibuffer (to allow args on lfuns)
14770 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14771 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14773 * buffer.C (readInset): add compability reading of old float
14774 lists, add reading of new style float list.
14775 (readInset): avoid reevaluation of inscmd.getCmdName()
14776 (getLists): reindent
14778 * MenuBackend.C (MenuItem): implement parsing of
14779 md_floatlistinsert and md_floatinsert.
14780 (expand::LastFiles): move initalizaton of iterators out of loop,
14781 avoid reevaluation.
14782 (expand::Documents): introduce typdedef vector<string> Strings,
14784 (expand::ExportFormats): introduce typedef vector<Format const *>
14785 Formats, and use it.
14786 (expand): implement FloatListInsert and FloatInsert.
14788 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14789 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14790 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14792 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14794 (Dispatch::LFUN_FLOAT_LIST): implement
14796 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14798 * LaTeX.C (run): Fix problem with --export code.
14800 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14802 * BufferView.[Ch] (workarea): removed.
14803 (getClipboard) new method; wrapper for workarea()->getClipboard()
14805 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14808 * WorkArea.h (width, height, xpos, ypos): These methods all
14809 returned the dimensions of the work_area sub-area of WorkArea,
14810 resulting in a position error if the WorkArea were resized. Now
14811 return the dimensions of the entire WorkArea.
14813 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14815 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14817 * LaTeX.C (deplog): correct the syntax of regex reg1
14819 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14821 * undo.C: remove !NEW_INSETS cruft
14823 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14825 * text2.C: remove !NEW_INSETS cruft
14827 * text.C: remove !NEW_INSETS cruft
14829 * tabular.C: remove !NEW_INSETS cruft
14831 * spellchecker.C: remove !NEW_INSETS cruft
14833 * lyxtext.h: remove !NEW_INSETS cruft
14835 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14837 * lyxfunc.C: remove !NEW_INSETS cruft
14839 * lyxfind.C: remove !NEW_INSETS cruft
14841 * lyx_cb.C: remove !NEW_INSETS cruft
14843 * figureForm.C: remove !NEW_INSETS cruft
14845 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14847 * buffer.[Ch]: remove !NEW_INSETS cruft
14849 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14851 * CutAndPaste.C: remove !NEW_INSETS cruft
14853 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14855 * BufferView2.C: remove !NEW_INSETS cruft
14857 * BufferView.h: remove !NEW_INSETS cruft
14859 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14861 * Lsstream.h: include LString.h before the sstream headers to
14862 fix problem with gcc 2.95.3 and lyxstring
14864 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14866 * lyx_main.C: add using directives when needed for C functions
14867 declared in std:: namespace.
14869 2001-04-27 Juergen Vigna <jug@sad.it>
14871 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14872 (SetHeightOfRow): comment out the update call should not be needed!
14874 2001-04-13 Juergen Vigna <jug@sad.it>
14876 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14877 (LyXTabular): tried to minimize operator= operations (and realized
14878 hopfully Lars wish).
14880 2001-04-27 Juergen Vigna <jug@sad.it>
14882 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14884 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14886 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14888 * buffer.C (readInset): hack to make listof algorithm work
14890 * BufferView_pimpl.C: hack to make listof algorithm work
14892 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14894 * LyXAction.C: removed all !NEW_INSETS cruft
14895 (init): moved lfun_item in method
14897 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14899 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14901 * BufferView2.C (theLockingInset): white space.
14903 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14905 * minibuffer.C: include <iostream>
14907 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14909 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14911 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14913 * text.[Ch] (TransposeChars): new method
14915 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14917 * call message directly through LyXView instead of through LyXFunc
14918 * BufferView2.C: adjust
14919 * BufferView_pimpl.C: adjust
14920 * FontLoader.C: adjust
14922 * bufferview_funcs.C: adjust
14923 * converter.C: adjust
14924 * figureForm.C: adjust
14925 * importer.C: adjust
14927 * lyx_gui_misc.C: adjust
14928 * lyxfunc.C: adjust
14931 + more files in subdirs
14933 * lyxparagraph.h (size): move up int file
14936 * adjust all uses of Assert to lyx::Assert.
14938 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14939 lyxfunctional in namespace lyx
14940 * layout.C (hasLayout): ditto
14943 (delete_layout): ditto
14944 (NumberOfClass): ditto
14945 * converter.C (GetFormat): ditto
14950 * bufferlist.C (getFileNames): ditto
14951 (emergencyWriteAll): ditto
14954 * MenuBackend.C (hasSubmenu): ditto
14957 * BufferView_pimpl.C (getInsetByCode): ditto
14959 2001-04-18 Juergen Vigna <jug@sad.it>
14961 * vspace.C (asLatexString): fixed the 100% problem.
14963 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14965 * lyxfunc.C (Dispatch):
14967 * minibuffer.h: add a few std:: qualifiers
14969 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14971 * minibuffer.[Ch]: reimplement so that commands is initiated and
14972 run from lyxfunc, simplified som handling, and made the completion
14973 and history code for complete. wip.
14975 * lyxfunc.C (processKeySym): call message
14976 (miniDispatch): new temporary method
14977 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14978 (LFUN_MESSAGE): implement
14979 (LFUN_MESSAGE_PUSH): implement
14980 (LFUN_MESSAGE_POP): implement
14981 (initMiniBuffer): the initial/defualt minibuffer message.
14983 * lyxfont.[Ch]: inline some more getters
14985 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14987 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14989 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14990 (AutoSave): use LFUN_MESSAGE
14991 (Reconfigure): ditto
14993 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14995 * figureForm.C: use LFUN_MESSAGE
14997 * converter.C (runLaTeX): use LFUN_MESSAGE
14999 * bufferview_funcs.C: use LFUN_MESSAGE
15001 (changeDepth): ditto
15003 * bufferparams.h: use boost::
15005 * bufferlist.h: inherit privately from noncopyable
15007 * bufferlist.C (loadLyXFile): remove some commented code.
15009 * buffer.C (runChktex): use LFUN_MESSAGE
15011 * ShareContainer.h: inherit privately from noncopyable
15013 * ParagraphParameters.[hC] (depth): inline it.
15015 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15017 (message): new method
15018 (messagePush): ditto
15019 (messagePop): ditto
15020 (show): init minibuffer
15021 (showState): direct call
15023 * LaTeX.[Ch]: inherit privately from noncopyable
15024 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15025 instead of WriteStatus.
15027 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15029 * BufferView_pimpl.C (buffer): don't init minibuffer
15030 (workAreaButtonPress): use LFUN_MESSAGE
15031 (workAreaButtonRelease): ditto
15032 (savePosition): ditto
15033 (restorePosition): ditto
15034 (MenuInsertLyXFile): ditto
15035 (workAreaExpose): don't init minibuffer
15036 (update): remove commented code, simplify
15038 * BufferView2.C (openStuff): use LFUN_MESSAGE
15039 (toggleFloat): ditto
15042 (copyEnvironment): ditto
15043 (pasteEnvironment): ditto
15048 (updateInset): remove some commented code
15050 * lastfiles.h: inherit privately from noncopyable
15053 * lyx_main.h: ditto
15055 * lyxlex_pimpl.h: ditto
15057 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15058 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15059 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15061 * LyXAction.h: inherit privately from noncopyable, add methods
15062 func_begin, func_end, returning iterators to the func map.
15064 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15065 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15066 (func_begin): new method
15067 (func_end): new method
15069 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15071 (copySelection): ditto
15072 (pasteSelection): ditto
15074 * BufferView.C: whitespace change
15075 * BufferView.h: inherit privately from noncopyable
15077 2001-04-16 Allan Rae <rae@lyx.org>
15079 * tabular-old.C (l_getline):
15080 * spellchecker.C (sc_check_word):
15081 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15082 an unrecognised preprocessor directive. So ensure they're wrapped.
15084 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15086 * src/exporter.C (Export): Give an error message when path to file
15089 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15091 * LaTeX.C (deplog): Always check that foundfile exists.
15093 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15096 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15098 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15100 * tabular.[Ch] (getLabelList): implement new method
15102 * minibuffer.h: comment ouf setTiimer
15104 * minibuffer.C (ExecutingCB): constify res
15105 (peek_event): constify s
15106 (Set): constify ntext
15107 (Init): constify nicename
15109 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15111 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15112 (savePosition): use two params to Minibuffer::Set
15113 (restorePosition): ditto
15115 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15117 * lyx_main.C: include language.h
15119 * Makefile.am (lyx_main.o): add language.h
15121 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15127 * CutAndPaste.C: include gettext.h
15129 * lyxfont.h: remove old hack with ON and OFF.
15132 * lyxfont.h: do not include language.h...
15137 * bufferview_funcs.C:
15143 * paragraph.C: ... but do it here instead
15145 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15147 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15149 * tabular.C: small reformat
15151 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15154 (BreakParagraph): ditto
15155 (SetOnlyLayout): ditto
15158 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15161 * lastfiles.C: removed most using decl, add std:: where needed
15163 * buffer.C: ws changes
15165 * MenuBackend.C (class compare_format): put into anon namespace
15166 (expand): constify label, names, action, action2
15169 * text.C (SingleWidth): constify font
15170 (IsBoundary): constify rtl2
15171 (GetVisibleRow): constify ww
15173 * LaTeX.C (deplog): constify logfile
15175 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15177 (workAreaExpose): constify widthChange, heightChange
15179 * lyxrow.C (par): moved
15182 * lyxrow.h: as inlines here
15184 * lyxfont.h (shape): moved from lyxfont.C
15185 (emph): moved from lyxfont.C
15187 * lyxfont.C (LyXFont): use initialization list for all
15189 (shape): move to lyxfont.h as inline
15190 (emph): move to lyxfont.h as inline
15193 2001-04-04 Juergen Vigna <jug@sad.it>
15195 * vspace.C: had to include stdio.h for use of sscanf
15197 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15200 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15201 independent of xforms.
15203 2001-04-02 Juergen Vigna <jug@sad.it>
15205 * spellchecker.C: fixed namespace placing!
15207 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15209 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15210 the LyXParagraph * is 0.
15212 2001-03-29 Juergen Vigna <jug@sad.it>
15214 * vspace.C: added support for %, c%, p%, l%.
15215 (stringFromUnit): added helper function.
15216 (asLatexString): changed to give right results for the %-values.
15218 * buffer.C: convert the widthp in a width%.
15220 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15222 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15225 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15226 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15228 * lyx_cb.[Ch]: see above.
15230 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15234 * lyx.[Ch]: replaced by figure_form.[Ch].
15238 * lyxfunc.C: changed headers associated with above changes.
15240 2001-03-27 Juergen Vigna <jug@sad.it>
15242 * BufferView_pimpl.C: set the temporary cursor right!
15244 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15246 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15248 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15250 * LString.h: removed "using std::getline"!
15252 * BufferView_pimpl.C (Dispatch): changes due to changes in
15253 InsetInclude::Params.
15255 * buffer.C (tag_name): removed redundant break statements as they were
15256 producing lots of warnings with my compiler.
15258 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15260 * LString.h: add "using std::getline" when using the real <string>.
15262 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15264 * buffer.C: removed bitset usage.
15265 PAR_TAG moved to an anonymous name space.
15266 (tag_name): new funtion, also in the anonymous namespace.
15267 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15268 (makeDocBookFile): clean code. Completed transition from string arrays
15270 (SimpleDocBookOnePar): code clean.
15272 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15274 * tabular.C: add some comments.
15276 2001-03-22 Juergen Vigna <jug@sad.it>
15278 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15279 compatibility read a bit and fixed bug with minipage in different
15282 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15284 * buffer.C (pop_tag): removed.
15285 (push_tag): removed.
15286 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15287 array replaced with vector. Added support for CDATA sections.
15288 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15290 (makeDocBookFile): XML conformant declaration of CDATA section,
15291 fixed bug related to <emphasis> in the first paragraph char.
15292 (sgmlOpenTag): exclude empty tags.
15293 (sgmlCloseTag): ditto.
15295 * buffer.h (pop_tag): removed.
15296 (push_tag): removed.
15298 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15300 * language.h (Languages): added size_type and size().
15302 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15304 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15305 response on compability reading of minipages. One probliem is that
15306 the old usage of minipages was «flertydig»
15308 * several files here and in subdirs: don't use static at file
15309 scope use anon namespaces instead.
15311 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15313 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15314 LaTeX output. This is necessary for Literate document
15317 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15319 * buffer.C: insert hfill when needed.
15321 * tabular.C (l_getline): use string::erase, small whitespace change.
15323 * BufferView_pimpl.C: try the anon namespace.
15324 * WorkArea.C: ditto
15326 2001-03-16 Juergen Vigna <jug@sad.it>
15328 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15329 otherwise it won't open options-dialogs.
15331 * buffer.C: honor pextraWidth(p) on converting minipages.
15333 * tabular.C (l_getline): changed the functions to strip trailing \r.
15335 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15337 * BufferView_pimpl.C:
15338 * minibuffer..C: added "using SigC::slot" declaration.
15340 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15342 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15348 * paragraph.C: ditto
15350 * lyxtext.h: NO_PEXTRA
15352 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15354 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15355 * ParameterStruct.h: ditto
15356 * ParagraphParameters.h: ditto
15357 * lyxparagraph.h: ditto
15359 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15361 * buffer.C: add compability for minipage alignment.
15362 (latexParagraphs): remove unwanted pextra check.
15364 * several files: remove CXX_WORKING_NAMESPACES
15366 * buffer.C (pop_tag): tie is in namespace boost
15368 * BufferView.h: noncopyable is in namespace boost
15370 * lyx_main.h: ditto
15373 * lastfiles.h: ditto
15374 * bufferlist.h: ditto
15375 * ShareContainer.h: ditto
15377 * LyXAction.h: ditto
15380 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15382 * Merging changes from BRANCH_MVC back into HEAD.
15384 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15386 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15388 * BufferView_pimpl.C: change from intl.C
15392 * Makefile.am: move combox.*
15398 * intl.C: remove dialog (covered by prefs)
15400 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15402 * lyxfunc.C (Dispatch): removed redundant break statement.
15404 2001-03-14 Juergen Vigna <jug@sad.it>
15406 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15408 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15410 * buffer.C: add hack to fix compability reading of minipages.
15412 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15414 * buffer.C (getLists): Cleanup.
15416 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15418 * lyxfont.C (update): don't honor toggleall on font size.
15420 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15424 * Makefile.am: moved to frontends/xforms/
15428 * BufferView_pimpl.C: changes for moved mathpanel
15430 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15432 * gettext.h: fix gettext_init() in --disable-nls
15434 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15436 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15438 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15441 * lyx.h: strip external form
15443 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15445 * BufferView_pimpl.C: add comment, destroySplash()
15447 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15449 * BufferView_pimpl.C:
15453 * lyxfunc.C: use re-worked insetinclude
15455 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15457 * buffer.C: add using std::stringstream.
15459 * lyx_cb.C: readd using std::ios.
15461 * buffer.C: add using std::map.
15463 * BufferView_pimpl.C: add using std::vector.
15465 * ShareContainer.h: add std:: to swap.
15467 * buffer.h: add some typedefs
15468 * buffer.C (getLists): use them
15469 (getLists): renamed from getTocList.
15470 add a counter for the different float types and use it in the
15472 (getLists): use the same counter for the NEW_INSETS and the "non"
15475 * lyx_cb.h: remove unused items, includes, using etc.
15477 * ShareContainer.h: remove some commented code, add more comments
15478 and "documentation".
15480 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15482 * buffer.C (getTocList): make the list also when NEW_INSETS is
15485 * buffer.h: remove TocType
15487 * buffer.C (getTocList): change to return a map<string,
15488 vector<TocItem> >, implement for dynamic number of list.
15490 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15491 * text2.C (PasteSelection): adjust
15492 * CutAndPaste.C (pasteSelection): adjust
15494 * FloatList.C (FloatList): update from the new_insets branch.
15495 * Floating.[Ch]: ditto
15496 * LaTeXFeatures.C: ditto
15498 * lyxlex_pimpl.C: ditto
15500 * paragraph.C (Last): remove when NEW_INSETS is defined.
15502 * other file: changes because of the above.
15504 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15506 * lyxparagraph.h: rename next to next_, previous to previous_,
15507 make them private for NEW_INSETS. Rename Next() to next(),
15508 Previous() to previous().
15510 * other files: changes because of the above.
15512 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15515 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15518 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15520 * main.C (main): pass lyx_localedir to gettext_init().
15522 * gettext.h: remove locale_init and gettext_init macros
15524 * gettext.C (locale_init): new function
15525 (gettext_init): new function
15527 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15530 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15532 * Moved credits to frontends:
15533 * credits.[Ch]: removed
15534 * credits_form.[Ch]: removed
15535 * lyx_gui_misc.C: remove credits stuff
15538 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15540 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15542 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15543 unneeded destructor.
15545 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15546 a standalone pointer again.
15548 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15550 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15556 * ToolbarDefaults.C:
15565 * BufferView_pimpl.C: use new file dialog in GUII
15568 * lyx_cb.C: remove LayoutsCB to Toolbar
15570 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15572 * ShareContainer.h (get): add std:: qualifier
15574 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15576 * ShareContainer.h: define a proper ShareContainer::value_type
15577 type (and use typename to please compaq cxx)
15579 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15581 * lyxparagraph.h: move serveral local vars to
15582 ParameterStruct/ParagraphParameters., use ShareContainer in
15583 FontTable., make vars in FontTable private and add getter and
15586 * paragraph.C: changes because of the above.
15588 * lyxfont.h: remove copy constructor and copy assignment. (the
15589 default ones is ok), move number inside FontBits. move inlines to
15592 * lyxfont.C: add number to initializaton of statics, move several
15593 inlines here. constify several local vars. some whitespace
15594 cleanup. Dont hide outerscope variables.
15596 * Spacing.h: add two new constructors to match the set methods.
15598 * ShareContainer.h: new file, will perhaps be moved to support
15600 * ParameterStruct.h: new file
15602 * ParagraphParameters.h: new file
15604 * ParagraphParameters.C: new file
15606 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15607 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15609 * BufferView_pimpl.C: ParagraphParameter changes.
15610 * buffer.C: Likewise.
15611 * bufferview_funcs.C: Likewise.
15612 * text.C: Likewise.
15613 * text2.C: Likewise.
15615 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15617 * lyxfind.C (LyXReplace): do not redefine default argument in
15619 (IsStringInText): ditto
15620 (SearchForward): ditto
15621 (SearchBackward): ditto
15623 2001-03-06 Juergen Vigna <jug@sad.it>
15625 * lyxfind.C (IsStringInText): put parentes around expressions.
15627 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15629 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15631 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15633 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15635 * stl_string_fwd.h: add comment
15637 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15640 * tabular.C: remove unused DocBook methods
15646 killed DO_USE_DEFAULT_LANGUAGE
15648 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15650 * lyx_gui.C: do not include language.h.
15652 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15653 arguments in function implementation.
15655 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15657 * BufferView_pimpl.C: add <ctime>
15659 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15661 * BufferView_pimpl.C: add using std::find_if
15663 2001-02-27 José Matos <jamatos@fep.up.pt>
15665 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15668 2001-02-11 José Matos <jamatos@fep.up.pt>
15670 * buffer.C (makeDocBookFile): command styles now have a parameter as
15671 "title" by default.
15673 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15675 * layout_forms.[Ch]: removed
15676 * lyx_cb.[Ch]: out character
15677 * lyx_gui.C: out character
15678 * lyx_gui_misc.C: out character
15679 * bufferview_funcs.C: : out character,
15680 added toggleall as parameter in ToggleAndShow
15682 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15684 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15686 * text2.C (SetCurrentFont): Disable number property at boundary.
15688 2001-02-26 Juergen Vigna <jug@sad.it>
15690 * lyxfunc.C (getStatus): added a string argument override function so
15691 that this is correctly called from LyXFunc::Dispatch if it contains a
15692 do_not_use_argument which is used!
15693 (Dispatch): added check for "custom" export and call appropriate func.
15695 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15697 * lyxrc.C: Add language_command_local, language_use_babel and
15698 language_global_options.
15700 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15702 * buffer.C (makeLaTeXFile): Use language_use_babel and
15703 language_global_options.
15705 2001-02-23 Juergen Vigna <jug@sad.it>
15707 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15708 which works with LyXText and putted it inside BufferView. Here now we
15709 only call for that part the BufferView::Dispatch() function.
15711 * BufferView.C (Dispatch): added.
15713 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15714 functions which needs to use a LyXText over from LyXFunc.
15715 (MenuInsertLyXFile): added
15716 (getInsetByCode): added
15717 (moveCursorUpdate): added
15718 (static TEXT): added
15720 2001-02-22 Juergen Vigna <jug@sad.it>
15722 * BufferView_pimpl.C (update): call a status update to see if LyXText
15725 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15727 * vc-backend.C (revert): implement for CVS
15728 (getLog): implement for CVS
15730 2001-02-20 Juergen Vigna <jug@sad.it>
15732 * text2.C (ClearSelection): added BufferView param for inset_owner call
15734 * lyxfunc.C (TEXT): added this function and use it instead of
15735 directly owner->view()-text of getLyXText().
15737 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15739 * src/layout_forms.C: out preamble
15740 * src/layout_forms.h: out preamble
15741 * src/lyx_cb.C: out preamble
15742 * src/lyx_cb.h: out preamble
15743 * src/lyx_gui.C: out preamble
15744 * src/lyx_gui_misc.C: out preamble
15745 * src/lyxfunc.C: connect with guii preamble
15747 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15749 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15751 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15753 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15754 whether to run bibtex.
15756 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15758 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15760 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15762 * Makefile.am (lyx_SOURCES): removed bibforms.h
15764 * vspace.h: doxygen
15766 * text.C (GetVisibleRow): make several local vars const
15768 * tabular.C: small cleanup.
15770 * lyxserver.C (callback): use compare instead of strncmp
15772 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15773 inlines to after class or to paragraph.C
15775 * lyxfont.h: remove friend operator!=
15777 * converter.h: move friend bool operator< to non friend and after
15780 * combox.h: small cleanup
15782 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15783 to inlines after class def.
15785 * buffer.C (pop_tag): use string operations instead of strcmp
15787 * bmtable.c: doxygen, small cleanup
15789 * LaTeX.h: remove friend operator==
15791 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15803 * BufferView_pimpl.C:
15804 * BufferView.[Ch]: remove cruft
15806 2001-02-14 Juergen Vigna <jug@sad.it>
15808 * lyxfunc.C: removed #if 0 unused code
15810 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15812 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15814 * text2.C (SetSelection): added a BufferView * parameter
15816 2001-02-13 Juergen Vigna <jug@sad.it>
15818 * lyxfunc.C (Dispatch): fixed protected blank problem.
15819 * BufferView2.C (protectedBlank): added LyxText * parameter.
15821 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15822 (AppendColumn): same as above for column_info.
15824 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15825 (moveCursorUpdate): use a LyXText param for support of InsetText.
15827 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15828 (tripleClick): ditto
15830 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15832 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15834 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15836 * text2.C (SetSelection): set correct update status if inset_owner
15837 (ToggleFree): ditto
15839 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15841 * tabular.C: remove some commented code.
15843 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15845 * BufferView_pimpl.C: call hideSplash()
15847 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15850 * bibforms.h: remove
15853 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15854 add LFUN_CHILD_CREATE
15856 * counters.h: fix tiny typo
15861 * lyx.C: move splash to frontends/xforms/
15863 * lyx_gui_misc.C: move Include and Bibform to frontends
15865 * lyxvc.h: clarify comment
15867 * vspace.C: tiny housekeeping
15869 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15871 * text.C (PrepareToPrint): RTL Fix.
15873 * paragraph.C (GetUChar): New method.
15874 (String): Use GetUChar.
15876 * buffer.C (asciiParagraph): Use GetUChar.
15878 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15880 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15882 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15885 * buffer.C: rename to getLogName(), handle
15886 build log / latex log nicely
15888 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15891 * MenuBackend.h: remove support for reference menuitem type.
15893 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15895 * BufferView_pimpl.C: housekeeping
15896 * BufferView_pimpl.h:
15901 * minibuffer.h: move Timeout GUI-I
15903 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15905 * lyxrc.C (read): Update converters data-structures.
15907 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15909 * LaTeX.h (operator!=): add operator != for Aux_Info
15911 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15913 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15915 * LaTeXLog.C: deleted, useful code moved to Buffer
15918 * buffer.C: new function getLatexLogName()
15924 * lyxfunc.C: use frontends for LaTeX and VC logs
15926 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15928 * LaTeX.h: yet another std:: that Allan forgot.
15930 * Variables.C (set): renamed from isset(), because this clashes
15931 with some HP-UX macros (grr).
15933 2001-02-06 Allan Rae <rae@lyx.org>
15935 * LaTeX.h: Another bug fix. Missing std:: this time.
15937 2001-02-04 Allan Rae <rae@lyx.org>
15939 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15940 floats problem. I've left it commented out because it's not quite
15941 correct. It should also test that the current object is a table or
15942 figure inset. But I haven't gotten around to figuring out how to do
15943 that. I *think* it'll be something like: "table" == inset.type()
15945 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15948 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15950 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15951 all the citation/databases/styles in the auxilary file.
15952 (run): Rerun latex if there was a babel language error.
15954 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15956 * text.C (Backspace): Preserve the font when changing newline char
15958 (BreakParagraph): If the cursor is before a space, delete the space.
15960 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15962 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15964 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15965 new argument (code).
15966 (ChangeCitationsIfUnique): New method.
15968 * paragraph.C (GetPositionOfInset): Handle bibkey.
15970 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15972 * BufferView_pimpl.h: change type of Position::par_pos to
15973 LyXParagraph::size_type.
15975 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15977 * BufferView_pimpl.C (savePosition, restorePosition): Write
15978 messages to minibuffer.
15980 2001-01-28 José Matos <jamatos@fep.up.pt>
15982 * buffer.C (makeDocBookFile): adds support for document language.
15983 A silly restriction on the name of LatexCommand types where removed.
15984 Added support for CDATA sections, allows to chars unescaped, used
15985 among others in code, to avoid escape < and >.
15987 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15989 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15990 saved positions instrad of a stack. Furthermore, a position is
15991 stored using paragraph id/paragraph position.
15993 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15994 Remove LFUN_REF_BACK.
15996 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15998 * converter.C (dvipdfm_options): New method.
16000 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16002 * vspace.C (isValidLength): Fix for empty input string.
16004 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16006 * LyXAction.C (init): change description of LFUN_FIGURE to
16009 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16011 * LaTeX.C: add using directive
16013 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16015 * MenuBackend.C (expand): Fix the sorting of the formats.
16017 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16019 * lyx_main.C: tiny error message fix
16021 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16023 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16024 calling fl_initialize(). This fixes the problem with ',' as
16025 decimal separator in text files.
16027 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16029 * trans.C (process): Fix the keymap bug.
16031 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16033 * LaTeX.C (scanAuxFiles): New method. Provides support for
16034 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16035 (scanLogFile) Scan for "run BibTeX" messages.
16037 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16038 OT1 font encoding. Also, load the aecompl package if the ae
16041 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16043 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16045 * texrow.C (increasePos): turn two error messages into debug
16048 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16050 * LaTeX.C (scanAux): Handle the \@input macro.
16051 (runBibTeX): Use scanAux().
16053 * language.C (latex_options_): New field.
16055 * LaTeXFeatures.C (getMacros): Add language macros.
16057 * buffer.C (makeLaTeXFile): Small fix.
16059 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16061 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16063 * text2.C: add a using directive.
16065 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16070 * lyxfunc.C: kill LyXBell.
16072 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16074 * text.C (IsBoundary): Remove the error message
16076 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16078 * lyxrc.C (setDefaults): Correct initialization value for
16081 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16083 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16086 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16087 and GotoNextNote().
16089 * src/LyXAction.C: Added reference-next.
16091 * text.C (InsertChar): Use contains instead of strchr.
16093 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16095 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16097 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16098 alignment commands (when needed).
16100 * text.C (InsertChar): Add ':' to number separator chars.