1 2004-10-25 José Matos <jamatos@lyx.org>
3 * sgml.[Ch] (escapeString): new function to escape all the string.
5 2004-10-24 José Matos <jamatos@lyx.org>
7 * paragraph.[Ch] (getFirstWord): new function to get the first
8 word. Useful for description.
9 (simpleDocBookOnePar): remove depth argument, add another that
10 says where to start the paragraph.
12 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
13 use the new functions to fix cleanly the support for descriptions.
15 2004-10-24 José Matos <jamatos@lyx.org>
17 * buffer.C (makeLinuxDocFile, makeDocBookFile):
18 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
19 * output_linuxdoc.C (linuxdocParagraphs):
20 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
21 add buffer as argument.
23 2004-10-24 José Matos <jamatos@lyx.org>
25 * output_docbook.C (makeEnvironment, searchEnvironment): place
26 CDATA inside paragraphs and fix scope for listitems.
28 2004-10-24 José Matos <jamatos@lyx.org>
30 * output_docbook.C: remove using statement for stack.
32 2004-10-23 José Matos <jamatos@lyx.org>
34 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
35 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
36 docbook. The new scheme is recursive and makes use of iterators, the
37 same as latex export works.
38 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
39 directly with the paragraph contents. This code was moved up to
40 output_docbook.C (docbookParagraphs).
41 * sgml.C (openTag, closeTag): removed unneeded newlines.
42 (closeEnvTags) removed.
44 2003-10-23 André Pönitz <poenitz@gmx.net>
46 * undo.C (textUndoOrRedo):
47 * dociterator.C (asDocIterator): work around crash
49 * cursor.C (getStatus): replace ASSERT by more verbose error message
50 and manual correction of the problem. Should increase stability
51 while providing more sensible information.
53 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
55 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
57 * bufferlist.C (previous, next): new methods
60 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
62 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
64 * buffer.C (makeDocBookFile): add dsssl stylesheet control
67 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
69 * messages.C (Pimpl): strip off translation context information
71 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
74 the cursor is correct (bug 1694)
76 2004-10-13 José Matos <jamatos@lyx.org>
78 * output_docbook.C (docbookParagraphs): fix closing tags in the
81 2004-10-09 José Matos <jamatos@lyx.org>
83 * buffer.C: format up to 237.
84 * bufferparams.C (write): use tostr to convert booleans to strings.
86 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
88 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
90 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
92 * LaTeX.C: implement use of babel language in xindy.
94 2004-10-05 José Matos <jamatos@lyx.org>
96 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
97 Add new translators to help reading and writing the lyx file.
99 2004-10-05 José Matos <jamatos@lyx.org>
101 * ParagraphParameters.C (read):
102 * text.C (readParToken): replace nexToken by more appropriate lex
105 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
107 * LaTeX.C (runMakeIndex):
108 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
109 (usually 'makeindex') configurable.
111 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
112 with a variable rather than with a number.
114 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
116 * output_latex.C (TeXOnePar): make sure font setting is the first
117 thing that gets output (and the last at the end). Should fix bug
120 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
122 * pch.h: use proper signal include
124 * LaTeX.h: Use preferred calling of Boost.Signal
127 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
129 * pch.h: dont include <boost/function/function0.hpp>
131 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
133 * paragraph_pimpl.h: remove usage of ShareContainer
135 * paragraph_pimpl.C: remove initialization of ShareContainer.
137 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * BufferView.C (putSelectionAt): change the semantics when
142 backwards == true: now, this just swaps cursor and anchor wrt the
145 * BufferView.h (putSelectionAt): add some documentation
147 * lyxfind.C (findBackwards): rewrite using while(). In particular,
148 make sure backwardChar is done at least once (to avoid getting
150 (findNextChange): use putSelectionAt in the forward direction
151 (operator()): use Paragraph::isWord
153 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
155 * Spacing.C (set): c_str fix
157 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * lyx_cb.C (Reconfigure): quote the name of configure script in
160 case it contains spaces
162 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
166 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
167 (BOOST_LIBS): use top_buildir when looking for the file
169 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
171 * pch.h: do not use include boost/format.hpp, multiple symbols
172 will result (gcc bug)
175 2004-08-23 José Matos <jamatos@lyx.org>
177 * bufferparams.C (readToken): fix reading of the author field.
179 2004-08-20 José Matos <jamatos@lyx.org>
181 * lyxrc.C: remove support/translator.h inclusion since it is not used.
183 2004-08-20 José Matos <jamatos@lyx.org>
185 * lyxlex.[Ch] (findToken): remove function.
187 * ParagraphParameters.C (findToken):
188 * bufferparams.C (findToken): replace call for previous function
189 with local copy. This local function has one more argument, the
190 read string argument.
192 2004-08-16 José Matos <jamatos@lyx.org>
194 * ParagraphParameters.C (write):
195 * Spacing.C (writeFile):
196 * bufferparams.C (writeLaTeX):
197 * lyx_cb.C (Reconfigure):
198 * paragraph.C (write):
199 * tabular.C (write): remove unnecessary space at end of line.
202 2004-08-16 José Matos <jamatos@lyx.org>
204 * text.C (readParagraph): remove debug message.
206 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
211 * output_plaintext.C (asciiParagraph): set depth correctly
213 * outputparams.h: add member depth
215 * paragraph_funcs.C (ownerPar): remove.
217 * text2.C (setCounter): remove first_pit; comment out some
218 non-working code that uses ownerPar
220 * BufferView.C (getParentLanguage): remove. Not used anymore, and
223 2004-08-16 José Matos <jamatos@lyx.org>
225 * text.C (readParToken, readParagraph, read): report all unknown tokens.
226 For the same level of importance use the same chanel to report problems.
227 (read): add code to deal with \begin_body and \end_body.
230 2004-08-15 José Matos <jamatos@lyx.org>
232 * lyxlex.C (getString): fix comment, buffer::readBody is now
235 * tex-strings.C (string_papersize): Default -> default,
236 Custom -> custom, for consistency with other options.
238 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
242 * Makefile.am: support pch
244 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
246 * text.C (readParToken): remove the static LyXFont variable and
247 pass it as a parameter instead. This fixes a nasty bug where an
248 inset will be inserted with a bad font in some situations
249 (readParagraph): adapt
251 * text2.C (setCounter): reduce number of calls to pars_[pit]
253 * text.C (singleWidth): add an assert, fix a test
255 * rowpainter.C (paintText): reduce number of calls to singleWidth
257 * paragraph.C (isHfill):
260 2004-08-14 André Pönitz <poenitz@gmx.net>
265 * lyxtext.h (several functions): use a Paragraph & argument
268 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * metricsinfo.h: add a new field ltr_pos to PainterInfo
272 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
274 * text.C (singleWidth): remove useless test
276 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
278 * tabular.h: remove bogus comments
280 * tabular.C (getDescentOfRow):
281 (isPartOfMultiColumn): add assertions
283 * lyxlength.C (inPixels): remove #warning
285 2004-08-14 André Pönitz <poenitz@gmx.net>
287 * paragraph.h: inline getChar()
289 * BufferView.h: remove unused declarations
291 2004-08-14 José Matos <jamatos@lyx.org>
293 * Buffer.[Ch] (readDocument): new name for old readBody.
294 * Buffer.C: new file format, new keywords: \begin_document,
295 \begin_header, \begin_body, \end_body.
297 * bufferparams.C (readToken): replace all calls to lex.nextToken
298 by lex.next(). Do the same to eatLine except where really needed.
300 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
301 line when writing to the lyx file.
303 * output_plaintext.C (asciiParagraph): fix Bibliography style
306 * text.C (read): fix end of file handling.
308 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
310 * MenuBackend.C (Menu::operator[]): new method to access
311 individual menu items
312 (Menu::hasFunc): new method. search for an item that corresponds
314 (MenuBackend::specialMenu): new method
315 (MenuBackend::expand): if a special menu has been set, skip
316 entries whose func() appears in this menu
318 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
320 * text3.C: use Debug::DEBUG a bit more
322 * text.C (leftMargin): try to simplify a tiny bit change var x to
323 l_margin. Dont output the wide margins always.
324 (rightMargin): no margin in inner texts
326 * rowpainter.h (nestMargin): new func
327 (changebarMargin): new func
328 (rightMargin): new func
330 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
334 * factory.C (createInset): modify setDrawFrame
336 * cursor.C: use Debug::DEBUG a bit more
338 2004-08-14 André Pönitz <poenitz@gmx.net>
341 * Makefile.am: new files to accomodate an 'external' (x,y)-position
342 cache for all insets in (at least partially) visible (top-level)
345 * BufferView_pimpl.C: reset external coord cache before every update.
346 This means the coord cache only contains valid entries.
348 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
351 * BufferView_pimpl.C (getInsetByCode): move function out of class
352 and change in to a template in anon namespace. Also fix to do what
355 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
358 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
360 (breakParagraph): rename par to par_offset and use a local
361 reference. Add code to keep the language over a rebreak.
362 (breakParagraphConservative): rename par to par_offset, use a
364 (mergeParagraph): ditto
366 (isFirstInSequence): ditto
367 (outerFont): rename pit to par_offset
369 * paragraph.C: ws change
374 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
376 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
379 * paragraph.C (simpleTeXOnePar): when we have a \item with
380 optional argument, enclose the argument with curly brackets (in
381 case it contains a closing square bracket)
385 * text3.C (checkInsetHit): constify
387 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
392 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
394 Fix toggling of collapsable insets with the mouse (bug 1558)
396 * lyxfunc.C (dispatch): adapt to LCursor changes
398 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
399 make sure that dispatch is not invoked twice
401 * cursor.C (needsUpdate): new method
402 (dispatch): return void
403 (result): new method, to access the DispatchResult of the cursor.
405 2004-08-13 José Matos <jamatos@lyx.org>
407 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
409 2004-08-13 André Pönitz <poenitz@gmx.net>
411 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
413 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
416 2004-08-12 André Pönitz <poenitz@gmx.net>
418 * text3.C: take out the 'cursor right' form insertInset and only
419 do it in those places when it is really needed. Fixes crash on
422 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
424 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
426 * BufferView_pimpl.C (setBuffer): initialize the current font of
427 the underlying LyXText
429 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * kbsequence.C (print): use UI native formatting for menu
434 * text.C (insertChar): call Paragraph::insertChar with a font
437 * paragraph.C (insertInset, insertChar): the version that takes a
438 LyXFont argument is now a wrapper around the other one (the
439 opposite used to be true).
441 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
442 argument. Font setting is done in Paragraph now.
444 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
446 * outputparams.h: add new members intitle and lang.
448 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
449 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
451 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
453 * text3.C (dispatch): remove special handling of button 4 and 5,
454 it is now taken care of in the frontend code.
456 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
458 * Spacing.h: add <string> (STLPort compile fix)
460 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
462 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
464 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
466 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
469 * converter.C (showMessage): inherit from unary_function, make
472 * buffer.C (writeFile): initialize retval
474 * InsetList.h: rename private variable list to list_
475 * InsetList.[Ch]: adjust accordingly.
477 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
479 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
480 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
481 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
482 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
483 * ParagraphParameters.C, LaTeXFeatures.C: replace
484 "support/std_sstream.h" with <sstream>
486 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
488 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
489 * lyxsocket.C (LyXServerSocket): ditto
490 (serverCallback): ditto
492 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
494 * LaTeXFeatures.C: check release date when loading jurabib.
496 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
498 * lyxserver.C (startPipe): call register_socket_callback
499 (endPipe): call unregister_socket_callback
501 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
503 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
504 (LyXServerSocket): register the callback
505 (LyXServerSocket): unregister the callback
506 (fd): delete function
507 (serverCallback): improve error checking and setup the callbacks.
508 (dataCallback): change arg to fd.
509 (writeln): new func (copied fro the client socket) used for server
511 (LyXDataSocket): simplify
512 (~LyXDataSocket): close ann unregiser callback
513 (server): delete function
514 (fd): delete function
515 (readln): small changes, improve some std::string usage
516 (writeln): constify a bit
518 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
523 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
525 * BufferView_pimpl.C (setBuffer): set the layout combox value only
526 after it has been populated
528 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
530 * text2.C (insertInset): move cursor when inserting inset.
532 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
534 * kbmap.C (findbindings): a couple of new methods. returns a
535 container of kb_sequence objects. The real work is done by the
536 private recursive version
537 (printbindings): uses findbindings to print out a bracketed list
538 of bindings (renamed from findbinding).
540 * MenuBackend.C (binding): use kb_keymap::findbindings
542 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
544 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
546 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
548 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
550 * paragraph.C (isWord): return true on insets that report
553 * text.C (getWord): use Paragraph::isWord to decide what is in a
554 word and what is not; fix bug 1609.
556 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
558 * tex-strings.C: add "none" to string_paperpackages[], fixes
559 off-by-one-error in the paperpackage selection.
562 * tex-strings.[Ch]: char const * string[n]
563 -> char const * const string[]
565 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
567 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
568 command, return early.
570 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
572 * debug.h: add DEBUG to enum and fix size of ANY.
574 * debug.C: add support for Debug::DEBUG
575 (showTags): cast errorTags.level to unsigned int
577 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
578 (redoCurrentBuffer): ditto
579 (updateScrollbar): ditto
580 * cursor.C (dispatch): ditto
581 * text2.C (setLayout): ditto
583 (updateCounters): ditto
585 (deleteEmptyParagraphMechanism): ditto
587 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
589 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
590 annotations to cleanup the Makefile slightly.
592 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
594 * lyxrc.C: do not set user_email to a default value but use empty
595 instead. The entry used to be translated, which does not work
596 since at the point where lyxrc is constructed there is no
597 translation service available
599 * messages.C (getLocaleDir): remove and use directly
600 lyx_localedir() instead
602 2004-06-02 Angus Leeming <leeming@lyx.org>
604 Fix crash caused by dereferencing null pointer 'exportdata' in
605 OutputParams by creating a new ExportData variable on the heap,
606 storing it in a boost::shared_ptr.
607 The crash was triggered when generating an Instant Preview
608 of an external inset.
610 * Makefile.am: add outputparams.C
612 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
613 (c-tor): allocate memory to it.
615 * exporter.C (c-tor): associated changes.
617 2004-06-01 Angus Leeming <leeming@lyx.org>
619 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
620 contains data before calling isInset(0). (Bug 1513.)
622 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
624 * exporter.C (checkOverwrite): new method
625 * exporter.C (copyFile): new method
626 * exporter.C (Export): copy referenced files to the document dir
627 * exporter.[Ch]: new class ExportedFile
628 * exporter.[Ch]: new class ExportData. Contains currently the
629 names of referenced external files
630 * outputparams.h: add exportdata member.
632 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
634 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
637 2004-05-19 Angus Leeming <leeming@lyx.org>
642 * lyxfunc.C: small changes due to the introduction of namespace
643 lyx::frontend and the moving of namespace biblio to lyx::biblio.
645 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
647 * text3.C (dispatch): supress update when only moving the cursor
648 * cursor.C (selHandle): remove commented code
650 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
652 * paragraph.C (startTeXParParams): correct column count
653 * CutAndPaste.C (pasteSelection): remove const_cast
654 * output_docbook.C (docbookParagraphs): remove const_cast
655 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
656 const_cast and return ParagraphList::const_iterator
657 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
658 * output_plaintext.C (writeFileAscii): remove const_cast
659 * paragraph.[Ch] (simpleTeXOnePar): make const
660 * paragraph_funcs.C (outerPar): use const iterators
661 * paragraph_pimpl.C (validate): use const iterators
662 * text.C (setHeightOfRow): use const iterators
664 2004-05-17 Angus Leeming <leeming@lyx.org>
667 * LyXAction.C (init): new LFUN_INSET_REFRESH.
669 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
670 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
671 if the citation engine has changed.
673 2004-05-14 José Matos <jamatos@lyx.org>
675 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
676 if the textclass does not provide it. Have it different for sgml and
678 support the language of document.
679 * output_docbook.C (docbookParagraphs):
680 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
681 first anchor as the id of the paragraph, remove special case code.
682 * sgml.C (escapeChar): escape only < & >.
684 2004-05-14 Angus Leeming <leeming@lyx.org>
686 * bufferparams.h: move biblio::CiteEngine enum here to minimize
687 dependencies on src/frontends/controllers/biblio.h. Define a
688 CiteEngine_enum wrapper class to enable the enum to be forward
691 2004-05-12 Angus Leeming <leeming@lyx.org>
693 * buffer.C: up LYX_FORMAT to 234.
694 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
695 use_numerical_citations with a single biblio::CiteEngine cite_engine
697 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
699 2004-05-13 José Matos <jamatos@lyx.org>
702 * converter.C (Converter, readFlags): add xml member.
703 * outputparams.h: add XML flavor.
704 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
706 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
708 * lyxfunc.C (dispatch):
709 (getStatus): fix handling of LFUN_SEQUENCE
711 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
713 * debug.C (showLevel): do not forget the end-of-line marker
715 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
717 * kbmap.C (read): do not stop parsing a bind file when an error
720 2004-04-29 Angus Leeming <leeming@lyx.org>
725 * text2.C: wrap a bunch of #warning statements
726 inside #ifdef WITH_WARNINGS blocks.
728 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
730 * buffer.C: increment format to 233.
732 2004-04-28 Angus Leeming <leeming@lyx.org>
734 * BufferView_pimpl.C:
737 s/updateToolbar()/updateToolbars()/
738 s/Toolbar.h/Toolbars.h/
740 2004-04-28 Angus Leeming <leeming@lyx.org>
742 * BufferView.[Ch] (c-tor):
743 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
744 No longer passes these data to the WorkArea generator.
746 2004-04-28 Angus Leeming <leeming@lyx.org>
748 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
750 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
752 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
754 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
756 * output_latex.C (TeXEnvironment): make sure that there is a line
757 break before \end{foo} for the last paragraph of a document
758 (TeXOnePar): if the paragraph is at the end of the document (or
759 inset) and the language has to be reset, then make sure that the
760 line break is _before_ the language command, not after (fixes bug
761 1225); also make sure that the language reset command is the first
762 thing after the paragraph (to ensure proper nesting of
763 environments and thus fix bug 1404)
765 2004-04-21 John Levon <levon@movementarian.org>
768 * ToolbarBackend.C: make "name" be a programmatic name
769 and a gui_name field.
771 * lyxfunc.C: display the minibuffer on M-x
773 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
775 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
778 2004-04-19 Angus Leeming <leeming@lyx.org>
780 * BufferView_pimpl.C (setBuffer): changed preview interface.
782 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
785 2004-04-19 John Levon <levon@movementarian.org>
787 * BufferView_pimpl.C:
788 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
790 2004-04-05 Angus Leeming <leeming@lyx.org>
792 * text.C (redoParagraphs): add call to updateCounters(), thereby
793 fixing the missing "Figure #:" label from the caption of a
796 2004-04-13 Angus Leeming <leeming@lyx.org>
798 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
799 cursor is clicked out of an inset.
801 2004-04-13 Angus Leeming <leeming@lyx.org>
803 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
804 than an InsetOld one.
806 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
808 * format.[Ch]: add editor to Format
809 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
810 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
812 2004-04-08 André Pönitz <poenitz@gmx.net>
814 * metricsinfo.h: remove PainterInfo::width member
816 2004-04-08 Angus Leeming <leeming@lyx.org>
818 * lyx_sty.C (boldsymbol_def): modify so that it outputs
819 "\providecommand" rather than "\newcommand", thereby preventing
820 clashes with packages that define "\boldsymbol" themselves.
823 2004-04-08 Angus Leeming <leeming@lyx.org>
825 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
826 thereby squashing an unnecessary warning.
828 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
830 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
833 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
835 * BufferView.C (setCursor): call redoParagraph (some insets could
837 (putSelectionAt): remove the 'double update' trick
839 * BufferView_pimpl.C (fitCursor): call refreshPar
840 (workAreaDispatch): remove an uneeded update call
841 (dispatch): remove some manual update calls
843 * cursor.[Ch]: remove cached_y_, updatePos
844 (selHandle): set noUpdate when appropriate
846 * lyxfunc.C (dispatch): track if we need an update
848 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
850 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
851 (paintSelection): cheap optimization, do not call cursorX when not
853 (paintPars): change signature
856 (paintTextInset): adjust
860 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
862 * lengthcommon.C: compilation fix: remove explicit array size from
863 unit_name[] and friends
865 2004-04-05 Angus Leeming <leeming@lyx.org>
867 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
869 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
870 present only for the preferences dialog.
871 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
873 2004-04-05 Angus Leeming <leeming@lyx.org>
875 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
876 to enable the frontends to export changes to lyxrc correctly.
878 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
880 2004-04-07 André Pönitz <poenitz@gmx.net>
882 * cursor.[Ch] (selClear, adjust): remove math
884 * cursor_slice.C: more agressive assert
887 * BufferView_pimpl.C: rework mouse event dispatch
894 2004-04-05 André Pönitz <poenitz@gmx.net>
896 * cursor.[Ch] (valign, halign...): remove unneeded functions
898 2004-04-05 Angus Leeming <leeming@lyx.org>
900 * lyxlength.[Ch] (unit_name et al.): const-correct.
902 2004-04-05 Angus Leeming <leeming@lyx.org>
904 * BufferView_pimpl.C:
913 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
915 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
917 * text3.C (getStatus): add LFUN_BEGINNINGBUF
919 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
921 * lyxfind.C: add a couple of inTexted() tests + other small fixes
922 * BufferView_pimpl.[Ch] (getStatus)
923 * BufferView.[Ch] (getStatus): add
924 * lyxfunc.C (getStatus): move lfuns handled in
925 BufferView::dispatch to te function above
926 * Cursor.C (setSelection): set selection() = true
928 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
930 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
932 2004-03-31 Angus Leeming <leeming@lyx.org>
934 * lyxfunc.C (dispatch): Fall through to the generic
935 Dialogs::show("preamble").
937 2004-03-31 Angus Leeming <leeming@lyx.org>
939 * lyxfunc.C (dispatch): Fall through to the generic
940 Dialogs::show("spellchecker").
942 2004-03-31 Angus Leeming <leeming@lyx.org>
944 * lyxfunc.C (getStatus, dispatch): changed invocation of the
947 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
952 * insetiterator.[Ch]:
957 * undo.[Ch]: s/DocumentIterator/DocIterator/g
959 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
961 * BufferView.C (setCursor, putSelectionAt): call edit to open the
962 insets where we are putting the cursor.
964 2004-03-31 Angus Leeming <leeming@lyx.org>
967 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
969 * lyxrc.[Ch] (read, write): overloaded member functions taking
970 a std::[io]stream arguments.
972 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
974 2004-03-31 Angus Leeming <leeming@lyx.org>
976 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
977 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
979 * lyxtextclass.C (load): if the text class couldn't be loaded, then
980 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
982 2004-03-31 Angus Leeming <leeming@lyx.org>
984 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
985 the LFUN_ALL_INSETS_TOGGLE code.
987 2004-03-30 Angus Leeming <leeming@lyx.org>
989 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
990 has died. Fall through to the generic Dialogs::show("document").
992 2004-03-30 Angus Leeming <leeming@lyx.org>
995 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
996 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
998 * lyxfunc.C (getStatus, dispatch): define the actions for these
999 lfuns. Little more than a cut and pste job from ControlDocument.C
1001 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1003 2004-03-30 Angus Leeming <leeming@lyx.org>
1006 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1007 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1009 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1010 open/closed state of ollapsable insets. Usage:
1012 all-inset-toggle <state> <name>, where
1013 <state> == "open" || "closed" || "toggle" and
1014 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1016 * lyxtext.h, text2.C (toggleInset): removed.
1018 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1019 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1020 now passes LFUN_INSET_TOGGLE to the found inset.
1022 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1023 is now invoked as "all-insets-toggle toggle branch".
1025 2004-03-30 Angus Leeming <leeming@lyx.org>
1029 * pariterator.[Ch]: added/corrected header blurb.
1031 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1033 * dociterator.[Ch]: add an inset_ member
1034 (backwardPos): implemented
1035 (backwardPos, forwardPos): use inset_ when the stack is empty.
1036 (doc_iterator_begin, doc_iterator_end): implemented
1037 * pariterator.[Ch]: adjust, add begin, end
1038 * insetiterator.[Ch]: adjust, add begin, end
1042 * BufferView_pimpl.C:
1043 * CutAndPaste.C: adjust
1045 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1047 * buffer.C: increment file format to 232.
1048 * LaTeXFeatures.C: add bibtopic package.
1049 * bufferparams.[Ch]: param \use_bibtopic.
1051 * lyxrc.[Ch]: add lyxrc bibtex_command
1052 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1054 * buffer.C: increment file format to 231.
1056 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1058 * dociterator.C: implement forwardPar
1059 * iterators.[Ch]: remove, replaced by
1060 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1062 * BufferView_pimpl.C:
1065 * bufferview_funcs.C:
1071 * Makefile.am: adjust
1073 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1075 * CutAndPaste.C (pasteSelection): fix 2 crashes
1076 (eraseSelection): fix a crash
1077 * paragraph_funcs.C: remove a warning
1079 2004-03-28 Angus Leeming <leeming@lyx.org>
1082 * LyXAction.C (init): new LFUN_PRINT.
1084 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1086 2004-03-27 Angus Leeming <leeming@lyx.org>
1089 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1091 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1093 2004-03-27 Angus Leeming <leeming@lyx.org>
1095 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1096 insetlist always contains non-null pointers to insets.
1098 2004-03-26 Angus Leeming <leeming@lyx.org>
1100 * src/BufferView_pimpl.C:
1101 * src/CutAndPaste.C:
1104 * src/output_plaintext.C:
1105 * src/outputparams.h:
1106 * src/paragraph_funcs.C:
1110 * src/frontends/controllers/ControlErrorList.C:
1111 * src/frontends/gtk/FileDialogPrivate.C:
1112 * src/frontends/gtk/GPainter.C:
1113 * src/frontends/gtk/GToolbar.C:
1114 * src/frontends/qt2/QRef.C:
1115 * src/mathed/math_scriptinset.C: squash compiler warnings.
1117 2004-03-26 Angus Leeming <leeming@lyx.org>
1119 * ispell.C (LaunchIspell::start):
1120 * lyx_cb.C (AutoSaveBuffer::start):
1121 invoke run(DontWait) rather than runNonBlocking().
1123 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1125 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1127 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1129 * kbsequence.C (print): adjust
1131 * kbmap.C (printKeySym): rename and change signature
1132 (printKey): use LyXKeySym::print()
1134 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1136 * undo.C: add using std::advance to compile for stlport
1138 2004-03-24 Angus Leeming <leeming@lyx.org>
1140 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1141 it leads to a crash when no buffer is present.
1143 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1144 Martin Vermeer <martin.vermeer@hut.fi>
1146 * lyxfunc.C (dispatch):
1147 * bufferparams.C (readToken): use the new LColor::setColor
1149 * LColor.[Ch] (setColor): new version that takes two strings as
1150 argument and creates a new color entry if necessary
1152 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1154 * buffer.C (makeLaTeXFile): if the main latex file that is
1155 processed is usually a subdocument of some master, then pretend
1156 for a while that it is actually the master
1158 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1160 * buffer.C (getLabelList):
1161 (getBibkeyList): use getMasterBuffer()
1162 (getMasterBuffer): new method. Returns the main document in the
1163 case where one is using included documents.
1165 2004-03-25 André Pönitz <poenitz@gmx.net>
1169 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1171 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1173 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1174 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1176 * ParameterStruct.h: merge with ParagraphParameters
1178 * lyxtext.h: remove LyXText::parOffset() and getPar()
1180 * text3.C: Remove all 'manual' update calls. We do now one per user
1181 interaction which is completely sufficient.
1185 * BufferView_pimpl.C:
1186 * FontIterator.[Ch]:
1188 * ParagraphParameters.[Ch]:
1193 * cursor_slice.[Ch]:
1200 * output_docbook.[Ch]:
1201 * output_latex.[Ch]:
1202 * output_linuxdoc.[Ch]:
1203 * output_plaintext.[Ch]:
1205 * paragraph_funcs.[Ch]:
1206 * paragraph_pimpl.[Ch]:
1214 * frontends/controllers/ControlDocument.C:
1215 * frontends/controllers/ControlErrorList.C:
1216 * frontends/controllers/ControlSpellchecker.C:
1219 * insets/insetbase.h:
1220 * insets/insetbibitem.C:
1221 * insets/insetbox.C:
1222 * insets/insetbranch.C:
1223 * insets/insetcaption.C:
1224 * insets/insetcharstyle.C:
1225 * insets/insetcharstyle.h:
1226 * insets/insetcollapsable.C:
1227 * insets/insetcollapsable.h:
1228 * insets/insetert.C:
1229 * insets/insetfloat.C:
1230 * insets/insetfoot.C:
1231 * insets/insetmarginal.C:
1232 * insets/insetnote.C:
1233 * insets/insetoptarg.C:
1234 * insets/insettabular.C:
1235 * insets/insettext.C:
1236 * insets/insettext.h:
1237 * insets/insetwrap.C:
1238 * mathed/math_mboxinset.C:
1239 * mathed/math_nestinset.C:
1240 * mathed/math_scriptinset.C:
1241 * mathed/math_scriptinset.h:
1244 2004-03-24 Angus Leeming <leeming@lyx.org>
1246 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1247 deal with any child processes that have finished but are waiting to
1248 communicate this fact to the rest of LyX.
1250 2004-03-24 Angus Leeming <leeming@lyx.org>
1252 64-bit compile fixes.
1254 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1255 (c-tor): pass lyx::pos_types rather than ints.
1257 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1260 * text.C (Delete): compile fix.
1261 (getPar): ensure that function declaration is the same as that in
1264 2004-03-23 Angus Leeming <leeming@lyx.org>
1266 * ispell.C (LaunchIspell):
1267 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1268 a boost::shred_ptr rather than a std::auto_ptr.
1270 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1272 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1273 handle LFUN_FILE_INSERT_*
1275 * lyxrc.C (setDefaults, getDescription, output, read):
1276 * lyxrc.h: remove ps_command
1278 2004-03-22 Angus Leeming <leeming@lyx.org>
1280 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1281 Ensure that error_handler is processed once only and that all data
1282 is saved before attempting to output any warning messages.
1284 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1286 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1288 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1290 2004-03-19 André Pönitz <poenitz@gmx.net>
1292 * cursor.[Ch] (reset): take main text inset as argument
1294 * BufferView: adjust
1295 * BufferView_pimpl.C: adjust
1297 * paragraph.[Ch]: fix completely broken operator=()
1299 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1301 * LColor.C (getFromLyXName): make sure that the color name is used
1304 2004-03-17 Angus Leeming <leeming@lyx.org>
1307 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1309 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1310 dialog and to kill a forked process.
1312 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1314 * text2.C (setCursorFromCoordinates): fix font problem
1316 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1318 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1319 bogus "rebuild cursor" code
1321 2004-03-11 André Pönitz <poenitz@gmx.net>
1323 * buffer.[Ch]: use InsetText instead of LyXText as container for
1326 * dociterator.[Ch]: drop the BufferView * member which is not needed
1327 anymore after the change to buffer.C
1329 * paragraph_funcs.C:
1333 * BufferView_pimpl.[Ch]:
1335 * cursor_slice.[Ch]: adjust
1337 * text3.C: fix bug in mathDispatch
1339 2004-03-08 André Pönitz <poenitz@gmx.net>
1341 * undo.[Ch]: use 'StableDocumentIterator' as base for
1344 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1347 * bufferparams.[Ch]: add jurabib support and param.
1349 * LaTeX.C: add FIXME/comment.
1351 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1353 * buffer.C: increment file format to 230.
1355 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1357 * cursor.C (dispatch): avoid infinite loops
1359 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1361 * rowpainter.C (paintSelection): fix x coordinates
1363 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1365 * text.C (rowBreakPoint): fix breaking before displayed insets
1367 2004-03-01 André Pönitz <poenitz@gmx.net>
1369 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1371 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1375 * BufferView_pimpl.C:
1383 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1389 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1390 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1392 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1394 * Bidi.[Ch] (computeTables): const correctness
1395 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1396 fill_hfill, fill_label_hfill and x from Row
1397 * lyxtext.h: prepareToPrint returns a RowMetrics
1398 * rowPainter.C: adjust
1399 * text.C (prepareToPrint): use width, not textWidth. adjust
1400 (redoParagraphInternal, cursorX): adjust
1401 * text2.C (getColumnNearX): adjust
1402 (init): put a default value to the top LyXText::width
1404 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1406 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1408 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1410 * lyxtext.h: add FontIterator class
1412 * text.C (FontIterator, operator*, operator->, operator++): add
1413 (rowBreakPoint, setRowWidth): adjust (fixing a
1416 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1418 * BufferView_pimpl.C (workAreaDispatch): allow also
1419 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1421 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1423 * text.C (rowBreakPoint): fix a bug showing with very large insets
1425 2004-02-25 André Pönitz <poenitz@gmx.net>
1428 * cursor.[Ch]: move some mathed specific code to mathed
1430 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1432 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1433 use_tempdir in preferences
1434 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1436 * lyx_main.C: ensure that tempdir is valid
1437 * lyxlex.h: correct typo
1438 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1439 * paragraph.[Ch] (isMultiLingual): make const
1440 * cursor.[Ch] (openable): make const
1442 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1444 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1446 2004-02-20 André Pönitz <poenitz@gmx.net>
1448 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1450 * cursor.[Ch]: prepare for localized getStatus()
1456 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1458 2004-02-20 André Pönitz <poenitz@gmx.net>
1460 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1462 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1464 * text2.C (setCursorFromCoordinates): switch to absolute coords
1466 (cursorDown): adjust
1467 * text3.C (dispatch): adjust
1469 2004-02-16 André Pönitz <poenitz@gmx.net>
1471 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1474 * cursor_slice.[Ch]: remove unneeded acessor function
1476 * lyxtext.h: rename rtl() to isRTL()
1484 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1486 * rowpainter.C (paintSelection): coord fix
1488 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1490 * Spacing.C: compile fix
1492 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1494 * cursor.C (dispatch): restore current_ before returning
1496 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1498 * text2.C (cursorUp, cursorDown): fix coords
1501 2004-02-12 André Pönitz <poenitz@gmx.net>
1506 * text3.C: add LCursor & parameter to most cursor movement functions
1507 remove usage of LyXText::cursorRow() and cursorPar()
1509 * cursor.[Ch]: add textRow() needed members
1512 * BufferView_pimpl.C:
1515 * BufferView_pimpl.C: adjust
1517 2004-02-11 André Pönitz <poenitz@gmx.net>
1521 * BufferView_pimpl.C: shift undo/redo handling
1523 * cursor.[Ch]: fix mathed crash
1526 * lyxtext.h: move selectionAsText to LCursor
1534 * rowpainter.C: fix excessive drawing
1536 2004-02-06 André Pönitz <poenitz@gmx.net>
1539 * BufferView_pimpl.[Ch]:
1540 * text3.C: move some text specific LFUN handling
1542 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1544 * text3.C (checkInsetHit): adjust coords
1545 * text2.C (getColumnNearX): adjust coords
1546 (edit): adjust coords
1547 * text.C (getRowNearY): add two asserts
1549 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1552 * format.C: add using std::distance to compile on gcc 2.95/stlport
1554 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1556 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1558 2004-02-04 André Pönitz <poenitz@gmx.net>
1560 * BufferView.[Ch] (insertInset):
1561 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1566 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1568 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1569 on the default clause of the switch
1570 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1571 wasn't catched by LCursor::dispatch
1573 2004-02-03 André Pönitz <poenitz@gmx.net>
1576 * cursor.[Ch]: some additional asserts
1578 * undo.[Ch]: remove LyXText dependency in interface
1582 * lyxtext.h (firstPar, lastPar): remove dead functions
1587 * paragraph.[Ch]: adjust
1589 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1591 * lyxfind.C (find): fix argument order in call to ::find
1593 2004-02-02 André Pönitz <poenitz@gmx.net>
1595 * cursor.[Ch]: remove direct access to anchor
1597 * text.C: remove findText() hack
1599 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1601 * iterators.[Ch] (lockPath): remove in favour of...
1602 * BufferView.[Ch] (setCursor): this addition
1603 * BufferView.C (putSelectionAt): adjust
1604 * undo.C (performUndoOrRedo): adjust
1605 * lyxfunc.C (dispatch): adjust
1607 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1609 * iterators.C (lockPath): add a missing slice
1610 * undo.C (performUndoOrRedo): remove redundant positioning code
1612 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1614 * vc-backend.C (scanMaster): ";" -> ';'
1616 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1618 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1619 std::binary_function
1621 * lyxtextclass.C (compare_name): rename to...
1622 (LayoutNamesEqual): ...this
1624 * lyxlex_pimpl.C (compare_tags): inherit from
1625 std::binary_function, put back into anon namespace
1627 * lyxfind.C (MatchString): inherig from std::binary_function
1628 (findChange): use empty() istead of !size()
1630 * format.C (FormatNamesEqual): new functor
1637 * converter.C (compare_Converter): rename to...
1638 (ConverterEqual): ...this, and fixup a bit.
1639 (getConverter): use it, and make function const
1640 (getNumber): use it, and make function const
1644 * bufferlist.C: add using boost::bind
1646 * MenuBackend.C (MenuNamesEqual): new functor
1647 (hasMenu): use it, and make function const
1648 (hasSubmenu): use nested bind to get rid of compare_memfun.
1650 2004-01-30 André Pönitz <poenitz@gmx.net>
1652 * BufferView_pimpl.C:
1655 * cursor_slice.[Ch]:
1658 * paragraph_funcs.C:
1659 * paragraph_funcs.h:
1663 * text3.C: move some of the edit(x,y) handling to the insets
1664 some coordinate changes.
1666 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1668 * text.C: add using statements for std::advance and std::distance
1670 * paragraph.C: add using statement for std::distance
1672 * lyxfind.C: add using statement for std::advance
1674 * cursor.C (region): remove std:: from swap
1675 (openable): use nucleus in stead of operator->
1677 * BufferView.C: add using statements for std::distance and std::swap
1679 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1681 * iterators.C: Remove the pimple, move the needed structures to
1682 the header file. Create accessor for the positions stack.
1683 (asPosIterator): remove function
1685 * PosIterator.C (PosIterator): move constructors to top of file
1686 (PosIterator): reimplement the constructor taking a ParIterator in
1688 (setFrom): new function
1689 (operator!=): inline it
1691 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1693 * lyxfind.C (replaceAll): use std::advance
1695 * iterators.h: inherit from std::iterator.
1697 * PosIterator.C (advance, distance): remove
1698 * PosIterator.h: interit from std::iterator.
1700 2004-01-26 André Pönitz <poenitz@gmx.net>
1703 * BufferView_pimpl.[Ch]:
1707 * bufferview_funcs.C:
1717 * output_linuxdoc.C:
1718 * output_plaintext.C:
1720 * paragraph_funcs.[Ch]:
1721 * paragraph_pimpl.[Ch]:
1727 * text3.C: more IU: dumps most of the rest of the mathcursor
1728 implementation into cursor.[Ch]; "globalize" a bit of it.
1730 2004-01-25 Angus Leeming <leeming@lyx.org>
1732 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1734 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1736 * LaTeXFeatures.h: add nice_ and nice() const
1737 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1739 2004-01-20 André Pönitz <poenitz@gmx.net>
1742 * BufferView_pimpl.C:
1744 * bufferview_funcs.C:
1746 * cursor_slice.[Ch]:
1757 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1758 LCursor and mathcursor parts to LCursor and InsetBase.
1760 2004-01-15 André Pönitz <poenitz@gmx.net>
1762 * cursor_slice.[Ch]: add a few covienience functions
1764 * funcrequest.[Ch]: remove BufferView * member
1766 * BufferView_pimpl.C:
1773 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1775 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1777 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1778 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1780 2004-01-13 André Pönitz <poenitz@gmx.net>
1783 * lyxtext.h: hide cursor and selection anchor behind accessor function
1786 * BufferView_pimpl.[Ch]:
1788 * bufferview_funcs.C:
1798 * cursor_slice.[Ch]: some integer type changes for inset unification
1800 * lyxcursor.[hC]: remove, it's CursorSlice now.
1803 * BufferView_pimpl.[Ch]:
1804 * bufferview_funcs.C:
1810 * textcursor.[Ch]: adjust
1812 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1814 * text2.C (undoSpan): add and use
1815 * text.C (breakParagraph): use undoSpan (fix bug 578)
1818 2004-01-08 Angus Leeming <leeming@lyx.org>
1820 * BufferView_pimpl.C (MenuInsertLyXFile):
1821 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1822 * lyxfunc.C (menuNew, open, doImport):
1823 FileFilterList change to the FileDialog open and save functions.
1825 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1827 * ShareContainer.h: make isEqual and isUnique adaptable
1829 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1831 2004-01-07 Angus Leeming <leeming@lyx.org>
1834 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1836 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1838 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1839 functions replacing find, replace and replaceAll.
1841 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1842 LFUN_WORDFIND(FORWARD|BACKWARD).
1844 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1846 * text.C (breakParagraph): remove an outdated #warning
1848 2004-01-07 André Pönitz <poenitz@gmx.net>
1850 * lyxfind.C: somewhat clearer logic
1852 * text.C: prevent crash in cursorX on unitialized row cache
1854 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1856 * lyxcursor.[Ch] (operator>): add
1857 * textcursor.C (selStart, selEnd): use std::min and std::max
1859 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1861 * Chktex.C: include boost/format.hpp
1863 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1865 * InsetList.C: replace functor MathcIt with adaptable functor
1867 (insetIterator): modify accordingly
1869 * BranchList.h: move the BranchNamesEqual functor here from...
1870 * BranchList.C: ... to here
1872 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1874 (add): replace a finding loop with std::find_if.
1876 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1878 * output_docbook.C: moving LatexParam functionality into
1881 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1883 * buffer.C: increment format to 229.
1885 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1888 * lyx_sty.[Ch]: remove minipageindent_def
1894 * text3.C: remove LFUN_INSET_MINIPAGE
1896 2003-12-28 Angus Leeming <leeming@lyx.org>
1898 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1900 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1902 * text2.C (setParagraph): fix off-by-one crash
1904 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1906 * output_docbook.C: header stuff for AGU
1908 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1910 * text2.C (redoCursor): remove
1913 * BufferView_pimpl.C: remove calls to redoCursor and
1914 setCursor(cursor.par(), cursor.pos()) all around
1916 2003-12-15 Angus Leeming <leeming@lyx.org>
1918 * buffer.C: up the format to 228.
1920 2003-12-15 André Pönitz <poenitz@gmx.net>
1922 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1927 * BufferView_pimpl.C:
1936 2003-12-15 Angus Leeming <leeming@lyx.org>
1938 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1939 than getFromGUIName to manipulate the color.
1941 2003-12-14 Angus Leeming <leeming@lyx.org>
1943 * BranchList.[Ch]: minimize the API.
1944 (Branch::getBranch, getColor): now return a 'const &'.
1945 (Branch::setSelected) now returns a bool set to true if the
1946 selection status changes.
1947 (BranchList::clear, size, getColor, setColor, setSelected,
1948 allBranches, allSelected, separator): removed.
1949 (BranchList::find): new functions, returning the Branch with
1951 (BranchList::add, remove): return a bool indicating that
1952 the operation was successful.
1954 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1955 new InsetBranch::isBranchSlected member function.
1957 * LColor.[Ch]: mimimize the API.
1958 (fill): renamed as addColor and made private.
1959 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1960 versions of these functions taking a string arg have been removed.
1962 * bufferparams.C (readToken):
1963 * lyxfunc.C (dispatch):
1964 * lyxrc.C (read): changes due to the altered BranchList and
1967 * factory.C (createInset, readInset): changes due to altered
1970 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1973 * lyxfunc.C: remove insetminipage. "minipage-insert"
1974 now produces a frameless minipage box inset.
1976 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1978 * textcursor.[Ch] (selStart,selEnd): add new methods
1979 remove selection::start, end, use LyXCursor::operator<
1980 * lyxcursor.[Ch] (operator<): add
1981 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1982 * BufferView.[Ch] (unsetXSel): add
1983 * text2.C (clearSelection): use unsetXSel,adjust
1986 * rowpainter.C: adjust
1987 * bufferview_funcs.C (put_selection_at): adjust
1989 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1991 * BufferView_pimpl.C: small coord. correction
1993 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1995 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1996 dragging over the splash screen.
1998 2003-12-11 Angus Leeming <leeming@lyx.org>
2000 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2001 as it is now handled in LyXText::dispatch.
2003 * text3.C (doInsertInset): remove a level of nesting.
2005 2003-12-11 Angus Leeming <leeming@lyx.org>
2007 * factory.C (createInset): changes due to the changed interface to
2008 InsetCommandMailer::string2params.
2010 2003-12-10 Angus Leeming <leeming@lyx.org>
2012 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2013 'dialog-show-new-inset <inset name>'
2015 2003-12-10 Angus Leeming <leeming@lyx.org>
2017 * buffer.C: up the format to 227.
2019 * factory.C: the box inset is now identified simply by 'Box'.
2021 2003-12-10 Angus Leeming <leeming@lyx.org>
2023 * buffer.C: up the format to 226.
2025 * factory.C: the note inset is now identified simply by 'Note'.
2027 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2029 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2030 when a pit is enough. Standarize a couple of loops.
2032 2003-12-05 Angus Leeming <leeming@lyx.org>
2034 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2035 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2036 data to the re-worked "log" dialog.
2038 2003-12-03 André Pönitz <poenitz@gmx.net>
2044 * paragraph_funcs.C:
2046 * text2.C: use Inset::getText instead of Inset::getParagraph
2048 2003-12-03 André Pönitz <poenitz@gmx.net>
2052 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2053 InsetText::read() as LyXText::read()
2055 2003-12-02 Angus Leeming <leeming@lyx.org>
2057 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2058 type. Add a comment in the implementation that the function uses
2059 the stream's bad() function rather than fail() as the std::streams
2062 2003-12-02 André Pönitz <poenitz@gmx.net>
2064 * lyxlex.[Ch]: make interface more similar to std::stream
2066 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2068 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2070 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2072 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2074 * vspace.[Ch]: remove VSpace::NONE
2076 2003-12-01 André Pönitz <poenitz@gmx.net>
2079 * lyxtext.h: move ParagraphList member to LyXText
2080 rename LyXText::ownerParagraphs to LyXText::paragraph
2083 * bufferview_funcs.C:
2093 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2095 * undo.C: fix cursor positioning
2097 2003-12-01 John Levon <levon@movementarian.org>
2099 * BufferView_pimpl.C: fix a crash on exit with
2102 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2104 * BranchList.C: fix setSelected() method.
2106 2003-11-28 André Pönitz <poenitz@gmx.net>
2108 * ParagraphParameters.[Ch]:
2109 * ParameterStruct.h: remove space above/below from Paragraph to
2112 * BufferView_pimpl.C:
2118 * paragraph_funcs.C:
2124 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2126 * factory.C: Syntax change for CharStyles
2128 2003-11-28 André Pönitz <poenitz@gmx.net>
2133 * buffer.[Ch]: move LyXText member
2135 2003-11-28 André Pönitz <poenitz@gmx.net>
2137 * BufferView.[Ch]: make LyXText * text a private member
2139 * BufferView_pimpl.C:
2150 * output_plaintext.C: cleanup
2152 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2155 * lyxtextclass.[Ch]: parametrize SGML document header
2157 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2160 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2163 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2165 * text2.C (setFont): rework using PosIterator (no more recursive)
2166 (setCharFont): no more needed
2167 (setLayout): no more selection cursors fiddling (done by redoCursor)
2168 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2169 destroy remaining ones)
2171 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2173 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2175 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2178 * text3.C: adjust + re-allow multi par depth changes
2179 * textcursor.C: simplify a bit
2181 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2187 * src/output_docbook.C:
2188 * src/output_latex.C:
2193 * src/text2.C: Introducing a number of tags parametrizing various
2194 XML formats that we may want to support
2196 2003-11-25 André Pönitz <poenitz@gmx.net>
2198 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2200 * lyxtext.h (leftMargin/rightMargin): simplify interface
2207 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2209 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2210 master file to any child files. Fixes bug 546.
2212 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2214 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2216 2003-11-24 André Pönitz <poenitz@gmx.net>
2218 * rowpainter.C: simplification
2220 * text2.C (updateCounters): remove call to redoParagraph on
2221 changed labels as this is far too expensive.
2223 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2225 * converter.C (convert): fix a crash: this function gets
2226 called with buffer == 0 from importer code.
2228 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2230 * text3.C (cursorPrevious): make sure that we do not compare
2231 iterators form different containers.
2234 * rowpainter.C (paintSelection): make sure that we do not compare
2235 iterators from different containers.
2237 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2238 iterators from different ParagraphList containers.
2241 * text2.C (LyXText): change order of initialization slightly
2242 (operator=): new function. copy all variables except cache_par_
2243 (moveUp): make sure that we do not compare iterators from
2244 different ParagraphList constainers.
2247 * text.C (firstPar): new function
2248 (lastPar): new function
2249 (endPar): new function
2251 * lyxtext.h: move things around and group public functions, public
2252 variables, private functions, private variables
2254 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2256 * factory.C: change call to InsetERT constructor to avoid
2257 additional invocation of method status
2258 * text2.C (toggleInset): remove redundant update() call
2259 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2260 instead of a Bufferview pointer
2262 2003-11-21 André Pönitz <poenitz@gmx.net>
2264 * rowpainter.C: simplification
2266 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2268 * text3.C (dispatch): make possible to extend a word/row selection
2271 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2273 * lyxtext.h: x0_,y0_ -> xo_,yo_
2274 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2275 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2276 * rowpainter.C (paintRows): paint full paragraphs
2278 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2280 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2283 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2285 * lyxtext.h: add x0_, y0_
2286 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2287 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2289 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2291 * text2.C (setCursorIntern): move the x_target update here *
2292 * text3.C: change some bv() to true/false in calls to
2293 cursorUp/Down/Right/Left
2294 * cursor.C: use helper function.
2296 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2298 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2299 * paragraph_funcs.[Ch]: correct comment
2300 * rowpainter.C: do not paint selections away from bv->cursor()
2301 Fix a long standing selection painting bug.
2302 * text3.C: generalize mouse-selection code to LyXTexts other that
2304 * textcursor.C: do not use y coords if we can use par offsets
2306 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2308 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2309 cursor position after e.g. inset insert)
2311 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2313 * lyxfind.C (replace): adjust to locking removal + some
2316 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2318 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2321 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2324 * output_docbook.C: XML sanitation: new layout
2325 parameters InnerTag and CommandDepth
2327 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2329 * BufferView_pimpl.C:
2331 * text3.C: Fix the insertion and modification of button-style
2334 2003-11-13 André Pönitz <poenitz@gmx.net>
2336 * InsetList.[Ch]: remove deleteLyXText
2338 * paragraph.[Ch]: cache beginOfBody position
2343 * text3.C: remove superfluous update() calls
2347 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2349 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2350 * BufferView.C (fitLockedInsetCursor): remove
2351 * cursor.[Ch] (getDim): add
2352 * text.C (getRowNearY): add faster version
2353 * text3.C: remove some update calls
2355 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2367 * text3.C: The Character Style /XML short element patch.
2369 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2372 * factory.C: Small step to solving 'unable to insert some insets'
2375 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2377 * cursor.[Ch] (updatePos): new function for updating the y
2378 position of the tip inset
2379 * bufferview_funcs.C (put_selection_at):
2380 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2382 2003-11-11 André Pönitz <poenitz@gmx.net>
2384 * text.C: remove big comment on invalid Paragraph pointers as it is
2387 2003-11-11 André Pönitz <poenitz@gmx.net>
2389 * text_funcs.[Ch]: merge with ...
2397 * Makefile.am: remove text_funcs.[Ch]
2399 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2401 * cursor.C (getPos): return absolute cached y coord
2403 * BufferView_pimpl.C (fitCursor): new simplistic code
2404 (workAreaDispatch): add a fitCursor call
2406 2003-11-10 André Pönitz <poenitz@gmx.net>
2409 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2411 2003-11-10 André Pönitz <poenitz@gmx.net>
2413 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2414 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2415 indicate that the cursor needs to leave an inset
2417 * lyxtext.h: remove inset locking
2419 * cursor.[Ch]: re-implement functionality provided by inset locking
2422 * BufferView_pimpl.[Ch]:
2424 * bufferview_funcs.[Ch]:
2436 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2438 * PosIterator.[Ch]: replace the stack with a vector, add inset
2440 * iterators.[C]: adjust
2442 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2444 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2446 * paragraph_funcs.C (readParToken): put the correct id in the
2447 error item, not the id of the top paragraph
2449 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2451 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2452 * bufferview_funcs.C (put_selection_at): use the above
2454 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2456 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2458 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2460 * output_linuxdoc.h:
2461 * output_plaintext.h:
2463 * output_docbook.h: add #include statements
2465 2003-11-05 José Matos <jamatos@lyx.org>
2467 * output_docbook.[Ch]:
2468 * output_latex.[Ch]:
2469 * output_linuxdoc.[Ch]:
2470 * output_plaintext.[Ch]: New files for output formats.
2471 * output.[Ch]: New file for helper functions.
2474 * paragraph_funcs.[Ch]: output functions moved to new files.
2476 * outputparams.h: rename of latexrunparams.h
2484 * paragraph_funcs.[Ch]:
2485 * paragraph_pimpl.[Ch]:
2486 * tabular.[Ch]: rename ascii to plaintext
2487 and LatexRunParams to OutputParams.
2489 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2491 * iterators.[Ch] (text): require bv argument
2492 * undo.C (recordUndo):
2493 * lyxfunc.C (dispatch):
2494 * bufferview_funcs.C (put_selection_at): adjust
2496 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2498 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2500 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2502 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2505 2003-11-04 André Pönitz <poenitz@gmx.net>
2507 * cursor.[Ch]: restructure
2510 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2512 * iterators.[Ch] (asCursor): remove
2514 * lfuns.h: remove LFUN_INSET_EDIT
2520 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2522 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2524 * lyxfind.[Ch]: complete overhaul
2525 * BufferView_pimpl.C:
2527 * paragraph.[Ch] (insert): add
2529 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2533 * text.C: remove dead spellcheck code
2535 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2537 * dispatchresult.h: add a val setter
2539 * cursor.C (dispatch): use a tempvar for data_[i]
2541 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2543 * PosIterator.[Ch]: compile fix
2545 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2547 * text.C (cursorPar): deactivate the cursor cache
2549 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2551 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2553 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2555 * text3.C (dispatch): adjust for new DisptchResult semantics.
2557 * lyxfunc.C (dispatch): handle update when return from
2558 Cursor::dispatch, adjust for new DispatchResult semantics.
2560 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2561 DispatchResult(true) mean to not update. Add class functions for
2562 setting dispatched and update, as well as reading.
2564 * cursor.C (dispatch): don't handle update here
2566 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2568 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2569 * trans_mgr.C: adjust
2571 * paragraph_funcs.C (readParToken): exception safety
2573 * lyxvc.h: store the vcs pointer in a scoped_ptr
2576 * lyxsocket.C (serverCallback): exception safety
2578 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2580 * ispell.C (clone): make it return a auto_ptr
2582 * factory.C (createInset): exception safety
2583 (readInset): exception safety
2585 * bufferlist.C (newBuffer): exception safety
2587 * Thesaurus.C (Thesaurus): use initialization for aik_
2589 * MenuBackend.C (expandToc): exception safety.
2591 2003-11-03 André Pönitz <poenitz@gmx.net>
2595 * bufferview_funcs.C: remove getInsetFromId()
2598 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2604 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2606 * PosIterator.C (distance, advance): new
2607 * bufferview_funcs.[Ch] (put_selection_at): new
2608 * iterators.[Ch] (lockPath): new
2610 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2612 * iterators.[Ch] (asPosIterator): added
2613 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2614 * PosIterator.[Ch]: added
2616 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2620 * cursor.C (dispatch):
2621 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2623 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2624 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2625 contructor, add a class function dispatched. Remove operator>=
2627 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * debug.C: only use the default constructor for debugstream
2632 * main.C (main): include debug.h and setup the lyxerr streambuf
2635 2003-10-31 José Matos <jamatos@lyx.org>
2637 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2639 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2640 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2641 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2642 * paragraph_pimpl.C (simpleTeXSpecialC):
2643 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2644 add LatexRunParams argument.
2646 * exporter.C (Export): change call accordingly.
2648 * latexrunparams.h: add new member to take care of the other backends.
2649 2003-10-30 José Matos <jamatos@lyx.org>
2651 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2652 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2653 factorise code for paragraph output.
2655 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2658 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2660 * text3.C (dispatch):
2661 * lyxfunc.C (dispatch):
2662 * cursor.C (dispatch):
2663 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2665 * dispatchresult.h: make the dispatch_result_t ctor explicit
2667 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2670 * buffer.C: small refactoring of docbook stuff
2672 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2674 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2677 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2679 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2680 operator dispatch_result_t, and operators for == != and >=
2682 * cursor.C (dispatch): adjust for operator dispatch_result_t
2683 removal. comment out call to update
2685 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2687 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2695 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2698 * dispatchresult.h: new file, DispatchResult broken out of
2701 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2703 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2705 * text.C (rowBreakPoint): put a hack inside #if 0
2707 2003-10-28 André Pönitz <poenitz@gmx.net>
2711 * paragraph_funcs.C:
2714 * text2.C: general cleanup (lots of small stuff)
2716 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2718 * text2.C (cursorEnd): simple fix to the "end key goes to one
2719 before the end on last row" bug
2721 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2723 * text.C (backspace): fix the "zombie characters"
2725 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2727 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2729 2003-10-27 André Pönitz <poenitz@gmx.net>
2731 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2733 * factory.C: handle new InsetPagebreak, InsetLine
2735 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2736 and move handling into new InsetPagebreak, InsetLine
2738 * BufferView_pimpl.C:
2740 * ParagraphParameters.C:
2741 * ParameterStruct.h:
2746 * paragraph_funcs.C:
2747 * paragraph_pimpl.C:
2753 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2756 * lyxrow_funcs.[Ch]:
2762 * text3.C: remove lastPos uses in favour of Row::endpos
2764 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2766 * undo.C (performUndoOrRedo): fix two crashes by setting a
2767 cursor by hand and reordering some calls. Use bv->lockInset instead
2768 of inset->edit because the latter loses cursor information
2770 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2772 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2774 (rowBreakPoint): fix width. change point to point + 1.
2775 Add a missing check.
2777 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2780 * lyxfunc.C: fix (at least partly) the problems
2781 with the Nav menu and headers inside branch insets
2784 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2786 * paragraph.C (getChar): add strong asserts
2788 * lyxrow_funcs.C (lastPos): remove hideous hack
2790 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2791 (fill): adjust to that (avoid an infinite loop)
2793 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2795 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2797 2003-10-23 André Pönitz <poenitz@gmx.net>
2799 * RowList_fwd.h: change list<> to vector<> to gain speed
2800 after suggestion from Alfredo
2802 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2804 * lyxtext.h: move the bidi stuff from here...
2807 * Bidi.[Ch]: ... to here
2809 2003-10-23 André Pönitz <poenitz@gmx.net>
2812 * text.C (isLastRow, isFirstRow): new functions
2814 * paragraph.h: new width cache member
2816 * rowpainter.C: replace RowList::iterator with Row & where possible
2818 * lyxfunc.C: replace several view()->text with a single call
2820 * toc.C: fix 'unused' warning
2822 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2824 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2825 when woring with stream::pos_type
2826 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2828 2003-10-22 André Pönitz <poenitz@gmx.net>
2831 * text.C: use Row & instead of RowList::iterator
2833 * lyxrow.h: rename end() to endpos()
2839 2003-10-22 Angus Leeming <leeming@lyx.org>
2841 * buffer.[Ch] (fully_loaded): new member function, returning true
2842 only when the file has been loaded fully.
2843 Used to prevent the premature generation of previews and by the
2844 citation inset to prevent computation of the natbib-style label.
2846 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2847 templates are all set up.
2849 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2851 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2853 * text.C: fixed an "oops" in the "is a bit silly"
2856 2003-10-21 André Pönitz <poenitz@gmx.net>
2858 * FuncStatus.[Ch]: small stuff, whitespace
2860 * lyxfont.[Ch]: operator<<() for debug reasons
2864 * lyxtext.h: whitespace, spelling
2866 * paragraph.C: naming of variables
2869 * text2.C: small stuff
2872 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2874 * text.C: (1) finish off the inset display() work;
2875 (2) fix the "is a bit silly" bug (accessing char
2878 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2880 * text.C: re-introduce display() for insets, fixing the
2881 various bugs (stretch of line above, math inset
2884 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2886 * text.C (rightMargin): remove spurious semicolon
2888 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2891 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2893 * text3.C: fix one crash due to wrong cursor def
2895 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2897 * vc-backend.C (scanMaster): make the regex static
2899 * LaTeX.C (scanAuxFile): make the regexs static
2901 * text3.C (doInsertInset, dispatch, dispatch):
2902 * text2.C (cursorUp, cursorDown):
2903 * text.C (selectNextWordToSpellcheck):
2904 * BufferView_pimpl.C (dispatch):
2905 * lyxfunc.C (dispatch): localDispatch -> dispatch
2907 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2909 * lyxsocket.C: include <cerrno>
2911 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2913 * lyxfunc.C (dispatch): remove textcache stuff
2915 * bufferlist.C (release): remove textcache stuff
2918 * TextCache.C: delete file
2919 * TextCache.h: delete file
2921 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2923 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2924 delete of the bv_->text.
2925 (resizeCurrentBuffer): remove texcache stuff
2926 (workAreaResize): ditto
2928 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2930 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2933 2003-10-16 André Pönitz <poenitz@gmx.net>
2940 * text3.C: speed up by storing y positions per paragraph plus per-row
2941 offset instead of having a 'full' y position in the row.
2943 2003-10-15 André Pönitz <poenitz@gmx.net>
2947 * undo.[Ch]: make undo aware of inner insets
2949 2003-10-14 Angus Leeming <leeming@lyx.org>
2951 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2952 static member functions LyX::ref() and LyX::cref.
2953 (lastfiles): new accessor functions for the new lastfiles_ member var.
2954 (addLyXView, views_): add a new LyXView to the list of views_.
2955 (updateInset): loop over all LyXViews to call their own updateInset
2956 member function, returning a pointer to the Buffer owning the inset.
2958 * BufferView_pimpl.C (loadLyXFile):
2959 * MenuBackend.C (expandLastfiles):
2960 * bufferlist.C (MenuWrite, QuitLyX):
2961 lastfiles is no longer a global variable.
2962 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2964 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2965 static function. Access through LyX::cref().emergencyCleanup().
2967 2003-10-14 André Pönitz <poenitz@gmx.net>
2969 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2971 * undo.[Ch]: restoring part of 'undo in insets'
2974 * undo_funcs.[Ch]: merge with undo.[Ch]
2976 * tabular.C: small cleansing stuff
2978 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2980 * paragraph_funcs.C (readParToken): report unknown insets as error
2981 boxes. Use the outer paragraph as location (also for unknown
2984 * factory.C (readInset): do not abort on reading an unknown inset.
2985 Eat it and return 0.
2987 2003-10-13 Angus Leeming <leeming@lyx.org>
2989 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2991 * lyxrc.C: displayTranslator is now a function,
2992 declared in GraphicsTypes.h.
2994 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2996 * format.C: new placeholder $$a to pass the socket address.
2998 * bufferlist.[Ch]: new function getBufferFromTmp.
3000 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3001 files in the temporary dir.
3003 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3005 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3007 * Makefile.am: add lyxsocket.[Ch].
3009 * lyx_main.C (error_handler): handle SIGPIPE.
3011 2003-10-13 André Pönitz <poenitz@gmx.net>
3013 * BufferView_pimpl.C:
3018 * undo_funcs.[Ch]: use paroffset_type instead of
3019 ParagraphList::iterators to prevent multiple conversion
3020 (and get a more robust interface)
3022 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3024 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3026 * text3.C (dispatch): ditto
3028 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3030 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3031 move the onlyfile, use onlyfile instead of foundfile in a couple
3034 * DepTable.C (update): flush the error stream a bit more
3036 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3038 * lyxserver.C (callback): adjust
3040 * lyxfunc.C (getStatus): add a missing brace in commented code
3041 (ensureBufferClean): reindent
3042 (dispatch): delete version taking a string
3044 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3046 * LaTeX.C (deplog): move found file handlig from here...
3047 (handleFoundFile): .. to new function here.
3048 (deplog): make sure to discover several files mentioned on the
3051 2003-10-10 André Pönitz <poenitz@gmx.net>
3058 * text3.C: fix some of the tabular crashes
3060 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3062 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3064 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3066 2003-10-09 André Pönitz <poenitz@gmx.net>
3068 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3071 * BufferView_pimpl.C:
3072 * bufferview_funcs.C:
3083 * undo_funcs.C: adjust
3085 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3087 * text2.C (incrementItemDepth): new function, use a backtracking
3088 algorithm to discover the correct item depth.
3089 (resetEnumCounterIfNeeded): new function, use a backtracking
3090 algorithm to discover if counter reset is needed.
3091 (setCounter): use them. Simplify a bit. Add different labels for
3092 different item depths for itemize.
3094 * paragraph.C (Paragraph): remove initialization of enumdepth
3097 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3098 enumerate and itemize. Change the type of itemdepth to signed char.
3100 2003-10-08 André Pönitz <poenitz@gmx.net>
3102 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3107 * tabular.[Ch]: fix crash after 'row-insert'
3109 2003-10-08 Angus Leeming <leeming@lyx.org>
3111 Fix doxygen warnings.
3113 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3114 Remove CutAndPaste:: prefix from header file declaration.
3116 * LColor.h (fill): remove LColor:: prefix from declaration.
3118 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3119 use lyx::depth_type rather than Paragraph::depth_type so that
3120 header file and .C file match.
3122 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3124 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3125 * aspell.C: \file aspell_local.C -> \file aspell.C
3126 * gettext.C: \file gettext.C -> \file src/gettext.C
3127 * gettext.h: \file gettext.h -> \file src/gettext.h
3128 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3129 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3130 * text.C: \file text.C -> \file src/text.C
3132 * toc.C: move comment so that doxygen is not confused.
3134 2003-10-07 Angus Leeming <leeming@lyx.org>
3136 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3138 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3141 * aspell_local.h: add forgotten std::string's.
3143 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3150 * text3.C: The Box patch. Fancybox support, minipage, parbox
3152 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3158 * ParagraphParameters.h:
3168 * lyxtextclasslist.h:
3171 * paragraph_pimpl.C:
3172 * textcursor.h: add <string> and other small fixes to make Lars'
3173 std::string patch compile with STLport.
3175 2003-10-06 Angus Leeming <leeming@lyx.org>
3177 * LColor.h: Add missing #include <string>.
3179 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3181 * All most all file in all subdirs: Make <string> be the prefered
3182 way of getting to std::string, add using declarations.
3184 2003-10-06 André Pönitz <poenitz@gmx.net>
3186 * metricsinfo.C: initialize LyXFont before changing attribute.
3187 (fixes the 'math in \emph is upright' bug)
3189 2003-10-06 André Pönitz <poenitz@gmx.net>
3191 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3193 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3196 * paragraph_pimpl.C: Small fixes to build using STLport
3198 2003-10-02 André Pönitz <poenitz@gmx.net>
3201 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3203 2003-10-01 André Pönitz <poenitz@gmx.net>
3205 * factory.C: assert early
3207 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3209 * lyx_main.C: remove the global debug object
3211 * debug.h: adjust for new debugstream
3213 * debug.C: adjust for new debugstream and keep the global debug
3216 2003-09-22 Angus Leeming <leeming@lyx.org>
3218 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3219 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3220 an incomplete class LyXFont.
3222 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3224 * factory.C: bug fix in branches
3226 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * lyxfunc.C (processKeySym): adjust
3230 (dispatch): change arg name from ev to func, adjust
3231 (sendDispatchMessage): ditto
3233 * lyx_main.C (defaultKeyBindings): adjust keybindings
3234 (deadKeyBindings): ditto
3236 * kbsequence.C (addkey): return a FuncRequest
3238 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3240 * kbmap.C (bind): take a FuncRequest as arg, adjust
3243 (defkey): change to take a FuncRequest as arg, adjust
3244 (findbinding): take a FuncRequest as arg, adjust.
3246 * funcrequest.h (operator=): added
3248 * funcrequest.C (FuncRequest): default kb_action changed from
3249 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3251 * buffer.C (dispatch): simplify
3252 (dispatch): adjust to take a FuncRequest as arg, adjust
3254 * boost.C (assertion_failed): change assertion message slightly
3256 * ToolbarBackend.C (read): simplify
3258 * MenuBackend.C (binding): adjust call to findbinding, add a
3259 message if no binding is found.
3261 (expandToc): correct by adding a empty FuncRequest
3263 * LyXAction.C: include <boost/assert.hpp>
3264 (isPseudoAction): delete function
3265 (LookupFunc): change name to...
3266 (lookupFunc): this. change return type to FuncRequest.
3267 (getActionName): take kb_action as arg, simplify
3268 (funcHasFlag): add an assert, simplify.
3270 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3272 * toc.C (action): return a FuncRequest, simplify
3274 * lyxfunc.C (processKeySym): adjust
3275 (getStatus): delete version that takes an int.
3277 (dispatch): delete version that takes action as int
3279 (sendDispatchMessage): simplify and adjust
3281 * funcrequest.C (getArg): take unsigned int as arg
3283 * ToolbarBackend.C (read): adjust
3284 (add): delete version that takes func as a string.
3285 (getIton): take a FuncRequest as arg
3287 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3290 * MenuBackend.C (MenuItem): add a new construct that only takes a
3291 Kind, simplify the constructor use for submenus.
3293 (expandLastfiles): adjust
3294 (expandDocuments): adjust
3295 (expandFormats): adjust
3296 (expandFloatListInsert): adjust
3297 (expandFloatInsert): adjust
3298 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3300 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3301 Remove class variables lyx_pseudo_map and lyx_arg_map
3303 * LyXAction.C (searchActionArg): delete function
3304 (getPseudoAction): delete function
3305 (retrieveActionArg): delete function
3306 (LookupFunc): make it return kb_action, simplify.
3307 (getActionName): simplify
3309 * factory.C (createInset): fix new bug
3311 2003-09-19 Angus Leeming <leeming@lyx.org>
3313 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3314 masterFilename_ parameter in the include inset.
3316 * factory.C (createInset): changes due to the changes to InsetInclude.
3318 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3320 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3322 2003-09-18 Angus Leeming <leeming@lyx.org>
3325 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3326 Inset::fillWithBibKeys.
3327 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3329 2003-09-18 Angus Leeming <leeming@lyx.org>
3331 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3333 (ctor): pass and store a 'Buffer const &'
3334 (buffer): new member function.
3336 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3337 '*this' to the LaTeXFeatures ctor.
3339 2003-09-18 Angus Leeming <leeming@lyx.org>
3345 * text.C: rename EnumLColor as LColor_color.
3347 2003-09-18 Angus Leeming <leeming@lyx.org>
3349 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3350 remove #include "insets/insetbase.h" from cursor.h.
3352 2003-09-18 Angus Leeming <leeming@lyx.org>
3354 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3355 InsetOld_code to remove #include "inset.h".
3357 * iterators.C: add #include "insets/inset.h"
3359 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3361 * BufferView.C: remove more locking stuff that apparently doesn't
3362 do anything sensible.
3364 2003-09-16 André Pönitz <poenitz@gmx.net>
3367 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3370 2003-09-16 Angus Leeming <leeming@lyx.org>
3372 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3374 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3377 * paragraph.h: remove #include "lyxfont.h". Forward declare
3380 2003-09-16 Angus Leeming <leeming@lyx.org>
3382 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3383 of support/textutils.h.
3384 (isWord): move the contents of support/textutils.h's IsWordChar here.
3390 * text2.C: add #include "paragraph.h".
3393 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3395 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3401 * LaTeX.C: use namespace alias for lyx::support::os
3403 2003-09-16 Angus Leeming <leeming@lyx.org>
3406 * bufferview_funcs.C:
3409 * paragraph_pimpl.C:
3411 * text.C: add #include "LColor.h".
3413 2003-09-16 Angus Leeming <leeming@lyx.org>
3415 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3416 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3418 Store the FontBits::color variable as an int rather than as an
3419 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3422 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3423 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3424 string calls together.
3426 * lyxrc.C: add #include "LColor.h".
3428 2003-09-15 Angus Leeming <leeming@lyx.org>
3430 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3433 2003-09-15 Angus Leeming <leeming@lyx.org>
3435 * LColor.h: add an EnumLColor wrapper for LColor::color.
3437 * lyxfont.[Ch] (color, setColor, realColor):
3438 * lyxtext.h, text.C (backgroundColor):
3439 pass EnumLColor args to/from the functions, rather than LColor::color
3443 * lyxtext.h: forward declare EnumLColor.
3445 * lyx_main.C: add #include "LColor.h".
3447 2003-09-15 Angus Leeming <leeming@lyx.org>
3449 * .cvsignore: add lyx-gtk.
3451 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3456 * ParagraphParameters.C
3460 * bufferview_funcs.C
3470 * vc-backend.C: remove usage of STRCONV
3472 2003-09-15 Angus Leeming <leeming@lyx.org>
3474 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3475 explicitly define the color passed to the painter.
3477 2003-09-15 Angus Leeming <leeming@lyx.org>
3479 * bufferparams.C (BufferParams): reorder member initializers to avoid
3482 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3484 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3485 * text.C (updateRowPositions): remove an unusual nop
3487 2003-09-12 André Pönitz <poenitz@gmx.net>
3489 * BufferView_pimpl.C:
3498 * Counters.[Ch]: finish the 'automatic counters' job
3500 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3502 * aspell.C: include <boost/assert.cpp> (compile fix)
3504 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3506 * boost.C (assertion_failed): use lyx::support::abort instead of
3509 2003-09-10 Angus Leeming <leeming@lyx.org>
3511 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3512 with their _fwd progeny.
3514 2003-09-09 Angus Leeming <leeming@lyx.org>
3516 134 files throughtout the source tree: replace 'using namespace abc;'
3517 directives with the appropriate 'using abc::xyz;' declarations.
3519 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3521 * boost.C (emergencyCleanup): moved here from LAssert.c
3522 (assertion_failed): new function, called by BOOST_ASSERT
3524 * several files: change Assert to BOOST_ASSERT
3526 2003-09-09 Angus Leeming <leeming@lyx.org>
3528 * buffer.[Ch]: Add an Impl class and move Buffer's member
3529 variables into it. As a result move several header files out of
3532 Add header files to lots of .C files all over the tree as a result.
3534 2003-09-09 Angus Leeming <leeming@lyx.org>
3536 * buffer.[Ch]: make Buffer's member variables private. Add
3539 Lots of changes all over the tree as a result.
3541 2003-09-08 Angus Leeming <leeming@lyx.org>
3543 * graph.C: #include <config.h>.
3545 2003-09-08 Angus Leeming <leeming@lyx.org>
3549 * BufferView_pimpl.C:
3578 * toc.C: remove redundant using directives.
3580 2003-09-07 Angus Leeming <leeming@lyx.org>
3582 * LaTeXFeatures.h: remove #include "support/types.h".
3583 * ToolbarBackend.h: remove #include <algorithm>.
3584 * changes.h: remove #include <ctime>.
3585 * debug.h: remove #include <iosfwd>.
3586 * graph.h: remove #include "support/std_string.h".
3587 * lyx_main.h: remove #include <csignal>.
3588 * lyxlex_pimpl.h: remove #include <fstream>.
3589 * sgml.h: remove #include <algorithm>, <utility>.
3590 * toc.h: remove #include "support/std_ostream.h".
3591 Add #include <iosfwd>.
3593 2003-09-07 Angus Leeming <leeming@lyx.org>
3595 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3597 * converter.h: forward declare LatexRunParams.
3598 * encoding.h: remove #include "lyxrc.h".
3599 * lyxtext.h: remove #include "LColor.h".
3600 * lyxtextclass.h: remove #include "support/types.h".
3601 * trans.h: remove #include "tex-accent.h".
3602 * trans_mgr.h: remove #include "tex-accent.h".
3603 * insets/inset.h: remove #include "support/types.h", <vector>.
3604 * insets/insetcollapsable.h: remove #include "LColor.h".
3605 * insets/insetinclude.h: remove #include "dimension.h".
3606 * insets/insetlatexaccent.h: remove #include "dimension.h".
3607 * insets/insetoptarg.h:: remove #include "insettext.h".
3608 * insets/insettext.h: remove #include "dimension.h",
3609 <boost/shared_ptr.hpp>
3611 * insets/renderers.h: add #include "dimension.h".
3612 * insets/updatableinset.h: add #include "support/types.h".
3614 * many .C files: Associated changes.
3616 2003-09-06 Angus Leeming <leeming@lyx.org>
3618 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3619 one, inside testInvariant.
3621 * PrinterParams.C: new file.
3622 * PrinterParams.[Ch]: move the function bodies out of line.
3624 2003-09-06 Angus Leeming <leeming@lyx.org>
3626 * ParagraphParameters.h: forward declare ParameterStruct rather than
3627 including its header file.
3628 (depth): moved out-of-line.
3630 2003-09-06 Angus Leeming <leeming@lyx.org>
3632 * BufferView_pimpl.h:
3635 * lyxfunc.h: forward declare LyXKeySym rather than
3636 #include "frontends/LyXKeySym.h".
3638 * BufferView_pimpl.C:
3641 * lyxfunc.C: associated changes.
3643 2003-09-06 Angus Leeming <leeming@lyx.org>
3645 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3646 As a result, can remove the #include "insets/inset.h" from BufferView.h
3648 2003-09-06 Angus Leeming <leeming@lyx.org>
3650 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3651 As a result, can remove the #include "insets/inset.h" from BufferView.h
3653 2003-09-06 Angus Leeming <leeming@lyx.org>
3659 * bufferview_funcs.C:
3660 * BufferView_pimpl.C:
3665 * ParagraphParameters.C:
3670 * frontends/controllers/ControlDocument.C:
3671 * insets/insetcaption.C: rearrange the #includes into some sort of
3674 * buffer.h: remove #includes ErrorList.h, undo.h
3676 2003-09-06 Angus Leeming <leeming@lyx.org>
3678 * support/types.h: add a 'depth_type' typedef, used to store the
3679 nesting depth of a paragraph.
3682 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3683 defining explicitly.
3686 * paragraph_funcs.h:
3687 * ParagraphParameters.h:
3688 * sgml.h: use lyx::depth_type rather than Paragraph or
3689 ParameterStruct's depth_type.
3692 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3695 * BufferView_pimpl.C:
3697 * ParagraphParameters.C:
3700 * bufferview_funcs.C:
3707 * frontends/LyXView.C:
3708 * frontends/controllers/ControlDocument.C:
3709 * frontends/controllers/ControlErrorList.C:
3710 * insets/insetbibitem.C:
3711 * insets/insetbranch.C:
3712 * insets/insetcaption.C:
3713 * insets/insetcollapsable.C:
3714 * insets/insetenv.C:
3715 * insets/insetert.C:
3716 * insets/insetfloat.C:
3717 * insets/insetfoot.C:
3718 * insets/insetfootlike.C:
3719 * insets/insetnewline.C:
3720 * insets/insetquotes.C:
3721 * insets/insettabular.C:
3722 * insets/insettext.C:
3723 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3725 * frontends/controllers/ControlChanges.C: #include "changes.h".
3727 2003-09-06 Angus Leeming <leeming@lyx.org>
3729 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3730 than #including paragraph.h.
3733 * RowList.h: deleted. Superfluous.
3743 * insets/insettext.h: use ParagraphList_fwd.h rather than
3746 * paragraph.h: don't forward declare ParagraphList.
3749 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3750 rather than ParagraphList.h. paragraph.h is still needed for the
3751 Paragraph::depth_type parameters.
3753 * textcursor.h: enable it to compile stand-alone in light of the
3756 * bufferview_funcs.C:
3768 * frontends/controllers/ControlParagraph.C:
3769 * frontends/controllers/ControlTabular.C:
3770 * insets/insetmarginal.C:
3771 * insets/insetminipage.C:
3772 * insets/insetnote.C:
3773 * insets/insetoptarg.C: add header files needed to compile again.
3775 2003-09-06 Angus Leeming <leeming@lyx.org>
3777 * RowList_fwd.h: new file, forward-declaring Row rather than
3778 #including lyxrow.h.
3783 * insets/insettext.h: use it instead of RowList.h
3785 * bufferview_funcs.C:
3792 * text3.C: #include "RowList.h".
3794 2003-09-05 Angus Leeming <leeming@lyx.org>
3796 * factory.C (createInset):
3797 * vspace.C (c-tor): replace sscanf call with an istringstream.
3798 * ispell.C: re-add missing HP/UX headers.
3799 * lyxserver.C: re-add missing os2 headers.
3801 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3810 * text3.C: re-add missing system headers, needed for 2.95.2.
3812 2003-09-05 Angus Leeming <leeming@lyx.org>
3814 Changes most place everywhere due to the removal of using directives
3815 from support/std_sstream.h.
3817 2003-09-05 Angus Leeming <leeming@lyx.org>
3819 Replace LString.h with support/std_string.h,
3820 Lsstream.h with support/std_sstream.h,
3821 support/LIstream.h with support/std_istream.h,
3822 support/LOstream.h with support/std_ostream.h.
3824 Changes resulting throughout the tree.
3826 2003-09-05 Angus Leeming <leeming@lyx.org>
3828 * sgml.h: ensure that the header file can be compiled stand-alone.
3829 * *.C: strip out redundant #includes. (320 in total.)
3831 2003-09-04 Angus Leeming <leeming@lyx.org>
3833 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3834 here (from getPackages).
3836 * debug.[Ch]: add a new EXTERNAL tag.
3838 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3840 * text2.C (cursorEnd): simplify
3842 (getColumnNearX): adjust
3844 * text.C (computeBidiTables): adjust
3847 * rowpainter.C (paintChars): adjust
3848 (paintSelection): adjust
3849 (paintChangeBar): adjust
3852 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3854 (numberOfSeparators): adjust
3856 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3862 * text3.C: Restricts the mouse click functionality
3863 of insets like bibtex, include, toc and floatlist to the visible
3864 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3865 up the dialogs. Cursor has to be in front of the inset (i.e.
3866 start of row) for this to function.
3868 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3870 * bufferview_funcs.C (currentState): output row information
3872 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3874 * bufferview_funcs.C (currentState): output paragraph position
3876 2003-09-04 Angus Leeming <leeming@lyx.org>
3878 * FloatList.h: move out #include "Floating.h".
3879 * LaTeX.h: move out #include "DepTable.h".
3880 * LyXAction.h: move out #include "funcrequest.h".
3881 * buffer.h: move out #include "author.h", "iterators.h".
3882 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3883 * lyx_main.h: move out #include "errorlist.h".
3884 * lyxfunc.h: move out #include "FuncStatus.h".
3885 * lyxtext: move out #include "lyxcursor.h".
3886 * paragraph_pimpl.h: move out #include "counters.h".
3888 2003-09-03 Angus Leeming <leeming@lyx.org>
3890 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3891 preamble_snippets list, enabling us to add snippets to the preamble
3892 only if the snippet was not there already.
3894 2003-09-04 Angus Leeming <leeming@lyx.org>
3896 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3898 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3900 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3903 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3905 * BranchList.C: point fix, earlier forgotten
3907 2003-09-02 Angus Leeming <leeming@lyx.org>
3909 * box.C (contains): renamed from 'contained' after a fantastic
3912 2003-09-02 John Levon <levon@movementarian.org>
3918 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3920 2003-09-02 John Levon <levon@movementarian.org>
3922 * text2.C: simplification of cursorEnd(), including partial
3925 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3927 * buffer.C (readFile): add a space
3929 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3931 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3933 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * buffer.C (readFile): new function, take a filename and a
3936 ParagraphList::iterator
3938 (readFile): adjust, make it private. don't use setStream, make
3939 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3940 always contain the filename.
3942 * BufferView.C (insertLyXFile): simplify and make it work for
3945 2003-08-30 John Levon <levon@movementarian.org>
3947 * Makefile.am: fix dist (from Kayvan)
3949 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * most files: change to use const Buffer refs
3953 2003-08-27 André Pönitz <poenitz@gmx.net>
3955 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3956 on top of ownerPar().
3958 2003-08-27 John Levon <levon@movementarian.org>
3960 * funcrequest.C: properly initialise POD members
3962 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3964 * lyxtext.h (top_y): move top_y from here
3969 * BufferView_pimpl.[Ch]: to here
3970 * frontends/screen.C:
3971 * insets/insettabular.C:
3972 * insets/insettext.C: adjust
3973 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3975 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3978 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3980 2003-08-26 André Pönitz <poenitz@gmx.net>
3982 * paragraph_func.[Ch] (outerPar): new function
3985 * paragraph_funcs.C:
3986 * paragraph_funcs.h:
3987 * paragraph_pimpl.C:
3988 * text2.C: remove Inset::par_owner
3990 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3995 * text2.C: eliminates the needFullRow/display() stuff
3996 altogether, putting the logic in metrics/draw in the insets.
3998 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4000 * text2.C (redoParagraphInternal, redoParagraphs):
4001 * text.C (redoParagraph): add a call to updateRowPositions at the
4002 end of each 'metrics-like' call. Remove all others.
4003 (getRow): remove the 'y-computing' version.
4004 (getRowNearY): do not compute nor return the real y. Solve the
4005 'y < 0' problem and simplify.
4007 2003-08-22 Angus Leeming <leeming@lyx.org>
4009 * *.[Ch]: clean-up of licence and author blurbs.
4010 Also move config.h out of a few .h files and into a few .C files.
4012 2003-08-22 André Pönitz <poenitz@gmx.net>
4014 * lyxrow.[Ch]: add x_ and *fill_ members
4019 * text2.C: adjust/remove prepareToPrint() calls
4021 2003-08-22 André Pönitz <poenitz@gmx.net>
4023 * lyxrow.[Ch]: add end_ member
4025 * lyxrow_funcs.C: use LyXRow::end_
4027 * lyxtext.h (singleWidth): add LyXFont parameter
4030 * text2.C: adjust LyXText::singleWidth() calls
4032 * text.C (redoParagraph): simplify row breaking logic
4035 2003-08-19 André Pönitz <poenitz@gmx.net>
4037 * funcrequest.C: initialize button_ member
4040 * rowpainter.[Ch]: interface consolidation
4042 2003-08-18 André Pönitz <poenitz@gmx.net>
4045 * BufferView_pimpl.C:
4047 * paragraph_funcs.C:
4049 * text3.C: remove LyXScreen::draw() and fitCursor calls
4051 * BranchList.h: remove spurious semicolons
4053 * MenuBackend.C: fix branchlist related crash
4055 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4063 * bufferparams.[Ch]:
4067 * text3.C: implements the 'branch inset'
4068 idea. This allows the output of various versions of a document
4069 from a single source version, selectively outputing or suppressing
4070 output of parts of the text.
4071 This implementation contains a 'branch list editor' in a separate
4072 tab of the document settings dialog. Branches are user definable
4073 and have a "display colour" to distinguish them on-screen.
4075 ColorHandler was somewhat cleaned up.
4076 (1) make possible a dynamically growing LColor list by allowing
4077 the graphic context cache to grow along (vector);
4078 (2) eliminate an IMHO unnecessary step in colour allocation.
4080 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4082 * BufferView_pimpl.C: compile fix
4084 2003-08-15 André Pönitz <poenitz@gmx.net>
4086 * rowpainter.C: remove extra metrics calls
4088 * lyxtext.h: merge the two constructors into a single one,
4089 pass reference to owner's par list
4091 * BufferView_pimpl.C:
4095 2003-08-15 André Pönitz <poenitz@gmx.net>
4097 * lyxrow_funcs.[Ch]:
4100 * paragraph_funcs.C:
4105 * text_funcs.C: split LyXText::rowlist_ into individual
4106 Paragraph::rows_ chunks
4109 * BufferView_pimpl.[Ch]:
4112 * text3.C: remove toggleSelection()
4114 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4116 * bufferlist.C: beautify two alerts (shorter text of buttons)
4117 * buffer.C: Remove redundant ' ' from message
4119 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4120 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4121 rename VALIGN_CENTER to VALIGN_MIDDLE
4123 2003-08-11 André Pönitz <poenitz@gmx.net>
4125 * lyxtext.h (getPar):
4126 * text.C: new function
4128 2003-08-11 André Pönitz <poenitz@gmx.net>
4131 * tracer.[Ch]: remove unneeded files
4133 * InsetList.[Ch]: remove resizeInsetsLyXText()
4138 * text3.C: merge insertParagraphs() and appendParagraph()
4139 remove breakAgain(), update()
4141 * BufferView_pimpl.[Ch]:
4142 * bufferview_funcs.[Ch]:
4146 * tabular.C: adjust after text & InsetList changes.
4148 2003-08-08 André Pönitz <poenitz@gmx.net>
4150 * text.C (insertChar, backspace): replace rowlist fiddling
4151 with rebreak of full par
4154 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4155 checkParagraph, updateInset): removed
4157 2003-08-07 André Pönitz <poenitz@gmx.net>
4160 * text3.C: merge some LFUN handlers, remove dead code
4162 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4164 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4166 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4168 * text2.C (DEPM): fix part of bug 1255 and 1256
4170 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4172 * BufferView_pimpl.C (workAreaDispatch): change to use
4173 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4174 that are no mouse related.
4176 2003-08-05 André Pönitz <poenitz@gmx.net>
4179 * BufferView_pimpl.[Ch]:
4180 * bufferview_funcs.C:
4182 * text3.C: rip out "deep update"
4184 * textcursor.[Ch] (last_sel_cursor): remove unused member
4186 2003-08-04 André Pönitz <poenitz@gmx.net>
4189 * BufferView_pimpl.[Ch]:
4190 * ParagraphParameters.C:
4191 * bufferview_funcs.C:
4197 * text3.C: replace "complicated" BufferView::update(...) calls with
4200 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4202 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4204 * Makefile.am (lyx_SOURCES): add paper.h
4206 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4208 * Makefile.am: move things around so that both lyx-qt and
4209 lyx-xforms can be built (according to --with-frontend). Then lyx
4210 is a symbolic link to lyx-[firstfrontend]
4212 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4214 * Always use std::endl with lyxerr
4216 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4218 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4220 2003-08-01 André Pönitz <poenitz@gmx.net>
4223 * BufferView_pimpl.[Ch]:
4225 * text3.C: merge BufferView::repaint() and BufferView::update()
4227 2003-08-01 José Matos <jamatos@lyx.org>
4229 * buffer.[Ch]: file_format is no longer a buffer data element.
4231 2003-08-01 André Pönitz <poenitz@gmx.net>
4236 * text2.C: make redoParagraph more independent of current cursor
4238 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4240 * text2.C: remove unneeded members
4242 2003-07-30 André Pönitz <poenitz@gmx.net>
4244 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4246 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4247 create a single function...
4249 * paragraph_funcs.C (moveItem): ... here.
4252 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4254 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4256 * LColor.[Ch]: Add comment and greyedout logical colors.
4258 2003-07-30 André Pönitz <poenitz@gmx.net>
4260 * tabular.C: don't use Assert too heavily. This crashes where it
4263 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4265 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4266 is disabled (bug 1232)
4268 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4270 * factory.C: limited 'arg' scope
4272 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4274 * factory.C: fixed Note submenu issues
4276 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4278 * factory.C: submenu for Note/Comment/Greyedout
4280 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4283 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4285 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4288 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4289 greyedout. Patch provided by Jürgen Spitzmüller.
4291 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4293 * kbmap.C (read): fix error message when reading bind files
4295 2003-07-29 Angus Leeming <leeming@lyx.org>
4297 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4298 certainly does not do what it purports to do. I am doing it, and
4299 us, a favour by killing it.
4301 2003-07-28 José Matos <jamatos@lyx.org>
4303 * buffer.C (readBody, do_writeFile):
4304 * paragraph.C(readParagraph): \end_document replaces \the_end.
4306 2003-07-29 André Pönitz <poenitz@gmx.net>
4309 * BufferView_pimpl.[Ch]:
4313 * textcursor.[Ch]: remove toggleToggle & Co
4315 2003-07-28 José Matos <jamatos@fep.up.pt>
4317 * buffer.C (readParagraph):
4318 * params_func (readParToken, readParagraph):
4319 * paragraph.C (write): \layout -> \begin_layout.
4321 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4323 * lyxlex_pimpl.C (setFile): clean up slightly.
4325 * bufferparams.h: add compressed var
4327 * buffer_funcs.C (readFile): adjust for LyXLex change
4328 (newFile): ditto + simplify
4330 * buffer.C (writeFile): handle writing of compressed files
4332 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4333 Check if the file is compressed and set a bufferparm if so.
4335 * Makefile.am (lyx_LDADD): remove explicit -lz
4337 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4339 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4340 makeDocBookFile): put the real LyX version in the first line of
4344 * version.C.in: remove lyx_docversion
4346 * tabular.C (write_attribute): add a template-based version to
4347 write enums properly
4349 2003-07-28 André Pönitz <poenitz@gmx.net>
4354 * text3.C: use doubles again for x-coordinates. They are needed.
4356 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4358 * messages.C (getLocaleDir): use lyx_localedir()
4360 * lyxlex_pimpl.C (setFile): compress stuff
4362 * buffer.C (writeFile): add some compression stuff
4363 (do_writeFile): new func, dont call expliti close... will this
4366 * Makefile.am (lyx_LDADD): add -lz
4368 2003-07-28 José Matos <jamatos@fep.up.pt>
4370 * buffer.C: increment file format.
4371 * paragraph_funcs (readParagraph, readParToken):
4372 * paragraph.C (readParagraph): add \end_layout.
4374 2003-07-27 Angus Leeming <leeming@lyx.org>
4376 * Makefile.am: remove special casing for configure-time setting of
4377 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4379 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4380 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4382 2003-07-26 André Pönitz <poenitz@gmx.net>
4384 * paragraph_func.[Ch]:
4385 * paragraph.C (realizeFont): inline it whereever it is used
4390 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4393 2003-07-26 André Pönitz <poenitz@gmx.net>
4397 * text2.C: get rid of LyXText::need_break_row
4399 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4401 * toc.[Ch]: put namespace toc inside namespace lyx
4403 * MenuBackend.C (expandToc2): adjust for lyx::toc
4406 * lyxfunc.C (dispatch): adjust for lyx::find
4408 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4409 lyx::find instead. Reorganize a bit.
4410 (LyXReplace): rename to replace
4411 (LyXFind): rename to find
4413 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4416 2003-07-26 André Pönitz <poenitz@gmx.net>
4418 * text.C (setHeightOfRow): restrict scope of temporary variable
4420 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4421 code (never has been used?)
4423 2003-07-27 Asger Alstrup <alstrup@local>
4425 * text.C (fill): Optimise algorithm to exploit that we can reuse
4426 the LyXFont for many characters.
4427 (setHeightOfRow): Same thing.
4428 (rowBreakPoint): Same thing.
4430 2003-07-26 Asger Alstrup <alstrup@local>
4432 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4434 * text.C (singleWidth): Spurious font copying in hot-spot
4435 singleWidth avoided. Reorder tests for arabic for efficiency.
4437 * text.C (fill): handle empty paragraphs better.
4439 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4442 * encoding.h: add includes
4444 * lyxrc.C: remove reading of bind files
4446 * lyx_main.C (init): setup bindings and menus only if we have a
4449 * kbmap.C (read): new method. Do the actual reading of bind
4452 * converter.C (dvipdfm_options):
4455 (output): adapt PAPER_* enums.
4457 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4459 * bufferparams.h: remove paper-related enums from there
4461 * paper.h: New file. A trivial header file to hold paper-related
4462 enums. It should later expand to contain many paper-related
4465 * lyxrc.C: declare extern displayTranslator
4467 2003-07-27 José Matos <jamatos@fep.up.pt>
4469 * tabular.[Ch] (linuxdoc): add support for tables and figures
4472 2003-07-27 José Matos <jamatos@fep.up.pt>
4474 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4475 consistency in both functions.
4476 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4478 2003-07-26 Asger Alstrup <alstrup@local>
4480 * rowpainter.C (paintRows): Change algorithm to work directly on
4481 the insets rather than asking every character in the document
4482 whether its an inset.
4484 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4486 * buffer.C (openFileWrite): factorize some code
4488 2003-07-26 Angus Leeming <leeming@lyx.org>
4491 * lyx_main.[Ch]: replace occurances of system_tempdir with
4494 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4496 * rename Inset to InsetOld
4498 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4500 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4501 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4502 which I think is a bit clearer. EDIT is gone, since it was
4503 premature optimisation, and broken for mathed anyway.
4504 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4505 with cursor positioning in insets as well (math insets still do not
4506 work, but that's a different story anyway.) It mysteriously
4507 crashes sometimes with undo in the first paragraph, but I'm fairly
4508 confident that this is a compiler bug.
4510 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4512 * paragraph.C (Paragraph): adjust for new clone return type
4514 (copyIntoMinibuffer): ditto
4516 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4518 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4519 by not having a special case, and always doing a full rebreak of
4520 the document after undo.
4522 2003-07-23 Angus Leeming <leeming@lyx.org>
4524 * factory.C (createInset): InsetExternal::setParams now takes a
4527 2003-07-23 Angus Leeming <leeming@lyx.org>
4529 * factory.C (createInset): changed interface to the external and
4530 graphics mailers' string2params functions.
4532 2003-07-23 Angus Leeming <leeming@lyx.org>
4534 * factory.C (createInset): pass a
4535 Buffer const * parameter to InsetExternalMailer's string2params.
4537 2003-07-22 John Levon <levon@movementarian.org>
4539 * Thesaurus.h: include the right aiksaurus header
4541 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4543 * MenuBackend.C (expand): check menu shortcuts unconditionally
4545 2003-07-21 Angus Leeming <leeming@lyx.org>
4547 * factory.C (createInset): pass a
4548 buffer_path parameter to InsetGraphicsMailer's string2params.
4550 2003-07-21 Angus Leeming <leeming@lyx.org>
4552 * BufferView_pimpl.C (buffer):
4555 * lyxfunc.C (dispatch):
4556 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4557 rather than the grfx shortcut.
4559 2003-07-21 André Pönitz <poenitz@gmx.net>
4561 * rowpainter.C: remove unused variables
4564 * tabular_funcs.h: move to tabular.C
4565 * Makefile.am: adjust
4567 * tabular.[Ch]: basic optical cleaning
4569 * author.h: pass references, not values
4571 2003-07-18 André Pönitz <poenitz@gmx.net>
4579 * text3.C: two-phase drawing for InsetText and InsetTabular
4580 some float -> int changes.
4582 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4584 * lyx_main.C: fix the fix
4586 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4588 * lyx_main.C: fix a crash in batch mode if no files specified
4591 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4593 * format.[Ch] (papersize): moved to BufferParams
4594 * converter.[Ch] (dvips_options): moved to BufferParams
4595 (dvipdfm_options): moved to anon namespace
4596 * bufferparams.[Ch]: added above functions.
4598 2003-07-17 André Pönitz <poenitz@gmx.net>
4602 * text2.C: don't call inset->update() anymore
4604 * metricsinfo.[Ch]: add convenience constructor
4606 2003-07-16 André Pönitz <poenitz@gmx.net>
4611 * text2.C: replace the LyXCursor::irow_ member with
4612 on-demand computation of the value
4614 2003-07-16 John Levon <levon@movementarian.org>
4616 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4618 2003-07-15 André Pönitz <poenitz@gmx.net>
4621 * text2.C: remove no more needed refresh_row
4623 2003-07-15 André Pönitz <poenitz@gmx.net>
4628 * text3.C: refresh_status tristate -> need_update bool
4630 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4632 * lyxtext.h (init): remove reinit argument (act as if always true)
4633 * text2.C: adjust to that
4635 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4637 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4638 * text3.C: use it to delete selections in some cases
4639 (bugs 441, 673, 702, 954).
4641 2003-07-14 André Pönitz <poenitz@gmx.net>
4643 * rowpainter.[Ch]: reduce interface
4645 2003-07-14 André Pönitz <poenitz@gmx.net>
4647 * BufferView_pimpl.C:
4648 * text2.C: adjust after removing unused BufferView * argument
4650 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4652 * text2.C (init): fix a crash fired on resize
4654 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4656 * buffer.[Ch]: added new closing signal
4657 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4658 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4659 BufferView::Pimpl via the closing the signal
4661 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4663 * buffer.[Ch]: take out all bv-related from buffer
4665 * BufferView_pimpl.[Ch]: connect to new signals
4666 * CutAndPaste.C: removed useless asserts
4667 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4670 * lyxfunc.C: moved view-related funciontality from vc here
4671 * paragraph.C: removed outdated comments
4674 2003-07-10 André Pönitz <poenitz@gmx.net>
4676 * BufferView_pimpl.C:
4680 * text2.C: remove InsetText::InnerCache, clean up consequences
4682 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4684 * ispell.C: fix two typos in error messages
4686 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4688 * Extend Note inset to other forms of annotation like Comment
4689 and Greyedout. Right button click gives dialog.
4691 Files modified or added (+):
4695 * ControlNote.[Ch] +
4697 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4698 frontends/controllers
4702 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4704 * aspell.C: add missing namespace lyx::support
4706 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4708 * BufferView.[Ch] (newFile): Add
4709 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4710 * LaTeX.[Ch] (message): added this signal and use it
4711 * buffer.[Ch] (busy, message): added these signals and use them
4712 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4716 * importer.C: use buffer signals instead of direct bv calling
4717 * lyx_cb.[Ch] (ShowMessage): removed
4720 * paragraph_funcs.C:
4721 * text2.C: use buffer signals
4723 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4725 * introduce namespace lyx::graphics
4727 2003-07-02 André Pönitz <poenitz@gmx.net>
4729 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4731 2003-07-01 André Pönitz <poenitz@gmx.net>
4738 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4739 text*.C to text_func.C
4741 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * introduce namespace lyx::support
4745 2003-06-30 André Pönitz <poenitz@gmx.net>
4750 * text.C: re-enable --with-included-string
4752 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4754 * textcursor.C: add <config.h>
4756 * text.C (getWord): remove const from word_location arg
4758 * lyxvc.C (getLogFile): fix const type order
4760 * lyxtext.h: remove const from word_location arg, add arg name
4762 * lyxlayout.h: currect type on labeltype.
4764 * importer.C: correct \file
4766 * converter.C (intToFormat): use std:: on ret val, ws changes
4768 * bufferlist.h: correct \file
4770 * buffer.C (makeLinuxDocFile): fix const type order
4771 (makeDocBookFile): ditto
4772 (fillWithBibKeys): use std:: on stdlib args.
4774 * CutAndPaste.C: fix authors.
4775 (availableSelections): use std:: on return vector
4777 2003-06-27 André Pönitz <poenitz@gmx.net>
4779 * BufferView_pimpl.C:
4780 * bufferview_funcs.C:
4788 * text3.C: remove LyXCursor::row_ member
4791 * text.C: rename fullRebreak() to partialRebreak() and implement
4792 a fullRebreak() that really bereks fully
4794 * textcursor.h: new struct for cursor-related data
4796 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4798 * lyx_main.C (LyX): get full path of document loaded on the
4801 2003-06-26 André Pönitz <poenitz@gmx.net>
4803 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4804 remove unused/broken operator>,<,>=.
4806 * text.C: remove only use of broken operator<= in an Assert().
4808 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4810 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4811 moved errorlist_.clear to showErrorList
4813 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4815 * converter.C (scanLog, runLaTeX):
4816 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4817 move the bv->showErrorList call to the callers
4818 * lyxfunc.C: i.e. here...
4820 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4821 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4822 namespace, the second to...
4823 * buffer_funcs (BufferFormat, parseErrors): added
4824 * errorlist.C (ErrorList(TeXErrors const &)): removed
4826 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4828 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4830 2003-06-24 "Garst R. Reese" <reese@isn.net>
4834 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4836 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4838 * version.C.in: change docversion to 1.4
4840 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4842 * buffer.C: fix a bug just introduced
4844 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4846 * buffer.[Ch]: added the parseError signal and use it, removed
4848 * BufferView.[Ch] (addError): moved to ...
4849 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4850 to the Buffer::parseError signal to catch (guess what) parse errors
4851 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4853 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4855 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4856 ability to create a buffer and to return an existing one from
4857 the list. Moved these functions to...
4858 * buffer_funcs.[Ch]: added
4859 * BufferView.[Ch] (loadLyXFile): added
4860 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4861 job removed from bufferlist::loadLyXFile.
4862 * buffer.C (setReadOnly): make it work without view
4863 (i.e added an if (users))
4865 2003-06-19 Angus Leeming <leeming@lyx.org>
4868 * LyXAction.C (init):
4869 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4870 with LFUN_DIALOG_SHOW <name> <data>.
4872 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4874 * CutAndPaste.C (availableSelections): small compilation fix for
4875 ancient (gcc 2.9x) compilers
4877 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4879 * text3.C (cursorNext): add tmp var
4881 * text2.C (updateCounters): for function calling out of for clause
4882 (replaceSelectionWithString): ditto
4883 (insertStringAsParagraphs): ditto
4884 (getColumnNearX): add tmp var
4885 (setCursorFromCoordinates): add tmp var
4886 (cursorDownParagraph): add tmp var
4887 (deleteEmptyParagraphMechanism): add tmp var
4889 * text.C (insertChar): add tmp var
4891 * rowpainter.C (paintDepthBar): add tmp var
4893 * CutAndPaste.C (availableSelections): potentially check all
4894 paragraphs in a cut to fill the shown strings.
4896 2003-06-18 André Pönitz <poenitz@gmx.net>
4898 * kbmap.[Ch]: use vector<> instead of list<>
4900 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4902 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4903 pasteSelection with index
4905 * text2.C (pasteSelection): modify, call pasteSelection with index
4907 * paragraph.C (asString): reimplement version with no interval to
4908 call the one with interval.
4910 * lyxtext.h: add index arg to pasteSelection
4912 * MenuBackend.C (MenuItem): handle PasteRecent
4913 (Menu::read::Menutags): add md_pasterecent
4915 (expandPasteRecent): new function
4918 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4920 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4922 (availableSelections): new function
4924 2003-06-17 Angus Leeming <leeming@lyx.org>
4926 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4928 2003-06-17 Angus Leeming <leeming@lyx.org>
4931 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4933 * lyxfunc.C (dispatch): invoke it.
4935 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4937 * iterators.C (operator++, ParPosition): reintroduce some
4938 const_cast for the benefit of older compilers.
4940 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4942 * text3.C (dispatch): do not modify clipboard when doing
4943 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4944 LFUN_DELETE_SKIP on a selection selection
4946 2003-06-16 André Pönitz <poenitz@gmx.net>
4952 * tabular.[Ch]: IU of clone() and getLabelList();
4954 2003-06-13 André Pönitz <poenitz@gmx.net>
4956 * tabular.h: compactification
4958 2003-06-12 André Pönitz <poenitz@gmx.net>
4962 * tabular_funcs.h: some renaming plus whitespace
4964 2003-06-12 André Pönitz <poenitz@gmx.net>
4967 * BufferView_pimpl.C:
4973 * toc.C: Return a Paragraph & for ParIterator::operator*()
4975 2003-06-11 John Levon <levon@movementarian.org>
4979 * ToolbarBackend.C: add "Toolbars" section and
4982 2003-06-10 Angus Leeming <leeming@lyx.org>
4985 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4987 * lyxfunc.C (dispatch): invoke it.
4989 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4991 * main.C: protect <ios> with HAVE_IOS
4992 (main): protect sync_with_stdio with HAVE_IOS
4994 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4996 * text2.C (cutSelection): adjust
4997 (pasteSelection): adjust
4999 * messages.C: handle get of empty string
5001 * main.C (main): use sync_with_stdio(false)
5003 * lyxfunc.C (dispatch): adjust
5005 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5006 (WriteAs): remove unneeded BufferView arg.
5008 * bufferparams.h: use correct types on papersize, papersize2 and
5011 * bufferparams.C (readToken): adjust for type
5012 (writeLaTeX): add missing cases to switch.
5014 * bufferlist.C (quitWriteBuffer): adjust
5017 * buffer.C (asciiParagraph): remove some commented code.
5019 * CutAndPaste.C: remove current_view extern variable.
5020 (cutSelection): add BufferParams arg.
5021 (eraseSelection): add BufferParams arg.
5022 (pasteSelection): add Buffer const & arg
5024 2003-06-07 John Levon <levon@movementarian.org>
5027 * paragraph_funcs.C:
5028 * paragraph_pimpl.C:
5032 * paragraph.C: allow InsetERT to freely space lines,
5033 and some consolidation of code
5035 2003-06-06 José Matos <jamatos@fep.up.pt>
5037 * buffer.C (makeDocBookFile): fix bug #821
5039 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5041 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5043 2003-06-04 Angus Leeming <leeming@lyx.org>
5045 * buffer.C: bump format to 224.
5047 2003-06-05 André Pönitz <poenitz@gmx.net>
5049 * text2.C (redoParagraphs): remove two const_cast<>
5051 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5053 * ParagraphList.h: remove last remnants of NO_STD_LIST
5055 2003-06-03 Angus Leeming <leeming@lyx.org>
5057 * factory.C (createInset): small change to the way InsetExternal's params
5060 2003-06-04 André Pönitz <poenitz@gmx.net>
5062 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5064 * paragraph_pimpl.h:
5065 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5067 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5069 * undo_funcs.C: make some simple cases of undo work again
5071 2003-06-03 John Levon <levon@movementarian.org>
5073 * ispell.C: HPUX doesn't have sys/select.h
5076 2003-06-03 John Levon <levon@movementarian.org>
5078 * CutAndPaste.C: update tabular and include inset
5083 * paragraph.C: remove owningBuffer(), don't pass Buffer
5086 * factory.C: insetGraphicsParams changed
5088 2003-06-02 John Levon <levon@movementarian.org>
5094 * text3.C: remove insetparent
5096 2003-06-02 John Levon <levon@movementarian.org>
5099 * buffer.C: fix inset_iterator.end(), move out of line
5102 2003-06-01 John Levon <levon@movementarian.org>
5104 * text3.C: use a proper cut/paste when doing inset
5105 insert (from Jürgen Spitzmüller)
5107 2003-06-01 John Levon <levon@movementarian.org>
5109 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5111 2003-05-30 André Pönitz <poenitz@gmx.net>
5113 * rowpainter.C: unify second drawing phase
5115 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5117 * trans_mgr.C: remove one case of current_view
5119 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5121 * paragraph_funcs.h: remove paragraph.h include
5123 * paragraph.h: delete NO_STD_LIST stuff
5125 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5127 * buffer.h: remove paragraph.h include
5129 * ParagraphList.C: delete file
5131 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5133 * toc.C (getTocList): adjust
5135 * paragraph_pimpl.C (validate): adjust
5137 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5139 * paragraph.C (Paragraph): adjust
5140 (getPositionOfInset): use const_iterator, adjust
5141 (bibitem): use const_iterator, adjust
5142 (setInsetOwner): adjust
5144 * iterators.C (operator++): adjust
5146 * InsetList.[Ch]: Replace selfmade iterator with standard
5147 vector::iterator also introduce const_iterator. Remove getPos,
5148 getInset and setInset from InsetTable. Adjust accordingly.
5150 * BufferView.C (lockInset): adjust
5151 (ChangeInsets): adjust
5153 * tabular.[Ch]: delete commented same_id functions
5155 2003-05-28 John Levon <levon@movementarian.org>
5157 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5159 2003-05-28 André Pönitz <poenitz@gmx.net>
5161 * metricsinfo.[Ch]: remove 'fullredraw' member
5163 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5165 * lyxtextclass.C (operator): remove caching.
5167 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5171 * text2.C (cursorBottom): adjust
5172 (setCounter): use ParagraphList::find, adjust
5174 * text.C (workWidth): use ParagraphList::find, adjust
5176 * lyxcursor.C (LyXCursor): adjust
5178 * buffer.C (inset_iterator): adjust
5180 * ParagraphList.h: make iterator(value_type) private, make
5181 ParagraphList a friend of iterator.
5183 * ParagraphList.C (find): new function
5185 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5187 2003-05-27 André Pönitz <poenitz@gmx.net>
5189 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5191 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5193 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5195 2003-05-26 John Levon <levon@movementarian.org>
5197 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5199 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * remove same_id from function signatures, adjust.
5203 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5205 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5207 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5209 * paragraph.C (Paragraph): get rid of same_ids parameter
5211 * ParagraphList.C (insert): adjust
5214 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5216 * paragraph_funcs.C (breakParagraph): adjust
5217 (breakParagraphConservative): adjust
5219 * buffer.C (readParagraph): adjust
5221 * ParagraphList.C (insert): take a reference instead of a pointer
5224 * paragraph.[Ch] (id): new function
5226 * bufferlist.C (newFile): adjust
5228 * ParagraphList.C (ParagraphList): adjust
5230 (push_back): take a reference instead of a pointer.
5232 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5234 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5237 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5238 set else use old code.
5240 * ParagraphList.C: remove all NO_NEXT code and only compile this
5241 code of NO_STD_LIST is set.
5243 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5245 * BufferView_pimpl.C:
5255 * graphics/GraphicsConverter.C:
5256 * graphics/PreviewLoader.C: header adjustment
5258 2003-05-23 Angus Leeming <leeming@lyx.org>
5260 * LaTeXFeatures.[Ch] (useBabel): new method.
5261 * bufferparams.C (writeLaTeX): use it.
5263 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5265 * ParagraphList.h (set): remove unused function.
5267 2003-05-23 André Pönitz <poenitz@gmx.net>
5270 * BufferView_pimpl.C:
5274 * undo_funcs.C: setUndo reworked
5276 * iterators.[Ch]: add access to topmost ParagraphList
5278 * lyxtext.[Ch] (workWidth): add a const
5280 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5282 * texrow.[Ch] (increasePos): remove function
5283 * exporter.C (export): removed unused var and outdated comment
5285 2003-05-23 Angus Leeming <leeming@lyx.org>
5287 * latexrunparams.h: rename fragile as moving_arg.
5288 * paragraph.C (simpleTeXOnePar): ditto.
5289 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5291 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5295 (textUndoOrRedo): comment out a currently unused var.
5297 * paragraph.h (NO_NEXT): enable NO_NEXT
5299 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5301 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5303 * exporter.C (Export): adjust for removeAutoInsets removal.
5305 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5307 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5309 * BufferView.[Ch] (removeAutoInsets): delete function
5311 2003-05-22 Angus Leeming <leeming@lyx.org>
5313 * latexrunparams.h: add a free_spacing variable.
5315 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5316 to pass moving_arg, as the data is stored in runparams.fragile.
5318 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5319 to Inset::latexOptional or to simpleTeXOnePar.
5321 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5322 free_spacing arg to Inset::latexOptional.
5324 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5327 2003-05-22 Angus Leeming <leeming@lyx.org>
5329 * latexrunparams.h: add fragile and use_babel variables.
5331 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5332 * buffer.C (makeLaTeXFile): store this returned value in
5333 runparams.use_babel, thus passing it to the inset::latex methods.
5335 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5336 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5338 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5339 longer has a fragile arg, as it is stored in runparams.fragile.
5341 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5342 moving_arg parameter as the data is stored in runparams.fragile.
5344 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5345 a fragile parameter as the data is stored in runparams.fragile.
5347 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5349 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5351 2003-05-22 Angus Leeming <leeming@lyx.org>
5353 * latexrunparams.h: add a 'bool nice' which defaults to false.
5355 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5356 now encapsulated within runparams.
5358 * bufferlist.C (updateIncludedTeXfiles):
5359 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5361 2003-05-22 Angus Leeming <leeming@lyx.org>
5363 * latexrunparams.h: new file containing struct LatexRunParams.
5364 * Makefile.am: add new file.
5366 * LaTeX.[Ch] (c-tor, run):
5367 * buffer.[Ch] (makeLaTeXFile):
5368 * bufferlist.[Ch] (updateIncludedTeXfiles):
5369 * converter.C (convert, scanLog):
5370 * converter.[Ch] (runLaTeX):
5371 * exporter.C (Export):
5372 * paragraph.[Ch] (simpleTeXOnePar):
5373 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5374 * paragraph_funcs.[Ch] (latexParagraphs):
5375 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5376 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5377 pass around a LatexRunParams parameter.
5379 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5381 * paragraph.[Ch]: remove unused constructor
5383 * ParagraphList.C (erase): new function, taking two iterators
5385 2003-05-22 André Pönitz <poenitz@gmx.net>
5387 * undo_funcs.C: remove duplicated code
5389 * iterator.[Ch]: operator=
5391 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5393 * tabular.C (SetMultiColumn): ws changes
5395 * rowpainter.C (paintFirst): get rid of a ->previous
5397 * lyx_cb.C (getPossibleLabel): parlist simplification
5399 * BufferView.C (ChangeInsets): simplify slightly.
5401 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5403 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5404 * lfuns.h: new LFUN_SPACE
5405 * lyxfunc.C: protected space has a new lfun
5406 * paragraph_funcs.C: read new space insets
5408 * factory.C: handle new space insets
5410 2003-05-22 André Pönitz <poenitz@gmx.net>
5413 * BufferView_pimpl.C:
5416 * undo_funcs.C: return a ParIterator from getParFromID.
5418 * iterators.[Ch]: add two const's
5420 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5422 * toc.C (getTocList): adjust
5424 * iterators.[Ch]: rework for parlist
5426 * buffer.C (par_iterator_begin): adjust
5427 (par_iterator_end): adjust
5429 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5431 * BufferView.C (removeAutoInsets): adjust
5432 (ChangeInsets): adjust
5434 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5436 * text.C (top_y): fix bug 1110
5438 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5440 * errorlist.[Ch]: added
5443 * BufferView_pimpl.C:
5444 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5447 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5449 * Makefile.am: ensure that lyx is relinked upon changes to the
5450 various "convenience" libs.
5452 2003-05-20 Angus Leeming <leeming@lyx.org>
5454 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5455 files are compiled in alphabetical order again.
5457 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5459 2003-05-19 Angus Leeming <leeming@lyx.org>
5461 * gettext.[Ch]: remove "char const * _(char const *)".
5463 2003-05-19 André Pönitz <poenitz@gmx.net>
5465 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5474 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5476 2003-05-19 André Pönitz <poenitz@gmx.net>
5480 * lyxtextclass.[Ch]:
5482 * paragraph_funcs.[Ch]:
5484 * text3.C: more insetenv work
5486 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5488 * ParagraphParameters.C (params2string): small bug fixed
5490 2003-05-16 André Pönitz <poenitz@gmx.net>
5493 * bufferview_funcs.C: patch from Kornel Benko to prevent
5494 crash when _(...) is called twice in a statement
5496 2003-05-16 André Pönitz <poenitz@gmx.net>
5503 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5505 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5507 * lyx_main.C (init): remove spurious static_cast
5509 2003-05-14 André Pönitz <poenitz@gmx.net>
5511 * BufferView.C: fix format string
5513 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5515 * BufferView.[Ch] (insertErrors): removed
5516 * BufferView.[Ch] (showErrorList): added
5517 * buffer.C (runChkTeX):
5518 * converter.C (scanLog): call showErrorList instead of inserterrors
5520 2003-05-13 André Pönitz <poenitz@gmx.net>
5522 * BufferView_pimpl.C:
5524 * bufferview_func.C:
5531 * tabular_funcs.h: tostr() from its own header
5533 * ParagraphParameters.C:
5538 * text3.C: STRCONV()
5540 2003-05-12 André Pönitz <poenitz@gmx.net>
5543 * BufferView_pimpl.C:
5547 * ParagraphParameters.C:
5551 * bufferview_funcs.C:
5564 * paragraph_funcs.C:
5568 * text3.C: boost::format -> bformat all over the place
5571 2003-05-09 André Pönitz <poenitz@gmx.net>
5573 * LColor.[Ch]: Pimpl the #include <map> away
5575 2003-05-09 John Levon <levon@movementarian.org>
5577 * bufferlist.C: never remove emergency saves
5579 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5581 * Makefile.am: better lib building
5583 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5585 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5587 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5588 (simpleTeXSpecialChars): adjust
5589 (simpleTeXSpecialChars): adjust
5590 * paragraph.C (simpleTeXOnePar): adjust
5591 * buffer.C (makeLaTeXFile): adjust
5593 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5595 * text2.C (changeDepth): parlist cleanup
5596 (getColumnNearX): ditto
5598 * rowpainter.C (getLabelFont): parlist cleanup
5600 * bufferlist.C (newFile): parlist cleanup
5602 * CutAndPaste.C (eraseSelection): parlist cleanup
5604 * BufferView_pimpl.C (trackChanges): parlist cleanup
5607 * BufferView.C (lockInset): parlist cleanup.
5608 (ChangeInsets): ditto
5610 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5612 * CutAndPaste.h: Update file header.
5614 * CutAndPaste.C: Update file header.
5615 Store the parts cut out of the Document in a limited_stack.
5616 (copySelection): adjust
5617 (pasteSelection): new function, takes the index in the limited stack.
5618 (nrOfParagraphs): adjust
5619 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5620 simplify error inset insertion.
5621 (checkPastePossible): adjust
5623 2003-05-06 John Levon <levon@movementarian.org>
5625 * text2.C: don't cast wrap inset to float
5627 2003-05-05 André Pönitz <poenitz@gmx.net>
5630 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5632 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5633 few naked Paragraph *.
5635 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5637 * bufferparams.C: Output warning if a document with missing
5638 TeX document class is loaded
5639 * exporter.C: Disable TeX exports if the document class is missing
5642 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5643 isTeXClassAvailable()
5645 2003-05-03 John Levon <levon@movementarian.org>
5648 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5649 explicit cursor show/hide
5651 * BufferView_pimpl.h:
5652 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5653 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5655 * lyxfunc.C: hide cursor before dispatching.
5660 * text3.C: remove explicit cursor hides
5662 2003-05-02 André Pönitz <poenitz@gmx.net>
5664 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5667 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5670 * text2.C: tiny whitespace
5672 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5674 * undo_funcs.C: almost only ws changes.
5676 * ParagraphList.C (splice): just return if pl is empty.
5678 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5680 * ParagraphList.C (splice): new function.
5682 * CutAndPaste.C (pasteSelection): use it
5684 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5686 * CutAndPaste.C (pasteSelection): remove the last next and
5687 previous from this file.
5689 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * CutAndPaste.C (pasteSelection): more clean up, user proper
5692 ParagraphList functions for pasteing.
5694 * ParagraphList.C (insert): new function, three arg insert
5696 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5698 * ParagraphList.C (insert): new function, three arg insert
5700 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5703 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5705 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5707 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5709 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5711 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5713 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5714 (copySelection): clean up a bit.
5715 (pasteSelection): use make_pair
5717 * ParagraphList.C (ParagraphList): implement copy constructor
5718 (operator=): implement, base on copy constructor.
5721 * paragraph.C (erase): return a bool
5723 * paragraph_pimpl.C (erasePos): remove function, move contents...
5724 (erase): ... here. Return a bool.
5725 (erase): call erase instead of erasePos.
5727 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5729 * ParagraphList.h: define PitPosPair
5730 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5731 ParagraphList, fix a bug on pasting multiple pars
5732 * text2.C: change interface to C&P
5734 2003-04-30 André Pönitz <poenitz@gmx.net>
5736 * undo_func.C: revert part of yesterday's patch 2
5738 2003-04-30 John Levon <levon@movementarian.org>
5740 * LColor.C: s/tabular/table/
5742 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5744 * text3.C (dispatch): do not convert iterator -> pointer
5745 * undo_funcs.C (setCursorParUndo): ditto
5746 * text_funcs.C (transposeChars): ditto
5748 * text2.C (setLayout): ws changes only
5750 * text.C (breakParagraph): do not convert iterator -> pointer
5752 (acceptChange): ditto
5753 (rejectChange): ditto
5758 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5761 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5763 * text3.C (gotoInset): YABG (yet another bad getChar)
5765 2003-04-29 André Pönitz <poenitz@gmx.net>
5767 * paragraph.h: make operator= private unimplemented as long as
5770 * ParagraphList.C: whitespace
5773 * paragraph_pimpl.[Ch]:
5774 * paragraph_funcs.C:
5776 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5779 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5781 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5783 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5784 * paragraph.[Ch] (erase):
5785 * paragraph_pimpl.[Ch] (erase): change return type and value
5786 * text2.C (cutSelection): some rework
5788 2003-04-28 John Levon <levon@movementarian.org>
5790 * bufferlist.C: changes for unsaved changes dialog
5792 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5794 * bufferlist.C (newFile): set language (messages_) for new
5797 * buffer.C (readFile): ws changes only.
5799 2003-04-28 André Pönitz <poenitz@gmx.net>
5804 * BufferView_pimpl.C:
5805 * BufferView.C: getParFromID related ParagraphList::iterator changes
5807 2003-04-28 André Pönitz <poenitz@gmx.net>
5809 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5812 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5814 * messages.C: remove one more localedir class variable.
5816 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5818 * messages.C (getLocaleDir): singleton generation function
5820 (Messages): add a default constructor.
5822 * main.C (main): do not setup localedir here, do not call
5825 * gettext.C (_): use it.
5826 (gettext_init): delete funciton
5828 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5830 * gettext.C (getLyXMessages): new singleton generating function.
5832 * buffer.C (updateDocLang): adjust
5834 * Makefile.am (messages.o): add target
5835 (main.o): remove target
5837 2003-04-27 John Levon <levon@movementarian.org>
5842 * lyxvc.C: specify cancel button in Alert::prompt
5844 2003-04-26 John Levon <levon@movementarian.org>
5849 * LyXAction.C: add LFUN_INSET_SETTINGS
5851 * lyxfunc.C: don't enable tabular-feature when there's
5852 just any locking inset
5854 2003-04-26 John Levon <levon@movementarian.org>
5856 * bufferlist.C: re-add Cancel to buffer close question
5858 * lyxfunc.C: fix import UI a bit
5860 2003-04-25 John Levon <levon@movementarian.org>
5862 * gettext.C: remove the broken asserts for now
5864 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5866 * messages.C: make case where setlocale cannot comply work better.
5868 * buffer.C (updateDocLang): new function
5869 (changeLanguage): use it
5872 * text2.C (setCounter): use B_ a bit.
5874 * lyxlayout.C (Read): be sure to trim the label strings.
5876 * messages.C (Messages): fix typo in comment
5878 * buffer.C (readFile): set message_ after file is loaded.
5879 (makeDocBookFile): remove double return
5880 (changeLanguage): reset message_ upon language change.
5881 (B_): new func, use this to get translated buffer strings.
5883 * main.C: add myself and Jean Marc as authors.
5885 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5887 * messages.[hC]: pimplify Messages, and three different pimpls to be
5888 used in different circumstances.
5890 * gettext.[Ch]: change for use with new message code.
5892 2003-04-24 André Pönitz <poenitz@gmx.net>
5894 * factory.C: support for eqref
5896 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5898 * messages.[Ch]: add missing char
5900 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5902 * messages.[Ch]: New files
5904 2003-04-18 John Levon <levon@movementarian.org>
5908 * BufferView_pimpl.C:
5912 * text2.C: remove layout-copy/paste (bug 778)
5914 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5916 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5918 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5920 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5921 if they succeed. Act accordingly.
5923 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5925 * text2.C (setCharFont): adjust
5926 (setCounter): adjust
5927 (insertStringAsLines): adjust
5929 * text.C (leftMargin): adjust
5930 (setHeightOfRow): adjust
5932 * rowpainter.C (paintFirst): adjust
5935 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5937 (isFirstInSequence): ditto
5938 (getEndLabel): ditto
5941 * paragraph.C (getParLanguage): comment out some hard stuff.
5943 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5945 (simpleDocBookOnePar): ditto
5946 (makeDocBookFile): use ParagraphList::iterator
5948 * CutAndPaste.C (pasteSelection): adjust
5950 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5952 * text2.C (getFont): adjust
5953 (getLayoutFont): adjust
5954 (getLabelFont): adjust
5956 * paragraph_funcs.C (TeXOnePar): adjust
5958 * buffer.C (simpleLinuxDocOnePar): adjust
5959 (simpleDocBookOnePar): adjust
5961 * CutAndPaste.C (pasteSelection): adjust
5963 * BufferView.C (getEncoding): adjust
5965 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5967 2003-04-16 John Levon <levon@movementarian.org>
5969 * lyxfind.C: use parlist stuff for search/changes
5971 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5973 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5975 * text2.C (deleteEmptyParagraphMechanism): adjust
5977 * text2.[Ch] (ownerParagraph): delete func (both of them
5979 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5981 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5983 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5985 * ParagraphList.C: prepare for NO_NEXT
5987 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5989 * text2.C (getFont): adjust
5990 (getLayoutFont): adjust
5991 (getLabelFont): adjust
5993 * paragraph.C (getFont): adjust
5994 (getLabelFont): adjust
5995 (getLayoutFont): adjust
5997 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5999 2003-04-15 John Levon <levon@movementarian.org>
6003 * lyx_main.C: handle Include in .ui files
6005 2003-04-15 John Levon <levon@movementarian.org>
6007 * MenuBackend.C: make the doc files length shorter
6010 * ToolbarBackend.C: handle toolbar placement flags,
6013 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6015 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6018 * paragraph_funcs.C (TeXOnePar): adjust
6020 * paragraph.C (getLabelFont): add outerfont arg, adjust
6021 (getLayoutFont): ditto
6022 (simpleTeXOnePar): adjust
6024 * paragraph_pimpl.C (realizeFont): delete func
6026 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6028 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6029 row argument, constify cur argument.
6031 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6033 * text2.C (getFont): adjust
6034 (getLayoutFont): adjust
6035 (getLabelFont): adjust
6037 * paragraph_funcs.C (TeXOnePar): adjust
6038 (outerFont): new func...
6039 (realizeFont): ...moved out from here, changed this to facilitate
6042 * paragraph.C (getFont): take outerfont as arg, adjust
6043 (simpleTeXOnePar): add outerfont arg, adjust
6045 * buffer.C (simpleLinuxDocOnePar): adjust
6046 (simpleDocBookOnePar): adjust
6048 * CutAndPaste.C (pasteSelection): adjust
6050 * BufferView.C (getEncoding): adjust
6052 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6054 * text2.C (setCharFont): adjust
6055 (setCounter): adjust
6057 * text.C (leftMargin): adjust
6058 (setHeightOfRow): adjust
6060 * rowpainter.C (paintFirst): adjust
6063 * paragraph_pimpl.C (realizeFont): adjust
6065 * paragraph.C (isFirstInSequence): move from here...
6066 * paragraph_funcs.C (isFirstInSequence): ...to here
6068 * paragraph.C (outerHook): move from here...
6069 * paragraph_funcs.C (outerHook): ...to here
6071 * paragraph.C (depthHook): move from here...
6072 * paragraph_funcs.C (depthHook): ...to here
6074 * paragraph.C (getEndLabel): move from here...
6075 * paragraph_funcs.C (getEndLabel): ...to here
6077 * text2.C (realizeFont): move from here...
6078 * paragraph_funcs.C (realizeFont): ...to here
6080 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6082 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6084 2003-04-14 Angus Leeming <leeming@lyx.org>
6086 * LColor.[Ch]: scrap LColor mathcursor.
6088 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6090 * lyxlex.[Ch] (text): delete function
6091 * trans.C (Load): adjust
6092 * paragraph_funcs.C (readParToken): adjust
6094 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6096 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6097 vector<char> instead of a char[].
6099 * lyxlex_pimpl.C (getString): adjust
6101 (lex): use getString
6105 * lyxlex.C (text): use pimpl_->getString()
6109 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6112 (makeFontEntriesLayoutSpecific): temp var for par.size()
6113 (setLayout): temp var for ownerParagraphs().end()
6114 (fullRebreak): temp var for rows().end()
6115 (selectionAsString): temp var for boost::next(startpit), realize
6116 that the while really is a regular for loop.
6117 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6118 setCursor in one place.
6119 (setParagraph): temp vr for ownerParagraphs().end()
6120 (updateCounters): make the while loop a for loop
6121 (cutSelection): temp var for ownerParagraphs().end()
6122 (updateInset): make the do {} while() a regular for loop
6123 (getCursorX): use temp vars
6124 (setCurrentFont): use temp vars
6125 (getColumnNearX): use temp vars
6127 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6129 * text.C (transformChar): use temp var for getChar
6130 (computeBidiTables): use temp var for row->par()
6131 (fill): move temp vars for row->par() and pit->layout() earlier in
6133 (labelFill): use temp var for row->par()
6134 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6135 asc and desc, realize that pit never changes and that firstpit is
6136 just a duplicate and not needed. Exchange rit->par() with pit in a
6138 (breakAgain): use a temp var for boost::next(rit)
6139 (breakAgainOneRow): ditto
6140 (breakParagraph): use a temp var for rows().begin()
6141 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6142 (cursorRightOneWord): use temp var for cursor.par() and
6143 cursor.pos(), remove usage of tmpcursor.
6144 (cursorLeftOneWord): use temp var for cursor.par() and
6145 cursor.pos() only set cur at end of function.
6147 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6149 * text.C, text2.C: exchange all usage of Paragraph::next with
6150 boost::next(ParagraphList::iterator)
6152 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6154 * text2.C (cursorTop): simplify implementation
6155 (cursorBottom): ditto
6156 (setParagraph): use ParagraphList::iterator
6157 (setCurrentFont): adjust
6158 (getColumnNearX): adjust
6159 (cursorRight): adjust
6160 (cursorLeft): remove usage of Paragraph::previous
6161 (cursorUpParagraph): ditto
6162 (deleteEmptyParagraphMechanism): slight cleanup
6164 * text.C (isBoundary): take a Paragraph const & instead of a
6166 (addressBreakPoint): ditto
6167 (leftMargin): remove usage of Paragraph::previous.
6168 (setHeightOfRow): ditto
6169 (cursorLeftOneWord): ditto
6170 (selectNextWordToSpellcheck): ditto
6173 (breakParagraph): remove one usage of Paragraph::next
6174 (redoParagraph): ditto
6175 (acceptChange): ditto
6176 (insertChar): adjust
6177 (rowBreakPoint): adjust
6179 * bufferview_funcs.C (toggleAndShow): adjust
6181 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6183 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6184 methods to access it.
6186 * text.C: Added updateRowPositions to compute all row positions.
6187 Make top_y and getRowNearY() to use the cached y position
6189 2003-04-11 John Levon <levon@movementarian.org>
6191 * text.C (rowBreakPoint): reintroduce the labelEnd
6192 checks, code copied from the row fill stuff. Deep voodoo.
6194 * text.C (fill): add a comment and debugging for the
6197 2003-04-11 John Levon <levon@movementarian.org>
6199 * text.C: make sure fullrow insets get wrapped to the next line,
6200 even when they're in a manual label
6202 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6204 * text2.C (insertParagraph): make it take ParagraphList::iterator
6206 (setLayout): make it return ParagraphList::iterator
6207 (redoParagraphs): ditto
6209 (checkParagraph): ditto
6211 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6213 * text2.C: adjust several funcs.
6214 (realizeFont): take a ParagraphList::iterator as arg.
6215 (getLayoutFont): ditto
6216 (getLabelFont): ditto
6217 (setCharFont): ditto
6219 * text.C: adjust several funcs.
6221 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6223 * text.C (selectNextWordToSpellcheck): don't accidentally
6226 2003-04-10 John Levon <levon@movementarian.org>
6228 * ToolbarBackend.C (getIcon): special handling for
6231 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6233 * text2.C (cursorRight): a getChar assert fixed
6235 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6237 * text2.C (getFont): change to take a ParagraphList::iterator
6238 instead of Paragraph*
6239 Adjust several functions.
6241 * text.C (transformChar): change to take a ParagraphList::iterator
6242 instead of Paragraph*
6243 (singleWidth): ditto
6244 Adjust several functions.
6246 * rowpainter.C: adjust several functions
6247 * rowpainter.h:store a ParagraphList::iterator and not a
6251 2003-04-09 John Levon <levon@movementarian.org>
6256 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6257 and the "help" bits as well
6259 2003-04-09 John Levon <levon@movementarian.org>
6262 * ToolbarBackend.C: allow multiple toolbars
6264 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6266 * undo_funcs.C (setCursorParUndo): adjust
6268 * text_funcs.C (transposeChars): adjust
6270 * text3.C (gotoNextInset): adjust
6273 * text2.C (setLayout): adjust
6274 (changeDepth): adjust
6276 (redoParagraphs): adjust
6277 (selectionAsString): adjust
6278 (setParagraph): adjust
6279 (insertInset): adjust
6280 (cutSelection): adjust
6281 (copySelection): adjust
6282 (pasteSelection): adjust
6283 (insertStringAsLines): adjust
6284 (updateInset): adjust
6285 (setCursor): change to take a ParagraphList::iterator parameter
6286 (setCursorIntern): change to take a ParagraphList::iterator parameter
6287 (setCurrentFont): adjust
6288 (cursorLeft): adjust
6289 (cursorRight): adjust
6290 (deleteEmptyParagraphMechanism): adjust
6292 * text.C (breakParagraph): adjust
6293 (insertChar): adjust
6294 (acceptChange): adjust
6295 (rejectChange): adjust
6296 (selectNextWordToSpellcheck): adjust
6297 (changeCase): adjust
6301 * lyxfind.C (SearchForward): adjust
6302 (SearchBackward): adjust
6303 (nextChange): adjust
6305 * lyxcursor.C (par): adjust
6307 * lyxcursor.h: store a ParagraphList::iterator instead of a
6310 * lyx_cb.C (getPossibleLabel): adjust
6312 * bufferview_funcs.C (toggleAndShow): adjust
6314 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6317 * BufferView.C (removeAutoInsets): adjust
6318 (lockedInsetStoreUndo): adjust
6320 2003-04-09 John Levon <levon@movementarian.org>
6322 * ToolbarBackend.C: try icon without argument
6323 if with argument fails
6325 2003-04-08 John Levon <levon@movementarian.org>
6328 * ToolbarBackend.C: add getIcon(), handle tooltip,
6329 and change from "Icon" to "Item".
6331 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6333 * BufferView.C (lockInset): another bad getchar crunched
6335 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6337 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6340 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6342 * lyxfind.C (searchForward, searchBackwards): bug 782
6344 2003-04-07 John Levon <levon@movementarian.org>
6346 * paragraph.C: remove dead comment
6348 * text.C: remove troublesome depth-fiddling code
6349 in leftMargin() and rightMargin() (bug 1017)
6351 * text.C: fix breaking of rows in nested lists
6354 * text2.C (updateCounters): fix up depth values
6357 2003-04-07 John Levon <levon@movementarian.org>
6359 * BufferView_pimpl.C: clear message when doc finishes resizing,
6360 and after a mouse event
6362 * lyxfunc.C: clear message after exiting inset
6364 2003-04-07 John Levon <levon@movementarian.org>
6366 * bufferview_funcs.C: show math status not outside
6367 status in the statusbar
6369 2003-04-07 John Levon <levon@movementarian.org>
6371 * lyxfunc.C: note status changed after a depth change
6373 2003-04-04 Angus Leeming <leeming@lyx.org>
6375 * LaTeX.h: move AuxInfo operator==, != out of line.
6376 Remove LaTeX virtual destructor; nothing derives from it.
6377 Move operator()() out of public area and rename it startscript().
6378 Change protected for private.
6380 2003-04-04 Angus Leeming <leeming@lyx.org>
6383 * text2.C: remove unneeded #includes.
6385 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6387 * text2.C (dEPM): fix the heigth of the next row
6389 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6391 * text.C: squashed an invalid getChar requester + some ws changes
6393 2003-04-03 John Levon <levon@movementarian.org>
6395 * bufferview_funcs.h:
6396 * bufferview_funcs.C:
6399 * text2.C: make getStatus work for the env depth lfuns
6401 2003-04-03 John Levon <levon@movementarian.org>
6403 * bufferview_funcs.h:
6404 * bufferview_funcs.C:
6407 * text2.C: parlistize decDepth(), by merging it with incDepth()
6409 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6411 * lyxrow.h: store a ParagraphList::iterator instead of a
6412 Paragraph* and adjust other class functions to suit.
6414 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6417 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6419 * text2.C (setCursor): do not anchor to cursor row for the time being
6421 2003-04-02 John Levon <levon@movementarian.org>
6428 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6430 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6432 * paragraph.h: make ParagraphList and ParagraphList::iterator
6433 friends of Paragraph.
6435 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6437 * ParagraphList.C: Use the private next_ and previous_ from
6440 2003-04-01 John Levon <levon@movementarian.org>
6444 * Makefile.am: rename, remove defaults gunk
6447 * MenuBackend.C: remove defaults gunk
6450 * Languages.C: remove defaults gunk
6453 * lyx_main.C: error out if files couldn't be found.
6455 2003-04-02 John Levon <levon@movementarian.org>
6457 * text2.C: make incDepth() use parlist
6459 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6461 * undo_funcs.C (firstUndoParagraph): adjust
6463 * text3.C (gotoInset): adjust
6464 (dispatch): adjust, and rewrite loop.
6466 * text2.C (init): adjust, and rewrite loop.
6467 (redoParagraphs): adjust
6468 (updateInset): adjust, and rewrite loop.
6469 (deleteEmptyParagraphMechanism): adjust
6471 * tabular.C (LyXTabular): adjust
6472 (SetMultiColumn): adjust
6475 * lyxtext.[Ch] (ownerParagraph): delete function
6476 (ownerParagraphs): new function returns a ParagraphList.
6478 * BufferView.C (removeAutoInsets): adjust
6479 (insertErrors): adjust
6480 (setCursorFromRow): adjust
6482 2003-04-01 Angus Leeming <leeming@lyx.org>
6484 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6487 2003-04-02 John Levon <levon@movementarian.org>
6493 * text_funcs.C: make transposeChars a free function
6495 * lyxrow_funcs.C: remove wrong comment
6497 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6500 * rowpainter.C: adjust
6505 * lyxrow_funcs. [Ch]: new files
6507 * lyxrow.[Ch]: remove next and previous pointers
6508 (next,previous): remove accessor functions
6509 (isParEnd): move to lyxrow_funcs
6510 (lastPos): move to lyxrow_funcs
6511 (nextRowIsAllInset): move to lyxrow_funcs
6512 (lastPrintablePos): move to lyxrow_funcs
6513 (numberOfSeparators): move to lyxrow_funcs
6514 (numberOfHfills): move to lyxrow_funcs
6515 (numberOfLabelHfills): move to lyxrow_funcs
6516 (hfillExpansion): move to lyxrow_funcs
6520 * bufferview_funcs.C (toggleAndShow): adjust
6522 * RowList.h: Remove class RowList from file leave just a
6525 * RowList.C: delete file
6527 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6530 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6532 * text3.C (cursorPrevious): adjust
6533 (cursorNext): adjust
6536 * text2.C (redoHeightOfParagraph): adjust
6537 (redoDrawingOfParagraph): adjust
6540 * text.C (breakParagraph): adjust
6541 (insertChar): adjust
6544 * rowpainter.C (RowPainter): adjust
6545 (leftMargin): simplify and adjust
6546 (most rowpainter functions): adjust.
6548 * rowpainter.h: store the row as RowList::iterator not as Row*
6550 * lyxcursor.C (row): taka RowList::iterator as arg
6553 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6556 2003-04-01 Angus Leeming <leeming@lyx.org>
6558 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6559 stuff like bool Bool.
6561 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6563 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6566 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6568 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6571 * lyxtext.h (rows): drop one version and leve a const variant that
6572 returns a RowList::iterator.
6574 2003-03-31 Angus Leeming <leeming@lyx.org>
6576 * text.C (fill): ensure that the signature is the same as that in the
6579 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6581 * text2.C (redoParagraphs): adjust
6582 (updateCounters): adjust
6583 (checkParagraph): adjust
6584 (getColumnNearX): adjust and reformat a bit.
6586 * text.C (top_y): adjust
6588 (leftMargin): adjust
6589 (prepareToPrint): adjust
6591 (getRowNearY): adjust
6593 * lyxtext.h: make rowlist_ mutable.
6595 * RowList.h: add const_iterator
6596 * RowList.C: adjust for RowList::const_iterator.
6598 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6601 2003-03-31 John Levon <levon@movementarian.org>
6604 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6606 * lyx_main.C: set default fonts from using lyx_gui funcs
6608 * exporter.C: pdf_mode moved from lyxrc
6611 * lyxfunc.C: changes from above
6613 2003-03-31 John Levon <levon@movementarian.org>
6615 * lyx_main.C: fix to the last fix
6617 2003-03-31 John Levon <levon@movementarian.org>
6619 * bufferlist.C: "Load original" -> "Load Original"
6625 * format.C: more Alert cleanups
6627 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6629 * text2.C (removeParagraph): make it take a RowList::iterator as
6631 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6632 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6634 * text.C (anchor_row): make it take a RowList::iterator as arg,
6636 (computeBidiTables): make it take a const reference to Row instead
6637 of Row pointer, adjust.
6638 (leftMargin): make it take a RowList::iterator as arg, adjust.
6639 (rowBreakPoint): adjust
6640 (breakAgainOneRow): make it take a RowList::iterator as arg,
6642 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6644 * bufferview_funcs.C (toggleAndShow): adjust
6646 2003-03-30 John Levon <levon@movementarian.org>
6650 * boost-inst.C: moved to support
6652 * several files: changes as a result
6654 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6656 * text2.C (LyXText): adjust.
6658 (removeRow): make it take a RowList::iterator as arg, adjust.
6659 (fullRebreak): adjust
6660 (deleteEmptyParagraphMechanism): adjust
6661 (clearPaint): adjust
6664 * text.C (top_y): adjust
6665 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6666 (breakAgain): make it take a RowList::iterator as arg, adjust.
6667 (breakParagraph): adjust
6668 (insertChar): adjust
6671 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6672 need_break_row, and refresh_row.
6674 * text3.C (dispatch): adjust
6676 * text2.C (checkParagraph): adjust
6678 (setCursorFromCoordinates): adjust
6680 * text.C (top_y): adjust
6682 (getRow): make it return a RowList::iterator, adjust
6683 (getRowNearY): make it return a RowList::iterator, adjust
6685 * text2.C (init): adjust
6686 (insertRow): remove function
6687 (insertParagraph): adjust
6688 (redoParagraphs): adjust
6689 (fullRebreak): adjust
6690 (updateCounters): adjust
6692 * text.C (top_y): rewrite to use RowList iterators.
6694 (setHeightOfRow): rewrite to sue RowList iterators.
6695 (appendParagraph): adjust
6696 (breakAgain): adjust
6697 (breakAgainOneRow): adjust
6698 (breakParagraph): adjust
6700 (getRowNearY): adjust, and remove commented code.
6702 * lyxtext.h (firstRow): delete function
6703 (lastRow): delete function
6704 (rows): new function (const and non-const versions.)
6705 (insertRow): delete function
6707 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6709 2003-03-29 John Levon <levon@movementarian.org>
6711 * BufferView_pimpl.C: always update scrollbar top
6712 because pasting text when we're anchored could mean we
6713 miss an update altogether
6715 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6717 * text2.C (init): use rowlist_.end() and not 0.
6718 (insertRow): change to take a RowList::iterator as arg, adjust
6720 (insertParagraph): change to take a RowList::iterator as arg,
6722 (redoParagraphs): remove some debug msgs.
6724 * text.C (appendParagraph): change to take a RowList::iterator
6725 arg, adjust for this.
6726 (breakAgain): add an assert
6727 (breakAgainOneRow): ditto
6729 2003-03-29 John Levon <levon@movementarian.org>
6731 * text2.C: do not clear selection after inc/decDepth
6734 2003-03-29 John Levon <levon@movementarian.org>
6737 * buffer.C: fix broken strerrors according to Lars
6739 2003-03-29 John Levon <levon@movementarian.org>
6741 * converters.C: more Alert cleanups
6743 2003-03-29 John Levon <levon@movementarian.org>
6745 * bufferview_funcs.C: remove pointless Alert
6747 * buffer.C: fix confusing error message when
6748 a template is chmoded 000
6750 2003-03-29 John Levon <levon@movementarian.org>
6754 * BufferView_pimpl.C: Alert fixes
6758 * tabular-old.C: remove unused table compat reading
6760 2003-03-29 John Levon <levon@movementarian.org>
6765 * lyx_cb.C: more Alert cleanups
6767 * lyxfunc.C: don't allow chktex if not latex document
6769 2003-03-29 John Levon <levon@movementarian.org>
6773 * buffer.C: warnings pushed down from support/,
6776 2003-03-29 John Levon <levon@movementarian.org>
6778 * lyxfunc.C: safety check for C-r (revert)
6780 2003-03-29 John Levon <levon@movementarian.org>
6783 * bufferlist.C: several UI fixes using Alert::prompt.
6784 Fix the pointless looping quit code. Fix stupid revert
6789 * lyx_cb.C: use Alert::prompt
6791 * lyx_main.C: remove a silly question
6793 * lyxfunc.C: remove a couple of silly questions,
6796 2003-03-28 John Levon <levon@movementarian.org>
6798 * text2.C: fix bug 974 (End on empty par)
6800 2003-03-28 John Levon <levon@movementarian.org>
6802 * BufferView_pimpl.C:
6804 * lfuns.h: remove do-nothing math greek lfuns
6806 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6808 * lyxgluelength.h (isValidGlueLength): add default arg on
6809 parameter 2. Remove default arg from friend in class.
6811 * lyxlength.h (isValidLength): add default arg on parameter 2.
6812 Remove default arg from friend in class.
6814 * text2.C (LyXText): adjust, initialize refresh_row.
6818 (insertParagraph): adjst
6819 (redoParagraphs): adjust
6820 (fullRebreak): adjust
6821 (updateCounters): adjust
6822 (deleteEmptyParagraphMechanism): first attempt at fixing a
6825 * text.C (top_y): adjust
6826 (setHeightOfRow): adjust
6828 (getRowNearY): adjust
6830 * lyxtext.h: include RowList.h
6831 (~LyXText): not needed anymore, deleted.
6832 (firstRow): modify for RowList
6833 (lastRow): new function
6834 Delete firstrow and lastrow class variables, add a Rowlist
6835 rowlist_ class variable.
6837 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6840 * RowList.C (insert): fix case where it == begin().
6842 2003-03-26 Angus Leeming <leeming@lyx.org>
6844 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6845 the thesaurus dialog.
6847 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6849 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6851 * RowList.[Ch]: new files
6853 * ParagraphList.C (erase): handle the case where it == begin
6856 2003-03-25 John Levon <levon@movementarian.org>
6860 * aspell.C: add new aspell support
6863 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6866 2003-03-25 Angus Leeming <leeming@lyx.org>
6869 * LyXAction.C (init): new LFUN_INSET_INSERT.
6871 * BufferView_pimpl.C (dispatch): split out part of the
6872 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6874 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6877 2003-03-25 Angus Leeming <leeming@lyx.org>
6879 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6881 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6884 * text3.C: remove useless row->height(0)
6886 2003-03-25 John Levon <levon@movementarian.org>
6890 * text3.C: rename the refreshing stuff to better names
6892 2003-03-24 John Levon <levon@movementarian.org>
6894 * BufferView_pimpl.h:
6895 * BufferView_pimpl.C: update layout choice on a mouse
6898 2003-03-23 John Levon <levon@movementarian.org>
6900 * Makefile.am: fix commandtags.h reference
6902 2003-03-22 John Levon <levon@movementarian.org>
6904 * BufferView_pimpl.C:
6909 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6911 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6914 * text.C: take the rtl methods out of line
6916 2003-03-21 André Pönitz <poenitz@gmx.net>
6918 * metricsinfo.[Ch]: new files containing structures to be passed around
6919 during the two-phase-drawing...
6921 2003-03-21 André Pönitz <poenitz@gmx.net>
6923 * lyxtextclass.C: read 'environment' tag.
6925 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6927 * text2.C (removeRow): fix bug 964
6929 2003-03-20 John Levon <levon@movementarian.org>
6933 * text2.C: paint cleanups. Inset::update() dropped font
6936 2003-03-19 John Levon <levon@movementarian.org>
6938 * lyxfunc.C: only fitcursor/markDirty if available()
6940 2003-03-19 John Levon <levon@movementarian.org>
6942 * commandtags.h: rename to ...
6944 * lfuns.h: ... this, and renumber / cleanup
6946 2003-03-19 John Levon <levon@movementarian.org>
6948 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6949 fit the cursor after an lfun
6953 * BufferView_pimpl.h:
6954 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6956 * LyXAction.C: layout-character should have ReadOnly
6958 * ParagraphParameters.C:
6960 * bufferview_funcs.C:
6967 * undo_funcs.C: changes from above
6969 2003-03-18 John Levon <levon@movementarian.org>
6971 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6972 remove it from update()
6974 * lyxfunc.C: update layout choice after an lfun
6976 * text3.C: remove extra updateLayoutChoice()s
6978 2003-03-18 John Levon <levon@movementarian.org>
6980 * text.C: top_y change means full repaint, fix
6981 a drawing bug with cursor movement
6983 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6987 * text2.C: anchor row on setCursor
6989 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6991 * lyxtext.h: remove almost all mutable keywords
6994 * text3.C: remove const keywords accordingly
6996 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6998 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7000 (TeXEnvironment): ditto
7003 2003-03-17 John Levon <levon@movementarian.org>
7005 * text.C (rowBreakPoint): remove attempt to fix displayed
7006 math insets inside a manual label
7008 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7010 * lyxtext.h: remove BufferView* as first arg from almost all class
7012 * other files: adjust.
7014 2003-03-17 John Levon <levon@movementarian.org>
7018 * text2.C: more paint cleanups
7020 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7023 * rowpainter.C: remove "smart" background painting code
7025 2003-03-16 John Levon <levon@movementarian.org>
7030 * text3.C: add helper functions for setting refresh_row/y
7032 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7034 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7035 newline inset which *can* get inserted in the pass_thru layouts.
7036 This is primarily for literate documents.
7038 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7040 * buffer.C: increment LYX_FORMAT to 223
7042 2003-03-14 André Pönitz <poenitz@gmx.net>
7044 * textclass.h: prepare for environment handling, ws changes
7045 * lyxlayout.C: read latexheader and latexfooter tags
7047 2003-03-14 John Levon <levon@movementarian.org>
7049 * text2.C: rewrite ::status() a bit
7051 2003-03-13 John Levon <levon@movementarian.org>
7053 * lyxtext.h: add some docs
7055 2003-03-13 John Levon <levon@movementarian.org>
7060 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7062 2003-03-13 John Levon <levon@movementarian.org>
7064 * text3.C: fix appendix redrawing
7066 2003-03-13 John Levon <levon@movementarian.org>
7068 * text.C (setHeightOfRow):
7070 * rowpainter.C: make appendix mark have the text
7071 "Appendix" so the user knows what it is
7074 * LColor.C: s/appendixline/appendix/ from above
7076 2003-03-13 John Levon <levon@movementarian.org>
7078 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7080 * text.C: fix a getChar(pos) bug properly
7082 2003-03-13 Angus Leeming <leeming@lyx.org>
7085 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7086 Probably only temporary. Let's see how things pan out.
7088 * BufferView.C (unlockInset):
7089 * BufferView_pimpl.C (fitCursor):
7090 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7092 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7093 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7095 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7096 new functions that convert ParagraphParameters to and from a string.
7098 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7099 BufferView::Pimpl's dispatch.
7100 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7102 2003-03-13 André Pönitz <poenitz@gmx.net>
7106 * factory.C: make it aware of InsetEnv
7108 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7110 * text2.C (setCursor): never ask for one past last
7111 (setCursor): add some debugging messages.
7113 * text.C (singleWidth): never ask for one past last
7114 (singleWidth): ditto
7116 (rightMargin): ditto
7117 (rowBreakPoint): ditto
7118 (setHeightOfRow): ditto
7119 (prepareToPrint): ditto
7121 * rowpainter.C (paintBackground): never ask for one past last
7122 (paintText): never ask for one past last
7124 * paragraph_pimpl.C (getChar): make the assert stricter, never
7125 allow the one past last pos to be taken
7127 * paragraph.C (getChar): ws changes only
7129 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7130 (numberOfSeparators): ditto
7131 (numberOfHfills): ditto
7133 2003-03-12 John Levon <levon@movementarian.org>
7139 * paragraph_funcs.C: fix per-buffer authorlists
7141 2003-03-12 John Levon <levon@movementarian.org>
7143 * text.C: fix newline in right address
7145 2003-03-12 Angus Leeming <leeming@lyx.org>
7147 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7148 duplicate those in LyXFunc::dispatch.
7152 * ToolbarDefaults.C:
7153 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7154 Add LFUN_FONTFREE_UPDATE.
7156 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7157 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7159 * bufferview_func.[Ch]: several new functions to facilliate
7160 transfer of data to and from the character dialog.
7162 2003-03-12 John Levon <levon@movementarian.org>
7167 * paragraph_funcs.C:
7168 * paragraph_pimpl.C:
7172 * text3.C: remove META_NEWLINE in favour of an inset
7175 * rowpainter.C: remove paintNewline (done by inset)
7177 2003-03-12 John Levon <levon@movementarian.org>
7179 * paragraph_pimpl.C: complain about bad getChar()s
7180 for a while at least
7182 2003-03-12 John Levon <levon@movementarian.org>
7185 * buffer.C: move paragraph read into a separate function,
7186 a little renaming to reflect that.
7189 * bufferparams.C: remove the author_ids map, not necessary now
7192 * factory.C: moved Buffer::readInset to here
7194 * paragraph_funcs.h:
7195 * paragraph_funcs.C: readParagraph free function moved from
7198 * tabular.C: name change
7200 2003-03-12 John Levon <levon@movementarian.org>
7203 * ParagraphParameters.C: move par params input to
7206 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7207 behave like a normal read from the stream wrt reading
7208 a line vs. a \\token
7210 2003-03-12 John Levon <levon@movementarian.org>
7213 * ParagraphParameters.h:
7214 * ParagraphParameters.C: move output code to a
7217 2003-03-12 John Levon <levon@movementarian.org>
7219 * BufferView.C (insertLyXFile):
7222 * tabular.C: use a parlist iterator for creating the
7225 2003-03-12 John Levon <levon@movementarian.org>
7227 * buffer.C: make current_change static local not
7230 2003-03-12 John Levon <levon@movementarian.org>
7232 * buffer.C: fix insertStringAsLines for change tracking
7234 2003-03-12 John Levon <levon@movementarian.org>
7241 * bufferparams.C: move author list into params. Rename some
7242 functions. Move the header reading into a separate token
7243 loop. Move the header token reading into BufferParams.
7245 2003-03-12 John Levon <levon@movementarian.org>
7247 * changes.C: put debug inside lyxerr.debugging() checks
7249 2003-03-11 André Pönitz <poenitz@gmx.net>
7251 * factory.C: make it aware of InsetHFill
7253 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7255 * buffer.C (latexParagraphs): move function from here...
7256 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7259 2003-03-10 Angus Leeming <leeming@lyx.org>
7261 * LyXAction.C (init): fix bug in poplating array with multiple entries
7262 with the same LFUN (spotted by JMarc).
7264 2003-03-10 John Levon <levon@movementarian.org>
7267 * text2.C: move getColumnNearX() near its
7270 2003-03-10 John Levon <levon@movementarian.org>
7272 * text.C: fix break before a minipage
7274 2003-03-10 John Levon <levon@movementarian.org>
7276 * text.C: fix the last commit
7278 2003-03-09 John Levon <levon@movementarian.org>
7282 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7283 bug 365 (don't break before insets unless needed). Don't
7284 return a value > last under any circumstances.
7286 2003-03-09 Angus Leeming <leeming@lyx.org>
7288 * BufferView_pimpl.C (trackChanges, dispatch): call
7289 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7291 2003-03-09 Angus Leeming <leeming@lyx.org>
7293 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7294 than Dialogs::showAboutlyx().
7296 2003-03-09 Angus Leeming <leeming@lyx.org>
7298 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7299 than Dialogs::showTabularCreate().
7301 2003-03-09 John Levon <levon@movementarian.org>
7305 * text2.C: 3rd arg to nextBreakPoint was always the same.
7308 2003-03-08 John Levon <levon@movementarian.org>
7315 * text2.C: Remove the "main" bit from the "main body"
7318 2003-03-08 John Levon <levon@movementarian.org>
7320 * text.C (leftMargin): The left margin of an empty
7321 manual label paragraph should not include the label width
7324 * text.C (prepareToPrint): don't attempt to measure hfills
7325 for empty manual label paragraphs - the answer should be 0
7327 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7329 * CutAndPaste.C: remove commented code and reindent.
7331 2003-03-08 John Levon <levon@movementarian.org>
7334 * lyxfunc.C: move reloadBuffer()
7337 * BufferView.C: to here
7339 * lyxvc.C: add comment
7342 * vc-backend.C: call bv->reload() to avoid
7343 getStatus() check on MENURELOAD
7345 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7347 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7348 to an old format .dep file.
7350 2003-03-07 Angus Leeming <leeming@lyx.org>
7352 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7353 when the LFUN_MOUSE_RELEASE should have been handled by
7354 inset->localDispatch.
7356 2003-03-07 Angus Leeming <leeming@lyx.org>
7358 * BufferView_pimpl.C (dispatch):
7359 * LyXAction.C (init):
7360 * ToolbarDefaults.C (init):
7362 * lyxfunc.C (getStatus):
7363 remove LFUN_INSET_GRAPHICS.
7365 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7367 2003-03-07 Angus Leeming <leeming@lyx.org>
7370 * LyXAction.C (init):
7371 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7373 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7376 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7378 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7379 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7381 2003-03-07 Angus Leeming <leeming@lyx.org>
7383 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7386 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7388 * ParagraphList.C (front): new function
7391 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7393 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7394 and top_row_offset_. removed var first_y.
7396 * text2.C (LyXText, removeRow):
7398 * BufferView_pimpl.C:
7399 use these methods instead of using first_y
7401 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7403 * text2.C (pasteSelection): adjust for checkPastePossible
7405 * CutAndPaste.C: remove Paragraph * buf and replace with
7406 ParagraphList paragraphs.
7407 (DeleteBuffer): delete
7408 (cutSelection): change the tc type to textclass_type
7409 (copySelection): change the tc type to textclass_type
7410 (copySelection): adjust for ParagraphList
7411 (pasteSelection): change the tc type to textclass_type
7412 (pasteSelection): adjust for Paragraphlist
7413 (nrOfParagraphs): simplify for ParagraphList
7414 (checkPastePossible): simplify for ParagraphList
7415 (checkPastePossible): remove unused arg
7417 * ParagraphList.C (insert): handle the case where there are no
7420 * CutAndPaste.h: make CutAndPaste a namespace.
7422 * text3.C (dispatch): adjust
7424 * text.C (breakParagraph): add a ParagraphList as arg
7426 * paragraph_funcs.C (breakParagraph): change to take a
7427 BufferParams and a ParagraphList as args.
7428 (breakParagraphConservative): ditto
7429 (mergeParagraph): ditto
7430 (TeXDeeper): add a ParagraphList arg
7431 (TeXEnvironment): ditto
7434 * buffer.C (readLyXformat2): adjust
7435 (insertStringAsLines): adjust
7436 (latexParagraphs): adjust
7438 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7439 (cutSelection): adjust
7440 (pasteSelection): adjust
7442 * BufferView_pimpl.C (insertInset): adjust
7444 2003-03-05 Angus Leeming <leeming@lyx.org>
7447 * LyXAction.C (init):
7448 * BufferView_pimpl.C (dispatch):
7449 * lyxfunc.C (getStatus):
7450 remove LFUN_CHILD_INSERT.
7452 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7454 2003-03-05 Angus Leeming <leeming@lyx.org>
7457 * LyXAction.C (init):
7458 * src/factory.C (createInset):
7459 * lyxfunc.C (getStatus):
7460 * text3.C (dispatch):
7461 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7463 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7465 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7467 * ParagraphList.C (insert): handle insert right before end()
7468 (erase): fix cases where it can be first or last paragraph.
7470 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7472 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7473 Paragraph::next and Paragraph::previous
7476 * text.C (breakParagraph): adjust
7478 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7479 BufferParams& as arg.
7480 (breakParagraph): use ParagraphList::insert
7481 (breakParagraphConservative): take a Buffer* instead of a
7482 BufferParams& as arg.
7483 (breakParagraphConservative): use ParagraphList::insert.
7485 * buffer.C (insertStringAsLines): un-const it
7486 (insertStringAsLines): adjust
7488 * ParagraphList.C (insert): new function
7490 * CutAndPaste.C (pasteSelection): adjust
7492 * text.C (backspace): adjust
7494 * tabular.C (SetMultiColumn): adjust
7496 * CutAndPaste.C (cutSelection): adjust
7497 (pasteSelection): adjust
7499 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7500 Buffer const * as arg
7502 * ParagraphList.C (erase): new function
7503 * paragraph_funcs.C (mergeParagraph): use it
7504 (mergeParagraph): make it take a Buffer* instead of a
7505 BufferParams* as arg
7507 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7509 (breakParagraphConservative): ditto
7511 * paragraph.h: remove the breakParagraph friend
7513 * paragraph.C (eraseIntern): new function
7514 (setChange): new function
7516 * paragraph_funcs.C (mergeParagraph): make it take a
7517 ParagraphList::iterator instead of a Paragraph *, adjust
7520 * paragraph.h: move an #endif so that the change tracking stuff
7521 also works in the NO_NEXT case.
7523 2003-03-04 Angus Leeming <leeming@lyx.org>
7526 * LyXAction.C: new LFUN_INSET_MODIFY.
7528 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7529 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7531 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7533 * several files: ws changes only
7535 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7536 (TeXEnvironment): ditto
7539 * buffer.C (makeLaTeXFile): adjust
7540 (latexParagraphs): make it take ParagraphList::iterator as args
7542 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7544 * buffer.C (latexParagraphs): adjust
7546 * paragraph.C (TeXOnePar): move function...
7547 (optArgInset): move function...
7548 (TeXEnvironment): move function...
7549 * paragraph_pimpl.C (TeXDeeper): move function...
7550 * paragraph_funcs.C: ...here
7552 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7554 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7556 * buffer.C (readInset): remove compability code for old Figure and
7559 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7561 * buffer.C: ws changes
7564 * BufferView_pimpl.C: ditto
7567 * bufferlist.h: ditto
7571 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7573 * converter.[Ch]: split into itself +
7576 * Makefile.am: += graph.[Ch] + format.[Ch]
7583 * lyxrc.C: added #include "format.h"
7585 2003-02-27 Angus Leeming <leeming@lyx.org>
7587 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7590 * factory.C (createInset): add "label" to the factory.
7592 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7593 string and do no more.
7595 2003-02-27 Angus Leeming <leeming@lyx.org>
7598 * LyXAction.C (init):
7599 * factory.C (createInset):
7600 * BufferView_pimpl.C (dispatch):
7601 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7603 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7605 * lyxfunc.C (dispatch):
7606 * text3.C (dispatch): pass name to params2string.
7608 2003-02-26 Angus Leeming <leeming@lyx.org>
7610 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7612 Rearrange the ~includes. Strip out the unnecessary ones.
7614 * factory.C (createInset): reformat.
7615 create new insets for the various LFUN_XYZ_APPLY lfuns.
7617 2003-02-26 John Levon <levon@movementarian.org>
7620 * lyxrow.C: add isParStart,isParEnd helpers
7622 * paragraph.h: make isInserted/DeletedText take refs
7624 * paragraph_funcs.h:
7625 * paragraph_funcs.C: remove #if 0'd code
7630 * text.C: use lyxrow helpers above.
7631 Move draw and paint routines to RowPainter.
7632 Make several methods use refs not pointers.
7633 Make backgroundColor() const.
7634 Add markChangeInDraw(), isInInset().
7635 Merge changeRegionCase into changeCase.
7636 Make workWidth() shouldn't-happen code into an Assert.
7639 * rowpainter.C: new class for painting a row.
7642 * vspace.C: make inPixels take a ref
7644 2003-02-26 Angus Leeming <leeming@lyx.org>
7646 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7649 2003-02-25 John Levon <levon@movementarian.org>
7651 * ispell.C: give the forked command a more accurate name
7653 2003-02-22 John Levon <levon@movementarian.org>
7656 * toc.C: make TocItem store an id not a Paragraph *
7659 2003-02-21 Angus Leeming <leeming@lyx.org>
7661 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7662 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7663 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7664 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7665 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7666 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7668 * BufferView_pimpl.C (dispatch):
7669 * LyXAction.C (init):
7670 * factory.C (createInset):
7671 * lyxfunc.C (getStatus, dispatch):
7672 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7674 2003-02-21 Angus Leeming <leeming@lyx.org>
7676 * BufferView_pimpl.C (MenuInsertLyXFile):
7677 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7678 * lyxfunc.C (menuNew, open, doImport):
7679 no longer pass a LyXView & to fileDlg.
7681 2003-02-21 Angus Leeming <leeming@lyx.org>
7683 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7684 * LyXAction.C: change, BIBKEY to BIBITEM.
7685 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7686 Change InsetBibKey to InsetBibitem.
7687 Change BIBKEY_CODE to BIBITEM_CODE.
7688 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7689 * factory.C: replace insetbib.h with insetbibitem.h.
7690 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7691 * paragraph.C: replace insetbib.h with insetbibitem.h.
7692 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7693 Change bibkey() to bibitem().
7694 * text.C: remove insetbib.h.
7695 * text2.C: replace insetbib.h with insetbibitem.h.
7696 change bibkey() to bibitem().
7697 * text3.C: remove insetbib.h.
7698 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7700 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7702 * lyxrc.C (output): enclose user email in quotes (in case there are
7705 2003-02-18 John Levon <levon@movementarian.org>
7707 * buffer.h: add std::
7709 2003-02-17 John Levon <levon@movementarian.org>
7715 * pspell.C: reworking. Especially in ispell, a large
7716 number of clean ups and bug fixes.
7718 * lyxfunc.C: fix revert to behave sensibly
7720 2003-02-17 André Pönitz <poenitz@gmx.net>
7723 * commandtags.h: new LFUN_INSERT_BIBKEY
7733 * paragraph_func.C: remove special bibkey handling
7735 2003-02-17 John Levon <levon@movementarian.org>
7737 * text.C (Delete): fix case where delete at the end of
7738 the very first paragraph would not merge the pars
7740 2003-02-17 John Levon <levon@movementarian.org>
7742 * lyxrow.C: fix lastPrintablePos()
7744 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7746 * bufferparams.C (writeLaTeX): add a std:here
7748 * buffer.C: and remove a using directive there
7750 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7752 * buffer.C (makeLaTeXFile): move the code that generates the
7755 * bufferparams.C (writeLaTeX): ... in this new method
7757 * LaTeXFeatures.C (getEncodingSet): make const
7758 (getLanguages): make const
7760 * MenuBackend.C (binding): returns the binding associated to this
7762 (add): sets the status of each item by calling getStatus. Adds
7764 (read): add support for OptSubMenu
7765 (expand): remove extra separator at the end of expanded menu
7767 2003-02-15 John Levon <levon@movementarian.org>
7770 * BufferView_pimpl.C:
7772 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7773 inset code that had no actual effect. Remove unneeded status
7776 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7778 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7781 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7783 * text.C (drawLengthMarker): also draw an arrow marker for
7784 symbolic lengths (medskip...)
7786 2003-02-14 John Levon <levon@movementarian.org>
7789 * tabular.C: better method names
7791 2003-02-14 John Levon <levon@movementarian.org>
7793 * BufferView_pimpl.C:
7798 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7799 it's a more accurate name. Remove some pointless uses.
7801 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7803 * text2.C (LyXText): change order of initilizers to shut off
7806 2003-02-14 John Levon <levon@movementarian.org>
7808 * buffer.C: use ParIterator for getParFromID()
7812 * paragraph_pimpl.h:
7813 * paragraph_pimpl.C: remove unused getParFromID()
7815 2003-02-14 John Levon <levon@movementarian.org>
7817 * buffer.C: remove some very old #if 0'd parse code
7819 2003-02-13 John Levon <levon@movementarian.org>
7823 * text2.C: move hfillExpansion(), numberOfSeparators(),
7824 rowLast(), rowLastPrintable(), numberofHfills(),
7825 numberOfLabelHfills() ...
7828 * lyxrow.C: ... to member functions here.
7833 * text.C: remove LyXText::beginningOfMainBody(), and call
7834 p->beginningOfMainBody() directly. Move the check for
7835 LABEL_MANUAL into the latter.
7842 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7848 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7849 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7851 2003-02-13 John Levon <levon@movementarian.org>
7853 * CutAndPaste.C: remove debug
7855 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7857 * paragraph.C (asString): remove two unused variables
7859 * lyxtextclass.C (readTitleType):
7861 (LyXTextClass): handle new members titletype_ and titlename_
7863 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7865 2003-02-09 John Levon <levon@movementarian.org>
7868 * buffer.C: replace hand-coded list with a map for the dep clean
7870 2003-02-08 John Levon <levon@movementarian.org>
7872 * LaTeX.C: consolidate code into showRunMessage() helper
7874 2003-02-08 John Levon <levon@movementarian.org>
7879 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7880 and pass the size in explicitly
7882 * BufferView_pimpl.h:
7883 * BufferView_pimpl.C:
7885 * BufferView.C: add getCurrentChange()
7887 * BufferView_pimpl.h:
7888 * BufferView_pimpl.C: handle change lfuns
7890 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7891 for changes. Mark pasted paragraphs as new.
7893 * support/lyxtime.h:
7894 * support/lyxtime.C:
7895 * DepTable.C: abstract time_t as lyx::time_type
7898 * LColor.C: add colours for new text, deleted text, changebars
7900 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7901 package use "usenames" option.
7905 * LyXAction.C: add change lfuns
7909 * author.C: author handling
7912 * buffer.C: add a per-buffer author list, with first entry as
7913 current author. Handle new .lyx tokens for change tracking. Output
7914 author list to .lyx file. Output dvipost stuff to .tex preamble.
7915 Bump lyx format to 222.
7918 * bufferlist.C: add setCurrentAuthor() to reset current author details
7922 * bufferparams.C: add param for tracking
7924 * bufferview_funcs.C: output change info in minibuffer
7928 * changes.C: add change-tracking structure
7931 * debug.C: add CHANGES debug flag
7934 * lyxfind.C: add code for finding the next change piece
7937 * lyxrc.C: add user_name and user_email
7940 * lyxrow.C: add a metric for the top of the text line
7943 * text.C: implement accept/rejectChange()
7946 * text.C: paint changebars. Paint new/deleted text in the chosen
7947 colours. Strike through deleted text.
7951 * paragraph_pimpl.h:
7952 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7953 in the current change to the insert functions. Rework erase to
7954 mark text as deleted, adding an eraseIntern() and a range-based
7955 erase(). Implement per-paragraph change lookup and
7958 * paragraph_funcs.C: Fixup paste for change tracking.
7960 * tabular.C: mark added row/columns as new.
7962 * text.C: fix rowLast() to never return -1. Don't allow
7963 spellchecking of deleted text. Track transpose changes. Don't
7964 allow paragraph break or merge where appropriate.
7966 * text2.C: leave cursor at end of selection after a cut.
7968 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7970 * text.C (getLengthMarkerHeight):
7971 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7972 visible on screen too.
7974 2003-02-07 John Levon <levon@movementarian.org>
7976 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7978 2003-02-05 Angus Leeming <leeming@lyx.org>
7980 * lyxserver.C (read_ready): revert my patch of 11 September last year
7981 as it sends PC cpu through the roof. Presumably this means that
7982 the lyxserver will no longer run on an Alpha...
7984 2003-01-30 Angus Leeming <leeming@lyx.org>
7986 * factory.C (createInset): create an InsetCommandParam of type "index"
7987 and use it to 'do the right thing'.
7989 * text2.C (getStringToIndex): ensure that cursor position is always
7990 reset to the reset_cursor position.
7992 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7994 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7997 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8001 * lyxfunc.C: Output messages with identical spelling, punctuation,
8004 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8006 * MenuBackend.C (expandFormats): List only viewable export formats
8009 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8012 * lyxfunc.C (getStatus): Make sure that formats other than
8013 "fax" can also be disabled
8015 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8017 * text3.C (dispatch): put the lfuns that insert insets in 3
8018 groups, and call doInsertInset with appropriate arguments.
8019 (doInsertInset): new function, that creates an inset and inserts
8020 it according to some boolean parameters.
8022 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8024 * buffer.C (readFile): remember to pass on 'par' when calling
8025 readFile recursively.
8027 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8029 * MenuBackend.C (expandFormats): add "..." to import formats.
8031 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8033 * paragraph.C (asString): Remove XForms RTL hacks.
8035 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8036 * buffer.C: fix typo
8038 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8040 * Makefile.am (LIBS): delete var
8041 (lyx_LDADD): add @LIBS@ here instead.
8043 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8045 * Clarify the meaning of "wheel mouse jump"
8047 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8049 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8052 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8054 * importer.C (Loaders): do not preallocate 3 elements in the
8055 vector, since one ends up with 6 elements otherwise
8057 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8059 * DepTable.C (write): write the file name as last element of the
8060 .dep file (because it may contain spaces)
8061 (read): read info in the right order
8063 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8065 * paragraph_pimpl.C (simpleTeXBlanks):
8066 (simpleTeXSpecialChars):
8067 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8069 * tabular.C (latex): add some missing case statements. Reindent.
8071 * MenuBackend.C (expandToc): remove unused variable.
8073 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8082 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8085 2003-01-05 John Levon <levon@movementarian.org>
8088 * BufferView.C: add getEncoding()
8091 * kbsequence.C: do not store last keypress
8094 * lyxfunc.C: store last keypress here instead. Pass encoding
8097 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8099 * lyx_main.C (init): remove annoying error message when following
8100 symbolic links (bug #780)
8102 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8104 * text.C (insertChar):
8105 * lyxrc.C (getDescription): remove extra spaces
8107 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8109 * lyxrc.C (getDescription): remove extra spaces
8111 2002-12-20 John Levon <levon@movementarian.org>
8113 * text3.C: hack fix for page up/down across tall rows
8115 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8117 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8120 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8122 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8123 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8124 thesaurus is not compiled in
8126 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8128 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8130 2002-12-16 Angus Leeming <leeming@lyx.org>
8133 * lyx_main.C (init): remove override_x_deadkeys stuff.
8135 2002-12-12 John Levon <levon@movementarian.org>
8137 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8138 insert. Only remove shift modifier under strict
8141 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8143 * MenuBackend.C (expandToc): fix crash.
8145 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8147 * MenuBackend.C (expandToc): gettext on float names.
8149 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8151 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8152 implement bool empty() [bug 490]
8154 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8156 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8158 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8160 * several files: ws changes
8162 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8164 * text2.C (setCounter): clean up a bit, use boost.format.
8165 (updateCounters): initialize par upon declaration.
8167 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8168 if the layout exists. We do not just store the layout any more.
8169 (SwitchLayoutsBetweenClasses): use boost.format
8171 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8173 * converter.C (convert): if from and to files are the same, use a
8174 temporary files as intermediary
8176 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8179 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8181 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8183 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8185 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8187 * tabular.C (asciiPrintCell): use string(size, char) instead of
8190 * sgml.C (openTag): fix order of arguments to string constructor
8193 * lyxfunc.C (dispatch): use boost.format
8195 * lots of files: change "c" -> 'c'
8197 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8199 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8201 2002-11-25 Angus Leeming <leeming@lyx.org>
8203 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8205 * lyx_main.C (init): compile fix.
8207 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * lyx_cb.C (start): boost.formatify
8210 do not include <iostream>
8212 * lengthcommon.C: ws only
8214 * boost-inst.C,BoostFormat.h: add more explict instantations
8216 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8218 * lots of files: handle USE_BOOST_FORMAT
8220 2002-11-21 John Levon <levon@movementarian.org>
8222 * pspell.C: fix compile
8224 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8226 * lyxfunc.C (dispatch): use boost::format
8230 * lyxfont.C (stateText): use boost::format
8232 * lyx_main.C (LyX): use boost::format
8234 (queryUserLyXDir): ditto
8237 (typedef boost::function): use the recommened syntax.
8239 * importer.C (Import): use boost::format
8241 * debug.C (showLevel): use boost::format
8243 * converter.C (view): use boost::format
8248 * bufferview_funcs.C (currentState): use boost::format
8250 * bufferlist.C (emergencyWrite): use boost::format
8252 * buffer.C (readLyXformat2): use boost::format
8253 (parseSingleLyXformat2Token): ditto
8255 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8257 * LaTeX.C (run): use boost::format
8259 * Chktex.C (scanLogFile): use boost::format
8261 * BufferView_pimpl.C (savePosition): use boost::format
8262 (restorePosition): ditto
8263 (MenuInsertLyXFile): ditto
8265 * BoostFormat.h: help file for explicit instation.
8267 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8269 * tabular.C (latex): Support for block alignment in fixed width
8272 2002-11-17 John Levon <levon@movementarian.org>
8274 * BufferView_pimpl.C:
8276 * lyxfunc.C: split filedialog into open/save
8278 2002-11-08 Juergen Vigna <jug@sad.it>
8280 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8281 by my last patch (hopefully).
8283 2002-11-08 John Levon <levon@movementarian.org>
8292 * toc.C: ParConstIterator, and use it (from Lars)
8294 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8296 * lyxtextclass.[Ch]: revise and add doxygen comments
8298 2002-11-07 John Levon <levon@movementarian.org>
8300 * text.C: fix progress value for spellchecker
8302 * toc.C: fix navigate menu for insetwrap inside minipage
8304 * paragraph_funcs.C: added FIXME for suspect code
8306 2002-11-07 John Levon <levon@movementarian.org>
8308 * BufferView_pimpl.C: fix redrawing of insets
8311 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8313 * text2.C (updateCounters): fix bug 668
8315 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8317 * text3.C (dispatch): Do not make the buffer dirty when moving the
8320 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8322 * vc-backend.C: STRCONV
8325 * text2.C (setCounter): STRCONV
8327 * paragraph.C (asString): STRCONV
8329 * lyxlength.C (asString): STRCONV
8330 (asLatexString): ditto
8332 * lyxgluelength.C (asString): STRCONV
8333 (asLatexString): ditto
8335 * lyxfunc.C (dispatch): STRCONV
8338 * lyxfont.C (stateText): STRCONV
8340 * importer.C (Import): STRCONV
8342 * counters.C (labelItem): STRCONV
8343 (numberLabel): ditto
8344 (numberLabel): remove unused ostringstream o
8349 * bufferview_funcs.C (currentState): STRCONV
8351 * buffer.C (readFile): STRCONV
8352 (asciiParagraph): ditto
8353 (makeLaTeXFile): ditto
8355 * Spacing.C (writeEnvirBegin): STRCONV
8357 * LaTeXFeatures.C (getLanguages): STRCONV
8358 (getPackages): ditto
8360 (getBabelOptions): ditto
8361 (getTClassPreamble): ditto
8362 (getLyXSGMLEntities): ditto
8363 (getIncludedFiles): ditto
8367 (scanAuxFile): ditto
8370 * LString.h: add the STRCONV macros
8372 * BufferView_pimpl.C (savePosition): STRCONV
8373 (restorePosition): ditto
8374 (MenuInsertLyXFile): ditto
8376 * vc-backend.C (scanMaster): change from submatch[...] to
8379 * funcrequest.C: include config.h
8381 * factory.C: include config.h
8383 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8385 * box.C: include config.h
8387 * LaTeX.C (scanAuxFile): change from submatch[...] to
8391 2002-10-25 Angus Leeming <leeming@lyx.org>
8393 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8395 * ispell.[Ch] (setError): new method.
8396 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8397 Use setError() insetead of goto END.
8399 * lyx_cb.C (AutoSave): move out child process into new class
8402 2002-10-30 John Levon <levon@movementarian.org>
8404 * text3.C: make start appendix undoable
8406 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8408 * lyxlength.C (inPixels): Fix returned value.
8410 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8413 2002-10-24 Angus Leeming <leeming@lyx.org>
8415 * lyxgluelength.h: no need to forward declare BufferParams
8416 or BufferView, so don't.
8418 2002-10-21 John Levon <levon@movementarian.org>
8420 * BufferView.C: menuUndo ->undo, redo
8422 * BufferView.h: document, remove dead, make some methods private
8424 * paragraph_funcs.h:
8425 * paragraph_funcs.C:
8426 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8431 * sgml.C: move sgml open/close tag into sgml.C
8433 * bufferview_funcs.h: unused prototype
8436 * lyxfunc.C: remove unused
8439 * text.C: remove unused
8441 2002-10-21 John Levon <levon@movementarian.org>
8445 * BufferView_pimpl.h:
8446 * BufferView_pimpl.C: fix mouse wheel handling based on
8447 patch from Darren Freeman
8449 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8451 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8453 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8455 * lyxlength.C (inPixels): Fix hanfling of negative length.
8456 Fix LyXLength::MU case.
8458 2002-10-16 John Levon <levon@movementarian.org>
8460 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8462 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8464 * converter.C (view): add support for $$i (file name) and $$p
8465 (file path) for the viewer command. If $$i is not specified, then
8466 it is appended to the command (for compatibility with old syntax)
8468 2002-10-14 Juergen Vigna <jug@sad.it>
8470 * undo_funcs.C (textHandleUndo): alter the order in which the
8471 new undopar is added to the LyXText, as we have to set first
8472 the right prev/next and then add it as otherwise the rebuild of
8473 LyXText is not correct. Also reset the cursor to the right paragraph,
8474 with this IMO we could remove the hack in "redoParagraphs()".
8476 2002-10-09 Angus Leeming <leeming@lyx.org>
8478 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8479 to turn off an optimisation if a new inset is to be inserted.
8481 2002-10-11 André Pönitz <poenitz@gmx.net>
8483 * lyxtext.h: make some functions public to allow access
8484 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8486 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8488 * text3.C (dispatch): when changing layout, avoid an infinite loop
8491 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8493 * lyxrc.C (read): treat a viewer or converter command of "none" as
8496 * MenuBackend.C (expandFormats): for an update, also allow the
8497 formats that are not viewable
8499 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8500 script if it is newer than the lyxrc.defaults in user directory
8502 2002-10-07 André Pönitz <poenitz@gmx.net>
8504 * text.C: Vitaly Lipatov's small i18n fix
8506 2002-09-25 Angus Leeming <leeming@lyx.org>
8508 * ispell.h: doxygen fix.
8510 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8512 * buffer.h (readFile): Add a new argument to the method, to allow
8513 reading of old-format templates.
8515 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8517 * toc.C (getTocList): Get TOC from InsetWrap.
8519 2002-09-16 John Levon <levon@movementarian.org>
8521 * lyxfunc.C: check tabular for cut/copy too
8523 2002-09-12 John Levon <levon@movementarian.org>
8528 * factory.C: add header
8530 * paragraph_funcs.h:
8531 * paragraph_funcs.C: cleanup
8533 2002-09-11 John Levon <levon@movementarian.org>
8535 * PrinterParams.h: odd/even default to true
8537 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8539 * PrinterParams.h: update printer parameters for new xforms dialog
8541 2002-09-11 Angus Leeming <leeming@lyx.org>
8543 * lyxserver.C (read_ready): re-write to make it more transparent
8544 and to make it work in coherent fashion under Tru64 Unix.
8546 2002-09-11 André Pönitz <poenitz@gmx.net>
8550 * text3.C: implement LFUN_WORDSEL
8552 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8554 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8555 make floatlist_ a boost::shared_ptr<FloatList>
8557 * lyxtextclass.C: include FloatList.h
8558 (LyXTextClass): initialize floatlist_
8559 (TextClassTags): add TC_NOFLOAT
8560 (Read): match "nofloat" to TC_NOFLOAT and use it.
8561 (readFloat): modify call to floatlist_
8565 * FloatList.[Ch] (FloatList): remove commented out float
8567 (erase): new function
8569 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8571 * MenuBackend.C (expandToc): fix crash when there is no document
8574 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8576 * many files: Add insetwrap.
8578 2002-09-09 John Levon <levon@movementarian.org>
8580 * text2.C: remove confusing and awkward depth wraparound
8582 2002-09-09 John Levon <levon@movementarian.org>
8584 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8587 * buffer.C: remove getIncludeonlyList()
8590 * lyxfunc.C: remove headers
8592 2002-09-09 Juergen Vigna <jug@sad.it>
8594 * text.C (getColumnNearX): fix form Michael this is most
8595 probably a cut&paste bug.
8597 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8599 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8601 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8602 references, ws changes.
8604 * text2.C (init): update counters after init
8605 (insertParagraph): no need to set counter on idividual paragraphs.
8606 (setCounter): access the counters object in the textclass object
8607 on in the buffer object.
8608 (updateCounters): ditto
8610 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8611 shared_ptr<Counters> to avoid loading counters.h in all
8613 (LyXTextClass): initialize ctrs_
8614 (TextClassTags): add TC_COUNTER, and ...
8615 (Read): use it here.
8616 (CounterTags): new tags
8617 (readCounter): new function
8618 (counters): new funtion
8619 (defaultLayoutName): return a const reference
8621 * counters.C (Counters): remove contructor
8622 (newCounter): remove a couple of unneeded statements.
8623 (newCounter): simplify a bit.
8624 (numberLabel): some small formatting changes.
8626 * buffer.[Ch]: remove all traces of counters, move the Counters
8627 object to the LyXTextClass.
8629 2002-09-06 Alain Castera <castera@in2p3.fr>
8631 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8632 package to set the horizontal alignment on fixed width columns.
8635 * lyx_sty.h: added tabularnewline macro def.
8637 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8639 2002-09-06 John Levon <levon@movementarian.org>
8641 * LyXAction.C: tooltips for sub/superscript
8643 * MenuBackend.C: a bit more verbose
8645 * lyxfunc.C: tiny clean
8647 * undo_funcs.C: document undo_frozen
8649 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8651 * counters.C (Counters): add missing algorithm counter.
8653 * text2.C (setCounter): lookup the counter with layouts latexname
8654 instead of by section number.
8655 (setCounter): use a hackish way to lookup the correct enum
8657 a float name->type change
8658 reset enum couners with counter name directly instead of depth value.
8660 * counters.C (Counters): remove the push_backs, change to use the
8661 float type not the float name.
8662 (labelItem): remove unused string, float name->type change
8664 * counters.h: don't include vector, loose the enums and sects vectors
8666 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8668 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8669 (Read): add float->TC_FLOAT to textclassTags
8670 (Read): and handle it in the switch
8671 (readFloat): new function
8673 * FloatList.C (FloatList): comment out the hardcoded float
8676 * lyxlayout.h: ws change.
8678 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8680 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8682 2002-09-03 Angus Leeming <leeming@lyx.org>
8684 * BufferView_pimpl.h: qualified name is not allowed in member
8685 declaration: WorkArea & Pimpl::workarea() const;
8687 * factory.C: added using std::endl directive.
8689 * text3.C: added using std::find and std::vector directives.
8691 2002-08-29 André Pönitz <poenitz@gmx.net>
8694 * text2.C: remove unused member number_of_rows
8697 * BufferView2.C: remove file, move contents to...
8698 * BufferView.C: ... here
8700 * BufferView_pimpl.C:
8701 * factory.C: move more inset creation to factory
8703 * vspace.C: avoid direct usage of LyXText, ws changes
8706 don't provide direct access to WorkArea, use two simple
8707 acessors haveSelction() and workHeight() instead
8710 2002-08-29 John Levon <levon@movementarian.org>
8712 * BufferView_pimpl.C (dispatch): do not continue when
8715 2002-08-28 André Pönitz <poenitz@gmx.net>
8717 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8720 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8722 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8724 * buffer.C: increment LYX_FORMAT to 221
8726 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8727 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8729 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8731 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8733 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8735 * factory.C (createInset): use LyXTextClass::floats
8737 * MenuBackend.C (expandFloatListInsert):
8738 (expandFloatInsert):
8741 * text2.C (setCounter):
8743 * LaTeXFeatures.C (useFloat):
8744 (getFloatDefinitions):
8746 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8748 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8749 floatlist_, with accessor floats().
8751 * FloatList.h: remove global FloatList
8753 2002-08-26 André Pönitz <poenitz@gmx.net>
8755 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8759 * BufferView_pimpl.C:
8760 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8762 2002-08-25 John Levon <levon@movementarian.org>
8764 * LyXAction.C: fix margin note description
8766 2002-08-24 John Levon <levon@movementarian.org>
8770 * bufferview_funcs.C:
8772 * undo_funcs.C: cleanups
8774 * lyxfunc.C: disable CUT/COPY when no selection
8776 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8778 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8779 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8781 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8782 Add backward compatibility to "mono", "gray" and "no".
8784 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8786 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8787 (and file_format >= 200).
8789 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8791 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8793 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8795 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8797 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8799 * BufferView_pimpl.C:
8806 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8807 inset and code to make it work with the paragraph code. The inset
8808 can be anywhere in the paragraph, but will only do the expected
8809 thing in LaTeX if the layout file contains the parameter line
8811 (or more generally, a nonzero value) for that layout.
8813 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8815 * paragraph.h: remove the declaration of undefined counters class
8818 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8820 * text2.C (setCounter): fixed enumeration mis-count as reported by
8821 Dr. Richard Hawkins.
8823 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8825 * paragraph_funcs.h: remove some unneeded includes
8827 * text.C (backspace): pasteParagraph now in global scipe
8829 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8830 (pasteSelection): ditto
8832 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8833 * paragraph_funcs.C (pasteParagraph): ... here
8835 2002-08-20 André Pönitz <poenitz@gmx.net>
8837 * commandtags.h: new LFUNs for swapping/copying table row/colums
8840 * lyxfunc.C: support for new lfuns
8842 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8845 * buffer.[Ch]: remove NO_COMPABILITY stuff
8847 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8849 * boost.C (throw_exception): new file, with helper function for
8850 boost compiled without exceptions.
8855 * ParameterStruct.h:
8856 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8858 * bufferlist.C (emergencyWriteAll): use boost bind
8860 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8862 * text.C: include paragraph_funcs.h
8863 (breakParagraph): breakParagraph is now in global scope
8865 * paragraph_funcs.[Ch]: new files
8867 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8870 * buffer.C: include paragraph_funcs.h
8871 (insertStringAsLines): breakParagraph is now in global scope
8873 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8876 * CutAndPaste.C: include paragraph_funcs.h
8877 (cutSelection): breakParagraphConservative is now in global scope
8878 (pasteSelection): ditto
8880 * buffer.h: declare oprator== and operator!= for
8881 Buffer::inset_iterator
8883 * bufferlist.C (emergencyWrite): don't use fmt(...)
8885 * text3.C: add using std::endl
8887 * BufferView.C (moveCursorUpdate): remove default arg
8889 2002-08-20 André Pönitz <poenitz@gmx.net>
8891 * buffer.[Ch]: move inline functions to .C
8894 * BufferView_pimpl.C:
8896 * buffer.[Ch]: use improved inset_iterator
8899 * paragraph.[Ch]: write one paragraph at a time
8901 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8903 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8904 style if style is not specified.
8906 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8908 * text2.C (setCounter): when searching for right label for a
8909 caption, make sure to recurse to parent insets (so that a caption
8910 in a minipage in a figure float works) (bug #568)
8912 2002-08-20 André Pönitz <poenitz@gmx.net>
8914 * text3.C: new file for LyXText::dispatch() and helpers
8916 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8918 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8920 2002-08-19 André Pönitz <poenitz@gmx.net>
8923 * text.C: new LyXText::dispatch()
8925 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8927 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8929 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8931 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8934 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8936 * Makefile.am: use $(variables) instead of @substitutions@
8938 2002-08-15 André Pönitz <poenitz@gmx.net>
8941 * BufferView_pimpl.C: streamlining mathed <-> outer world
8945 * LyXAction.C: remove unused LFUN_MATH
8947 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8949 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8951 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8953 * paragraph.C (Paragraph): reformat a bit
8954 (cutIntoMinibuffer): use builtin InsetList function instad of
8958 * buffer.C: include boost/bind.hpp, add using std::for_each
8959 (writeFileAscii): use ParagraphList iterators
8960 (validate): use for_each for validate traversal of paragraphs
8961 (getBibkeyList): use ParagraphList iterators
8962 (resizeInsets): use for_each to resizeInsetsLyXText for all
8964 (getParFromID): use ParagraphList iterators
8966 * BufferView2.C (lockInset): use paragraph list and iterators
8968 2002-08-14 John Levon <levon@movementarian.org>
8970 * lyxserver.C: remove spurious xforms include
8972 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8974 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8976 2002-08-13 André Pönitz <poenitz@gmx.net>
8979 * lyxfunc.C: further cleaning
8981 2002-08-13 André Pönitz <poenitz@gmx.net>
8983 * funcrequest.h: new constructor
8985 * funcrequest.C: move stuff here from .h
8988 * BufferView_pimpl.C:
8991 * lyxfunc.C: subsequent changes
8993 * lyxfunc.h: new view() member function
8995 * lyxfunc.C: subsequent changes
8997 2002-08-13 Angus Leeming <leeming@lyx.org>
9000 * BufferView_pimpl.C:
9008 changes due to the changed LyXView interface that now returns references
9009 to member variables not pointers.
9011 2002-08-13 Angus Leeming <leeming@lyx.org>
9013 * WordLangTuple (word, lang_code): return references to strings,
9018 * lyxtext.h: forward-declare WordLangTuple.
9023 * text.C: #include "WordLangTuple.h".
9026 * text.C: (selectNextWordToSpellcheck): constify return type.
9028 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9034 * paragraph_pimpl.h:
9037 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9039 Made updateCounter always count from start of buffer, and removed
9040 second argument (par).
9041 Reverted floats number display to '#'. Perhaps I'll try again when the
9042 code base is sanitized a bit.
9044 2002-08-12 Angus Leeming <leeming@lyx.org>
9046 * buffer.[Ch] (getLabelList): constify.
9048 2002-08-07 André Pönitz <poenitz@gmx.net>
9050 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9052 * funcrequest.h: extension to keep mouse (x,y) position
9054 2002-08-12 Juergen Vigna <jug@sad.it>
9056 * BufferView2.C (insertErrors): forbid undo when inserting error
9059 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9061 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9063 * ParagraphList.[Ch]: new files
9065 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9067 * BufferView2.C (lockInset): ParagraphList changes
9070 * bufferlist.C: ditto
9074 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9076 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9077 unused class variable counter_,
9079 * paragraph.[Ch] (getFirstCounter): delete unused function
9081 * counters.C: include LAssert.h
9082 (reset): add a new function with no arg, change other version to
9083 not have def. arg and to not allow empty arg.
9085 * text2.C (setCounter): remove empty arg from call to Counters::reset
9087 2002-08-11 John Levon <levon@movementarian.org>
9089 * Makefile.am: add WordLangTuple.h
9091 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9093 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9094 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9096 * insets/insettext.C: InsetList changes
9098 * graphics/GraphicsSupport.C (operator()): InsetList changes
9100 * toc.C (getTocList): InsetList changes
9102 * paragraph_pimpl.[Ch]: InsetList changes
9104 * paragraph.[Ch]: InsetList changes
9106 * buffer.C (inset_iterator): InsetList changes
9107 (setParagraph): ditto
9108 * buffer.h (inset_iterator): ditto
9109 * iterators.C (operator++): ditto
9110 * iterators.h: ditto
9112 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9114 * InsetList.[Ch]: new files, most InsetList handling moved out of
9117 * BufferView2.C (removeAutoInsets): InsetList changes
9119 (ChangeInsets): ditto
9121 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9123 * paragraph_pimpl.h (empty): new function
9125 * paragraph.[Ch] (empty): new function
9127 * other files: use the new Paragraph::empty function
9129 2002-08-09 John Levon <levon@movementarian.org>
9131 * lyxtext.h: remove unused refresh_height
9133 2002-08-09 John Levon <levon@movementarian.org>
9140 * paragraph.C: move sgml char escaping out of paragraph
9143 * paragraph.C: remove id setter
9147 * paragraph_pimpl.C: remove dead tex_code_break_column
9149 * bufferview_funcs.C: small cleanup
9151 * lyxfunc.C: remove dead proto
9153 * lyxtext.h: make some stuff private. Remove some dead stuff.
9155 * lyxgluelength.C: make as[LyX]String() readable
9157 2002-08-08 John Levon <levon@movementarian.org>
9162 * ToolbarDefaults.C:
9165 * toc.C: lyxaction cleanup
9167 2002-08-08 John Levon <levon@movementarian.org>
9169 * BufferView2.C: small cleanup
9172 * lyxfind.C: move unnecessary header into the .C
9174 2002-08-08 John Levon <levon@movementarian.org>
9176 * funcrequest.h: just tedious nonsense
9179 * lyx_main.C: cleanups
9182 * vspace.C: remove dead header lyx_main.h
9184 2002-08-07 Angus Leeming <leeming@lyx.org>
9187 * paragraph_pimpl.h:
9188 Forward declare class Counters in paragraph.h by moving the ctrs member
9189 variable into Paragraph::Pimpl.
9190 (counters): new method, returning a reference to pimpl_->ctrs.
9192 * text2.C: ensuing changes.
9194 2002-08-07 John Levon <levon@movementarian.org>
9196 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9198 * BufferView_pimpl.C: announce X selection on double/triple
9201 * lyx_main.C: use correct bool in batch dispatch
9203 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9205 2002-08-07 André Pönitz <poenitz@gmx.net>
9207 * funcrequest.h: new class to wrap a kb_action and its argument
9210 * BufferView_pimpl[Ch]:
9214 * lyxrc.C: subsequent changes
9217 2002-08-07 John Levon <levon@movementarian.org>
9219 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9220 document options change.
9222 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9227 * makefile.am: move counters functionality over from
9228 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9230 2002-08-06 John Levon <levon@movementarian.org>
9232 * WordLangTuple.h: new file for word + language code tuple
9243 * BufferView2.C: use WordLangTuple
9246 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9248 2002-08-06 John Levon <levon@movementarian.org>
9250 * lyx_main.C: fix cmdline batch handling
9252 2002-08-06 André Pönitz <poenitz@gmx.net>
9254 * lyxrc.C: set default for show_banner to true
9256 2002-08-06 John Levon <levon@movementarian.org>
9258 * pspell.C: fix a crash, and allow new aspell to work
9260 2002-08-06 John Levon <levon@movementarian.org>
9263 * kbmap.C: small cleanup
9266 * vspace.C: add const
9268 2002-08-05 John Levon <levon@movementarian.org>
9270 * LyXAction.C: back to tabular-insert
9272 2002-08-04 John Levon <levon@movementarian.org>
9275 * BufferView.C: cosmetic change
9277 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9287 * BufferView2.C: purge all "Lyx" not "LyX" strings
9290 * lyxcursor.C: attempt to add some documentation
9295 * ToolbarDefaults.C:
9296 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9297 merge with LFUN_TABULAR_INSERT
9304 * pspell.C: split up i/pspell implementations into separate
9305 files, many cleanups
9307 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9309 * text2.C: some cleanup
9311 * lyxfunc.C: don't check for isp_command == "none" any more, it
9312 didn't make any sense
9314 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9319 * makefile.am: move counters functionality over
9320 from text2.C/paragraph.[Ch] to counters.[Ch], and
9322 2002-08-02 John Levon <levon@movementarian.org>
9324 * buffer.C: s/lyxconvert/lyx2lyx/
9326 2002-08-02 Angus Leeming <leeming@lyx.org>
9328 * lyxlex.C: revert John's change as it breaks reading of the user
9331 2002-08-02 Angus Leeming <leeming@lyx.org>
9333 * importer.C (Import):
9334 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9335 changes due to LyXView::view() now returning a boost::shared_ptr.
9337 2002-08-02 John Levon <levon@movementarian.org>
9339 * lyxlex.C: small cleanup
9341 2002-08-02 John Levon <levon@movementarian.org>
9343 * text2.C (status): small cleanup, no logic change
9345 2002-08-01 John Levon <levon@movementarian.org>
9348 * buffer.C (writeFile): don't output alerts, caller
9352 * lyx_cb.C: from above
9354 * lyxfunc.C: allow to open non-existent files
9356 2002-07-31 John Levon <levon@movementarian.org>
9358 * lyxserver.C: don't let incidental errors get
9361 2002-07-30 John Levon <levon@movementarian.org>
9363 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9365 2002-07-30 John Levon <levon@movementarian.org>
9368 * lyxserver.C: remove I/O callback too
9370 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9372 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9375 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9377 * many files: strip,frontStrip -> trim,ltrim,rtrim
9379 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9381 * PrinterParams.h: remove extern containsOnly, and include
9382 support/lstrings.h instead.
9384 * LaTeX.C (scanAuxFile): modify because of strip changes
9386 * buffer.C (makeLaTeXFile): ditto
9387 * bufferparams.C (writeFile): ditt
9388 * lyxfont.C (stateText): ditto
9389 * lyxserver.C (read_ready): ditto
9390 * vc-backend.C (scanMaster): ditto
9392 * BufferView_pimpl.h: ws changes
9394 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9396 2002-07-26 André Pönitz <poenitz@gmx.net>
9398 * kb_sequence.C: remove unnedred usings
9400 2002-07-26 Juergen Vigna <jug@sad.it>
9402 * lyxfind.C (LyXReplace): we have to check better if the returned
9403 text is not of theLockingInset()->getLockingInset().
9405 2002-07-25 Juergen Vigna <jug@sad.it>
9407 * lyxfind.C (LyXReplace): don't replace if we don't get the
9410 * undo_funcs.C (createUndo): remove debugging code.
9412 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9414 * buffer.C (parseSingleLyXformat2Token): Use default placement
9415 when reading old floats.
9417 * FloatList.C (FloatList): Change the default placement of figure
9418 and tables to "tbp".
9420 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9422 * MenuBackend.C: using std::max
9424 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9426 * MenuBackend.C (expandToc):
9427 (expandToc2): code moved from xforms menu frontend. It is now
9428 generic and TOCs are transparent to menu frontends.
9430 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9432 * toc.C (getTocList): protect against buf=0
9434 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9435 Menu as first parameter. Now, this calls itself recursively to
9436 expand a whole tree (this will be useful for TOC handling)
9437 (expandFloatInsert): remove 'wide' version of floats
9439 * MenuBackend.h (submenuname): returns the name of the submenu.
9440 (submenu): returns the submenu itself, provided it has been
9441 created by MenuBackend::expand
9443 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9445 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9446 insets which have noFontChange == true. (bug #172)
9448 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9450 * BufferView_pimpl.C: add connection objects and use them...
9453 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9455 * MenuBackend.C (expandLastfiles):
9458 (expandFloatListInsert):
9459 (expandFloatInsert):
9460 (expand): split expand in parts
9462 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9464 * lyx_gui.C: use lyx_gui::exit()
9466 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9468 * LyXAction.C: show the failing pseudo action
9470 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9472 * buffer.C (readFile): Run the lyxconvert script in order to read
9475 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9479 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9481 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9485 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9487 2002-07-22 Herbert Voss <voss@lyx.org>
9490 * lyxlength.[Ch]: add support for the vertical lengths
9492 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9494 * toc.[Ch]: std:: fixes
9496 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9498 * lyxrc.C: do not include lyx_main.h
9500 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9506 * BufferView2.C: include "lyxlex.h"
9509 * bufferparams.h: do not #include "lyxlex.h"
9511 * lyxtextclasslist.C (Add): remove method
9512 (classlist): renamed to classlist_
9514 * paragraph_pimpl.C:
9518 * bufferview_funcs.C:
9523 * toc.C (getTocList): use BufferParams::getLyXTextClass
9525 * toc.C (getTocList): use InsetFloat::addToToc
9527 * toc.[Ch]: new files, containing helper functions to handle table
9530 * lyxfunc.C (dispatch): no need to remove spaces around command
9532 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9533 first command of the sequence; it is not very clever, but I do not
9534 have a better idea, actually
9536 * LyXAction.C (LookupFunc): make sure to remove space at the
9537 beginning and end of the command
9539 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9541 * MenuBackend.C (getMenubar): new method: return the menubar of
9543 (read): treat differently reading of menu and menubar (in
9544 particular, the menubar has no name now)
9545 (Menu::menubar): remove
9547 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9550 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9552 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9553 a bibitem inset in a RTL paragraph.
9555 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9557 * paragraph_pimpl.C: constify
9559 * BufferView_pimpl.C:
9561 * lyxfunc.C: fix dispatch in a nicer way
9563 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9565 * lyxfunc.C (dispatch):
9566 * BufferView_pimpl.C:
9567 * BufferView_pimpl.h:
9569 * BufferView.h: rename Dispatch() to dispatch()
9571 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9573 * lyxlayout.C (Read): honor DependsOn tag
9575 * lyxlayout.[Ch] (depends_on): new method
9577 * version.C.in: update lyx_docversion
9579 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9581 * paragraph.C (validate): remove from here...
9582 * paragraph_pimpl.C (validate): ... and move here
9583 (isTextAt): make it const
9585 * buffer.C (getLists): ws cleanup
9587 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9589 * language.C (read): Use iso8859-1 encoding in latex_lang
9590 (this prevents LyX from crashing when using iso10646-1 encoding).
9592 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9594 * text2.C (toggleInset): if cursor is inside an inset, close the
9595 inset and leave cursor _after_ it
9597 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9599 * lyxfunc.C: move minibuffer completion handling out of here
9601 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9603 * BufferView_pimpl.C:
9604 * LaTeX.C: fix dispatch calls
9606 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9608 * text.C (drawChars): Fix Arabic text rendering.
9610 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9614 * lyxfunc.C: remove message-push/pop
9618 * lyxfunc.C: rationalise some code by removing verboseDispatch
9619 in favour of a bool argument to dispatch()
9621 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9623 * lyx_main.C (init): make sure to read symlinks as absolute paths
9625 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9628 * lyxfunc.C: no need for commandshortcut to be a member
9630 2002-07-15 André Pönitz <poenitz@gmx.net>
9632 * converter.C: add support for $$s (scripts from lib/scripts dir)
9633 * lyx_main.C: white space
9635 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9639 * lyxrc.C: remove second exit confirmation
9641 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9646 * BufferView_pimpl.h:
9647 * BufferView_pimpl.C:
9648 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9650 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9652 * MenuBackend.C (expand): add numeric shortcuts to document menu
9654 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9656 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9658 * lyxfont.C (setLyXFamily):
9665 * buffer.C (asciiParagraph): use ascii_lowercase
9667 2002-07-15 Mike Fabian <mfabian@suse.de>
9669 * lyxlex_pimpl.C (search_kw):
9670 * lyxlex.C (getLongString):
9671 * converter.h (operator<):
9672 * converter.C (operator<):
9673 * buffer.C (parseSingleLyXformat2Token):
9675 * ToolbarDefaults.C (read):
9676 * MenuBackend.C (checkShortcuts):
9678 * LColor.C (getFromGUIName):
9679 (getFromLyXName): use the compare_ascii_no_case instead of
9680 compare_no_case, because in turkish, 'i' is not the lowercase
9681 version of 'I', and thus turkish locale breaks parsing of tags.
9683 2002-07-16 Angus Leeming <leeming@lyx.org>
9685 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9686 now takes a Buffer const & argument.
9688 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9690 * BufferView.C (resize): check there's a buffer to resize
9692 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9694 * lyxfunc.C: remove dead code
9697 * lyxserver.C: use lyx_guii::set_read_callback
9699 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9701 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9702 an inset in a RTL paragraph.
9704 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9706 * lyxfunc.C: repaint after a font size update
9708 2002-07-15 André Pönitz <poenitz@gmx.net>
9710 * lyxlength.C: inBP should be able to return negative values
9712 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9714 * lyxfunc.C: use lyx_gui::update_fonts()
9716 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9718 * lyxfunc.C: use lyx_gui::update_color()
9720 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9726 * lyxrc.C: remove file->new asks for name option, and let
9727 buffer-new take an argument
9729 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9731 * BufferView_pimpl.C: remove unneeded extra repaint()
9733 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9735 * LyXAction.C: allow command-sequence with NoBuffer
9737 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9739 2002-07-10 Angus Leeming <leeming@lyx.org>
9741 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9743 2002-07-09 Angus Leeming <leeming@lyx.org>
9745 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9747 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9749 * lengthcommon.h: whitespace
9751 * lyxfunc.C: update scrollbar after goto paragraph
9753 * lyxtext.h: factor out page break drawing, and fix it so
9754 page break/added space paints as selected nicely
9756 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9758 * BufferView_pimpl.C: add FIXMEs, clean up a little
9760 2002-07-09 André Pönitz <poenitz@gmx.net>
9762 * lyxfont.[Ch]: support for wasy symbols
9764 2002-07-08 André Pönitz <poenitz@gmx.net>
9766 * BufferView_pimpl.C: apply John's patch for #93.
9768 2002-07-05 Angus Leeming <leeming@lyx.org>
9770 * BufferView_pimpl.C (buffer): generate previews if desired.
9772 * LColor.h: add "preview" to the color enum.
9774 * LColor.C (LColor): add a corresponding entry to the items array.
9776 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9779 2002-07-05 Angus Leeming <leeming@lyx.org>
9781 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9782 The body of the code is now in the method that is passed an ostream &
9783 rather than a file name.
9784 Pass an additional only_preamble parameter, useful for the forthcoming
9787 2002-07-03 André Pönitz <poenitz@gmx.net>
9789 * lyxfunc.C: simplify getStatus() a bit for math stuff
9791 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9793 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9795 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9797 * text.C (changeRegionCase): do not change case of all the
9798 document when region ends at paragraph end (bug #461)
9800 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9802 * paragraph.C (startTeXParParams):
9803 (endTeXParParams): add \protect when necessary
9805 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9807 * BufferView_pimpl.C (workAreaExpose): remove warning
9809 2002-06-27 Angus Leeming <leeming@lyx.org>
9811 * Makefile.am: add lyxlayout_ptr_fwd.h.
9813 2002-06-26 André Pönitz <poenitz@gmx.net>
9815 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9817 2002-06-25 Angus Leeming <leeming@lyx.org>
9819 * lyxfunc.C (dispatch): Comment out the call to
9820 grfx::GCache::changeDisplay. The method no longer exists now that the
9821 pixmap generation part of the graphics loader has been moved into
9824 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9826 * text2.C: layout as layout
9828 * text.C: layout as layout
9830 * tabular.C (OldFormatRead): layout as layout
9832 * paragraph_pimpl.C (TeXDeeper): layout as layout
9833 (realizeFont): layout as layout
9835 * paragraph.C (writeFile): layout as layout
9836 (validate): layout as layout
9837 (getFont): layout as layout
9838 (getLabelFont): layout as layout
9839 (getLayoutFont): layout as layout
9840 (breakParagraph): layout as layout
9841 (stripLeadingSpaces): layout as layout
9842 (getEndLabel): layout as layout
9843 (getMaxDepthAfter): layout as layout
9844 (applyLayout): layout as layout
9845 (TeXOnePar): layout as layout
9846 (simpleTeXOnePar): layout as layout
9847 (TeXEnvironment): layout as layout
9848 (layout): layout as layout
9849 (layout): layout as layout
9851 * lyxtextclass.C (compare_name): new functor to work with
9852 shared_ptr, layout as layout
9853 (Read): layout as layout
9854 (hasLayout): layout as layout
9855 (operator): layout as layout
9856 (delete_layout): layout as layout
9857 (defaultLayout): layout as layout
9859 * lyxlayout_ptr_fwd.h: new file
9861 * lyxlayout.C (Read): layout as layout
9863 * lyx_cb.C (MenuInsertLabel): layout as layout
9865 * bufferlist.C (newFile): layout as layout
9867 * buffer.C (readLyXformat2): layout as layout
9868 (parseSingleLyXformat2Token): layout as layout
9869 (insertStringAsLines): layout as layout
9870 (asciiParagraph): layout as layout
9871 (latexParagraphs): layout as layout
9872 (makeLinuxDocFile): layout as layout
9873 (simpleLinuxDocOnePar): layout as layout
9874 (makeDocBookFile): layout as layout
9875 (simpleDocBookOnePar): layout as layout
9876 (getLists): layout as layout
9878 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9880 * CutAndPaste.C (cutSelection): layout as layout
9881 (pasteSelection): layout as layout
9882 (SwitchLayoutsBetweenClasses): layout as layout
9884 * BufferView_pimpl.C (Dispatch): layout as layout
9885 (smartQuote): layout as layout
9887 * BufferView2.C (unlockInset): layout as layout
9889 2002-06-24 André Pönitz <poenitz@gmx.net>
9891 * lyxfunc.C: fix #487
9893 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9897 * lyxfunc.C: remove display_shortcuts, show_banner
9899 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9901 * Buffer_pimpl.C: oops, update on resize
9903 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9910 * BufferView.C: use repaint()
9912 * BufferView_pimpl.h:
9913 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9914 as it's a clearer description. Remove superfluous
9917 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9919 * text.C: fix bug 488. Not ideal, but getting
9920 getWord() to work properly for the insets that
9921 matter is more difficult ...
9923 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9925 * BufferView_pimpl.C:
9928 * lyxfunc.C: remove the six million index lyxfuncs to just
9929 one, and DTRT (bug 458)
9931 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9935 * BufferView_pimpl.h:
9936 * BufferView_pimpl.C: clean up resize() stuff,
9937 and unnecessary updateScreen()s
9939 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9943 * BufferView_pimpl.h:
9944 * BufferView_pimpl.C:
9947 * minibuffer.C: remove focus management of workarea,
9948 not needed. Use screen's greyOut()
9950 2002-06-17 Herbert Voss <voss@lyx.org>
9952 * converter.C: (convert) do not post a message, when converting
9953 fails, let the calling function decide what to do in this case
9955 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9957 * lyxfunc.C: tidy up a little
9959 2002-06-16 <alstrup@diku.dk>
9961 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9962 Got rid of FORMS_H_LOCATION include. Now we are
9965 2002-06-15 LyX Development team <lyx@rilke>
9967 * buffer.[Ch] (sgmlOpenTag):
9968 (sgmlCloseTag): Added support for avoiding pernicious mixed
9969 content. Return number of lines written.
9972 (makeDocBookFile): Fixed calls to sgml*Tag.
9973 Simple white space clean.
9975 (simpleDocBookOnePar): Simple white space clean.
9977 * tabular.[Ch] (docBook): Renamed to docbook and got another
9978 argument to related with the pernicious mixed content.
9980 (docbookRow): Fixed calls for docbook inset method.
9982 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9984 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9985 so it's X11 independent.
9989 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9991 2002-06-15 Lyx Development team <lyx@electronia>
9993 * intl.h: Renamed getTrans to getTransManager.
9995 2002-06-14 Angus Leeming <leeming@lyx.org>
9997 * Makefile.am: nuke forgotten stl_string_fwd.h.
9999 2002-06-12 Angus Leeming <leeming@lyx.org>
10001 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10003 2002-06-13 Angus Leeming <leeming@lyx.org>
10006 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10008 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10010 * kbmap.C (getiso): add support for cyrillic and greek
10012 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10016 * BufferView_pimpl.h:
10017 * BufferView_pimpl.C: move bogus scrolling logic
10020 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10023 * BufferView_pimpl.C: view->resize() change
10025 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10027 * BufferView_pimpl.C: topCursorVisible
10030 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10034 * lyx_gui.C: move to frontends/
10038 * lyx_main.C: changes from above
10040 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10047 * lyx_main.C: minor tidy
10049 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10051 * BufferView_pimpl.h:
10052 * BufferView_pimpl.C:
10054 * BufferView.C: make painter() const,
10057 * BufferView2.C: use screen() accessor
10060 * lyx_main.C: some minor cleanup
10062 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10064 * BufferView_pimpl.h:
10065 * BufferView_pimpl.C: remove enter/leaveView,
10068 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10073 * BufferView_pimpl.h:
10074 * BufferView_pimpl.C: only construct screen once,
10077 * lyxrc.C: remove pointless comment
10079 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10082 * BufferView.C: remove active() and belowMouse()
10084 * BufferView_pimpl.h:
10085 * BufferView_pimpl.C: use workarea() not workarea_,
10086 and make it use a scoped_ptr instead
10088 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10090 * lyx_gui.C: add debug message on BadWindow
10092 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10094 * sp_spell.C: fdopen is not part of the C++ standard.
10096 * paragraph.C (InsetIterator): use >= instead of ==
10098 2002-06-07 Angus Leeming <leeming@lyx.org>
10100 Fixes needed to compile with Compaq cxx 6.5.
10101 * BufferView_pimpl.C:
10108 * lyxtextclasslist.C:
10113 all c-library variables have been moved into namespace std. Wrap
10114 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10119 Add a using std::abs declaration.
10121 * kbmap.h (modifier_pair):
10122 * paragraph.h (InsetTable, InsetList):
10123 * lyxfont.h (FontBits):
10124 type definition made public.
10126 * bufferlist.C (emergencyWriteAll): the compiler complains that
10127 there is more than one possible lyx::class_fun template to choose from.
10128 I re-named the void specialisation as lyx::void_class_fun.
10130 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10132 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10133 the compiler is is unable to find tostr in write_attribute.
10135 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10137 * buffer.C (sgmlError): hide #warning
10139 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10141 * xtl/*: get rid of xtl, which is not in use anyway
10143 * LyXAction.C (init):
10144 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10145 were unimplemented xtl experimentation
10147 2002-06-04 André Pönitz <poenitz@gmx.net>
10149 * lyxfunc.C: disable array operation on simple formulae
10151 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10153 * converter.C: constify a bit
10155 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10157 * lyx_gui.C: check xforms version correctly
10159 2002-04-30 Herbert Voss <voss@lyx.org>
10161 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10164 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10166 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10167 attempt to register it with a VCS)
10169 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10171 * lyx_main.C (init): honor variables LYX_DIR_13x and
10174 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10178 * lyx_main.C: fix a crash on bad command line,
10179 and give a useful exit status on error
10181 * lyxfunc.C (doImport): allow -i lyx to work
10183 2002-03-30 André Pönitz <poenitz@gmx.net>
10185 * lyxfunc.C: mathed font changes
10187 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10202 * trans_mgr.h: srcdocs, and some minor cleanups
10204 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10206 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10207 call getFont all the time)
10209 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10211 * switch from SigC signals to boost::signals
10213 2002-05-29 André Pönitz <poenitz@gmx.net>
10215 * paragraph_pimpl.C (getChar): don't call size() too often...
10217 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10219 * paragraph_pimpl.C (insertChar): do not try to update tables when
10220 appending (pos == size())
10222 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10223 in order to reduce drastically the number of comparisons needed to
10224 parse a large document
10226 2002-05-29 André Pönitz <poenitz@gmx.net>
10232 * textclasslist.[Ch]:
10233 * sp_ispell.h: whitespace change
10235 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10237 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10238 lyxaction directly now.
10240 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10244 * lyxvc.C: remove unused headers
10246 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10253 * undo_funcs.C: some cleanups. Use shared_ptr
10254 and a template for the undo stacks.
10256 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10258 * BufferView_pimpl.h:
10259 * BufferView_pimpl.C:
10266 * text2.C: use key_state/mouse_state
10268 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10270 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10273 * chset.C: change include order
10274 (loadFile): use boost regex and get rid of LRegex and LSubstring
10276 * Makefile.am (BOOST_LIBS): new variable
10277 (lyx_LDADD): use it
10279 * LaTeX.C: change include order.
10280 (scanAuxFile): use boost regex and get rid of LRegex and
10284 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10289 * FontInfo.C: moved to frontends/xforms/
10292 * FontLoader.C: moved into frontends for GUIIzation
10297 * lyxfunc.C: changes from above
10299 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10301 * LColor.C: remove spurious X include
10303 * BufferView_pimpl.C:
10308 * text2.C: move font metrics to frontends/
10310 2002-05-24 Juergen Vigna <jug@sad.it>
10312 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10313 setting the undo_cursor.
10315 * ParagraphParameters.h: include local includes first.
10317 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10319 * BufferView_pimpl.C:
10320 * BufferView_pimpl.h:
10324 * screen.C: move WorkArea into frontends/
10330 * BufferView2.C: move LyXScreen into frontends/
10334 * lyx_gui.C: move lyxlookup into frontends/xforms/
10336 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10339 * BufferView_pimpl.C:
10349 * bufferview_funcs.C:
10362 * vc-backend.C: move LyX/XFormsView into frontends/
10364 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10376 * text2.C: move Painter to frontends/
10378 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10380 * buffer.C: comment out some some code that depend upon lyx_format
10383 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10384 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10386 * buffer.h (NO_COMPABILITY): turn off compability
10388 * ColorHandler.C: include scoped_array.hpp
10390 * font.C: Use more specific smart_ptr header.
10393 * ShareContainer.h: ditto
10394 * lyx_main.h: ditto
10396 * FontInfo.h: ditto
10397 * BufferView_pimpl.h: ditto
10398 * ColorHandler.h: ditto
10400 * kbmap.C (defkey): change call to shared_ptr::reset
10402 2002-05-21 Juergen Vigna <jug@sad.it>
10404 * buffer.C (insertErtContents): fix to insert ert asis if it is
10405 non empty. Skip it completely if it contains only whitespaces.
10407 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10409 * BufferView_pimpl.C:
10410 * BufferView2.C: clear selection on paste (bug 393)
10412 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10414 * DepTable.C: include ctime
10416 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10418 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10420 2002-05-14 Juergen Vigna <jug@sad.it>
10422 * text.C (breakParagraph): fixed function to honor the keepempty
10423 layout in the right maner and also to permit the right breaking
10424 algorithm on empty or non empyt keepempty paragraphs.
10426 * paragraph.C (breakParagraph): we have to check also if the par
10427 is really empty (!size()) for isempty otherwise we do the wrong
10430 2002-05-10 Juergen Vigna <jug@sad.it>
10432 * buffer.[Ch] : The following are only changes to the ert
10433 compatibility read reading old LaTeX layout and font stuff and
10434 convert it to ERTInsets.
10436 * buffer.h: added isErtInset().
10438 * buffer.C (struct ErtComp): add a fromlayout bool to check
10439 if we're inside a LaTeX layout.
10440 (isErtInset): new helper function.
10441 (insertErtContents): look for other ert insets before this one
10442 and insert the contents there, so that we don't have subsequent
10443 ERT insets with nothing between them. This way we create only one
10444 inset with multiple paragraphs. Also check if we don't insert only
10445 spaces ' ' as they are ignored anyway afterwards in the .tex file
10446 so if we have only spaces we will ignore this latex part in the
10448 (parseSingleLyXformat2Token \\layout): better compatibility when
10449 reading layout-latex stuff.
10450 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10452 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10453 stuff after reading the inset only get the information back from
10456 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10458 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10460 * LaTeXFeatures.C (getBabelOptions): New method.
10462 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10464 * BufferView_pimpl.C (Dispatch): work around missing argument for
10467 2002-05-08 Juergen Vigna <jug@sad.it>
10469 * text.C (leftMargin): handle paragraph leftindent.
10471 * paragraph.C (writeFile): write the new \\leftindent tag.
10472 (validate): handle leftindent code.
10473 (TeXEnvironment): handle paragraphleftindent code again.
10475 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10477 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10478 for paragrap_extra indent code and new token \\leftindent.
10479 (latexParagraphs): handle the leftindent as environment.
10481 * ParameterStruct.h: added leftindent support.
10483 * ParagraphParameters.C (leftIndent): added support functions for
10484 the paragraph left indent.
10486 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10489 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10491 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10494 * text.C (computeBidiTables): No bidi in insetERT.
10496 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10499 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10501 * version.C.in: pre 5
10503 2002-05-02 José Matos <jamatos@fep.up.pt>
10504 * buffer.C (makeDocBookFile): white space changes, add newline to
10506 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10508 * tabular.C (docBook): fix typo.
10510 2002-05-03 Juergen Vigna <jug@sad.it>
10512 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10513 change in LyXText as we can not be sure it was not freed.
10514 (drawOneRow): remove unused code.
10516 * text.C (drawInset): redo the calculation of the need_break_row as
10517 it could have a row which was already freed.
10518 (draw): look at the return value of drawInset and return false if
10519 it also returned false.
10520 (paintRowText): look at the return value of draw and return false if
10521 it also returned false.
10523 * lyxtext.h: added bool return type to drawInset() and draw() so that
10524 if we have a change in the row so that the rowbreak has to be redone
10525 we abort drawing as it will be called again.
10527 2002-05-02 Juergen Vigna <jug@sad.it>
10529 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10530 a change in the maintext also if we're inside an inset.
10531 (Dispatch): set the cursor again after a break line and after the
10532 screen has been updated as it could be we're in a different row.
10534 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10535 to set the cursor behind the pargraph with > size().
10536 (setCursor): check also for the same paragraph when checking where
10537 to put the cursor if we have a NFR inset.
10539 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10540 parts of layout read further up as it still was in the wrong
10543 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10545 * screen.C (drawFromTo): change sine fullRebreak always return
10548 * buffer.C (parseSingleLyXformat2Token): reindent some
10550 * BufferView_pimpl.C (update): change since fullRebreak always
10552 (Dispatch): git rid of the last hardcoded "Standard"s.
10554 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10556 * text2.[Ch] (fullRebreak): make it return void now that we always
10559 2002-04-30 Juergen Vigna <jug@sad.it>
10561 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10562 ert compatibility check for "latex" layout.
10564 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10566 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10567 minipages: use col% instead of p%, and also use the current font.
10568 (makeLaTeXFile): Fix use babel condition.
10569 (parseSingleLyXformat2Token): Correct font when reading old floats.
10571 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10573 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10574 inserting list of floats.
10576 2002-04-25 Herbert Voss <voss@lyx.org>
10578 * MenuBackend.C (expand): don't add the graphics extensions to the
10581 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10583 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10584 non-existing layout, do not complain if it was the default layout
10585 of the original class (bug #342)
10587 2002-04-24 Juergen Vigna <jug@sad.it>
10589 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10590 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10592 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10594 * buffer.C (getBibkeyList): If using \bibliography, return the
10595 option field with the reference itself. Enables us to provide natbib
10596 support when using \bibliography.
10598 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10600 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10602 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10603 natbib is provided by the LaTeX class.
10605 2002-04-23 Juergen Vigna <jug@sad.it>
10607 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10610 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10612 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10614 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10616 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10617 ensuremath around textordmasculine, textordfeminine and
10620 2002-04-19 Juergen Vigna <jug@sad.it>
10622 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10623 reinitializing the buffer otherwise row-dimensions may be wrong.
10624 (update): reset also the selection cursors if they do exits otherwise
10625 their x/y positions may be wrong.
10627 * text2.C (cursorDown): don't enter the inset if we came from a row
10628 above and are one row over the inset.
10630 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10631 really leaving an inset.
10633 2002-04-18 Juergen Vigna <jug@sad.it>
10635 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10636 of the selected paragraph does not have the selected layout also if
10639 * text2.C (setLayout): fixed bug which did not change last selected
10642 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10643 changed the read and substituted \\end_float with \\end_inset!
10645 * BufferView_pimpl.C (cursorPrevious):
10646 (cursorNext): fixed to make it work with rows heigher than the work
10647 area without moving the cursor only the draw of the row.
10648 (workAreaMotionNotify): fix jumping over high rows.
10650 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10652 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10655 2002-04-16 Juergen Vigna <jug@sad.it>
10657 * text2.C (setCursor): set also the irow().
10658 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10660 (cursorDown): support for locking an inset if the x_fix value goes
10661 inside it. That way I can transverse insets too with cursor up/down.
10663 * lyxrow.h: added irow helper function same as other (i) functions.
10665 * BufferView_pimpl.C (cursorPrevious):
10666 (cursorNext): fixed for insets!
10668 2002-04-15 Juergen Vigna <jug@sad.it>
10670 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10671 position otherwise it is wrong in some cases.
10673 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10674 inside the inset before the call.
10676 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10678 * buffer.[Ch] (getBibkeyList): make it const.
10680 2002-04-12 Juergen Vigna <jug@sad.it>
10682 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10684 * text2.C (getCursorX): new helper function
10685 (setCursor): compute also ix_
10686 (setCursorFromCoordinates): set also ix.
10688 * lyxcursor.h: added ix_ and helper functions.
10690 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10692 * buffer.C (insertStringAsLines): dont break paragraph if the this
10693 paragraph is inside an inset which does not permit it!
10695 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10696 also with no chars on this paragraph.
10697 (paintRowText): only paint stuff if it's inside the workarea!
10699 * paragraph.C (breakParagraph): honor keepempty flag and break the
10700 paragraph always below not above.
10702 * BufferView2.C (unlockInset): update the paragraph layout on inset
10703 unlock as we changed paragraph in such a case.
10705 * lyxfind.C (LyXFind): clear the former selection if not found!
10707 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10708 again called in insertChar().
10710 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10711 an inset which uses the whole row!
10712 (rightMargin): ditto.
10713 (insertChar): force a rebreak if we inserted an inset!
10715 2002-03-28 Herbert Voss <voss@lyx.org>
10717 * lyxlength.[Ch]: add inBP() to get the right PS-point
10718 units (BigPoint). With inPixels we have rounding errors
10720 2002-04-11 Juergen Vigna <jug@sad.it>
10722 * text2.C (setCursorFromCoordinates): set iy to the right value.
10723 (setCursor): add check if row->previous exists!
10725 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10726 an old float_type as this was the case in the old code!
10728 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10730 * BufferView2.C (showLockedInsetCursor): use iy
10731 (fitLockedInsetCursor): ditto
10733 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10734 locked insets as there we have the right value now.
10736 * lyxcursor.C: added iy_ variable and iy functions to set to the
10737 baseline of cursor-y of the locked inset.
10739 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10740 (setCursor): fixed for insets which need a full row.
10742 * text.C (rowLastPrintable): don't ignore the last space when before
10743 an inset which needs a full row.
10744 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10745 as last character of a row when before a inset which needs a full row.
10747 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10749 * version.C.in: update date
10751 * text2.C (fullRebreak): try to always return true and see what
10754 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10756 * MenuBackend.C (expand): use Floating::listName
10758 * FloatList.C (FloatList): add listName argument to the built-in
10761 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10762 text associated with the float.
10764 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10766 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10768 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10770 * ShareContainer.h: add a couple of missing typenames.
10772 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10774 * lyxrc.C (getDescription): use _() correctly rather than N_().
10776 2002-03-28 Herbert Voss <voss@lyx.org>
10778 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10779 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10781 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10783 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10784 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10786 2002-03-29 Juergen Vigna <jug@sad.it>
10788 * lyxfunc.C (dispatch): add a missing fitCursor call.
10790 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10791 it was scrolled by a cursor move, so return the bool status.
10793 * BufferView.C (fitCursor): return the bool flag also to the outside
10794 world as this is needed.
10796 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10798 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10799 call the edit() as it is not needed (and wrong) IMO.
10800 (workAreaButtonPress): set the screen_first variable before evt.
10801 unlock the inset as this may change screen_first and then we have
10802 a wrong y position for the click!
10804 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10806 * MenuBackend.C (expand): another translation that I missed
10808 2002-03-28 Juergen Vigna <jug@sad.it>
10810 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10812 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10814 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10816 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10818 * MenuBackend.C (expand): fix export/view/update when there is no
10821 2002-03-27 Herbert Voss <voss@lyx.org>
10823 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10826 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10828 * bufferview_funcs.C (currentState): only show paragraph number
10829 for is DEVEL_VERSION is set.
10831 * lyxfunc.C (dispatch): put warning in INFO channel
10833 * MenuBackend.C (expand): translate the name of floats
10835 * FloatList.C (FloatList): mark the float names for translation
10837 * converter.C (convert): use LibScriptSearch
10839 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10841 * MenuBackend.C (defaults): fix default menu (we might as well get
10844 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10846 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10849 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10851 * lyxvc.C: reorder includes.
10853 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10855 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10858 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10860 * CutAndPaste.C: change layouts earlier on paste
10861 to avoid crashing when calling getFont()
10863 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10865 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10868 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10870 * WorkArea.C: remove 'Pending' debug message.
10872 * most files: ws cleanup
10874 * buffer.[Ch]: ws changes
10876 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10878 2002-03-21 Juergen Vigna <jug@sad.it>
10880 * tabular.C (SetMultiColumn): collapse also the contents of the
10881 cells and set the last border right. Added a Buffer const * param.
10883 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10885 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10888 2002-03-19 Juergen Vigna <jug@sad.it>
10890 * text2.C (clearSelection): reset also xsel_cache.
10892 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10893 where it needs to be called (John tells us to do so too :)
10894 (selectionLost): reset sel_cache.
10896 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10898 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10900 * text2.C (setCursorIntern): put debuging code in INSETS channel
10902 2002-03-19 André Pönitz <poenitz@gmx.net>
10904 * lyxfunc.C: tiny whitespace change
10906 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10908 * ToolbarDefaults.C (init):
10909 * LyXAction.C (init):
10911 * BufferView_pimpl.C (Dispatch):
10912 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10914 2002-03-19 Allan Rae <rae@lyx.org>
10916 * exporter.C (Export): removeAutoInsets before doing anything else.
10917 While I've just introduced a dependency on BufferView this really is
10918 the best place to clean the buffer otherwise you need to cleanup in
10919 a dozen places before calling export or cleanup in a dozen functions
10922 * converter.C (runLaTeX):
10923 (scanLog): Better handling of removeAutoInsets and screen updates.
10925 * lyxfunc.C (dispatch): small whitespace changes
10927 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10929 * WorkArea.C (C_WorkAreaEvent): return a value.
10930 (event_cb): return 1 if we handled the event, 0 otherwise.
10932 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10934 2002-03-18 Juergen Vigna <jug@sad.it>
10936 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10937 (GetAdditionalWidth): ditto.
10938 (RightLine): ditto.
10941 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10942 inset if we're there actually (probably not used right now but this
10943 is the direction to go for unifying code).
10944 (paste): disable code to clear the selection.
10946 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10947 inside an InsetText and move the check further up as it is in the
10950 * text2.C (pasteSelection): set a selection over the pasted text.
10952 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10954 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10955 and libgraphics to build on Cygwin.
10957 2002-03-15 Juergen Vigna <jug@sad.it>
10959 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10960 inserting an Inset into the paragraph. I know this is not the best
10961 fix but we already use current_view in CutAndPaste so we will remove
10962 all of it's using at the same time.
10964 * buffer.C (sgmlError): deactivated function till it is rewritten in
10965 the right mode, now it can create problems.
10967 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10968 before accessing it.
10970 2002-03-14 Juergen Vigna <jug@sad.it>
10972 * undo_funcs.C (textHandleUndo): do the right thing when updating
10973 the inset after the undo/redo.
10975 * text2.C (setCursor): just some testcode for #44 not ready yet.
10977 * undo_funcs.C (textHandleUndo): set the next() and previous()
10978 pointers of the paragraph to 0 before deleting otherwise we have
10979 problems with the Paragraph::[destructor].
10981 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10982 on a paragraph insertion.
10984 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10986 * buffer.C (asciiParagraph): use += operator for char append to
10989 * paragraph.C (getFontSettings): compare >= not just >
10990 (highestFontInRange): ditto
10993 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10995 * paragraph.C: change several algorithm to be more appripriate for
10996 the problem domain. This is lookip in FontList and in the InsetList.
10998 2002-03-13 André Pönitz <poenitz@gmx.net>
11001 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11003 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11008 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11010 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11012 * Painter.C (display): anon helper function, adjust code for this
11014 (pixmap): remove function.
11016 * Painter.h: remove private display variable.
11018 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11020 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11022 * WorkArea.[Ch]: remove figinset_canvas cruft.
11024 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11026 * lyxtextclass.C (operator): add one item cache optimization.
11028 * bufferlist.h: doxy changes
11030 * bufferlist.C: ws changes
11032 * DepTable.[Ch] (ext_exist): place const in the right spot.
11034 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11036 (workAreaExpose): call resizeInsets when the with BufferView changes.
11037 (Dispatch): adjust for protectedBlank removal
11038 (specialChar): call updateInset if the insert went ok.
11040 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11041 specialChar instead.
11043 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11045 * BufferView.h: doxy change
11047 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11049 * lyxtextclass.C (operator[]): remove non-const version
11050 (defaultLayout): remove non-const version
11052 2002-03-12 Juergen Vigna <jug@sad.it>
11054 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11055 did resize the LyXText too.
11057 * buffer.C (readLyXformat2): set layout information on newly allocated
11060 * tabular.C (OldFormatRead): set layout information on the paragraph.
11062 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11064 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11066 2002-03-11 Juergen Vigna <jug@sad.it>
11068 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11070 (resizeCurrentBuffer): force also the insets to resize themselfes.
11071 (moveCursorUpdate): fixed up for InsetText.
11073 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11076 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11077 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11078 value of Dialogs::tooltipsEnabled().
11079 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11081 2002-03-08 Juergen Vigna <jug@sad.it>
11083 * BufferView_pimpl.C (updateInset): update inset inside inset also
11084 if it isn't inside theLockingInset().
11086 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11088 * buffer.C (asciiParagraph): redo some of the word and line length
11090 (getLists): look for Caption instead of caption.
11092 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11094 * buffer.C (Buffer): initialize niceFile to true
11096 (makeLinuxDocFile):
11097 (makeDocBookFile): make sure niceFile is true on exit
11099 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11101 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11103 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11105 * LyXSendto.C: remove.
11106 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11107 * lyx_gui.C: remove now-redundant comment.
11108 * ColorHandler.h: remove forward declaration of class WorkArea.
11109 * lyxfunc.C: remove #include "WorkArea.h".
11111 2002-03-07 Juergen Vigna <jug@sad.it>
11113 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11114 got moved away with the DEPM and also set the inset_owner always
11115 right which before could have been omitted.
11117 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11119 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11120 wanted layout is not found.
11122 2002-03-07 Juergen Vigna <jug@sad.it>
11124 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11126 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11128 * paragraph.C (breakParagraph): use default layout not layout of
11130 (Paragraph): clear ParagraphParameters.
11132 2002-03-06 Juergen Vigna <jug@sad.it>
11134 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11135 otherwise it would not be a valid lenght. Fixed a special case in
11136 the minipage compatibility read where we end the document with a
11139 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11140 was set as it could be 0 for InsetTexts first entry.
11142 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11144 * paragraph.C (writeFile): if layout is empty write out
11145 defaultLayoutName().
11147 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11148 file without named layout we set layout to defaultLayoutName().
11150 2002-03-06 Juergen Vigna <jug@sad.it>
11152 * CutAndPaste.C (copySelection): set layout for new paragraph.
11154 * text.C (prepareToPrint): leave ERT inset left aligned
11155 (leftMargin): don't indent paragraphs inside ERT insets
11157 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11159 * paragraph.C (breakParagraph): dont call clear do the work manually
11161 * paragraph.[Ch] (clear): remove function
11163 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11165 * paragraph.C (Paragraph): dont call clear, the work has already
11168 * lyxtextclass.C (operator): assert if n is empty
11170 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11171 work manually instead.
11173 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11175 * BufferView_pimpl.C: protect selectionLost against text == 0
11177 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11179 * text.C (breakParagraph): fix a setting layout to '0' problem.
11181 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11183 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11184 final location of file, for the included files, and graphics.
11186 2002-03-05 Juergen Vigna <jug@sad.it>
11188 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11190 2002-03-04 Juergen Vigna <jug@sad.it>
11192 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11194 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11195 last column of multicolumn cells.
11196 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11198 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11200 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11201 file if it doesn't go to a temporary file.
11203 * buffer.C (sgmlOpenTag):
11204 (sgmlCloseTag): remove extra newline insertion.
11206 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11208 * text.C (getRowNearY): comment out debug msg
11210 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11212 * text2.C: first -> first_y
11214 * text.C (getRowNearY): add some attemts at a possible
11215 optimization, not working.
11217 * tabular.[Ch]: add BufferParams to several function so that newly
11218 created paragraph can be initialized to he default layotu for the
11221 * tabular-old.C (ReadOld): add buf->params to call of Init
11223 * screen.C: rename text->first to text->first_y
11225 * paragraph.C (breakParagraph): always set layout in the broken
11228 * lyxtextclass.C (Read): remove lowercase
11231 (delete_layout): ditto
11233 * lyxtext.h: rename first -> first_y
11235 * lyxlayout.C (Read): remove lowercase
11238 (obsoleted_by): ditto
11240 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11242 * buffer.C (insertErtContents): add params are to InsetERT
11243 (parseSingleLyXformat2Token): add code to check if a paragraphs
11244 layout really exist.
11245 (parseSingleLyXformat2Token): add params to several inset
11247 (asciiParagraph): remove lowercase, do the layout comparisons with
11250 * BufferView_pimpl.C (cursorNext): first -> first_y
11251 (resizeCurrentBuffer): first -> first_y
11252 (updateScrollbar): first -> first_y
11253 (scrollCB): first -> first_y
11254 (workAreaMotionNotify): first -> first_y
11255 (workAreaButtonPress): first -> first_y
11256 (checkInsetHit): first -> first_y
11257 (cursorPrevious): first -> first_y
11258 (cursorNext): first -> first_y
11259 (Dispatch): add buffer_->params to severl inset contructors
11261 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11263 * lyxlayout.C (Read): remove some debug info that I forgot.
11265 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11266 clean up the code slightly.
11267 (makeLinuxDocFile): ditto
11268 (makeDocBookFile): ditto
11270 * text2.C: layout as string
11272 * text.C: layout as string
11274 * paragraph_pimpl.C: layout as string
11276 * paragraph.[Ch]: layout as string
11278 * lyxtextclasslist.[Ch]: layout as string
11280 * lyxtextclass.[Ch]: layout as string
11282 * lyxtext.h: layout as string
11284 * lyxlayout.[Ch]: layout as string
11286 * lyx_cb.C: layout as string
11288 * bufferview_funcs.C: layout as string
11290 * bufferparams.C: layout as string
11292 * buffer.C: layout as string
11294 * LyXView.[Ch]: layout as string
11296 * LaTeXFeatures.[Ch]: layout as string
11298 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11300 * BufferView_pimpl.C: change current_layout to string, remove
11305 (workAreaButtonRelease): layout as string
11307 * BufferView2.C (unlockInset): adjust
11309 * vspace.C (asLatexCommand): use an explict temp variable.
11311 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11313 * Makefile.am: use FRONTEND_*
11315 2002-03-01 Juergen Vigna <jug@sad.it>
11317 * tabular.C (SetWidthOfMulticolCell): changed to something better
11318 I hope but still work in progress.
11319 (recalculateMulticolumnsOfColumn): renamed function from
11320 recalculateMulticolCells as it is more appropriate now.
11321 (SetWidthOfCell): calculate multicols better.
11323 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11325 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11327 * lyxfunc.C (processKeySym): print sequence also if it is
11328 `deleted' (complete)
11330 * kbsequence.C (print): print sequence even if it is deleted
11331 (complete would be a better word, actually).
11333 * lyxfunc.C (dispatch): print complete options after a prefix key
11335 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11337 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11339 * text2.C (setCharFont): eliminate setCharFont code duplication.
11341 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11343 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11344 LFUN_TABULAR_FEATURE (bug #177)
11346 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11348 * Makefile.am: remove figure.h
11350 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11352 * Bufferview_pimpl.C:
11364 * text2.C: remove #include "lyx_gui_misc.h".
11366 * LaTeX.C: added #include <cstdio>
11368 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11370 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11371 that the paragraph following this one can have.
11373 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11375 * vspace.C (asLatexCommand): fix bogus gcc warning
11377 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11379 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11381 * text2.C (setLayout): get rid of redundant code
11383 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11385 * text2.C (incDepth): make sure depth cannot be increased beyond
11388 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11390 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11391 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11393 * PainterBase.h (image):
11394 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11395 a LyXImage const *.
11397 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11401 * BufferView_pimpl.C:
11402 * BufferView_pimpl.h:
11422 * sp_spell.C: remove fig inset, and the crap house of
11423 cards that follows it
11425 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11430 * os2_errortable.h:
11431 * nt_defines.h: move .h into support/
11433 * vms_defines.h: remove
11435 * WorkArea.C: add space in debug output
11439 * buffer.C: add WITH_WARNINGS
11443 * bufferlist.C: s/retrive/retrieve/, add docs
11452 * chset.C: add docs
11454 * lyxgui.C: add ID to X error handler
11456 * lyxtestclass.c: fix typo
11458 2002-02-26 Juergen Vigna <jug@sad.it>
11460 * tabular_funcs.C (write_attribute): changed so that some default
11461 attributes are not written at all.
11462 (getTokenValue): set default values before trying to read the
11463 value so we have the return value always set as default if we don't
11464 find the token we search for.
11466 * tabular.C (Write): write bools as bools not as strings!
11468 2002-02-22 Juergen Vigna <jug@sad.it>
11470 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11471 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11473 * text.C (leftMargin): don't add an indent for paragraphs inside
11474 tabular cells (fix #208).
11476 2002-02-21 José Matos <jamatos@fep.up.pt>
11478 * tabular.C (docBook): fixed support for long tables.
11480 2002-02-20 Juergen Vigna <jug@sad.it>
11482 * text2.C (getFont): get the drawing font of the Inset if this
11483 paragraph is inside an inset (only important for InsetERT for now).
11485 * buffer.C (insertErtContents): use new lanugage params in ERT
11488 * CutAndPaste.C: commenting out seemingly uneeded code.
11490 2002-02-19 Allan Rae <rae@lyx.org>
11492 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11493 Iterators might be simple to use but they also get invalidated.
11494 (removeAutoInsets): renamed saved cursor tracking variables and added
11495 some comments to clarify what everything does.
11497 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11504 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11505 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11508 * vc-backend.h: remove #include "support/syscall.h"
11512 * converter.C: rearrange #includes in Lars' approved fashion.
11514 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11515 forward declare class Timeout in the header file.
11517 * XFormsView.C: changes due to the above.
11519 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11520 similar to LyXView.
11522 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11523 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11525 2002-02-18 José Matos <jamatos@fep.up.pt>
11527 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11530 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11532 * a lot of small ws changes
11533 * add a lot of using std::XXX
11534 * use std construcs some places where approp.
11535 * use some exisint stuff from lyxfunctional where approp.
11536 * Make file changes to use partial linking (lets test this now...)
11538 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11542 remove #include "support/syscontr.h" as it's redundant. Always has been.
11550 change Systemcalls::System to Systemcalls::Wait and
11551 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11552 No change of functionality, just reflects the stripped down Systemcalls
11555 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11557 * debug.[Ch]: add a GRAPHICS type to the enum.
11559 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11561 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11563 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11566 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11568 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11569 match the changes below.
11571 * text2.C (toggleInset): if there is not editable inset at cursor
11572 position, try to see if cursor is _inside_ a collapsable inset
11575 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11577 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11578 document menu has a nice checkbox
11580 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11582 * lyxlength.C (asLatexString): change PW to output as percent of
11585 * lengthcommon.C: change '%' to 't%'
11587 * lyxfunc.C (dispatch): a few comments from Martin
11589 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11593 * BufferView_pimpl.h:
11594 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11597 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11599 * vspace.C (inPixels): fix compiler warning
11601 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11603 * lyxfunc.C (getStatus): fix status message for disabled commands.
11605 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11607 * BufferView_pimpl.C: fix crash on close buffer
11608 during selection (#227)
11610 2002-01-27 Herbert Voss <voss@lyx.org>
11612 * buffer.C: link old Figure to new graphic inset
11614 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11616 * FontLoader.C (getFontinfo): Change the latex font names in order
11617 to match the names of type1inst.
11619 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11621 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11623 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11624 (extchanged): ditto
11626 (remove_files_with_extension): ditto
11627 (remove_file): ditto
11630 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11631 document is smaller than the work area height. Do not initialize
11632 static variables to 0.
11634 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11636 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11638 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11639 LFUN_LAYOUT_PARAGRAPHS.
11641 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11642 tabular. It is possible to provide a possible cell, which will
11643 typically be the actcell from the corresponding insettabular
11645 * lyxfunc.C (getStatus): small cleanup; disable
11646 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11649 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11651 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11653 * paragraph.C (startTeXParParams):
11654 (endTeXParParams): new methods. The LaTeX code to
11655 start/end paragraph formatting
11656 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11657 empty (fixes bug #200)
11659 * vspace.C (inPixels): adapt to the change below
11660 (inPixels): [later] more cleanups (remove unused variables)
11662 * lyxlength.C (inPixels): change to use a width and a height as
11665 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11667 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11668 Replaced with \paperwidth
11670 * DepTable.C (insert): add std:: qualifier
11672 2002-01-18 Allan Rae <rae@lyx.org>
11674 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11677 * text.C (drawInset): Turned out I didn't know enough about how
11678 rebreaking worked. This fixes most of the redraw problems. I see
11679 an occasional cursor trail when a line is broken now and the cursor
11680 placement can seem out by a few pixels also after a rebreak.
11682 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11684 * buffer.C (parseSingleLyXformat2Token): update because minipage
11685 width is now a LyXLength
11687 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11689 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11692 2002-01-17 Juergen Vigna <jug@sad.it>
11694 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11696 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11697 is set correctly and the inset is updated correctly.
11699 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11701 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11702 the beginning of the loop.
11704 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11706 * lyxrc.C: improve help for use_scalable_fonts
11708 2002-01-17 Allan Rae <rae@lyx.org>
11710 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11712 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11714 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11715 make sure to set their inset_owner to the right value (bug #171)
11717 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11720 * DepTable.C: Implement mtime checking to reduce time spent doing
11723 2002-01-16 Juergen Vigna <jug@sad.it>
11725 * tabular.C (GetAdditionalHeight): one of error fixed.
11727 * lyxrc.C (output): small fix in writing use_pspell.
11729 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11731 * sp_base.h: #include LString.h
11733 2002-01-16 Allan Rae <rae@lyx.org>
11735 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11736 Can someone check this please?
11738 * text.C (drawInset): It was possible that p.row would be removed by
11739 breakAgainOneRow upsetting a few other settings. There may be another
11740 small tweak possible by setting need_break_row = 0 when p.row has been
11741 removed but I don't know enough about the logic here.
11743 2002-01-15 Allan Rae <rae@lyx.org>
11745 * text.C (insertChar): removed conditional truism.
11747 * BufferView2.C (removeAutoInsets): More tweaks.
11748 cur_par_prev could be a stray pointer. Check for trailing empty line
11749 in case last line was cur_par and only had an error inset on it.
11751 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11753 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11756 * vc-backend.C (most methods):
11757 * exporter.C (Export):
11758 * converter.C (convert):
11760 * LyXSendto.C (SendtoApplyCB):
11761 * lyxfunc.C (dispatch):
11765 * lyx_cb.C (AutoSave):
11767 * BufferView_pimpl.C (MenuInsertLyXFile):
11768 * buffer.C (runChktex): use Buffer::filePath().
11770 * buffer.h: rename filename to filename_; rename filepath to
11771 filepath_ and make it private
11772 (filePath): new method
11774 * buffer.C (writeFile): use fileName()
11777 * lyx_main.C (init): fix starting of LyX when the binary is a
11778 link from so,ewhere else.
11780 * minibuffer.C: include <cctype> for isprint
11782 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11784 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11785 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11786 name clash with InsetCollapsable's width function.
11788 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11790 * lastfiles.C: include <iterator>
11792 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11794 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11797 * buffer.C (makeLaTeXFile): ditto.
11798 Also make loop operation more transparent.
11800 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11802 * ToolbarDefaults.C: remove trailing comma closing namespace.
11804 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11806 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11809 * trans.C (Load): comment out unused variable, allowed.
11811 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11813 * minibuffer.[Ch] (append_char): new method to recieve input from the
11814 drop-down completion browser. If a key was pressed, then recieve this
11815 char and append it to the existing string.
11816 (peek_event): modify the positioning data passed to the completion
11817 browser so that it can be placed above the minibuffer rather than below.
11818 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11820 * LyXAction.C (init): alloe error-next for readonly documents.
11822 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11825 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11827 * bufferlist.C (readFile): create the buffer _after_ checking that
11830 * lyxfunc.C (verboseDispatch): fix handling of arguments
11832 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11834 * lyxrc.C: use string::erase() instead of initializing to "".
11837 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11839 * BufferView_pimpl.h:
11840 * BufferView_pimpl.C:
11843 * text2.C: tell X when we have made a selection for copying
11845 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11847 * BufferView_pimpl.C (MenuInsertLyXFile):
11848 * lyxfunc.C (menuNew):
11850 (doImport): add shortcuts to directory buttons
11852 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11855 * lyxfunc.C (setStatusMessage):
11856 (getStatusMessage): new methods
11857 (getStatus):use setStatusMessage instead of setErrorMessage
11858 (dispatch): when function is disabled, set error message here
11859 [instead of in getStatus previously]
11861 * BufferView_pimpl.C (workAreaButtonRelease): update
11862 toolbar/menubar here too.
11864 2002-01-13 Allan Rae <rae@lyx.org>
11866 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11867 Now seems indestructible. Remaining task is to audit all other
11868 code affected by deleteEmptyParagraphMechanism. One small quirk
11869 left is that an empty document with an error in the preamble can
11870 be made to report an error but no error box appears. I don't know
11872 (removeAutoInsets): Improved comments.
11874 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11877 * Thesaurus.C: update for Aiksaurus 0.14
11879 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11881 * text2.C (firstParagraph): removed member function, all uses
11882 replaces with ownerParagraph
11883 (redoParagraphs): here
11884 (updateInset): here
11885 (toggleAppendix): here
11886 * BufferView2.C (insertErrors): here
11887 (setCursorFromRow): here
11889 2002-01-13 Allan Rae <rae@lyx.org>
11891 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11892 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11893 There is still a way to segfault this although you may have to do this
11894 multiple times: Have an InsetERT with an unknown command in it.
11895 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11896 <down-arrow>, <Enter> again, View->DVI, BANG!
11898 * text2.C (setCursor):
11899 (deleteEmptyParagraphMechanism):
11900 * lyxtext.h (setCursor):
11901 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11902 Making use of the return value may help fix other bugs.
11904 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11906 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11908 * LyXView.C (updateMenubar): call MenuBar::update here
11909 (updateToolbar): but not here
11910 (showState): do not update toolbar/menubar
11912 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11913 should need to care about that.
11915 * lyxfunc.C (verboseDispatch): simplify a bit
11916 (getStatus): have a version which takes a pseudoaction, and
11917 another which requires a (kb_action,string).
11919 * LyXAction.C (retrieveActionArg): make it work also when action
11920 is not a pseudo-action.
11921 (getActionName): simplify a bit
11924 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11926 * lyxfunc.C (verboseDispatch): new families of methods with
11927 several ways to specify a command and a bool to indicate whether
11928 the command name and shortcut should be displayed in minibuffer
11929 (eventually, we could extend that to a finer bitmask like
11930 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11931 (dispatch): the pristine dispatch command which just, well,
11932 dispatchs! Note it still sets its result to minibuffer; I'm not
11935 * lyxfunc.h: remove setHintMessage
11937 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11939 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11941 * BufferView_pimpl.C (specialChar): delete new inset if we have
11942 not been able to insert it.
11944 * kbmap.C: revert to using int instead of kb_action, since all we
11945 are dealing with is pseudo-actions.
11947 * LyXAction.C (searchActionArg): change to return int instead of
11948 kb_action, since the result is a pseudoaction.
11950 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11952 * buffer.C (insertErtContents): Fix (partially) the font bug.
11954 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11956 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11957 as the other one is broken on my machine!
11959 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11962 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11964 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11966 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11967 reflect their actual use. Provide compatibility code for older lyxrc
11970 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11972 change names of popup font variables in line with the changes to lyxrc.C
11974 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11976 * buffer.C (asciiParagraph): avoid outputing a word twice after
11979 * lyxrc.C (getDescription): document that document_path and
11980 template_path can be empty.
11982 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11984 * LaTeXFeatures.C (getMacros):
11985 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11987 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11989 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11991 (getPackages): rename feature "floats" to "float". Use an array to
11992 iterate over 'simple' features (i.e. just a \usepackage). Add
11993 handling of "amsmath" (renamed from "amsstyle").
11995 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11997 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12000 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12002 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12003 FuncStaus::FuncStatus & FuncStaus::some_method().
12005 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12007 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12008 of the func_satus stuff. Edited and massaged in various ways by
12011 * lyxfunc.C (getStatus): use FuncStatus
12013 2002-01-08 Juergen Vigna <jug@sad.it>
12015 * text.C (nextBreakPoint): use function Inset::isChar().
12017 * paragraph.C (TeXOnePar): use function
12018 Inset::forceDefaultParagraphs.
12020 * buffer.C (latexParagraphs): use function
12021 Inset::forceDefaultParagraphs.
12023 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12025 * lyx_gui.C (init): set the style of the menu popups to
12026 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12028 2002-01-07 Juergen Vigna <jug@sad.it>
12030 * text.C (setHeightOfRow): small fix
12031 (prepareToPrint): don't look at alignment if we don't have the place
12034 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12036 * box.C: New file. Move the Box methods and functions out of box.h,
12037 following Lars' suggestion.
12039 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12041 * box.h: #include "support/LOstream.h", needed for inlined function.
12044 * lyxtextclasslist.C: added some using std declarations.
12046 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12048 * box.h: make signed dimensions to allow insets wider than
12049 the screen (bug #162)
12051 * BufferView_pimpl.C: add some insetHit debug
12053 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12055 * vc-backend.C: add FIXME
12057 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12059 * lyxfunc.C (getStatus): enable code for showing math font status
12062 2002-01-07 Juergen Vigna <jug@sad.it>
12064 * text.C (nextBreakPoint): removed debug output not needed anymore.
12066 2002-01-06 Juergen Vigna <jug@sad.it>
12068 * text.C (nextBreakPoint): fixed up this function we had this bug
12069 since ever but now hopefully we break row better.
12070 (insertChar): we have to check if an inset is the next char as it
12071 could now happen that a large inset is causing a break.
12073 2002-01-05 Juergen Vigna <jug@sad.it>
12075 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12076 if it doesn't like to be drawed.
12078 2002-01-04 Juergen Vigna <jug@sad.it>
12080 * BufferView2.C (lockInset): forgot to set a cursor.
12082 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12084 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12086 * FormMathsPanel.C:
12089 * form_maths_panel.C:
12090 * form_maths_panel.h:
12091 * form_maths_panel.fd: implemented sub- and super- buttons in math
12094 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12095 (or ^ space) to be used as in TeX (req'd by André).
12097 * lyxfunc.C: Allow ^ and _ again to be used both as
12098 super/subscript (mathed) and as themselves (in text).
12100 2002-01-03 Allan Rae <rae@lyx.org>
12102 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12103 "LyX" or the filename of the current buffer if it has one. This is a
12104 modified form of John Levon's patch.
12106 * XFormsView.C (setWindowTitle): also set icon title.
12108 * LyXView.h (setWindowTitle): signature changed.
12109 * XFormsView.h (setWindowTitle): ditto.
12111 2002-01-02 Juergen Vigna <jug@sad.it>
12113 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12115 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12117 * screen.C (topCursorVisible): introduce a temp var for
12118 text->cursor.row(), handle the case where this row is null. (kindo
12121 * text2.C (setCursor): add a couple of asserts.
12123 * paragraph.h (inset_iterator): add -> operator
12125 * paragraph.[Ch] (autoDeleteInsets): remove member function
12127 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12128 cursor pos correctly and handle inset deletion by itself.
12129 (insertErrors): move iterator declaration out of for expression
12131 * lyxtextclass.C: add <algorithm>
12133 * Makefile.am: added the new files to sources, removed layout.C
12135 * layout.C: removed file
12137 * layout.h: remove LYX_DUMMY_LAYOUT
12139 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12143 * lyxtextclass.[Ch]:
12144 * lyxtextclasslist.[Ch]: new files
12146 * include order changes to a lot of files, also changes because of
12149 2001-12-27 Juergen Vigna <jug@sad.it>
12151 * buffer.C (asciiParagraph): more fixes.
12153 * tabular.C (ascii): make ascii export support export of only the
12154 data separated by a column-delimiter.
12155 (ascii): better support for ascii export.
12157 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12159 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12161 * tabular_funcs.C: use a "using std::getline" instead of the
12162 previous fix from Angus (necessary for cxx + lyxstring)
12164 2001-12-24 Juergen Vigna <jug@sad.it>
12166 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12168 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12169 problems. First check a minipage also if we have some ert-contents
12170 (not only on par->size(), second set the right depth of the paragraph
12171 on the relink to the root-paragraph-list!
12173 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12174 which then did not anymore update the main paragraphs on undo/redo!
12176 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12178 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12179 code. Support all font-changing funcs (even those which are not in
12180 menu currently). Support for reporting font settings in
12181 mathed (disabled until Andre provides a function on mathed's side).
12183 * func_status.h (toggle): small helper function to set toggle
12186 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12188 * tabular_funcs.C: getline -> std::getline
12190 2001-12-21 Juergen Vigna <jug@sad.it>
12192 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12193 accessed and could be 0 (I couldn't generate this but it seems
12196 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12198 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12199 * tabular_funcs.h: here and include iosfwd
12201 2001-12-20 Juergen Vigna <jug@sad.it>
12203 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12204 inside inset but undo_par was.
12206 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12208 * Thesaurus.C: always include <config.h> in sources.
12212 * box.h: do not include <config.h> in header files
12214 * text.C (paintLastRow): remove unused variable
12216 * text.C (transformChar):
12218 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12220 * Painter.C (text):
12221 * font.C (width): rewrite to use uppercase() instead of
12224 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12226 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12228 * lyxfind.C: clean up of find failure position change
12230 2001-12-20 Juergen Vigna <jug@sad.it>
12232 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12234 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12235 (TeXRow): added to LaTeX a single tabular row.
12236 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12237 (Latex): simplified and finally good LT-h/f support.
12238 (various_functions): just small adaptions for LT-h/f support.
12240 * tabular_funcs.[hC]: added and moved here all not classfunctions
12243 2001-12-19 Juergen Vigna <jug@sad.it>
12245 * tabular.[Ch]: better support for longtabular options (not finished
12248 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12250 * text.C (paintLastRow): use the label font instead of the font of
12251 the last character to compute the size of *_BOX. This makes more
12252 sense and avoids a crash with empty paragraphs.
12253 Use Painter::rectangle to draw EMPTY_BOX.
12255 2001-12-19 Juergen Vigna <jug@sad.it>
12257 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12258 the paragraphs if the replaced paragraph is not the first one!
12259 Tried to delete not used paragraphs but does not work yet so for
12260 now it's inside #ifdef's and by default off!
12262 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12264 * MenuBackend.C: include "lyx_main.h" instead of declaring
12265 lastfiles (actually was declared as LastFiles* instead of a
12268 2001-12-17 Juergen Vigna <jug@sad.it>
12270 * tabular.C (AppendColumn): applied John's fix
12272 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12276 * BufferView_pimpl.h:
12277 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12280 * box.h: new start of class for above
12282 * lyxfunc.C: ignore space-only minibuffer dispatches.
12283 Show the command name when it doesn't exist
12285 * minibuffer.C: don't add empty lines to the history
12287 * minibuffer.C: add a space on dropdown completion
12289 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12291 * text.C: fix line above/below drawing in insets
12293 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12295 * lyxlength.C (LyXLength): Initialize private variables.
12297 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12299 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12300 when inserting error insets.
12302 2001-12-13 Juergen Vigna <jug@sad.it>
12304 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12305 actually sometimes the before-paragraph.
12306 (setUndo): don't clear the redostack if we're not actually undoing!
12308 2001-12-06 Juergen Vigna <jug@sad.it>
12310 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12311 and fixed redoing of main paragraph, so we can use it now ;)
12313 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12315 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12317 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12320 2001-12-13 André Pönitz <poenitz@gmx.net>
12323 * undo_func.C: minor cleanup
12325 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12327 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12328 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12329 font in urw-fonts package which is marked as -urw-fontspecific and
12330 does not work (incidentally, changing the encoding in the
12331 fonts.dir of this package to -adobe-fontspecific fixes the
12334 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12335 is a crash when undoing first paragraph (Juergen, please take a
12336 look). THis does not mean the undo fix is wrong, just that it
12339 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12340 the (Paragraph*) version when needed instead of duplicating the
12343 * text.C (workWidth): use Inset::parOwner to find out where the
12344 inset has been inserted. This is a huge performance gain for large
12345 documents with lots of insets. If Inset::parOwner is not set, fall
12346 back on the brute force method
12348 * paragraph_pimpl.C (insertInset):
12349 * paragraph.C (Paragraph):
12350 (cutIntoMinibuffer): set parOwner of insets when
12351 inserting/removing them
12353 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12355 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12361 * mathed/formulabase.C:
12362 * mathed/math_cursor.[Ch]:
12363 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12366 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12368 * lyxlength.[Ch] (operator!=): new function
12370 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12372 * text.C (workWidth): use Inset::parOwner to find out where the
12373 inset has been inserted. This is a huge performance gain for large
12374 documents with lots of insets. If Inset::parOwner is not set, fall
12375 back on the brute force method
12377 * paragraph_pimpl.C (insertInset):
12378 * paragraph.C (Paragraph):
12379 (cutIntoMinibuffer): set parOwner of insets when
12380 inserting/removing them
12382 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12384 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12386 * tabular-old.C (getTokenValue):
12387 * tabular.C (getTokenValue):
12388 (write_attribute): new versions for LyXLength
12389 (everywhere): adjust the use of widths
12391 * tabular.h: change the type of widths from string to LyXLength
12393 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12395 * paragraph.C: fixed missing line number count when exporting
12396 Environments to LaTeX file
12398 * buffer.C: added informational message for checking line numbers.
12400 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12402 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12403 paragraph, do the 'double space' part, but not the 'empty
12406 * text.C (workWidth): small optimization
12407 (getLengthMarkerHeight): use minimal size for negative lengths.
12409 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12411 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12413 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12415 2001-12-11 André Pönitz <poenitz@gmx.net>
12418 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12420 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12422 * text2.C: keep selection on a setFont()
12424 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12426 * lyx_cb.C: another bv->text misuse, from insert label
12428 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12431 * kbsequence.C: re-instate nmodifier mask
12433 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12435 * lyx_main.h: make lyxGUI private.
12437 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12439 * lyxfind.C: place the cursor correctly on failed search
12441 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12443 * text.C (getLengthMarkerHeight): for small heights, the arrows
12444 are not always on top/bottom of the text
12445 (drawLengthMarker): smaller arrows; take the left margin in
12446 account; draw also vfills.
12448 (paintLastRow): remove special code for vfill and standard spaces,
12449 since everything is handled in drawLengthMarker now.
12451 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12453 * buffer.C (insertErtContents): try to handle font and language
12454 interaction a bit better.g
12456 * ColorHandler.C (updateColor): change the hash to cover the whole
12457 LColor enum, ws cleanup
12458 (getGCLinepars): ditto
12459 (getGCLinepars): only lookup in the linecache once.
12461 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12463 * iterators.C (operator++): Make the iterator more robust
12465 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12467 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12469 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12472 * text.C: better added space drawing
12474 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12477 * BufferView2.C: fix layout combo update on inset unlock
12479 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12481 * Makefile.am: don't compile unused files
12483 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12487 * LyXAction.C: remove old LFUN_LAYOUTNO
12489 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12491 * paragraph_pimpl.h:
12492 * paragraph_pimpl.C: isTextAt() doesn't need font param
12494 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12497 * lyxlex.C: little cleanup
12499 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12501 * BufferView_pimpl.C: fix insertAscii for insets
12503 2001-12-05 Juergen Vigna <jug@sad.it>
12505 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12506 set the right font on the "multi" paragraph paste!
12508 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12514 * lyxlength.C: remove out-commented code.
12516 * BufferView_pimpl:
12530 * vc-backend.C: change "while(" to "while ("
12532 * lyxlength.[Ch]: add zero function to check if length is zero or
12534 * lyxgluelength.C: use it
12536 2001-12-05 Allan Rae <rae@lyx.org>
12538 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12539 Works for 2.95.3, from what I understand of Garst's reports this should
12540 work for other g++ versions. We're screwed if the abs(int) definition
12541 changed between bugfix releases of gcc.
12543 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12545 * text.C: fix chapter label offset !
12547 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12550 * text.C: fix hfill at end of line, clean up
12552 2001-12-04 Juergen Vigna <jug@sad.it>
12554 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12555 that we force an update of the inset and it's owners if neccessary.
12557 2001-12-03 Juergen Vigna <jug@sad.it>
12559 * text.C (rowLast): simplified code
12561 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12563 * lyxfunc.C: fix show options on timeout
12565 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12567 * screen.C (topCursorVisible): scroll half a page when the cursor
12568 reached top of bottom of screen
12570 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12572 * minibuffer.C: deactivate on loss of focus
12574 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12576 * vspace.[Ch] (operator!=): add operator.
12578 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12580 * BufferView_pimpl.C: refuse to open an inset when
12581 there's a selection.
12583 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12585 * BufferView_pimpl.C: allow to click on RHS of full row insets
12587 2001-11-30 Juergen Vigna <jug@sad.it>
12589 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12590 insets for undo reasons.
12592 2001-11-28 André Pönitz <poenitz@gmx.net>
12594 * vspace.[Ch]: cosmetical changes
12596 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12606 * kbsequence.C: part re-write of old kb code
12609 * WorkArea.C: remove Lgb_bug_find_hack
12611 2001-11-30 José Matos <jamatos@fep.up.pt>
12613 * buffer.C (makeDocBookFile): add a comment to point a hack.
12614 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12615 Fixed a double write of labels.
12617 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12620 * LaTeX.h Fixed bug in LaTeX class where it would not
12621 re-run latex if no depfiles were changed, but the .dvi was removed.
12623 2001-11-28 André Pönitz <poenitz@gmx.net>
12625 * all the files from the change on 2001/11/26:
12626 use lyx::layout_type instead of LyXTextClass::size_type
12627 use lyx::textclass_type instead of LyXTextClassList::size_type
12629 2001-11-29 Juergen Vigna <jug@sad.it>
12631 * text.C: added support for paragraph::isFreeSpacing()
12633 * buffer.C: same as above
12635 * paragraph.h: inserted isFreeSpacing() function to enable
12636 FreeSpacing inside InsetERT.
12638 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12639 of the paragraph's in the cut/copy buffer to 0!
12641 * text2.C (removeRow): remove the assert as it can!
12643 * lyxtext.h: added helper function firstRow returning firstrow and
12644 made firstrow private again.
12646 * BufferView2.C (lockInset): don't relock if we're already locked!
12648 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12649 the only paragraph.
12650 (removeRow): added Assert::(firstrow)
12652 * debug.C: forgot to add INSETTEXT here.
12654 2001-11-28 Juergen Vigna <jug@sad.it>
12656 * sp_spell.C (initialize): changed error text to more general
12657 spellchecker command use (not only ispell!)
12659 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12661 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12663 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12665 * vspace.C: initialise lyxgluelength on failure
12667 2001-11-28 Allan Rae <rae@lyx.org>
12669 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12670 declaration & definition that looks like a function declaration.
12672 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12674 * BufferView2.C (copy):
12675 (copyEnvironment): do not clear the selection when doing a copy.
12677 * text.C (paintFirstRow): compilation fix
12679 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12681 * tabular.C (Latex): correct line count when writing latex.
12683 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12685 * paragraph_pimpl.h:
12686 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12689 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12693 * LColor.C: change vfillline->added_space
12695 * text.C: add markers and text for added space
12697 * vspace.C: fix comment
12699 2001-11-28 André Pönitz <poenitz@gmx.net>
12701 * paragraph.C: whitespace changes
12702 * all the other files from the change on 2001/11/26:
12703 change *::pos_type into lyx::pos_type
12705 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12707 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12708 language of the document when inserting error insets.
12710 2001-11-26 André Pönitz <poenitz@gmx.net>
12712 * BufferView_pimpl.[Ch]:
12720 * paragraph_pimpl.[Ch]:
12723 * text2.C: reduce header dependencies, introduce type for positions
12725 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12727 * <various>: change to use Alert.h
12729 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12731 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12732 when encountering an unknown token.
12733 (readLyXformat2): Show an error message if there were unknown tokens.
12735 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12738 * BufferView_pimpl.C:
12742 * text2.C: use par->isInset()
12744 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12746 * paragraph_pimpl.h:
12747 * paragraph_pimpl.C: cleanup
12749 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12751 * text2.C (removeRow):
12752 * text.C (setHeightOfRow): remove useless (and costly) call to
12755 2001-11-20 Allan Rae <rae@lyx.org>
12757 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12758 Now need Inset*::checkInsertChar() to return true for appropriate
12759 cases so that the characters in the minibuffer will actually be
12762 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12764 * text.C: change the order of the includes.
12765 (workWidth): initialize it at once.
12766 (workWidth): make maxw unsigned
12767 (setHeightOfRow): remove unused variable (inset)
12768 (selectSelectedWord): remove unused variable (inset)
12769 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12771 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12773 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12774 server is not running.
12776 (closeConnection): add debug info when server is disabled.
12778 * ColorHandler.C (getGCForeground): send debug message to GUI
12781 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12783 * kbmap.C (bind): modify because return conventions of
12784 kb_sequence::parse have changed.
12786 * kbsequence.C (parse): only ignore spaces and not any stupid
12787 control character. This avoids tests like s[i] <= ' ', which are
12788 guaranteed to fail with 8bit characters and signed chars.
12789 Change return code to string::npos when there have been no error
12790 (0 was a bad idea when error is at first character)
12792 2001-11-14 José Matos <jamatos@fep.up.pt>
12795 * buffer.C (simpleDocBookOnePar): removed unused argument.
12797 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12799 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12800 insets which are part of a word. Paragraph::isLetter takes care of
12801 that now. Use Paragraph::isInset to identify insets.
12802 (selectSelectedWord): do not test for hyphenation break.
12804 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12805 that protected spaces are considered as spaces.
12807 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12810 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12813 * lyxserver.C: fix it. and small cleanup.
12815 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12817 * BufferView_pimpl.C: use inline helpers
12820 * LaTeXFeatures.C: fix typos
12823 * Spacing.C: move spacing_string into class
12825 * ToolbarDefaults.C: move stuff into namespace anon
12827 * layout.h: update enum
12829 * lyxfunc.C: use better debug
12831 * minibuffer.h: fix typo
12835 * WorkArea.C: add and use Debug::WORKAREA
12839 * text2.C: code re-organisation, inline helpers
12841 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12843 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12844 std::vector.empty().
12846 2001-11-09 Allan Rae <rae@lyx.org>
12848 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12849 '\n's after tables. Tabular and ERT inset work now makes this no
12852 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12855 * minibuffer.C: fix crash, improve drop-down completion
12857 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12860 * lyxserver.C: invalidate fd's when doing endPipe()
12862 2001-11-08 José Matos <jamatos@fep.up.pt>
12864 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12865 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12868 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12870 2001-11-07 José Matos <jamatos@fep.up.pt>
12873 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12876 * buffer.C (sgmlOpenTag):
12877 * buffer.C (sgmlCloseTag): removed debug info.
12879 * buffer.h (sgmlOpenTag):
12880 * buffer.h (sgmlCloseTag): made public.
12882 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12884 * buffer.C (saveParamsAsDefaults):
12885 * lyx_cb.C (MenuLayoutSave): remove
12887 * LyXAction.C (init):
12889 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12891 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12893 * buffer.C (setPaperStuff): removed from here...
12895 * bufferparams.C (setPaperStuff): ... and moved there.
12897 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12901 * XFormsView.C: add support for drop-down completion
12903 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12905 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12908 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12910 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12913 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12915 * lyx_main.C: change ref to known bugs
12917 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12919 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12920 to work around older babel problems.
12922 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12924 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12926 2001-10-24 Juergen Vigna <jug@sad.it>
12928 * tabular-old.C (ReadOld): below variable changes reflected.
12930 * tabular.[Ch]: added ltType struct for longtable header/footer
12931 defines and changed all instances where they are used. Added
12932 future support for double top/bottom rows.
12934 2001-10-24 José Matos <jamatos@fep.up.pt>
12936 * buffer.h (docbookHandleCaption):
12937 * buffer.C (docbookHandleCaption): removed unused function.
12938 (makeDocBookFile): moved docbook supported version to v4.1.
12940 2001-10-24 José Matos <jamatos@fep.up.pt>
12943 * tabular.C (docbookRow): new function to export docbook code of a row.
12944 (DocBook): now honors the longtable flags.
12946 2001-10-23 José Matos <jamatos@fep.up.pt>
12949 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12950 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12952 * buffer.C (makeLinuxDocFile):
12953 (makeDocBookFile): reworked the preamble, more clean, and with
12954 support for lyx defined entities. Changed the document declaration
12955 to be more XML friendly.
12957 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12958 if we need to output XML that should be done with a filter.
12960 2001-10-22 Juergen Vigna <jug@sad.it>
12962 * sp_pspell.h (class PSpell): add alive function needed in the
12963 controller to see if the spellchecker could be started.
12965 2001-10-22 Juergen Vigna <jug@sad.it>
12967 * buffer.C (insertStringAsLines): modify the font for inserting
12968 chars in certain conditions by calling checkInsertChar(font).
12970 2001-10-19 Juergen Vigna <jug@sad.it>
12972 * text.C (workWidth): use getRow instead of wrong algorithm.
12973 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12975 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12980 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12982 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12984 * text.C (workWidth): do not search for the exact row when
12985 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12986 optimization for big documents.
12988 2001-10-18 Juergen Vigna <jug@sad.it>
12990 * text.C (workWidth): new function with added Inset * parameter.
12992 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12994 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12996 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12997 change return type of getColumnNearX.
13000 * text.C (changeRegionCase): use uppercase/lowercase instead of
13003 (rightMargin): simplify code by factoring out the uses of
13008 (appendParagraph): use Paragraph::size_type
13010 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13012 * vspace.C (asLatexString): add a missing break
13014 2001-10-15 Herbert Voss <voss@perce.de>
13016 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13018 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13020 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13023 2001-10-10 André Pönitz <poenitz@gmx.net>
13025 * lyxfunc.C: removed greek_kb_flag.
13027 2001-10-10 Herbert Voss <voss@perce.de>
13029 * lyx_main.C: delete global string help_lyxdir.
13031 2001-10-09 Herbert Voss <voss@perce.de>
13033 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13035 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13037 * lyx_main.C: added global string help_lyxdir.
13039 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13041 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13043 * lyxrc.C (set_font_norm_type): support iso8859-4
13045 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13047 * LaTeX.C (deplog): add another regex for MikTeX
13049 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13051 * lyxrc.C (set_font_norm_type): support iso8859-3
13053 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13055 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13057 * LaTeXFeatures.C: remove special case of french and index
13059 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13060 before \begin{document}). This solves several incompatibilities.
13062 2001-10-03 Garst Reese <reese@isn.net>
13064 * lyx_cb.C: change CheckTex error msg.
13066 2001-10-03 José Matos <jamatos@fep.up.pt>
13068 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13070 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13072 * .cvsignore: update
13074 * lyx_main.C (commandLineVersionInfo): use new style version info.
13076 * buffer.C (writeFile):
13078 (makeLinuxDocFile):
13079 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13081 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13083 * version.h: update to use stuff in version.C
13085 * version.C.in: new file. Contains version information determined
13086 at compile time. This is a merging of version.h and
13089 2001-10-03 Juergen Vigna <jug@sad.it>
13091 * BufferView_pimpl.C (update): don't change "dirty" status in
13094 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13096 * WorkArea.C (c-tor): re-position version string slightly.
13098 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13100 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13101 revert to previous code.
13103 WorkArea.[Ch]: (show, destroySplash): methods removed.
13105 WorkArea.C: rework code so that it's an amalgam of the codes before and
13106 after the splash screen was moved to WorkArea.
13108 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13111 * vspace.C (inPixels):
13114 * buffer.C (insertStringAsLines):
13115 (asciiParagraph): fix types to be large enough
13117 * lyxlex_pimpl.h: change member status from short to int
13119 * layout.h: fix type of endlabeltype
13122 * kbsequence.C (parse): change return type to string::size_type
13124 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13127 * Bullet.C (bulletSize):
13128 (bulletEntry): do not use short ints as parameters
13130 * BufferView2.C (insertLyXFile): change a char to an int.
13132 * WorkArea.C (WorkArea): remove unneeded floats in computation
13134 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13136 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13138 * paragraph.C (asString): Do not ignore newline/hfill chars when
13139 copying to the clipboard.
13141 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13143 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13144 after a multi-line inset.
13146 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13148 * paragraph.C (validate): Set NeedLyXFootnoteCode
13150 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13152 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13153 and decrease-error to decrease.
13155 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13157 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13158 it more readable (should be equivalent)
13160 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13162 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13164 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13166 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13167 of a cursor (row, etc.) after a character has been deleted
13168 (deleteEmptyParagraphMechanism): call the method above on _all_
13169 cursors held by the LyXText when a double space has been
13172 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13174 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13176 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13178 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13179 background. Use greyOut() and the new show() methods to toggle between
13180 the foreground and background. Add code to remove the splash after
13181 its initial showing.
13183 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13184 (create_forms): no longer call Dialogs::showSplash.
13186 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13188 * .cvsignore: add version_info.h
13190 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13192 * version_info.h.in: new file
13194 * Makefile.am: add version_info.h.in
13196 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13197 version_info.h instead of VERSION_INFO
13199 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13201 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13202 The ERT inset now returns string().
13204 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13206 * lyxtext.h, text.C (selectNextWord): renamed as
13207 selectNextWordToSpellcheck.
13209 * text.C (selectNextWordToSpellcheck): Modified to not select
13210 words inside an ERT inset.
13212 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13214 * lyx_cb.C (MenuLayoutSave): change a bit the question
13216 * sp_base.h: include <sys/types.h>
13218 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13220 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13222 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13224 * several files: fix typos in user-visible strings
13226 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13228 * text2.C (pasteSelection): do not set the selection, since it
13229 will be cleared later. Actually, the intent was to fix the way the
13230 selection was set, but I figured rmoving the code was just as good.
13232 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13234 * FontLoader.C (available): Check if font is available without
13237 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13239 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13241 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13243 * lyxrc.[Ch]: added display_graphics variable and associated code.
13245 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13247 * bufferparams.C (hasClassDefaults): new method. Returns true if
13248 the buffer parameters correspond to known class defaults
13250 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13252 * XFormsView.C (show): set minimum size to the main window.
13254 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13256 * text2.C (copySelection):
13258 * lyxfind.C (LyXReplace):
13259 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13260 LyXText::selectionAsString.
13262 * paragraph.C (asString): add "label" argument to the second form
13264 * text2.C (selectionAsString): add "label" argument and pass it to
13265 Paragraph::asString.
13267 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13269 * lyx_main.C (commandLineHelp): remove version information
13271 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13273 * lyx_main.C: add -version commandline option
13275 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13277 * paragraph.h: make the optional constructor arg required instead.
13278 some modifications to other files because of this.
13280 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13282 * lyxserver.C (C_LyXComm_callback): make it static
13284 * lyx_main.C (error_handler): make it static
13286 * lyx_gui.C (LyX_XErrHandler): make it static
13288 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13290 * WorkArea.C: make the extern "C" methods static.
13292 * Makefile.am (lyx_LDADD): simplify
13294 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13296 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13297 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13299 * LyXAction.C (init):
13300 * lyxfunc.C (dispatch): associated code removal.
13302 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13304 * lyxfont.h (isSymbolFont): shut off warning
13306 * text.C (setHeightOfRow):
13307 (getVisibleRow): fix crash with empty paragraphs which have a
13310 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13312 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13315 2001-09-04 José Matos <jamatos@fep.up.pt>
13318 * tabular.C (docbook): rename docBook method to docbook.
13320 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13322 * Makefile.am: add dependencies to main.o.
13324 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13326 * FontLoader.C (available): Return false if !lyxrc.use_gui
13328 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13330 * FontInfo.C (query):
13331 * converter.C (view):
13332 * importer.C (Import):
13333 * exporter.C (Export): Can not -> cannot.
13335 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13337 * BufferView_pimpl.C: allow to create index inset even if
13340 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13342 * buffer.C (getLists): replace boost::tie code with an explicit pair
13343 as boost::tie can break some compilers.
13345 * iterators.h: Added a std:: declaration to the return type of
13348 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13350 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13353 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13355 * iterators.[Ch]: New files. Provide paragraph iterators.
13357 * buffer.C (changeLanguage): Use paragraph iterators.
13358 (isMultiLingual): ditto
13360 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13362 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13364 * FontLoader.C: Support for cmr font.
13366 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13368 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13369 (available): New method.
13371 * FontInfo.C (getFontname): Use scalable fonts even when
13372 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13375 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13377 * converter.C (Formats::view): reverted! Incorrect fix.
13379 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13381 * converter.C (Formats::view): only output the -paper option
13382 if the dvi viewer is xdvi, thereby fixing bug #233429.
13384 2001-08-23 Herbert Voss <voss@perce>
13386 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13388 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13390 * Spacing.h (Spacing): Set space to Default on in the default
13393 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13395 * vc-backend.h (RCS::versionString): add RCS to version
13396 (CVS::versionString): add CVS to version
13398 * vc-backend.C (scanMaster): do not add CVS to version.
13399 (scanMaster): do not add RCS to version
13401 * lyxvc.C (versionString): new method
13403 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13405 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13407 * Spacing.C (set): initialize fval
13409 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13411 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13414 2001-08-16 Juergen Vigna <jug@sad.it>
13416 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13418 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13420 * BufferView_pimpl.C:
13423 * text2.C: setParagraph takes linespacing now
13425 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13427 * LyxAction.C: add internal LFUN_CITATION_INSERT
13429 * LyXView.C: actually apply fix
13431 * bufferlist.C: fix open non-existent file
13433 * lyxfind.C: fix indentation
13435 * lyxfunc.C: remove unneeded assert, fix typo
13437 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13439 * MenuBackend.C: use "Floatname List"
13441 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13443 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13444 when converting LaTeX layout to insetERT.
13445 Generate a non-collapsed float when reading old float
13447 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13449 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13452 2001-08-13 Juergen Vigna <jug@sad.it>
13454 * text.C (fill): return 0 instead of 20 as this seems to be the more
13457 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13459 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13462 2001-08-13 Juergen Vigna <jug@sad.it>
13464 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13466 (SearchBackward): comment out the unlocking of the inset_owner this
13467 should not be needed!
13469 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13471 * Many files: Remove inherit_language, and add latex_language
13473 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13474 collapsible insets.
13476 2001-08-10 Juergen Vigna <jug@sad.it>
13478 * text.C (prepareToPrint): fixed hfill-width in draw!
13480 * BufferView2.C (selectLastWord): save the selection cursor as this
13481 now is cleared in the function LyXText::clearSelection!
13483 2001-08-08 Juergen Vigna <jug@sad.it>
13485 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13486 BACKSPACE type functions.
13488 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13489 is only cutted from the document but not put in the cut-buffer, where
13490 still the old stuff should be.
13492 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13494 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13496 * tabular.C (SetWidthOfCell): fixed special case where the width
13498 (LeftLine): handle '|' in align_special.
13500 (LeftAlreadyDrawed): ditto
13501 (SetWidthOfCell): ditto
13503 2001-08-07 Juergen Vigna <jug@sad.it>
13505 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13507 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13509 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13510 * lyxlex.[hC]: ditto
13512 2001-08-06 Juergen Vigna <jug@sad.it>
13514 * text.C (getVisibleRow): fix up row clearing a bit.
13516 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13518 * minibuffer.C: make sure the X server sees the changes in the input.
13520 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13522 * paragraph.C (getFont): split into...
13523 (getLabelFont): this
13524 (getLayoutFont): and this
13525 * paragraph_pimpl.C (realizeFont): calling this
13527 * text2.C (getFont): split into...
13528 (getLayoutFont): this
13529 (getLabelFont): and this
13530 (realizeFont): all three calling this
13532 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13535 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13537 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13539 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13541 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13542 layouts from the Quote inset insertion.
13544 2001-08-03 Juergen Vigna <jug@sad.it>
13546 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13548 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13549 only if status not is already CHANGED_IN_DRAW (second level).
13551 * text.C (draw): don't set the need_break_row when inside an
13554 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13556 * buffer.C (parseSingleLyXformat2Token): handle more latex
13559 * bufferview_funcs.[hC]: change function names to
13560 begin with small char, adjust other files.
13562 2001-08-02 André Pönitz <poenitz@gmx.net>
13565 BufferView_pimpl.C: remove broken special code for math-greek
13567 2001-08-02 Juergen Vigna <jug@sad.it>
13569 * BufferView_pimpl.C (update): redone this function so that we
13570 update the text again if there was a CHANGE_IN_DRAW.
13572 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13573 (drawFromTo): added a new internal bool which is used by draw() and
13575 (general): some cursor drawing problems fixed.
13577 2001-08-01 Juergen Vigna <jug@sad.it>
13579 * lyxfind.C (LyXFind): fixed
13580 (SearchForward): ditto
13581 (SearchBackward): ditto
13583 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13584 spurius drawing of the cursor in the main area.
13586 * text2.C (status): small fix which could lead to a segfault!
13587 (clearSelection): remove unneeded BufferView param.
13589 2001-08-01 André Pönitz <poenitz@gmx.net>
13591 * lyxfunc.C: small change due to changed mathed interface
13593 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13595 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13597 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13599 * lyxfunc.c: fail gracefully if file doesn't exist
13604 * BufferView_pimpl.C: IsDirWriteable() proto changed
13606 * LyXView.C: fix updateWindowTitle() to store the last title
13608 2001-07-31 Juergen Vigna <jug@sad.it>
13610 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13611 the font (wrong since using of Paragraph::highestFontInRange).
13613 * paragraph.C (highestFontInRange): added a default_size parameter.
13615 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13616 (setHeightOfRow): reformat
13618 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13620 * converter.[hC] + affected files: move to (inital-char)lowercase
13623 * ParagraphParameters.C (ParagraphParameters): remove commented code
13625 * PainterBase.[Ch]: remove commented code
13627 * LaTeXFeatures.h: add "bool floats" for float.sty
13629 * LaTeXFeatures.C (LaTeXFeatures): init floats
13630 (require): handle float
13631 (getPackages): do it with floats
13633 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13635 * BufferView_pimpl.C (Dispatch): improve handling of
13636 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13638 * commandtags.h: #include lyxfont.h here temporarily to avoid
13641 * bufferlist.h: include LString.h here.
13643 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13645 * text2.C (getStringToIndex): new method.
13647 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13649 * *: Reduced header file dependencies all over.
13651 2001-07-30 Baruch Even <baruch@lyx.org>
13653 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13655 2001-07-29 Baruch Even <baruch@lyx.org>
13657 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13659 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13661 * ParameterStruct.h (endif): add a default constructor to make
13662 sure that all variables is initialized.
13664 * ParagraphParameters.C (ParagraphParameters): adjust
13666 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13668 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13669 index; also, check that there is something to index, and that it
13670 does not span over several paragraphs.
13671 (doubleClick): use WHOLE_WORD_STRICT for double click.
13673 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13675 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13678 2001-07-26 Baruch Even <baruch@lyx.org>
13680 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13681 an InsetFig figure, backwards compatible reading of old figure code.
13683 2001-07-27 Juergen Vigna <jug@sad.it>
13685 * text2.C: font.realize function adaption.
13687 * text.C (draw): add a warnings lyxerr text if needed.
13689 * layout.C: font.realize function adaption.
13691 * language.C: add inherit_language and implement it's handlings
13693 * bufferview_funcs.C (StyleReset): remove language parameter from
13694 font creation (should be language_inherit now).
13696 * bufferparams.C (writeFile): handle ignore_language.
13698 * paragraph.C (getFontSettings): the language has to be resolved
13699 otherwise we have problems in LyXFont!
13701 * lyxfont.C (lyxWriteChanges): added document_language parameter
13702 (update): removed unneeded language parameter
13704 * paragraph.C (validate): fixed wrong output of color-package when
13705 using interface colors for certain fonts in certain environments,
13706 which should not seen as that on the final output.
13708 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13710 * BufferView_pimpl.C:
13715 * LyXAction.C: add thesaurus support
13718 * lyxfind.C: add "once" parameter, for thesaurus, to not
13719 move to the next match
13721 2001-07-26 Juergen Vigna <jug@sad.it>
13723 * lyxfont.C (realize): honor ignore_language too!
13726 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13728 * text.C (draw): one place more for ignore_language to not draw
13731 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13733 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13735 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13737 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13738 the minipage conversion problem.
13740 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13742 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13745 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13747 * BufferView.h: don't forward declare WorkArea
13749 * BufferView.C: don't include WorkArea.h
13751 2001-07-25 André Pönitz <poenitz@gmx.net>
13755 * lyxfunc.C: new LFUN 'math-space'
13757 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13759 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13761 * text2.C (toggleInset): call open/close
13763 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13765 * lyxfunc.C (dispatch): add debug for the disabled case
13767 * font.C (buttonText): make similar to rectText
13769 * buffer.C (readInset): comment out parsing of insetlist and
13772 * PainterBase.C (rectText): small correction
13774 * BufferView_pimpl.C: comment out insettheorem and insetlist
13775 * LyXAction.C: ditto
13776 * commandtags.h: ditto
13778 2001-07-24 Juergen Vigna <jug@sad.it>
13780 * text.C (draw): honor the ignore_language.
13782 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13784 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13786 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13789 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13791 * lyxtext.h: remove unused (and unimplemented) methods
13793 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13795 * text.C (getVisibleRow): honor background color
13798 * Painter.h: remove default color argument for fillRectangle
13800 * text.C (backgroundColor): new method
13802 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13804 * text.C (getVisibleRow): adjust
13806 * font.[Ch] (rectText): new method, metrics
13807 (buttonText): new method, metrics
13809 * PainterBase.[hC]: make rectText and buttonText always draw and take
13812 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13814 * ToolbarDefaults.C (read):
13815 * MenuBackend.C (read): allow escaping in all strings
13817 * BufferView_pimpl.C (insertAndEditInset): new method.
13818 (Dispatch): use insertAndEditInset whenever appropriate.
13820 * BufferView_pimpl.C (insertNote): removed
13822 * BufferView_pimpl.C (smartQuote): new method, moved from
13823 BufferView; if an insetquote cannot be inserted, insert a '"'
13826 * BufferView2.C: remove insertCorrectQuote();
13828 * lyxfunc.C (getStatus): Add support for all remaingin
13829 inset-insert lfuns.
13831 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13833 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13834 command (necessary to pass " as parameter of self-insert.
13836 * text.C (selectWordWhenUnderCursor):
13837 (selectWord): add word_location parameter
13838 (selectWordWhenUnderCursor): same + remove special code for word
13840 (selectNextWord): use kind() to guess type of insetspecialchar,
13843 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13844 (insertErtContents): create ert insets as collapsed.
13845 (readInset): better compatibility code for Info inset.
13847 2001-07-20 Juergen Vigna <jug@sad.it>
13849 * lyxfunc.C (dispatch): use always LyXFind now!
13851 * text2.C (init): add a reinit flag so that the LyXText can be
13852 reinited instead of deleted and reallocated (used in InsetText).
13854 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13860 2001-07-18 Juergen Vigna <jug@sad.it>
13862 * text.C (selectNextWord): handle insets inside inset by calling
13863 always the bv->text functions so that we can go up the_locking_inset!
13865 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13866 in strange locations when inside an inset!
13868 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13869 handling to include insets.
13871 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13873 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13875 * LyXAction.C (init):
13877 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13878 LIGATURE_BREAK, since the name is so stupid.
13880 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13882 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13885 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13887 * sp_form.[Ch]: remove.
13889 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13891 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13894 * src/buffer.C (readInset): ditto.
13896 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13898 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13899 menuSeparator(), endOfSentenceDot(), ldots() and
13900 hyphenationPoint(), which are therefore removed.
13901 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13903 * LyXAction.C (init):
13904 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13906 * paragraph.C (getWord): removed.
13908 * BufferView_pimpl.C (Dispatch): use last word or selection for
13909 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13911 * lyx_main.C (queryUserLyXDir): do not ask before creating
13912 user_dir, except if it has been named explicitely.
13914 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13916 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13917 a document of zero size.
13919 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13921 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13922 approriately in the c-tor and in require().
13923 (getPackages): output the appropriate LaTeX for natbib support.
13925 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13926 variables "use_natbib" and "use_numerical_citations" when reading the
13928 (readInset): read the various natbib cite commands.
13929 (validate): white-space change.
13931 * bufferparams.[Ch]: new variables "bool use_natbib" and
13932 "bool use_numerical_citations".
13933 (writeFile): output them in the LyX file.
13935 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13937 * lyxfunc.C (getStatus): add support for all the inset insertion
13940 * text2.C (insertInset):
13941 * paragraph.C (insetAllowed):
13942 * BufferView_pimpl.C (insertInset): update to take in account the
13943 renaming of insertInsetAllowed
13945 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13947 * text2.C (getInset): new method. returns inset at cursor position.
13949 * BufferView_pimpl.C (Dispatch): changes because of this.
13951 * LyXAction.C (init): rename open-stuff to inset-toggle.
13953 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13955 * text2.C (toggleInset): renamed from openStuff; use
13958 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13960 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13962 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13964 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13966 * buffer.C (readLyXformat2): Add filename to the error dialog
13968 2001-07-18 Juergen Vigna <jug@sad.it>
13970 * tabular.C (GetCellNumber): put an assert here instead of the check!
13972 2001-07-17 Juergen Vigna <jug@sad.it>
13974 * BufferView_pimpl.C (toggleSelection): adapted too.
13976 * text.C (selectNextWord): adapted for use with insets.
13977 (selectSelectedWord): ditto
13979 2001-07-17 Juergen Vigna <jug@sad.it>
13981 * sp_spell.C (PSpell): fix initialitation order.
13983 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13985 * paragraph.C: spacing
13987 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13989 * sp_spell.C: repair language selection for pspell
13991 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13993 * lyxfunc.h: change more methods to begin with lower char.
13995 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13997 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13998 for unknown layouts.
14000 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14002 * buffer.C (readLyXformat2): Generate an error dialog if there are
14005 2001-07-16 Juergen Vigna <jug@sad.it>
14007 * sp_spell.C: always compile ISpell part.
14009 * lyxrc.C: added use_pspell entry and it's handling.
14011 2001-07-13 Juergen Vigna <jug@sad.it>
14013 * sp_spell.C: removed double includes.
14015 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14017 Consistent use of Lsstream.h:
14018 * Lsstream.h: added using std::stringstream for consistencies sake.
14020 * buffer.C: removed using std::stringstream
14022 * lyxfont.C (stateText):
14023 * paragraph.C (asString):
14024 * text.C (selectNextWord, selectSelectedWord):
14025 * text2.C (setCounter):
14026 * vspace.C (asString, asLatexString):
14027 std::ostringstream -> ostringstream.
14029 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14031 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14032 * commandtags.h: add LFUN_HELP_ABOUTLYX
14033 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14035 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14037 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14039 * lyx_gui_misc.C: remove spellchecker
14040 * lyxfunc.C: showSpellchecker
14042 * sp_ispell.h: added
14043 * sp_pspell.h: added
14044 * sp_spell.C: added
14045 * sp_form.[Ch]: removed
14046 * spellchecker.[Ch]: removed
14048 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14050 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14052 (simpleTeXSpecialChars): Simply print the input character without
14053 any special translation if pass_thru is set.
14055 * layout.h: Added bool pass_thru to layout class for being able to
14056 implement pass through of a paragraph for Literate Programming.
14058 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14059 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14060 * layout.C (Read): add "passthru" to list of layout tags and add
14061 code to set the pass_thru boolean when it is read.
14063 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14065 * trans_decl.h: remove allowed from KmodInfo
14067 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14068 remove allowed code
14071 * paragraph_pimpl.C (erase): use boost::prior
14073 * Painter.C (text): use data() instead of c_str() when length is
14075 * WorkArea.C (putClipboard): ditto
14076 * font.h (width): ditto
14078 * BufferView2.C: use it-> instead of (*it). for iterators
14080 * paragraph_pimpl.C: ditto
14081 * paragraph.C: ditto
14082 * minibuffer.C: ditto
14083 * language.C: ditto
14085 * encoding.C: ditto
14086 * counters.C: ditto
14087 * converter.C: ditto
14089 * Variables.C: ditto
14090 * TextCache.C: ditto
14091 * MenuBackend.C: ditto
14092 * LyXAction.C: ditto
14094 * FloatList.C: ditto
14095 * DepTable.C: ditto
14096 * ColorHandler.C (LyXColorHandler): ditto
14098 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14100 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14102 * text2.C (openStuff): reintroduce this method (which had been
14103 nuked in NEW_INSETS frenzy).
14105 * lyxfunc.C (Dispatch): when an action has not been handled, use
14106 its name in the error message, not its number.
14108 * paragraph.C (inInset): change method name to begin with lowercase.
14111 * text2.C: updates because of this.
14113 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14115 * ToolbarDefaults.C (add): add spaces in error message
14117 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14119 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14120 (readLyXformat2): rename return_par to first_par, use lyxlex's
14121 pushToken and remove the manual push handling.
14122 (parseSingleLyXformat2Token): add another ert comp. variable:
14123 in_tabular, rename return_par to first_par. handle newlines better
14125 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14127 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14129 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14131 * text2.C (getParFromID): removed
14133 * buffer.C (getParFromID): new method moved form lyxtext.
14134 * BufferView2.C (insertErrors): adjust
14135 (setCursorFromRow): adjust
14136 * BufferView_pimpl.C (restorePosition): adjust
14137 * lyxfunc.C (Dispatch): adjust
14138 * undo_funcs.C (textUndo): adjust
14140 (textHandleUndo): adjust
14141 (textHandleUndo): adjust
14143 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14145 * buffer.C: up' the LYX_FORMAT
14147 * lyxfont.h: turn NO_LATEX on as default
14149 * buffer.C (insertErtContents): new methods of tex style compability.
14150 (parseSingleLyXformat2Token): use it several places.
14151 * tabular.C (OldFormatRead): and here
14153 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14155 * text2.C: remove some commented code.
14158 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14159 * trans.C: changes because of the above.
14161 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14163 * text2.C (setCounter): Fix counters bug with bibliography layout.
14165 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14167 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14168 own member functions
14169 (simpleTeXSpecialChars): ditto
14171 2001-07-06 Juergen Vigna <jug@sad.it>
14173 * a lot of files: changed the access to LyXText::status and the
14174 call of undo-functions.
14176 * undo.[Ch]: added a inset_id to the undo informations.
14178 * undo_funcs.[Ch]: added and moved here all undo functions.
14180 * lyxtext.h: give the status enum a weight, made status_ a private
14181 variable and made accessor functions for it, removed the whole bunch
14182 of undo-functions as they are now in their own file, make some
14183 functions publically available. Added function ownerParagraph with
14186 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14187 made InInset() a const function, added getParFromID() function.
14189 * buffer.[Ch]: added const version for inset_iterator functions,
14190 added getInsetFromID() function.
14192 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14193 changed undo functions for new version.
14195 2001-07-05 Juergen Vigna <jug@sad.it>
14197 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14198 unknow mechanism does not call the proper constructor but only this
14199 one also if I request the other!?
14201 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14203 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14205 * text2.C (LyXText): use initialization lists.
14207 * lyxtext.h (Selection): initialize set_ and mark_
14208 (init): remove method
14210 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14212 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14214 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14216 * screen.[Ch]: change method names to begin with lowercase
14218 * BufferView_pimpl.C (updateScrollbar): simplify further and
14219 hopefully make it a bit faster.
14221 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14223 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14224 calling directly xforms functions.
14226 * Painter.C (Painter):
14227 * lyx_cb.C (MenuWrite):
14228 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14231 * lyx_gui.C: remove bogus guiruntime extern declaration.
14233 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14235 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14237 (redoDrawingOfParagraph): ditto
14238 (redoParagraphs): ditto
14239 (cutSelection): don't create a object for CutAndPaste use the
14240 static method directly
14241 (pasteSelection): ditto
14243 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14246 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14248 * modifications to some other files because of this.
14250 * Makefile.am (lyx_SOURCES): add XFormsView
14252 * XFormsView.[Ch]: new files
14254 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14255 the main window. Move the gui dependent stuff to XFormsView
14257 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14259 * tabular.C (GetCellInset): update cur_cell also in the row/col
14260 version of this function.
14262 * lyxfunc.C: no need to include figure_form.h here.
14268 * lyxvc.C: no need to include forms.h here.
14270 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14272 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14274 * lyxfunc.C (Dispatch):
14276 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14277 constructor argument.
14279 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14281 * paragraph.C (Paragraph): dont't clear, and just set layout.
14282 (makeSameLayout): use params's copy contructor.
14284 * ParagraphParameters.[Ch] (makeSame): delete method
14286 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14288 * Variables.[Ch]: fix indentation, rename set to isSet
14290 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14292 * lyxfunc.C (Dispatch): fix typo
14294 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14296 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14299 * bufferlist.C: include assert.h for emergencyWrite().
14301 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14303 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14304 give up at last (bug #425202) !
14306 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14312 * spellchecker.C: strip spellchecker options and bring up
14313 preferences tab instead
14315 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14317 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14318 the istringstream constructor
14320 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14322 * paragraph.C (getLayout): fix return value
14324 * paragraph.h: do not declare getLayout as inline.
14326 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14328 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14330 * lyxcursor.h (operator<): new func
14331 (operator>): new func
14332 (operator>=): new func
14333 (operator<=): new func
14335 * text.C (changeCase): use selection.start and selection.end
14336 (changeRegionCase): require from to be <= to. Require par to be a
14339 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14341 2001-06-27 Juergen Vigna <jug@sad.it>
14343 * text.C (cursorLeftOneWord): changed to return the cursor and added
14344 overlay with BufferView * parameter which calls this one.
14346 (selectWord): use new getWord function.
14347 (changeCase): renamed from changeWordCase as and extended to work
14348 also on selections.
14350 * lyxtext.h: added enum word_location
14352 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14353 changeCase as this operates now also on selections.
14355 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14357 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14359 * many files: send debug output to Debug::INFO instead of
14362 * converter.C (View):
14364 (Move): send debug output to Debug::FILES instead of console.
14366 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14368 * lyxfunc.C (getStatus): use func_status
14370 * func_status.h: new header, describing the results of
14371 LyXFunc::getStatus;
14373 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14376 2001-06-25 The LyX Project <jug@sad.it>
14378 * buffer.C (sgmlOpenTag):
14380 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14382 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14384 * text2.C: remove some dead code
14386 * tabular.C (GetCellInset): store the last cell checked (gotten)
14388 * tabular.h: add the helper for the speedup
14390 * lyxtext.h: remove some dead code
14392 2001-06-26 The LyX Project <Asger>
14394 * paragraph.C: Change export to LaTeX of alignment to
14395 \begin{center} and family for better roundtrip work with reLyX.
14397 * Tune the math drawing a bit.
14399 2001-06-25 The LyX Project <Asger>
14401 * LColor.C (LColor): New color for math background. New color
14404 2001-06-25 The LyX Project <jug@sad.it>
14406 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14408 * lyxfunc.C (Open):
14409 * bufferlist.C (newFile): do not restrict to files ending with
14412 * BufferView_pimpl.C (MenuInsertLyXFile):
14414 2001-06-24 The LyX Project <jug@sad.it>
14416 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14419 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14421 * lyxtext.h: rename most methods to begin with a small char.
14422 Lots of changes because of this.
14424 * paragraph.C (Paragraph): do not call fitToSize
14425 (erase): call Pimpl::erase
14426 (insertChar): call Pimpl::insertChar
14427 (insertInset): call Pipl::insertInset
14428 (breakParagraph): do not call fitToSize
14429 (breakParagraphConservative): do not call fitToSize
14430 (fitToSize): remove method
14432 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14434 2001-06-24 The LyX Project <Asger>
14436 * Fix Qt compilation^2
14438 2001-06-24 The LyX Project <jug@sad.it>
14440 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14441 depthHook(getDepth()-1).
14444 * ParagraphParameters.h:
14445 * ParameterStruct.h: change type of depth to unsigned int ==
14446 depth_type. Many adaptations to other files before of that.
14448 2001-06-24 The LyX Project <Asger>
14450 * Fix Qt compilation.
14452 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14454 * paragraph.h: renamed several methods to begin with small letter.
14455 several changes to many parts of the code because of this.
14457 2001-06-23 The LyX Project <jug@sad.it>
14459 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14460 rewritten to discard all double spaces when KeepEmpty is off
14461 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14462 to only handle newlines but not fiddle with spaces and friends.
14464 * lyxfunc.C (MenuNew): when doing 'new from template', use
14465 template_path as default directory
14467 2001-06-23 The LyX Project <Asger>
14469 * Clean-up of header file includes all over
14470 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14472 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14474 * paragraph.h: renamed from lyxparagraph.h
14476 2001-06-23 Asger <lyx@violet.home.sad.it>
14478 * Buffer.h: Removed Buffer::resize
14479 * BufferList.h: Removed BufferList::resize
14480 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14481 the document lazily when we change the width, or the font settings.
14483 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14485 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14487 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14489 * buffer.h: remove out of date comment
14491 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14494 * screen.C: fix "theoretical" GC leak
14496 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14498 * LaTeX.C (scanAuxFile):
14499 (deplog): remove trailing \r when reading stream (useful under
14502 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14504 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14505 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14506 and BufferView::theLockingInset(Inset*), so should use them and not
14507 access bv_->text->the_locking_inset directly.
14509 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14511 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14514 * tex-defs.h: remove old unused file
14516 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14518 * BufferView_pimpl.C: fix typo, remove minibuffer message
14519 when buffer has loaded
14521 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14523 * lyxfunc.C (Dispatch): use stringstream
14524 (MenuNew): use stringstream
14525 (Open): use stringstream
14527 * importer.C (Import): use stringstream
14529 * bufferview_funcs.C (CurrentState): use stringstream
14531 * LaTeX.C (run): use stringstream
14533 * BufferView_pimpl.C (savePosition): use stringstream
14534 (restorePosition): use stringstream
14535 (MenuInsertLyXFile): use stringstream
14537 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14550 * vspace.C: removed // -*- C++ -*- as first line.
14553 * version.h: added // -*- C++ -*- as first line.
14555 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14557 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14559 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14562 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14564 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14567 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14569 * gettext.C: include LString.h even when --disable-nls is on.
14571 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14573 * converter.h (Get): changed argument type from int to
14574 FormatList::size_type to avoid unnecessary conversion.
14576 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14579 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14581 * gettext.h: include LString.h even when --disable-nls is on.
14583 2001-06-07 Juergen Vigna <jug@sad.it>
14585 * text.C (BreakAgain): subst spaces with tabs.
14587 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14588 (resizeInsetsLyXText): set force on resizeLyXText.
14590 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14592 * gettext.h (gettext_init):
14593 (locale_init): use a real definition instead of a macro
14595 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14597 * Bufferview_pimpl.C:
14599 * LColor.C: further lcolor tidies
14601 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14603 * BufferView_pimpl.C (updateScrollbar): simplify.
14605 * BufferView2.C: don't include insets/insetinfo.h, change
14606 prototype for insertInset and call the Pimpl version. let
14607 updateInset call Pimpl version.
14609 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14610 gotoInset to BufferView::Pimpl
14612 2001-06-01 Juergen Vigna <jug@sad.it>
14614 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14615 inside a LockingInset (is the update needed at all?).
14617 2001-05-31 Juergen Vigna <jug@sad.it>
14619 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14620 here not the old one otherwise how should we compare it afterwards
14623 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14628 * FontInfo.C: bring C functions into global namespace when
14631 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14633 * LString.h: make sure config.h has been loaded before LString.h.
14635 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14636 (one for each char read by EatLine!).
14638 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14641 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14643 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14644 to the same as the par we break from
14646 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14648 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14650 * MenuBackend.C (expand): also create menu entries for wide
14651 versions of the floats.
14653 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14655 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14657 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14658 frontends/Makefile.am
14664 * tabular.C (getTokenValue): add std::
14666 * tabular-old.C (getTokenValue): add std::
14667 (getTokenValue): ditto
14668 (getTokenValue): ditto
14670 * screen.C (ToggleSelection): adjust
14672 * lyxtext.h: put selection cursors inside a Selection struct.
14674 * lyxfunc.C (moveCursorUpdate): adjust
14676 * lyxfont.C (latexWriteStartChanges): add std::
14678 * lyxfind.C: adjust
14680 * font.h: delete with(char const *, LyXFont const &)
14682 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14684 * FontInfo.C (getFontname): add std::
14686 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14687 (workAreaButtonPress): adjust
14688 (tripleClick): adjust
14690 (moveCursorUpdate): adjust
14693 * BufferView2.C (gotoInset): adjust
14695 2001-05-30 Juergen Vigna <jug@sad.it>
14697 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14698 to check pspell I add this as default as I now have new pspell
14699 libraries and they seem to use this.
14701 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14703 * text2.C (CutSelection): make the cursor valid before the call to
14706 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14708 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14709 relied on 0 terminated strings and other horrors. Bug found due to
14710 the new assert in lyxstring!
14712 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14715 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14717 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14720 * lyxfunc.C (processKeySym): change method of getting to the
14723 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14724 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14725 * BufferView_pimpl.[Ch]: here as private methods.
14727 2001-05-28 Juergen Vigna <jug@sad.it>
14729 * text.C (SetHeightOfRow): added the update() call again as it is
14730 needed to initialize inset dimensions!
14732 2001-05-16 Juergen Vigna <jug@sad.it>
14734 * text2.C (SetCharFont): Add new function with BufferView * and
14735 bool toggleall parameters for setting insets internal fonts.
14736 (SetFont): Freeze the undo as we may change fonts in Insets and
14737 all this change should be inside only one Undo!
14739 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14740 setting font's in insets as for them we have the SetFont function!
14742 2001-05-15 Juergen Vigna <jug@sad.it>
14744 * text2.C (ClearSelection): to be sure we REALLY don't have any
14747 * tabular.C (TeXCellPreamble): fixed the left border problem for
14750 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14752 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14755 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14757 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14758 LFUN_BREAKPARAGRAPH.
14760 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14761 help test to "internal only", similar for LFUN_INSERT_URL
14763 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14764 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14765 auto_region_delete and deadkeys.
14767 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14770 * LColor.C: remove some dead entries, tidy a little
14772 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14774 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14776 (Dispatch): implement LFUN_ESCAPE
14778 * commandtags.h: add LFUN_ESCAPE
14780 * LyXAction.C (init): add entry for LFUN_ESCAPE
14782 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14783 Remove commented code.
14784 (insertNote): moved here
14785 (open_new_inset): moved here
14787 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14790 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14792 * kbmap.C (findbinding): clean it up and make it work correctly.
14794 * lyx_main.C (init): do not pass argc and argv as parameters
14796 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14798 * buffer.C: fix path for OS/2 & Win32
14802 * lyx_main.C: Added os:: class.
14804 * os2_defines.h: update
14806 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14808 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14809 better by trying again with reduced state.
14811 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14813 * lyxrc.C (read): print error about invalid key sequence only when
14814 debugging (because not all latinX keysyms are known to some X
14817 * kbsequence.C (getiso): add a few std:: qualifiers
14818 (getiso): comment out extra return statement.
14820 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14822 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14824 (Dispatch): enhance the accent inset a bit. (not perfect)
14826 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14828 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14830 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14832 * bufferlist.C (emergencyWrite): fix assert() call
14834 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14836 * text.C (InsertChar): Added trivial patch to only send the "you
14837 can not do multiple spaces this way" message once during a
14840 2001-05-08 Baruch Even <baruch@lyx.org>
14842 * Makefile.am: Changed order of libraries to get LyX to link properly
14843 with the gnome frontend.
14845 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14847 * LaTeXFeatures.h: add a std:: qualifier
14849 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14851 * paragraph.C (String): use stringstream
14853 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14855 * paragraph.C (writeFile): remove footflag arg
14857 * buffer.C (makeLaTeXFile): use stringstream
14858 (latexParagraphs): remove footnot gurba
14860 * LaTeXFeatures.C (getPackages): use stringstream
14861 (getMacros): likewise
14862 (getTClassPreamble): likewise
14863 (getFloatDefinitions): new method
14865 * paragraph.C (writeFile): reindent
14868 * WorkArea.h: revert the xpos + etc changes.
14870 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14872 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14874 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14875 (pasteSelection): likewise
14876 * text2.C (CreateUndo): likewise
14878 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14880 * minibuffer.C (peek_event): temporarily reduce the functionality
14881 of the minibuffer (to allow args on lfuns)
14883 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14884 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14886 * buffer.C (readInset): add compability reading of old float
14887 lists, add reading of new style float list.
14888 (readInset): avoid reevaluation of inscmd.getCmdName()
14889 (getLists): reindent
14891 * MenuBackend.C (MenuItem): implement parsing of
14892 md_floatlistinsert and md_floatinsert.
14893 (expand::LastFiles): move initalizaton of iterators out of loop,
14894 avoid reevaluation.
14895 (expand::Documents): introduce typdedef vector<string> Strings,
14897 (expand::ExportFormats): introduce typedef vector<Format const *>
14898 Formats, and use it.
14899 (expand): implement FloatListInsert and FloatInsert.
14901 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14902 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14903 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14905 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14907 (Dispatch::LFUN_FLOAT_LIST): implement
14909 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14911 * LaTeX.C (run): Fix problem with --export code.
14913 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14915 * BufferView.[Ch] (workarea): removed.
14916 (getClipboard) new method; wrapper for workarea()->getClipboard()
14918 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14921 * WorkArea.h (width, height, xpos, ypos): These methods all
14922 returned the dimensions of the work_area sub-area of WorkArea,
14923 resulting in a position error if the WorkArea were resized. Now
14924 return the dimensions of the entire WorkArea.
14926 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14928 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14930 * LaTeX.C (deplog): correct the syntax of regex reg1
14932 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14934 * undo.C: remove !NEW_INSETS cruft
14936 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14938 * text2.C: remove !NEW_INSETS cruft
14940 * text.C: remove !NEW_INSETS cruft
14942 * tabular.C: remove !NEW_INSETS cruft
14944 * spellchecker.C: remove !NEW_INSETS cruft
14946 * lyxtext.h: remove !NEW_INSETS cruft
14948 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14950 * lyxfunc.C: remove !NEW_INSETS cruft
14952 * lyxfind.C: remove !NEW_INSETS cruft
14954 * lyx_cb.C: remove !NEW_INSETS cruft
14956 * figureForm.C: remove !NEW_INSETS cruft
14958 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14960 * buffer.[Ch]: remove !NEW_INSETS cruft
14962 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14964 * CutAndPaste.C: remove !NEW_INSETS cruft
14966 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14968 * BufferView2.C: remove !NEW_INSETS cruft
14970 * BufferView.h: remove !NEW_INSETS cruft
14972 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14974 * Lsstream.h: include LString.h before the sstream headers to
14975 fix problem with gcc 2.95.3 and lyxstring
14977 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14979 * lyx_main.C: add using directives when needed for C functions
14980 declared in std:: namespace.
14982 2001-04-27 Juergen Vigna <jug@sad.it>
14984 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14985 (SetHeightOfRow): comment out the update call should not be needed!
14987 2001-04-13 Juergen Vigna <jug@sad.it>
14989 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14990 (LyXTabular): tried to minimize operator= operations (and realized
14991 hopfully Lars wish).
14993 2001-04-27 Juergen Vigna <jug@sad.it>
14995 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14997 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14999 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15001 * buffer.C (readInset): hack to make listof algorithm work
15003 * BufferView_pimpl.C: hack to make listof algorithm work
15005 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15007 * LyXAction.C: removed all !NEW_INSETS cruft
15008 (init): moved lfun_item in method
15010 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15012 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15014 * BufferView2.C (theLockingInset): white space.
15016 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15018 * minibuffer.C: include <iostream>
15020 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15022 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15024 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15026 * text.[Ch] (TransposeChars): new method
15028 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15030 * call message directly through LyXView instead of through LyXFunc
15031 * BufferView2.C: adjust
15032 * BufferView_pimpl.C: adjust
15033 * FontLoader.C: adjust
15035 * bufferview_funcs.C: adjust
15036 * converter.C: adjust
15037 * figureForm.C: adjust
15038 * importer.C: adjust
15040 * lyx_gui_misc.C: adjust
15041 * lyxfunc.C: adjust
15044 + more files in subdirs
15046 * lyxparagraph.h (size): move up int file
15049 * adjust all uses of Assert to lyx::Assert.
15051 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15052 lyxfunctional in namespace lyx
15053 * layout.C (hasLayout): ditto
15056 (delete_layout): ditto
15057 (NumberOfClass): ditto
15058 * converter.C (GetFormat): ditto
15063 * bufferlist.C (getFileNames): ditto
15064 (emergencyWriteAll): ditto
15067 * MenuBackend.C (hasSubmenu): ditto
15070 * BufferView_pimpl.C (getInsetByCode): ditto
15072 2001-04-18 Juergen Vigna <jug@sad.it>
15074 * vspace.C (asLatexString): fixed the 100% problem.
15076 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15078 * lyxfunc.C (Dispatch):
15080 * minibuffer.h: add a few std:: qualifiers
15082 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15084 * minibuffer.[Ch]: reimplement so that commands is initiated and
15085 run from lyxfunc, simplified som handling, and made the completion
15086 and history code for complete. wip.
15088 * lyxfunc.C (processKeySym): call message
15089 (miniDispatch): new temporary method
15090 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15091 (LFUN_MESSAGE): implement
15092 (LFUN_MESSAGE_PUSH): implement
15093 (LFUN_MESSAGE_POP): implement
15094 (initMiniBuffer): the initial/defualt minibuffer message.
15096 * lyxfont.[Ch]: inline some more getters
15098 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15100 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15102 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15103 (AutoSave): use LFUN_MESSAGE
15104 (Reconfigure): ditto
15106 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15108 * figureForm.C: use LFUN_MESSAGE
15110 * converter.C (runLaTeX): use LFUN_MESSAGE
15112 * bufferview_funcs.C: use LFUN_MESSAGE
15114 (changeDepth): ditto
15116 * bufferparams.h: use boost::
15118 * bufferlist.h: inherit privately from noncopyable
15120 * bufferlist.C (loadLyXFile): remove some commented code.
15122 * buffer.C (runChktex): use LFUN_MESSAGE
15124 * ShareContainer.h: inherit privately from noncopyable
15126 * ParagraphParameters.[hC] (depth): inline it.
15128 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15130 (message): new method
15131 (messagePush): ditto
15132 (messagePop): ditto
15133 (show): init minibuffer
15134 (showState): direct call
15136 * LaTeX.[Ch]: inherit privately from noncopyable
15137 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15138 instead of WriteStatus.
15140 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15142 * BufferView_pimpl.C (buffer): don't init minibuffer
15143 (workAreaButtonPress): use LFUN_MESSAGE
15144 (workAreaButtonRelease): ditto
15145 (savePosition): ditto
15146 (restorePosition): ditto
15147 (MenuInsertLyXFile): ditto
15148 (workAreaExpose): don't init minibuffer
15149 (update): remove commented code, simplify
15151 * BufferView2.C (openStuff): use LFUN_MESSAGE
15152 (toggleFloat): ditto
15155 (copyEnvironment): ditto
15156 (pasteEnvironment): ditto
15161 (updateInset): remove some commented code
15163 * lastfiles.h: inherit privately from noncopyable
15166 * lyx_main.h: ditto
15168 * lyxlex_pimpl.h: ditto
15170 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15171 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15172 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15174 * LyXAction.h: inherit privately from noncopyable, add methods
15175 func_begin, func_end, returning iterators to the func map.
15177 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15178 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15179 (func_begin): new method
15180 (func_end): new method
15182 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15184 (copySelection): ditto
15185 (pasteSelection): ditto
15187 * BufferView.C: whitespace change
15188 * BufferView.h: inherit privately from noncopyable
15190 2001-04-16 Allan Rae <rae@lyx.org>
15192 * tabular-old.C (l_getline):
15193 * spellchecker.C (sc_check_word):
15194 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15195 an unrecognised preprocessor directive. So ensure they're wrapped.
15197 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15199 * src/exporter.C (Export): Give an error message when path to file
15202 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15204 * LaTeX.C (deplog): Always check that foundfile exists.
15206 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15209 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15211 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15213 * tabular.[Ch] (getLabelList): implement new method
15215 * minibuffer.h: comment ouf setTiimer
15217 * minibuffer.C (ExecutingCB): constify res
15218 (peek_event): constify s
15219 (Set): constify ntext
15220 (Init): constify nicename
15222 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15224 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15225 (savePosition): use two params to Minibuffer::Set
15226 (restorePosition): ditto
15228 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15230 * lyx_main.C: include language.h
15232 * Makefile.am (lyx_main.o): add language.h
15234 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15240 * CutAndPaste.C: include gettext.h
15242 * lyxfont.h: remove old hack with ON and OFF.
15245 * lyxfont.h: do not include language.h...
15250 * bufferview_funcs.C:
15256 * paragraph.C: ... but do it here instead
15258 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15260 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15262 * tabular.C: small reformat
15264 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15267 (BreakParagraph): ditto
15268 (SetOnlyLayout): ditto
15271 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15274 * lastfiles.C: removed most using decl, add std:: where needed
15276 * buffer.C: ws changes
15278 * MenuBackend.C (class compare_format): put into anon namespace
15279 (expand): constify label, names, action, action2
15282 * text.C (SingleWidth): constify font
15283 (IsBoundary): constify rtl2
15284 (GetVisibleRow): constify ww
15286 * LaTeX.C (deplog): constify logfile
15288 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15290 (workAreaExpose): constify widthChange, heightChange
15292 * lyxrow.C (par): moved
15295 * lyxrow.h: as inlines here
15297 * lyxfont.h (shape): moved from lyxfont.C
15298 (emph): moved from lyxfont.C
15300 * lyxfont.C (LyXFont): use initialization list for all
15302 (shape): move to lyxfont.h as inline
15303 (emph): move to lyxfont.h as inline
15306 2001-04-04 Juergen Vigna <jug@sad.it>
15308 * vspace.C: had to include stdio.h for use of sscanf
15310 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15313 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15314 independent of xforms.
15316 2001-04-02 Juergen Vigna <jug@sad.it>
15318 * spellchecker.C: fixed namespace placing!
15320 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15322 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15323 the LyXParagraph * is 0.
15325 2001-03-29 Juergen Vigna <jug@sad.it>
15327 * vspace.C: added support for %, c%, p%, l%.
15328 (stringFromUnit): added helper function.
15329 (asLatexString): changed to give right results for the %-values.
15331 * buffer.C: convert the widthp in a width%.
15333 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15335 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15338 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15339 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15341 * lyx_cb.[Ch]: see above.
15343 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15347 * lyx.[Ch]: replaced by figure_form.[Ch].
15351 * lyxfunc.C: changed headers associated with above changes.
15353 2001-03-27 Juergen Vigna <jug@sad.it>
15355 * BufferView_pimpl.C: set the temporary cursor right!
15357 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15359 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15361 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15363 * LString.h: removed "using std::getline"!
15365 * BufferView_pimpl.C (Dispatch): changes due to changes in
15366 InsetInclude::Params.
15368 * buffer.C (tag_name): removed redundant break statements as they were
15369 producing lots of warnings with my compiler.
15371 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15373 * LString.h: add "using std::getline" when using the real <string>.
15375 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15377 * buffer.C: removed bitset usage.
15378 PAR_TAG moved to an anonymous name space.
15379 (tag_name): new funtion, also in the anonymous namespace.
15380 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15381 (makeDocBookFile): clean code. Completed transition from string arrays
15383 (SimpleDocBookOnePar): code clean.
15385 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15387 * tabular.C: add some comments.
15389 2001-03-22 Juergen Vigna <jug@sad.it>
15391 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15392 compatibility read a bit and fixed bug with minipage in different
15395 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15397 * buffer.C (pop_tag): removed.
15398 (push_tag): removed.
15399 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15400 array replaced with vector. Added support for CDATA sections.
15401 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15403 (makeDocBookFile): XML conformant declaration of CDATA section,
15404 fixed bug related to <emphasis> in the first paragraph char.
15405 (sgmlOpenTag): exclude empty tags.
15406 (sgmlCloseTag): ditto.
15408 * buffer.h (pop_tag): removed.
15409 (push_tag): removed.
15411 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15413 * language.h (Languages): added size_type and size().
15415 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15417 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15418 response on compability reading of minipages. One probliem is that
15419 the old usage of minipages was «flertydig»
15421 * several files here and in subdirs: don't use static at file
15422 scope use anon namespaces instead.
15424 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15426 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15427 LaTeX output. This is necessary for Literate document
15430 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15432 * buffer.C: insert hfill when needed.
15434 * tabular.C (l_getline): use string::erase, small whitespace change.
15436 * BufferView_pimpl.C: try the anon namespace.
15437 * WorkArea.C: ditto
15439 2001-03-16 Juergen Vigna <jug@sad.it>
15441 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15442 otherwise it won't open options-dialogs.
15444 * buffer.C: honor pextraWidth(p) on converting minipages.
15446 * tabular.C (l_getline): changed the functions to strip trailing \r.
15448 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15450 * BufferView_pimpl.C:
15451 * minibuffer..C: added "using SigC::slot" declaration.
15453 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15455 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15461 * paragraph.C: ditto
15463 * lyxtext.h: NO_PEXTRA
15465 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15467 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15468 * ParameterStruct.h: ditto
15469 * ParagraphParameters.h: ditto
15470 * lyxparagraph.h: ditto
15472 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15474 * buffer.C: add compability for minipage alignment.
15475 (latexParagraphs): remove unwanted pextra check.
15477 * several files: remove CXX_WORKING_NAMESPACES
15479 * buffer.C (pop_tag): tie is in namespace boost
15481 * BufferView.h: noncopyable is in namespace boost
15483 * lyx_main.h: ditto
15486 * lastfiles.h: ditto
15487 * bufferlist.h: ditto
15488 * ShareContainer.h: ditto
15490 * LyXAction.h: ditto
15493 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15495 * Merging changes from BRANCH_MVC back into HEAD.
15497 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15499 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15501 * BufferView_pimpl.C: change from intl.C
15505 * Makefile.am: move combox.*
15511 * intl.C: remove dialog (covered by prefs)
15513 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15515 * lyxfunc.C (Dispatch): removed redundant break statement.
15517 2001-03-14 Juergen Vigna <jug@sad.it>
15519 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15521 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15523 * buffer.C: add hack to fix compability reading of minipages.
15525 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15527 * buffer.C (getLists): Cleanup.
15529 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15531 * lyxfont.C (update): don't honor toggleall on font size.
15533 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15537 * Makefile.am: moved to frontends/xforms/
15541 * BufferView_pimpl.C: changes for moved mathpanel
15543 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15545 * gettext.h: fix gettext_init() in --disable-nls
15547 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15549 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15551 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15554 * lyx.h: strip external form
15556 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15558 * BufferView_pimpl.C: add comment, destroySplash()
15560 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15562 * BufferView_pimpl.C:
15566 * lyxfunc.C: use re-worked insetinclude
15568 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15570 * buffer.C: add using std::stringstream.
15572 * lyx_cb.C: readd using std::ios.
15574 * buffer.C: add using std::map.
15576 * BufferView_pimpl.C: add using std::vector.
15578 * ShareContainer.h: add std:: to swap.
15580 * buffer.h: add some typedefs
15581 * buffer.C (getLists): use them
15582 (getLists): renamed from getTocList.
15583 add a counter for the different float types and use it in the
15585 (getLists): use the same counter for the NEW_INSETS and the "non"
15588 * lyx_cb.h: remove unused items, includes, using etc.
15590 * ShareContainer.h: remove some commented code, add more comments
15591 and "documentation".
15593 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15595 * buffer.C (getTocList): make the list also when NEW_INSETS is
15598 * buffer.h: remove TocType
15600 * buffer.C (getTocList): change to return a map<string,
15601 vector<TocItem> >, implement for dynamic number of list.
15603 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15604 * text2.C (PasteSelection): adjust
15605 * CutAndPaste.C (pasteSelection): adjust
15607 * FloatList.C (FloatList): update from the new_insets branch.
15608 * Floating.[Ch]: ditto
15609 * LaTeXFeatures.C: ditto
15611 * lyxlex_pimpl.C: ditto
15613 * paragraph.C (Last): remove when NEW_INSETS is defined.
15615 * other file: changes because of the above.
15617 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15619 * lyxparagraph.h: rename next to next_, previous to previous_,
15620 make them private for NEW_INSETS. Rename Next() to next(),
15621 Previous() to previous().
15623 * other files: changes because of the above.
15625 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15628 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15631 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15633 * main.C (main): pass lyx_localedir to gettext_init().
15635 * gettext.h: remove locale_init and gettext_init macros
15637 * gettext.C (locale_init): new function
15638 (gettext_init): new function
15640 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15643 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15645 * Moved credits to frontends:
15646 * credits.[Ch]: removed
15647 * credits_form.[Ch]: removed
15648 * lyx_gui_misc.C: remove credits stuff
15651 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15653 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15655 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15656 unneeded destructor.
15658 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15659 a standalone pointer again.
15661 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15663 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15669 * ToolbarDefaults.C:
15678 * BufferView_pimpl.C: use new file dialog in GUII
15681 * lyx_cb.C: remove LayoutsCB to Toolbar
15683 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15685 * ShareContainer.h (get): add std:: qualifier
15687 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15689 * ShareContainer.h: define a proper ShareContainer::value_type
15690 type (and use typename to please compaq cxx)
15692 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15694 * lyxparagraph.h: move serveral local vars to
15695 ParameterStruct/ParagraphParameters., use ShareContainer in
15696 FontTable., make vars in FontTable private and add getter and
15699 * paragraph.C: changes because of the above.
15701 * lyxfont.h: remove copy constructor and copy assignment. (the
15702 default ones is ok), move number inside FontBits. move inlines to
15705 * lyxfont.C: add number to initializaton of statics, move several
15706 inlines here. constify several local vars. some whitespace
15707 cleanup. Dont hide outerscope variables.
15709 * Spacing.h: add two new constructors to match the set methods.
15711 * ShareContainer.h: new file, will perhaps be moved to support
15713 * ParameterStruct.h: new file
15715 * ParagraphParameters.h: new file
15717 * ParagraphParameters.C: new file
15719 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15720 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15722 * BufferView_pimpl.C: ParagraphParameter changes.
15723 * buffer.C: Likewise.
15724 * bufferview_funcs.C: Likewise.
15725 * text.C: Likewise.
15726 * text2.C: Likewise.
15728 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15730 * lyxfind.C (LyXReplace): do not redefine default argument in
15732 (IsStringInText): ditto
15733 (SearchForward): ditto
15734 (SearchBackward): ditto
15736 2001-03-06 Juergen Vigna <jug@sad.it>
15738 * lyxfind.C (IsStringInText): put parentes around expressions.
15740 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15742 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15744 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15746 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15748 * stl_string_fwd.h: add comment
15750 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15753 * tabular.C: remove unused DocBook methods
15759 killed DO_USE_DEFAULT_LANGUAGE
15761 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15763 * lyx_gui.C: do not include language.h.
15765 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15766 arguments in function implementation.
15768 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15770 * BufferView_pimpl.C: add <ctime>
15772 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15774 * BufferView_pimpl.C: add using std::find_if
15776 2001-02-27 José Matos <jamatos@fep.up.pt>
15778 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15781 2001-02-11 José Matos <jamatos@fep.up.pt>
15783 * buffer.C (makeDocBookFile): command styles now have a parameter as
15784 "title" by default.
15786 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15788 * layout_forms.[Ch]: removed
15789 * lyx_cb.[Ch]: out character
15790 * lyx_gui.C: out character
15791 * lyx_gui_misc.C: out character
15792 * bufferview_funcs.C: : out character,
15793 added toggleall as parameter in ToggleAndShow
15795 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15797 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15799 * text2.C (SetCurrentFont): Disable number property at boundary.
15801 2001-02-26 Juergen Vigna <jug@sad.it>
15803 * lyxfunc.C (getStatus): added a string argument override function so
15804 that this is correctly called from LyXFunc::Dispatch if it contains a
15805 do_not_use_argument which is used!
15806 (Dispatch): added check for "custom" export and call appropriate func.
15808 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15810 * lyxrc.C: Add language_command_local, language_use_babel and
15811 language_global_options.
15813 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15815 * buffer.C (makeLaTeXFile): Use language_use_babel and
15816 language_global_options.
15818 2001-02-23 Juergen Vigna <jug@sad.it>
15820 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15821 which works with LyXText and putted it inside BufferView. Here now we
15822 only call for that part the BufferView::Dispatch() function.
15824 * BufferView.C (Dispatch): added.
15826 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15827 functions which needs to use a LyXText over from LyXFunc.
15828 (MenuInsertLyXFile): added
15829 (getInsetByCode): added
15830 (moveCursorUpdate): added
15831 (static TEXT): added
15833 2001-02-22 Juergen Vigna <jug@sad.it>
15835 * BufferView_pimpl.C (update): call a status update to see if LyXText
15838 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15840 * vc-backend.C (revert): implement for CVS
15841 (getLog): implement for CVS
15843 2001-02-20 Juergen Vigna <jug@sad.it>
15845 * text2.C (ClearSelection): added BufferView param for inset_owner call
15847 * lyxfunc.C (TEXT): added this function and use it instead of
15848 directly owner->view()-text of getLyXText().
15850 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15852 * src/layout_forms.C: out preamble
15853 * src/layout_forms.h: out preamble
15854 * src/lyx_cb.C: out preamble
15855 * src/lyx_cb.h: out preamble
15856 * src/lyx_gui.C: out preamble
15857 * src/lyx_gui_misc.C: out preamble
15858 * src/lyxfunc.C: connect with guii preamble
15860 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15862 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15864 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15866 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15867 whether to run bibtex.
15869 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15871 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15873 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15875 * Makefile.am (lyx_SOURCES): removed bibforms.h
15877 * vspace.h: doxygen
15879 * text.C (GetVisibleRow): make several local vars const
15881 * tabular.C: small cleanup.
15883 * lyxserver.C (callback): use compare instead of strncmp
15885 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15886 inlines to after class or to paragraph.C
15888 * lyxfont.h: remove friend operator!=
15890 * converter.h: move friend bool operator< to non friend and after
15893 * combox.h: small cleanup
15895 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15896 to inlines after class def.
15898 * buffer.C (pop_tag): use string operations instead of strcmp
15900 * bmtable.c: doxygen, small cleanup
15902 * LaTeX.h: remove friend operator==
15904 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15916 * BufferView_pimpl.C:
15917 * BufferView.[Ch]: remove cruft
15919 2001-02-14 Juergen Vigna <jug@sad.it>
15921 * lyxfunc.C: removed #if 0 unused code
15923 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15925 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15927 * text2.C (SetSelection): added a BufferView * parameter
15929 2001-02-13 Juergen Vigna <jug@sad.it>
15931 * lyxfunc.C (Dispatch): fixed protected blank problem.
15932 * BufferView2.C (protectedBlank): added LyxText * parameter.
15934 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15935 (AppendColumn): same as above for column_info.
15937 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15938 (moveCursorUpdate): use a LyXText param for support of InsetText.
15940 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15941 (tripleClick): ditto
15943 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15945 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15947 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15949 * text2.C (SetSelection): set correct update status if inset_owner
15950 (ToggleFree): ditto
15952 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15954 * tabular.C: remove some commented code.
15956 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15958 * BufferView_pimpl.C: call hideSplash()
15960 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15963 * bibforms.h: remove
15966 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15967 add LFUN_CHILD_CREATE
15969 * counters.h: fix tiny typo
15974 * lyx.C: move splash to frontends/xforms/
15976 * lyx_gui_misc.C: move Include and Bibform to frontends
15978 * lyxvc.h: clarify comment
15980 * vspace.C: tiny housekeeping
15982 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15984 * text.C (PrepareToPrint): RTL Fix.
15986 * paragraph.C (GetUChar): New method.
15987 (String): Use GetUChar.
15989 * buffer.C (asciiParagraph): Use GetUChar.
15991 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15993 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15995 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15998 * buffer.C: rename to getLogName(), handle
15999 build log / latex log nicely
16001 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16004 * MenuBackend.h: remove support for reference menuitem type.
16006 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16008 * BufferView_pimpl.C: housekeeping
16009 * BufferView_pimpl.h:
16014 * minibuffer.h: move Timeout GUI-I
16016 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16018 * lyxrc.C (read): Update converters data-structures.
16020 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16022 * LaTeX.h (operator!=): add operator != for Aux_Info
16024 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16026 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16028 * LaTeXLog.C: deleted, useful code moved to Buffer
16031 * buffer.C: new function getLatexLogName()
16037 * lyxfunc.C: use frontends for LaTeX and VC logs
16039 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16041 * LaTeX.h: yet another std:: that Allan forgot.
16043 * Variables.C (set): renamed from isset(), because this clashes
16044 with some HP-UX macros (grr).
16046 2001-02-06 Allan Rae <rae@lyx.org>
16048 * LaTeX.h: Another bug fix. Missing std:: this time.
16050 2001-02-04 Allan Rae <rae@lyx.org>
16052 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16053 floats problem. I've left it commented out because it's not quite
16054 correct. It should also test that the current object is a table or
16055 figure inset. But I haven't gotten around to figuring out how to do
16056 that. I *think* it'll be something like: "table" == inset.type()
16058 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16061 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16063 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16064 all the citation/databases/styles in the auxilary file.
16065 (run): Rerun latex if there was a babel language error.
16067 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16069 * text.C (Backspace): Preserve the font when changing newline char
16071 (BreakParagraph): If the cursor is before a space, delete the space.
16073 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16075 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16077 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16078 new argument (code).
16079 (ChangeCitationsIfUnique): New method.
16081 * paragraph.C (GetPositionOfInset): Handle bibkey.
16083 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16085 * BufferView_pimpl.h: change type of Position::par_pos to
16086 LyXParagraph::size_type.
16088 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16090 * BufferView_pimpl.C (savePosition, restorePosition): Write
16091 messages to minibuffer.
16093 2001-01-28 José Matos <jamatos@fep.up.pt>
16095 * buffer.C (makeDocBookFile): adds support for document language.
16096 A silly restriction on the name of LatexCommand types where removed.
16097 Added support for CDATA sections, allows to chars unescaped, used
16098 among others in code, to avoid escape < and >.
16100 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16102 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16103 saved positions instrad of a stack. Furthermore, a position is
16104 stored using paragraph id/paragraph position.
16106 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16107 Remove LFUN_REF_BACK.
16109 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16111 * converter.C (dvipdfm_options): New method.
16113 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16115 * vspace.C (isValidLength): Fix for empty input string.
16117 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16119 * LyXAction.C (init): change description of LFUN_FIGURE to
16122 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16124 * LaTeX.C: add using directive
16126 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16128 * MenuBackend.C (expand): Fix the sorting of the formats.
16130 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16132 * lyx_main.C: tiny error message fix
16134 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16136 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16137 calling fl_initialize(). This fixes the problem with ',' as
16138 decimal separator in text files.
16140 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16142 * trans.C (process): Fix the keymap bug.
16144 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16146 * LaTeX.C (scanAuxFiles): New method. Provides support for
16147 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16148 (scanLogFile) Scan for "run BibTeX" messages.
16150 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16151 OT1 font encoding. Also, load the aecompl package if the ae
16154 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16156 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16158 * texrow.C (increasePos): turn two error messages into debug
16161 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16163 * LaTeX.C (scanAux): Handle the \@input macro.
16164 (runBibTeX): Use scanAux().
16166 * language.C (latex_options_): New field.
16168 * LaTeXFeatures.C (getMacros): Add language macros.
16170 * buffer.C (makeLaTeXFile): Small fix.
16172 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16174 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16176 * text2.C: add a using directive.
16178 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16183 * lyxfunc.C: kill LyXBell.
16185 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16187 * text.C (IsBoundary): Remove the error message
16189 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16191 * lyxrc.C (setDefaults): Correct initialization value for
16194 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16196 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16199 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16200 and GotoNextNote().
16202 * src/LyXAction.C: Added reference-next.
16204 * text.C (InsertChar): Use contains instead of strchr.
16206 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16208 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16210 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16211 alignment commands (when needed).
16213 * text.C (InsertChar): Add ':' to number separator chars.