1 2004-10-29 José Matos <jamatos@lyx.org>
3 * output_docbook.C (makeEnvironment):
5 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
7 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
9 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
10 (cleanID): sanitize any id.
12 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
14 * buffer.C, lyxlex_pimpl.C:
15 * lyxlex_pimpl.C (setFile):
16 s/getExtFromContents/getFormatFromContents/
18 2004-10-28 José Matos <jamatos@lyx.org>
20 * output_docbook.C (makeEnvironment): move id to broadest possible scope.
22 * sgml.C (openTag): apply substitution of <> for all attribuites.
24 2004-10-28 José Matos <jamatos@lyx.org>
26 * buffer.C (makeLinuxDocFile, makeDocBookFile):
27 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
28 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
30 * sgml.[Ch]: new version for open and closeTag for paragraph and
31 for strings. Now they handle the ids of paragraphs.
33 2004-10-26 Angus Leeming <leeming@lyx.org>
35 * Makefile.am: add mover.[Ch].
37 * converter.C (convert, move): use the new Movers to move external
38 files to the temp directory.
40 * lyx_main.C (init): ensure that the global system_movers data
43 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
46 * mover.[Ch]: new files, defining a Mover as a utility to move an
47 external file between directories and, if necessary, manipulate this
48 file using a helper script.
50 2004-10-25 José Matos <jamatos@lyx.org>
52 * output_docbook.C (makeCommand): merge two if's that tested the same condition.
54 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * sgml.C (escapeString): fix warning in a better way
58 2004-10-25 José Matos <jamatos@lyx.org>
60 * sgml.C (escapeString): import the require boosts header file for
61 tie, and avoid a signed unsigned comparison.
63 2004-10-25 José Matos <jamatos@lyx.org>
65 * sgml.h: add #include <string>
67 2004-10-25 José Matos <jamatos@lyx.org>
69 * sgml.[Ch] (escapeString): new function to escape all the string.
71 2004-10-24 José Matos <jamatos@lyx.org>
73 * paragraph.[Ch] (getFirstWord): new function to get the first
74 word. Useful for description.
75 (simpleDocBookOnePar): remove depth argument, add another that
76 says where to start the paragraph.
78 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
79 use the new functions to fix cleanly the support for descriptions.
81 2004-10-24 José Matos <jamatos@lyx.org>
83 * buffer.C (makeLinuxDocFile, makeDocBookFile):
84 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
85 * output_linuxdoc.C (linuxdocParagraphs):
86 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
87 add buffer as argument.
89 2004-10-24 José Matos <jamatos@lyx.org>
91 * output_docbook.C (makeEnvironment, searchEnvironment): place
92 CDATA inside paragraphs and fix scope for listitems.
94 2004-10-24 José Matos <jamatos@lyx.org>
96 * output_docbook.C: remove using statement for stack.
98 2004-10-23 José Matos <jamatos@lyx.org>
100 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
101 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
102 docbook. The new scheme is recursive and makes use of iterators, the
103 same as latex export works.
104 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
105 directly with the paragraph contents. This code was moved up to
106 output_docbook.C (docbookParagraphs).
107 * sgml.C (openTag, closeTag): removed unneeded newlines.
108 (closeEnvTags) removed.
110 2003-10-23 André Pönitz <poenitz@gmx.net>
112 * undo.C (textUndoOrRedo):
113 * dociterator.C (asDocIterator): work around crash
115 * cursor.C (getStatus): replace ASSERT by more verbose error message
116 and manual correction of the problem. Should increase stability
117 while providing more sensible information.
119 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
121 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
123 * bufferlist.C (previous, next): new methods
126 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
128 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
130 * buffer.C (makeDocBookFile): add dsssl stylesheet control
131 entities to preamble.
133 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
135 * messages.C (Pimpl): strip off translation context information
137 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
140 the cursor is correct (bug 1694)
142 2004-10-13 José Matos <jamatos@lyx.org>
144 * output_docbook.C (docbookParagraphs): fix closing tags in the
147 2004-10-09 José Matos <jamatos@lyx.org>
149 * buffer.C: format up to 237.
150 * bufferparams.C (write): use tostr to convert booleans to strings.
152 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
154 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
156 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
158 * LaTeX.C: implement use of babel language in xindy.
160 2004-10-05 José Matos <jamatos@lyx.org>
162 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
163 Add new translators to help reading and writing the lyx file.
165 2004-10-05 José Matos <jamatos@lyx.org>
167 * ParagraphParameters.C (read):
168 * text.C (readParToken): replace nexToken by more appropriate lex
171 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
173 * LaTeX.C (runMakeIndex):
174 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
175 (usually 'makeindex') configurable.
177 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
178 with a variable rather than with a number.
180 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
182 * output_latex.C (TeXOnePar): make sure font setting is the first
183 thing that gets output (and the last at the end). Should fix bug
186 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
188 * pch.h: use proper signal include
190 * LaTeX.h: Use preferred calling of Boost.Signal
193 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
195 * pch.h: dont include <boost/function/function0.hpp>
197 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
199 * paragraph_pimpl.h: remove usage of ShareContainer
201 * paragraph_pimpl.C: remove initialization of ShareContainer.
203 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * BufferView.C (putSelectionAt): change the semantics when
208 backwards == true: now, this just swaps cursor and anchor wrt the
211 * BufferView.h (putSelectionAt): add some documentation
213 * lyxfind.C (findBackwards): rewrite using while(). In particular,
214 make sure backwardChar is done at least once (to avoid getting
216 (findNextChange): use putSelectionAt in the forward direction
217 (operator()): use Paragraph::isWord
219 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
221 * Spacing.C (set): c_str fix
223 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
225 * lyx_cb.C (Reconfigure): quote the name of configure script in
226 case it contains spaces
228 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
232 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
233 (BOOST_LIBS): use top_buildir when looking for the file
235 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
237 * pch.h: do not use include boost/format.hpp, multiple symbols
238 will result (gcc bug)
241 2004-08-23 José Matos <jamatos@lyx.org>
243 * bufferparams.C (readToken): fix reading of the author field.
245 2004-08-20 José Matos <jamatos@lyx.org>
247 * lyxrc.C: remove support/translator.h inclusion since it is not used.
249 2004-08-20 José Matos <jamatos@lyx.org>
251 * lyxlex.[Ch] (findToken): remove function.
253 * ParagraphParameters.C (findToken):
254 * bufferparams.C (findToken): replace call for previous function
255 with local copy. This local function has one more argument, the
256 read string argument.
258 2004-08-16 José Matos <jamatos@lyx.org>
260 * ParagraphParameters.C (write):
261 * Spacing.C (writeFile):
262 * bufferparams.C (writeLaTeX):
263 * lyx_cb.C (Reconfigure):
264 * paragraph.C (write):
265 * tabular.C (write): remove unnecessary space at end of line.
268 2004-08-16 José Matos <jamatos@lyx.org>
270 * text.C (readParagraph): remove debug message.
272 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
274 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
277 * output_plaintext.C (asciiParagraph): set depth correctly
279 * outputparams.h: add member depth
281 * paragraph_funcs.C (ownerPar): remove.
283 * text2.C (setCounter): remove first_pit; comment out some
284 non-working code that uses ownerPar
286 * BufferView.C (getParentLanguage): remove. Not used anymore, and
289 2004-08-16 José Matos <jamatos@lyx.org>
291 * text.C (readParToken, readParagraph, read): report all unknown tokens.
292 For the same level of importance use the same chanel to report problems.
293 (read): add code to deal with \begin_body and \end_body.
296 2004-08-15 José Matos <jamatos@lyx.org>
298 * lyxlex.C (getString): fix comment, buffer::readBody is now
301 * tex-strings.C (string_papersize): Default -> default,
302 Custom -> custom, for consistency with other options.
304 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
308 * Makefile.am: support pch
310 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
312 * text.C (readParToken): remove the static LyXFont variable and
313 pass it as a parameter instead. This fixes a nasty bug where an
314 inset will be inserted with a bad font in some situations
315 (readParagraph): adapt
317 * text2.C (setCounter): reduce number of calls to pars_[pit]
319 * text.C (singleWidth): add an assert, fix a test
321 * rowpainter.C (paintText): reduce number of calls to singleWidth
323 * paragraph.C (isHfill):
326 2004-08-14 André Pönitz <poenitz@gmx.net>
331 * lyxtext.h (several functions): use a Paragraph & argument
334 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
336 * metricsinfo.h: add a new field ltr_pos to PainterInfo
338 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
340 * text.C (singleWidth): remove useless test
342 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * tabular.h: remove bogus comments
346 * tabular.C (getDescentOfRow):
347 (isPartOfMultiColumn): add assertions
349 * lyxlength.C (inPixels): remove #warning
351 2004-08-14 André Pönitz <poenitz@gmx.net>
353 * paragraph.h: inline getChar()
355 * BufferView.h: remove unused declarations
357 2004-08-14 José Matos <jamatos@lyx.org>
359 * Buffer.[Ch] (readDocument): new name for old readBody.
360 * Buffer.C: new file format, new keywords: \begin_document,
361 \begin_header, \begin_body, \end_body.
363 * bufferparams.C (readToken): replace all calls to lex.nextToken
364 by lex.next(). Do the same to eatLine except where really needed.
366 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
367 line when writing to the lyx file.
369 * output_plaintext.C (asciiParagraph): fix Bibliography style
372 * text.C (read): fix end of file handling.
374 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
376 * MenuBackend.C (Menu::operator[]): new method to access
377 individual menu items
378 (Menu::hasFunc): new method. search for an item that corresponds
380 (MenuBackend::specialMenu): new method
381 (MenuBackend::expand): if a special menu has been set, skip
382 entries whose func() appears in this menu
384 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
386 * text3.C: use Debug::DEBUG a bit more
388 * text.C (leftMargin): try to simplify a tiny bit change var x to
389 l_margin. Dont output the wide margins always.
390 (rightMargin): no margin in inner texts
392 * rowpainter.h (nestMargin): new func
393 (changebarMargin): new func
394 (rightMargin): new func
396 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
400 * factory.C (createInset): modify setDrawFrame
402 * cursor.C: use Debug::DEBUG a bit more
404 2004-08-14 André Pönitz <poenitz@gmx.net>
407 * Makefile.am: new files to accomodate an 'external' (x,y)-position
408 cache for all insets in (at least partially) visible (top-level)
411 * BufferView_pimpl.C: reset external coord cache before every update.
412 This means the coord cache only contains valid entries.
414 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
417 * BufferView_pimpl.C (getInsetByCode): move function out of class
418 and change in to a template in anon namespace. Also fix to do what
421 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
424 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
426 (breakParagraph): rename par to par_offset and use a local
427 reference. Add code to keep the language over a rebreak.
428 (breakParagraphConservative): rename par to par_offset, use a
430 (mergeParagraph): ditto
432 (isFirstInSequence): ditto
433 (outerFont): rename pit to par_offset
435 * paragraph.C: ws change
440 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
442 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
445 * paragraph.C (simpleTeXOnePar): when we have a \item with
446 optional argument, enclose the argument with curly brackets (in
447 case it contains a closing square bracket)
451 * text3.C (checkInsetHit): constify
453 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
455 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
458 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
460 Fix toggling of collapsable insets with the mouse (bug 1558)
462 * lyxfunc.C (dispatch): adapt to LCursor changes
464 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
465 make sure that dispatch is not invoked twice
467 * cursor.C (needsUpdate): new method
468 (dispatch): return void
469 (result): new method, to access the DispatchResult of the cursor.
471 2004-08-13 José Matos <jamatos@lyx.org>
473 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
475 2004-08-13 André Pönitz <poenitz@gmx.net>
477 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
479 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
482 2004-08-12 André Pönitz <poenitz@gmx.net>
484 * text3.C: take out the 'cursor right' form insertInset and only
485 do it in those places when it is really needed. Fixes crash on
488 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
490 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
492 * BufferView_pimpl.C (setBuffer): initialize the current font of
493 the underlying LyXText
495 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
497 * kbsequence.C (print): use UI native formatting for menu
500 * text.C (insertChar): call Paragraph::insertChar with a font
503 * paragraph.C (insertInset, insertChar): the version that takes a
504 LyXFont argument is now a wrapper around the other one (the
505 opposite used to be true).
507 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
508 argument. Font setting is done in Paragraph now.
510 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
512 * outputparams.h: add new members intitle and lang.
514 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
515 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
517 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
519 * text3.C (dispatch): remove special handling of button 4 and 5,
520 it is now taken care of in the frontend code.
522 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
524 * Spacing.h: add <string> (STLPort compile fix)
526 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
528 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
530 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
532 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
535 * converter.C (showMessage): inherit from unary_function, make
538 * buffer.C (writeFile): initialize retval
540 * InsetList.h: rename private variable list to list_
541 * InsetList.[Ch]: adjust accordingly.
543 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
545 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
546 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
547 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
548 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
549 * ParagraphParameters.C, LaTeXFeatures.C: replace
550 "support/std_sstream.h" with <sstream>
552 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
554 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
555 * lyxsocket.C (LyXServerSocket): ditto
556 (serverCallback): ditto
558 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
560 * LaTeXFeatures.C: check release date when loading jurabib.
562 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
564 * lyxserver.C (startPipe): call register_socket_callback
565 (endPipe): call unregister_socket_callback
567 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
569 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
570 (LyXServerSocket): register the callback
571 (LyXServerSocket): unregister the callback
572 (fd): delete function
573 (serverCallback): improve error checking and setup the callbacks.
574 (dataCallback): change arg to fd.
575 (writeln): new func (copied fro the client socket) used for server
577 (LyXDataSocket): simplify
578 (~LyXDataSocket): close ann unregiser callback
579 (server): delete function
580 (fd): delete function
581 (readln): small changes, improve some std::string usage
582 (writeln): constify a bit
584 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
586 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
589 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
591 * BufferView_pimpl.C (setBuffer): set the layout combox value only
592 after it has been populated
594 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
596 * text2.C (insertInset): move cursor when inserting inset.
598 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
600 * kbmap.C (findbindings): a couple of new methods. returns a
601 container of kb_sequence objects. The real work is done by the
602 private recursive version
603 (printbindings): uses findbindings to print out a bracketed list
604 of bindings (renamed from findbinding).
606 * MenuBackend.C (binding): use kb_keymap::findbindings
608 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
610 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
612 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
614 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
616 * paragraph.C (isWord): return true on insets that report
619 * text.C (getWord): use Paragraph::isWord to decide what is in a
620 word and what is not; fix bug 1609.
622 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
624 * tex-strings.C: add "none" to string_paperpackages[], fixes
625 off-by-one-error in the paperpackage selection.
628 * tex-strings.[Ch]: char const * string[n]
629 -> char const * const string[]
631 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
633 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
634 command, return early.
636 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
638 * debug.h: add DEBUG to enum and fix size of ANY.
640 * debug.C: add support for Debug::DEBUG
641 (showTags): cast errorTags.level to unsigned int
643 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
644 (redoCurrentBuffer): ditto
645 (updateScrollbar): ditto
646 * cursor.C (dispatch): ditto
647 * text2.C (setLayout): ditto
649 (updateCounters): ditto
651 (deleteEmptyParagraphMechanism): ditto
653 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
655 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
656 annotations to cleanup the Makefile slightly.
658 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
660 * lyxrc.C: do not set user_email to a default value but use empty
661 instead. The entry used to be translated, which does not work
662 since at the point where lyxrc is constructed there is no
663 translation service available
665 * messages.C (getLocaleDir): remove and use directly
666 lyx_localedir() instead
668 2004-06-02 Angus Leeming <leeming@lyx.org>
670 Fix crash caused by dereferencing null pointer 'exportdata' in
671 OutputParams by creating a new ExportData variable on the heap,
672 storing it in a boost::shared_ptr.
673 The crash was triggered when generating an Instant Preview
674 of an external inset.
676 * Makefile.am: add outputparams.C
678 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
679 (c-tor): allocate memory to it.
681 * exporter.C (c-tor): associated changes.
683 2004-06-01 Angus Leeming <leeming@lyx.org>
685 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
686 contains data before calling isInset(0). (Bug 1513.)
688 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
690 * exporter.C (checkOverwrite): new method
691 * exporter.C (copyFile): new method
692 * exporter.C (Export): copy referenced files to the document dir
693 * exporter.[Ch]: new class ExportedFile
694 * exporter.[Ch]: new class ExportData. Contains currently the
695 names of referenced external files
696 * outputparams.h: add exportdata member.
698 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
700 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
703 2004-05-19 Angus Leeming <leeming@lyx.org>
708 * lyxfunc.C: small changes due to the introduction of namespace
709 lyx::frontend and the moving of namespace biblio to lyx::biblio.
711 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
713 * text3.C (dispatch): supress update when only moving the cursor
714 * cursor.C (selHandle): remove commented code
716 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
718 * paragraph.C (startTeXParParams): correct column count
719 * CutAndPaste.C (pasteSelection): remove const_cast
720 * output_docbook.C (docbookParagraphs): remove const_cast
721 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
722 const_cast and return ParagraphList::const_iterator
723 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
724 * output_plaintext.C (writeFileAscii): remove const_cast
725 * paragraph.[Ch] (simpleTeXOnePar): make const
726 * paragraph_funcs.C (outerPar): use const iterators
727 * paragraph_pimpl.C (validate): use const iterators
728 * text.C (setHeightOfRow): use const iterators
730 2004-05-17 Angus Leeming <leeming@lyx.org>
733 * LyXAction.C (init): new LFUN_INSET_REFRESH.
735 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
736 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
737 if the citation engine has changed.
739 2004-05-14 José Matos <jamatos@lyx.org>
741 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
742 if the textclass does not provide it. Have it different for sgml and
744 support the language of document.
745 * output_docbook.C (docbookParagraphs):
746 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
747 first anchor as the id of the paragraph, remove special case code.
748 * sgml.C (escapeChar): escape only < & >.
750 2004-05-14 Angus Leeming <leeming@lyx.org>
752 * bufferparams.h: move biblio::CiteEngine enum here to minimize
753 dependencies on src/frontends/controllers/biblio.h. Define a
754 CiteEngine_enum wrapper class to enable the enum to be forward
757 2004-05-12 Angus Leeming <leeming@lyx.org>
759 * buffer.C: up LYX_FORMAT to 234.
760 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
761 use_numerical_citations with a single biblio::CiteEngine cite_engine
763 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
765 2004-05-13 José Matos <jamatos@lyx.org>
768 * converter.C (Converter, readFlags): add xml member.
769 * outputparams.h: add XML flavor.
770 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
772 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
774 * lyxfunc.C (dispatch):
775 (getStatus): fix handling of LFUN_SEQUENCE
777 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
779 * debug.C (showLevel): do not forget the end-of-line marker
781 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
783 * kbmap.C (read): do not stop parsing a bind file when an error
786 2004-04-29 Angus Leeming <leeming@lyx.org>
791 * text2.C: wrap a bunch of #warning statements
792 inside #ifdef WITH_WARNINGS blocks.
794 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
796 * buffer.C: increment format to 233.
798 2004-04-28 Angus Leeming <leeming@lyx.org>
800 * BufferView_pimpl.C:
803 s/updateToolbar()/updateToolbars()/
804 s/Toolbar.h/Toolbars.h/
806 2004-04-28 Angus Leeming <leeming@lyx.org>
808 * BufferView.[Ch] (c-tor):
809 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
810 No longer passes these data to the WorkArea generator.
812 2004-04-28 Angus Leeming <leeming@lyx.org>
814 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
816 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
818 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
820 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
822 * output_latex.C (TeXEnvironment): make sure that there is a line
823 break before \end{foo} for the last paragraph of a document
824 (TeXOnePar): if the paragraph is at the end of the document (or
825 inset) and the language has to be reset, then make sure that the
826 line break is _before_ the language command, not after (fixes bug
827 1225); also make sure that the language reset command is the first
828 thing after the paragraph (to ensure proper nesting of
829 environments and thus fix bug 1404)
831 2004-04-21 John Levon <levon@movementarian.org>
834 * ToolbarBackend.C: make "name" be a programmatic name
835 and a gui_name field.
837 * lyxfunc.C: display the minibuffer on M-x
839 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
841 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
844 2004-04-19 Angus Leeming <leeming@lyx.org>
846 * BufferView_pimpl.C (setBuffer): changed preview interface.
848 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
851 2004-04-19 John Levon <levon@movementarian.org>
853 * BufferView_pimpl.C:
854 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
856 2004-04-05 Angus Leeming <leeming@lyx.org>
858 * text.C (redoParagraphs): add call to updateCounters(), thereby
859 fixing the missing "Figure #:" label from the caption of a
862 2004-04-13 Angus Leeming <leeming@lyx.org>
864 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
865 cursor is clicked out of an inset.
867 2004-04-13 Angus Leeming <leeming@lyx.org>
869 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
870 than an InsetOld one.
872 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
874 * format.[Ch]: add editor to Format
875 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
876 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
878 2004-04-08 André Pönitz <poenitz@gmx.net>
880 * metricsinfo.h: remove PainterInfo::width member
882 2004-04-08 Angus Leeming <leeming@lyx.org>
884 * lyx_sty.C (boldsymbol_def): modify so that it outputs
885 "\providecommand" rather than "\newcommand", thereby preventing
886 clashes with packages that define "\boldsymbol" themselves.
889 2004-04-08 Angus Leeming <leeming@lyx.org>
891 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
892 thereby squashing an unnecessary warning.
894 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
896 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
899 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
901 * BufferView.C (setCursor): call redoParagraph (some insets could
903 (putSelectionAt): remove the 'double update' trick
905 * BufferView_pimpl.C (fitCursor): call refreshPar
906 (workAreaDispatch): remove an uneeded update call
907 (dispatch): remove some manual update calls
909 * cursor.[Ch]: remove cached_y_, updatePos
910 (selHandle): set noUpdate when appropriate
912 * lyxfunc.C (dispatch): track if we need an update
914 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
916 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
917 (paintSelection): cheap optimization, do not call cursorX when not
919 (paintPars): change signature
922 (paintTextInset): adjust
926 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
928 * lengthcommon.C: compilation fix: remove explicit array size from
929 unit_name[] and friends
931 2004-04-05 Angus Leeming <leeming@lyx.org>
933 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
935 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
936 present only for the preferences dialog.
937 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
939 2004-04-05 Angus Leeming <leeming@lyx.org>
941 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
942 to enable the frontends to export changes to lyxrc correctly.
944 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
946 2004-04-07 André Pönitz <poenitz@gmx.net>
948 * cursor.[Ch] (selClear, adjust): remove math
950 * cursor_slice.C: more agressive assert
953 * BufferView_pimpl.C: rework mouse event dispatch
960 2004-04-05 André Pönitz <poenitz@gmx.net>
962 * cursor.[Ch] (valign, halign...): remove unneeded functions
964 2004-04-05 Angus Leeming <leeming@lyx.org>
966 * lyxlength.[Ch] (unit_name et al.): const-correct.
968 2004-04-05 Angus Leeming <leeming@lyx.org>
970 * BufferView_pimpl.C:
979 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
981 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
983 * text3.C (getStatus): add LFUN_BEGINNINGBUF
985 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
987 * lyxfind.C: add a couple of inTexted() tests + other small fixes
988 * BufferView_pimpl.[Ch] (getStatus)
989 * BufferView.[Ch] (getStatus): add
990 * lyxfunc.C (getStatus): move lfuns handled in
991 BufferView::dispatch to te function above
992 * Cursor.C (setSelection): set selection() = true
994 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
996 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
998 2004-03-31 Angus Leeming <leeming@lyx.org>
1000 * lyxfunc.C (dispatch): Fall through to the generic
1001 Dialogs::show("preamble").
1003 2004-03-31 Angus Leeming <leeming@lyx.org>
1005 * lyxfunc.C (dispatch): Fall through to the generic
1006 Dialogs::show("spellchecker").
1008 2004-03-31 Angus Leeming <leeming@lyx.org>
1010 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1013 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1018 * insetiterator.[Ch]:
1023 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1025 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1027 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1028 insets where we are putting the cursor.
1030 2004-03-31 Angus Leeming <leeming@lyx.org>
1033 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1035 * lyxrc.[Ch] (read, write): overloaded member functions taking
1036 a std::[io]stream arguments.
1038 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1040 2004-03-31 Angus Leeming <leeming@lyx.org>
1042 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1043 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1045 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1046 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1048 2004-03-31 Angus Leeming <leeming@lyx.org>
1050 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1051 the LFUN_ALL_INSETS_TOGGLE code.
1053 2004-03-30 Angus Leeming <leeming@lyx.org>
1055 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1056 has died. Fall through to the generic Dialogs::show("document").
1058 2004-03-30 Angus Leeming <leeming@lyx.org>
1061 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1062 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1064 * lyxfunc.C (getStatus, dispatch): define the actions for these
1065 lfuns. Little more than a cut and pste job from ControlDocument.C
1067 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1069 2004-03-30 Angus Leeming <leeming@lyx.org>
1072 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1073 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1075 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1076 open/closed state of ollapsable insets. Usage:
1078 all-inset-toggle <state> <name>, where
1079 <state> == "open" || "closed" || "toggle" and
1080 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1082 * lyxtext.h, text2.C (toggleInset): removed.
1084 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1085 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1086 now passes LFUN_INSET_TOGGLE to the found inset.
1088 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1089 is now invoked as "all-insets-toggle toggle branch".
1091 2004-03-30 Angus Leeming <leeming@lyx.org>
1095 * pariterator.[Ch]: added/corrected header blurb.
1097 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1099 * dociterator.[Ch]: add an inset_ member
1100 (backwardPos): implemented
1101 (backwardPos, forwardPos): use inset_ when the stack is empty.
1102 (doc_iterator_begin, doc_iterator_end): implemented
1103 * pariterator.[Ch]: adjust, add begin, end
1104 * insetiterator.[Ch]: adjust, add begin, end
1108 * BufferView_pimpl.C:
1109 * CutAndPaste.C: adjust
1111 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1113 * buffer.C: increment file format to 232.
1114 * LaTeXFeatures.C: add bibtopic package.
1115 * bufferparams.[Ch]: param \use_bibtopic.
1117 * lyxrc.[Ch]: add lyxrc bibtex_command
1118 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1120 * buffer.C: increment file format to 231.
1122 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1124 * dociterator.C: implement forwardPar
1125 * iterators.[Ch]: remove, replaced by
1126 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1128 * BufferView_pimpl.C:
1131 * bufferview_funcs.C:
1137 * Makefile.am: adjust
1139 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1141 * CutAndPaste.C (pasteSelection): fix 2 crashes
1142 (eraseSelection): fix a crash
1143 * paragraph_funcs.C: remove a warning
1145 2004-03-28 Angus Leeming <leeming@lyx.org>
1148 * LyXAction.C (init): new LFUN_PRINT.
1150 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1152 2004-03-27 Angus Leeming <leeming@lyx.org>
1155 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1157 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1159 2004-03-27 Angus Leeming <leeming@lyx.org>
1161 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1162 insetlist always contains non-null pointers to insets.
1164 2004-03-26 Angus Leeming <leeming@lyx.org>
1166 * src/BufferView_pimpl.C:
1167 * src/CutAndPaste.C:
1170 * src/output_plaintext.C:
1171 * src/outputparams.h:
1172 * src/paragraph_funcs.C:
1176 * src/frontends/controllers/ControlErrorList.C:
1177 * src/frontends/gtk/FileDialogPrivate.C:
1178 * src/frontends/gtk/GPainter.C:
1179 * src/frontends/gtk/GToolbar.C:
1180 * src/frontends/qt2/QRef.C:
1181 * src/mathed/math_scriptinset.C: squash compiler warnings.
1183 2004-03-26 Angus Leeming <leeming@lyx.org>
1185 * ispell.C (LaunchIspell::start):
1186 * lyx_cb.C (AutoSaveBuffer::start):
1187 invoke run(DontWait) rather than runNonBlocking().
1189 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1191 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1193 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1195 * kbsequence.C (print): adjust
1197 * kbmap.C (printKeySym): rename and change signature
1198 (printKey): use LyXKeySym::print()
1200 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1202 * undo.C: add using std::advance to compile for stlport
1204 2004-03-24 Angus Leeming <leeming@lyx.org>
1206 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1207 it leads to a crash when no buffer is present.
1209 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1210 Martin Vermeer <martin.vermeer@hut.fi>
1212 * lyxfunc.C (dispatch):
1213 * bufferparams.C (readToken): use the new LColor::setColor
1215 * LColor.[Ch] (setColor): new version that takes two strings as
1216 argument and creates a new color entry if necessary
1218 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1220 * buffer.C (makeLaTeXFile): if the main latex file that is
1221 processed is usually a subdocument of some master, then pretend
1222 for a while that it is actually the master
1224 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1226 * buffer.C (getLabelList):
1227 (getBibkeyList): use getMasterBuffer()
1228 (getMasterBuffer): new method. Returns the main document in the
1229 case where one is using included documents.
1231 2004-03-25 André Pönitz <poenitz@gmx.net>
1235 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1237 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1239 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1240 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1242 * ParameterStruct.h: merge with ParagraphParameters
1244 * lyxtext.h: remove LyXText::parOffset() and getPar()
1246 * text3.C: Remove all 'manual' update calls. We do now one per user
1247 interaction which is completely sufficient.
1251 * BufferView_pimpl.C:
1252 * FontIterator.[Ch]:
1254 * ParagraphParameters.[Ch]:
1259 * cursor_slice.[Ch]:
1266 * output_docbook.[Ch]:
1267 * output_latex.[Ch]:
1268 * output_linuxdoc.[Ch]:
1269 * output_plaintext.[Ch]:
1271 * paragraph_funcs.[Ch]:
1272 * paragraph_pimpl.[Ch]:
1280 * frontends/controllers/ControlDocument.C:
1281 * frontends/controllers/ControlErrorList.C:
1282 * frontends/controllers/ControlSpellchecker.C:
1285 * insets/insetbase.h:
1286 * insets/insetbibitem.C:
1287 * insets/insetbox.C:
1288 * insets/insetbranch.C:
1289 * insets/insetcaption.C:
1290 * insets/insetcharstyle.C:
1291 * insets/insetcharstyle.h:
1292 * insets/insetcollapsable.C:
1293 * insets/insetcollapsable.h:
1294 * insets/insetert.C:
1295 * insets/insetfloat.C:
1296 * insets/insetfoot.C:
1297 * insets/insetmarginal.C:
1298 * insets/insetnote.C:
1299 * insets/insetoptarg.C:
1300 * insets/insettabular.C:
1301 * insets/insettext.C:
1302 * insets/insettext.h:
1303 * insets/insetwrap.C:
1304 * mathed/math_mboxinset.C:
1305 * mathed/math_nestinset.C:
1306 * mathed/math_scriptinset.C:
1307 * mathed/math_scriptinset.h:
1310 2004-03-24 Angus Leeming <leeming@lyx.org>
1312 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1313 deal with any child processes that have finished but are waiting to
1314 communicate this fact to the rest of LyX.
1316 2004-03-24 Angus Leeming <leeming@lyx.org>
1318 64-bit compile fixes.
1320 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1321 (c-tor): pass lyx::pos_types rather than ints.
1323 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1326 * text.C (Delete): compile fix.
1327 (getPar): ensure that function declaration is the same as that in
1330 2004-03-23 Angus Leeming <leeming@lyx.org>
1332 * ispell.C (LaunchIspell):
1333 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1334 a boost::shred_ptr rather than a std::auto_ptr.
1336 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1338 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1339 handle LFUN_FILE_INSERT_*
1341 * lyxrc.C (setDefaults, getDescription, output, read):
1342 * lyxrc.h: remove ps_command
1344 2004-03-22 Angus Leeming <leeming@lyx.org>
1346 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1347 Ensure that error_handler is processed once only and that all data
1348 is saved before attempting to output any warning messages.
1350 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1352 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1354 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1356 2004-03-19 André Pönitz <poenitz@gmx.net>
1358 * cursor.[Ch] (reset): take main text inset as argument
1360 * BufferView: adjust
1361 * BufferView_pimpl.C: adjust
1363 * paragraph.[Ch]: fix completely broken operator=()
1365 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1367 * LColor.C (getFromLyXName): make sure that the color name is used
1370 2004-03-17 Angus Leeming <leeming@lyx.org>
1373 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1375 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1376 dialog and to kill a forked process.
1378 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1380 * text2.C (setCursorFromCoordinates): fix font problem
1382 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1384 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1385 bogus "rebuild cursor" code
1387 2004-03-11 André Pönitz <poenitz@gmx.net>
1389 * buffer.[Ch]: use InsetText instead of LyXText as container for
1392 * dociterator.[Ch]: drop the BufferView * member which is not needed
1393 anymore after the change to buffer.C
1395 * paragraph_funcs.C:
1399 * BufferView_pimpl.[Ch]:
1401 * cursor_slice.[Ch]: adjust
1403 * text3.C: fix bug in mathDispatch
1405 2004-03-08 André Pönitz <poenitz@gmx.net>
1407 * undo.[Ch]: use 'StableDocumentIterator' as base for
1410 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1413 * bufferparams.[Ch]: add jurabib support and param.
1415 * LaTeX.C: add FIXME/comment.
1417 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1419 * buffer.C: increment file format to 230.
1421 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1423 * cursor.C (dispatch): avoid infinite loops
1425 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1427 * rowpainter.C (paintSelection): fix x coordinates
1429 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1431 * text.C (rowBreakPoint): fix breaking before displayed insets
1433 2004-03-01 André Pönitz <poenitz@gmx.net>
1435 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1437 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1441 * BufferView_pimpl.C:
1449 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1455 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1456 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1458 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1460 * Bidi.[Ch] (computeTables): const correctness
1461 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1462 fill_hfill, fill_label_hfill and x from Row
1463 * lyxtext.h: prepareToPrint returns a RowMetrics
1464 * rowPainter.C: adjust
1465 * text.C (prepareToPrint): use width, not textWidth. adjust
1466 (redoParagraphInternal, cursorX): adjust
1467 * text2.C (getColumnNearX): adjust
1468 (init): put a default value to the top LyXText::width
1470 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1472 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1474 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1476 * lyxtext.h: add FontIterator class
1478 * text.C (FontIterator, operator*, operator->, operator++): add
1479 (rowBreakPoint, setRowWidth): adjust (fixing a
1482 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1484 * BufferView_pimpl.C (workAreaDispatch): allow also
1485 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1487 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1489 * text.C (rowBreakPoint): fix a bug showing with very large insets
1491 2004-02-25 André Pönitz <poenitz@gmx.net>
1494 * cursor.[Ch]: move some mathed specific code to mathed
1496 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1498 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1499 use_tempdir in preferences
1500 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1502 * lyx_main.C: ensure that tempdir is valid
1503 * lyxlex.h: correct typo
1504 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1505 * paragraph.[Ch] (isMultiLingual): make const
1506 * cursor.[Ch] (openable): make const
1508 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1510 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1512 2004-02-20 André Pönitz <poenitz@gmx.net>
1514 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1516 * cursor.[Ch]: prepare for localized getStatus()
1522 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1524 2004-02-20 André Pönitz <poenitz@gmx.net>
1526 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1528 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1530 * text2.C (setCursorFromCoordinates): switch to absolute coords
1532 (cursorDown): adjust
1533 * text3.C (dispatch): adjust
1535 2004-02-16 André Pönitz <poenitz@gmx.net>
1537 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1540 * cursor_slice.[Ch]: remove unneeded acessor function
1542 * lyxtext.h: rename rtl() to isRTL()
1550 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1552 * rowpainter.C (paintSelection): coord fix
1554 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1556 * Spacing.C: compile fix
1558 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1560 * cursor.C (dispatch): restore current_ before returning
1562 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1564 * text2.C (cursorUp, cursorDown): fix coords
1567 2004-02-12 André Pönitz <poenitz@gmx.net>
1572 * text3.C: add LCursor & parameter to most cursor movement functions
1573 remove usage of LyXText::cursorRow() and cursorPar()
1575 * cursor.[Ch]: add textRow() needed members
1578 * BufferView_pimpl.C:
1581 * BufferView_pimpl.C: adjust
1583 2004-02-11 André Pönitz <poenitz@gmx.net>
1587 * BufferView_pimpl.C: shift undo/redo handling
1589 * cursor.[Ch]: fix mathed crash
1592 * lyxtext.h: move selectionAsText to LCursor
1600 * rowpainter.C: fix excessive drawing
1602 2004-02-06 André Pönitz <poenitz@gmx.net>
1605 * BufferView_pimpl.[Ch]:
1606 * text3.C: move some text specific LFUN handling
1608 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1610 * text3.C (checkInsetHit): adjust coords
1611 * text2.C (getColumnNearX): adjust coords
1612 (edit): adjust coords
1613 * text.C (getRowNearY): add two asserts
1615 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1618 * format.C: add using std::distance to compile on gcc 2.95/stlport
1620 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1622 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1624 2004-02-04 André Pönitz <poenitz@gmx.net>
1626 * BufferView.[Ch] (insertInset):
1627 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1632 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1634 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1635 on the default clause of the switch
1636 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1637 wasn't catched by LCursor::dispatch
1639 2004-02-03 André Pönitz <poenitz@gmx.net>
1642 * cursor.[Ch]: some additional asserts
1644 * undo.[Ch]: remove LyXText dependency in interface
1648 * lyxtext.h (firstPar, lastPar): remove dead functions
1653 * paragraph.[Ch]: adjust
1655 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1657 * lyxfind.C (find): fix argument order in call to ::find
1659 2004-02-02 André Pönitz <poenitz@gmx.net>
1661 * cursor.[Ch]: remove direct access to anchor
1663 * text.C: remove findText() hack
1665 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1667 * iterators.[Ch] (lockPath): remove in favour of...
1668 * BufferView.[Ch] (setCursor): this addition
1669 * BufferView.C (putSelectionAt): adjust
1670 * undo.C (performUndoOrRedo): adjust
1671 * lyxfunc.C (dispatch): adjust
1673 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1675 * iterators.C (lockPath): add a missing slice
1676 * undo.C (performUndoOrRedo): remove redundant positioning code
1678 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1680 * vc-backend.C (scanMaster): ";" -> ';'
1682 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1684 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1685 std::binary_function
1687 * lyxtextclass.C (compare_name): rename to...
1688 (LayoutNamesEqual): ...this
1690 * lyxlex_pimpl.C (compare_tags): inherit from
1691 std::binary_function, put back into anon namespace
1693 * lyxfind.C (MatchString): inherig from std::binary_function
1694 (findChange): use empty() istead of !size()
1696 * format.C (FormatNamesEqual): new functor
1703 * converter.C (compare_Converter): rename to...
1704 (ConverterEqual): ...this, and fixup a bit.
1705 (getConverter): use it, and make function const
1706 (getNumber): use it, and make function const
1710 * bufferlist.C: add using boost::bind
1712 * MenuBackend.C (MenuNamesEqual): new functor
1713 (hasMenu): use it, and make function const
1714 (hasSubmenu): use nested bind to get rid of compare_memfun.
1716 2004-01-30 André Pönitz <poenitz@gmx.net>
1718 * BufferView_pimpl.C:
1721 * cursor_slice.[Ch]:
1724 * paragraph_funcs.C:
1725 * paragraph_funcs.h:
1729 * text3.C: move some of the edit(x,y) handling to the insets
1730 some coordinate changes.
1732 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1734 * text.C: add using statements for std::advance and std::distance
1736 * paragraph.C: add using statement for std::distance
1738 * lyxfind.C: add using statement for std::advance
1740 * cursor.C (region): remove std:: from swap
1741 (openable): use nucleus in stead of operator->
1743 * BufferView.C: add using statements for std::distance and std::swap
1745 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1747 * iterators.C: Remove the pimple, move the needed structures to
1748 the header file. Create accessor for the positions stack.
1749 (asPosIterator): remove function
1751 * PosIterator.C (PosIterator): move constructors to top of file
1752 (PosIterator): reimplement the constructor taking a ParIterator in
1754 (setFrom): new function
1755 (operator!=): inline it
1757 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1759 * lyxfind.C (replaceAll): use std::advance
1761 * iterators.h: inherit from std::iterator.
1763 * PosIterator.C (advance, distance): remove
1764 * PosIterator.h: interit from std::iterator.
1766 2004-01-26 André Pönitz <poenitz@gmx.net>
1769 * BufferView_pimpl.[Ch]:
1773 * bufferview_funcs.C:
1783 * output_linuxdoc.C:
1784 * output_plaintext.C:
1786 * paragraph_funcs.[Ch]:
1787 * paragraph_pimpl.[Ch]:
1793 * text3.C: more IU: dumps most of the rest of the mathcursor
1794 implementation into cursor.[Ch]; "globalize" a bit of it.
1796 2004-01-25 Angus Leeming <leeming@lyx.org>
1798 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1800 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1802 * LaTeXFeatures.h: add nice_ and nice() const
1803 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1805 2004-01-20 André Pönitz <poenitz@gmx.net>
1808 * BufferView_pimpl.C:
1810 * bufferview_funcs.C:
1812 * cursor_slice.[Ch]:
1823 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1824 LCursor and mathcursor parts to LCursor and InsetBase.
1826 2004-01-15 André Pönitz <poenitz@gmx.net>
1828 * cursor_slice.[Ch]: add a few covienience functions
1830 * funcrequest.[Ch]: remove BufferView * member
1832 * BufferView_pimpl.C:
1839 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1841 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1843 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1844 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1846 2004-01-13 André Pönitz <poenitz@gmx.net>
1849 * lyxtext.h: hide cursor and selection anchor behind accessor function
1852 * BufferView_pimpl.[Ch]:
1854 * bufferview_funcs.C:
1864 * cursor_slice.[Ch]: some integer type changes for inset unification
1866 * lyxcursor.[hC]: remove, it's CursorSlice now.
1869 * BufferView_pimpl.[Ch]:
1870 * bufferview_funcs.C:
1876 * textcursor.[Ch]: adjust
1878 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1880 * text2.C (undoSpan): add and use
1881 * text.C (breakParagraph): use undoSpan (fix bug 578)
1884 2004-01-08 Angus Leeming <leeming@lyx.org>
1886 * BufferView_pimpl.C (MenuInsertLyXFile):
1887 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1888 * lyxfunc.C (menuNew, open, doImport):
1889 FileFilterList change to the FileDialog open and save functions.
1891 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1893 * ShareContainer.h: make isEqual and isUnique adaptable
1895 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1897 2004-01-07 Angus Leeming <leeming@lyx.org>
1900 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1902 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1904 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1905 functions replacing find, replace and replaceAll.
1907 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1908 LFUN_WORDFIND(FORWARD|BACKWARD).
1910 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1912 * text.C (breakParagraph): remove an outdated #warning
1914 2004-01-07 André Pönitz <poenitz@gmx.net>
1916 * lyxfind.C: somewhat clearer logic
1918 * text.C: prevent crash in cursorX on unitialized row cache
1920 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1922 * lyxcursor.[Ch] (operator>): add
1923 * textcursor.C (selStart, selEnd): use std::min and std::max
1925 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1927 * Chktex.C: include boost/format.hpp
1929 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1931 * InsetList.C: replace functor MathcIt with adaptable functor
1933 (insetIterator): modify accordingly
1935 * BranchList.h: move the BranchNamesEqual functor here from...
1936 * BranchList.C: ... to here
1938 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1940 (add): replace a finding loop with std::find_if.
1942 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1944 * output_docbook.C: moving LatexParam functionality into
1947 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1949 * buffer.C: increment format to 229.
1951 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1954 * lyx_sty.[Ch]: remove minipageindent_def
1960 * text3.C: remove LFUN_INSET_MINIPAGE
1962 2003-12-28 Angus Leeming <leeming@lyx.org>
1964 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1966 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1968 * text2.C (setParagraph): fix off-by-one crash
1970 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1972 * output_docbook.C: header stuff for AGU
1974 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1976 * text2.C (redoCursor): remove
1979 * BufferView_pimpl.C: remove calls to redoCursor and
1980 setCursor(cursor.par(), cursor.pos()) all around
1982 2003-12-15 Angus Leeming <leeming@lyx.org>
1984 * buffer.C: up the format to 228.
1986 2003-12-15 André Pönitz <poenitz@gmx.net>
1988 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1993 * BufferView_pimpl.C:
2002 2003-12-15 Angus Leeming <leeming@lyx.org>
2004 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2005 than getFromGUIName to manipulate the color.
2007 2003-12-14 Angus Leeming <leeming@lyx.org>
2009 * BranchList.[Ch]: minimize the API.
2010 (Branch::getBranch, getColor): now return a 'const &'.
2011 (Branch::setSelected) now returns a bool set to true if the
2012 selection status changes.
2013 (BranchList::clear, size, getColor, setColor, setSelected,
2014 allBranches, allSelected, separator): removed.
2015 (BranchList::find): new functions, returning the Branch with
2017 (BranchList::add, remove): return a bool indicating that
2018 the operation was successful.
2020 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2021 new InsetBranch::isBranchSlected member function.
2023 * LColor.[Ch]: mimimize the API.
2024 (fill): renamed as addColor and made private.
2025 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2026 versions of these functions taking a string arg have been removed.
2028 * bufferparams.C (readToken):
2029 * lyxfunc.C (dispatch):
2030 * lyxrc.C (read): changes due to the altered BranchList and
2033 * factory.C (createInset, readInset): changes due to altered
2036 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2039 * lyxfunc.C: remove insetminipage. "minipage-insert"
2040 now produces a frameless minipage box inset.
2042 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2044 * textcursor.[Ch] (selStart,selEnd): add new methods
2045 remove selection::start, end, use LyXCursor::operator<
2046 * lyxcursor.[Ch] (operator<): add
2047 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2048 * BufferView.[Ch] (unsetXSel): add
2049 * text2.C (clearSelection): use unsetXSel,adjust
2052 * rowpainter.C: adjust
2053 * bufferview_funcs.C (put_selection_at): adjust
2055 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2057 * BufferView_pimpl.C: small coord. correction
2059 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2061 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2062 dragging over the splash screen.
2064 2003-12-11 Angus Leeming <leeming@lyx.org>
2066 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2067 as it is now handled in LyXText::dispatch.
2069 * text3.C (doInsertInset): remove a level of nesting.
2071 2003-12-11 Angus Leeming <leeming@lyx.org>
2073 * factory.C (createInset): changes due to the changed interface to
2074 InsetCommandMailer::string2params.
2076 2003-12-10 Angus Leeming <leeming@lyx.org>
2078 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2079 'dialog-show-new-inset <inset name>'
2081 2003-12-10 Angus Leeming <leeming@lyx.org>
2083 * buffer.C: up the format to 227.
2085 * factory.C: the box inset is now identified simply by 'Box'.
2087 2003-12-10 Angus Leeming <leeming@lyx.org>
2089 * buffer.C: up the format to 226.
2091 * factory.C: the note inset is now identified simply by 'Note'.
2093 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2095 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2096 when a pit is enough. Standarize a couple of loops.
2098 2003-12-05 Angus Leeming <leeming@lyx.org>
2100 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2101 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2102 data to the re-worked "log" dialog.
2104 2003-12-03 André Pönitz <poenitz@gmx.net>
2110 * paragraph_funcs.C:
2112 * text2.C: use Inset::getText instead of Inset::getParagraph
2114 2003-12-03 André Pönitz <poenitz@gmx.net>
2118 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2119 InsetText::read() as LyXText::read()
2121 2003-12-02 Angus Leeming <leeming@lyx.org>
2123 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2124 type. Add a comment in the implementation that the function uses
2125 the stream's bad() function rather than fail() as the std::streams
2128 2003-12-02 André Pönitz <poenitz@gmx.net>
2130 * lyxlex.[Ch]: make interface more similar to std::stream
2132 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2134 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2136 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2138 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2140 * vspace.[Ch]: remove VSpace::NONE
2142 2003-12-01 André Pönitz <poenitz@gmx.net>
2145 * lyxtext.h: move ParagraphList member to LyXText
2146 rename LyXText::ownerParagraphs to LyXText::paragraph
2149 * bufferview_funcs.C:
2159 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2161 * undo.C: fix cursor positioning
2163 2003-12-01 John Levon <levon@movementarian.org>
2165 * BufferView_pimpl.C: fix a crash on exit with
2168 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2170 * BranchList.C: fix setSelected() method.
2172 2003-11-28 André Pönitz <poenitz@gmx.net>
2174 * ParagraphParameters.[Ch]:
2175 * ParameterStruct.h: remove space above/below from Paragraph to
2178 * BufferView_pimpl.C:
2184 * paragraph_funcs.C:
2190 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2192 * factory.C: Syntax change for CharStyles
2194 2003-11-28 André Pönitz <poenitz@gmx.net>
2199 * buffer.[Ch]: move LyXText member
2201 2003-11-28 André Pönitz <poenitz@gmx.net>
2203 * BufferView.[Ch]: make LyXText * text a private member
2205 * BufferView_pimpl.C:
2216 * output_plaintext.C: cleanup
2218 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2221 * lyxtextclass.[Ch]: parametrize SGML document header
2223 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2226 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2229 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2231 * text2.C (setFont): rework using PosIterator (no more recursive)
2232 (setCharFont): no more needed
2233 (setLayout): no more selection cursors fiddling (done by redoCursor)
2234 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2235 destroy remaining ones)
2237 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2239 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2241 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2244 * text3.C: adjust + re-allow multi par depth changes
2245 * textcursor.C: simplify a bit
2247 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2253 * src/output_docbook.C:
2254 * src/output_latex.C:
2259 * src/text2.C: Introducing a number of tags parametrizing various
2260 XML formats that we may want to support
2262 2003-11-25 André Pönitz <poenitz@gmx.net>
2264 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2266 * lyxtext.h (leftMargin/rightMargin): simplify interface
2273 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2275 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2276 master file to any child files. Fixes bug 546.
2278 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2280 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2282 2003-11-24 André Pönitz <poenitz@gmx.net>
2284 * rowpainter.C: simplification
2286 * text2.C (updateCounters): remove call to redoParagraph on
2287 changed labels as this is far too expensive.
2289 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2291 * converter.C (convert): fix a crash: this function gets
2292 called with buffer == 0 from importer code.
2294 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2296 * text3.C (cursorPrevious): make sure that we do not compare
2297 iterators form different containers.
2300 * rowpainter.C (paintSelection): make sure that we do not compare
2301 iterators from different containers.
2303 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2304 iterators from different ParagraphList containers.
2307 * text2.C (LyXText): change order of initialization slightly
2308 (operator=): new function. copy all variables except cache_par_
2309 (moveUp): make sure that we do not compare iterators from
2310 different ParagraphList constainers.
2313 * text.C (firstPar): new function
2314 (lastPar): new function
2315 (endPar): new function
2317 * lyxtext.h: move things around and group public functions, public
2318 variables, private functions, private variables
2320 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2322 * factory.C: change call to InsetERT constructor to avoid
2323 additional invocation of method status
2324 * text2.C (toggleInset): remove redundant update() call
2325 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2326 instead of a Bufferview pointer
2328 2003-11-21 André Pönitz <poenitz@gmx.net>
2330 * rowpainter.C: simplification
2332 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2334 * text3.C (dispatch): make possible to extend a word/row selection
2337 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2339 * lyxtext.h: x0_,y0_ -> xo_,yo_
2340 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2341 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2342 * rowpainter.C (paintRows): paint full paragraphs
2344 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2346 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2349 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2351 * lyxtext.h: add x0_, y0_
2352 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2353 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2355 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2357 * text2.C (setCursorIntern): move the x_target update here *
2358 * text3.C: change some bv() to true/false in calls to
2359 cursorUp/Down/Right/Left
2360 * cursor.C: use helper function.
2362 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2364 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2365 * paragraph_funcs.[Ch]: correct comment
2366 * rowpainter.C: do not paint selections away from bv->cursor()
2367 Fix a long standing selection painting bug.
2368 * text3.C: generalize mouse-selection code to LyXTexts other that
2370 * textcursor.C: do not use y coords if we can use par offsets
2372 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2374 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2375 cursor position after e.g. inset insert)
2377 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2379 * lyxfind.C (replace): adjust to locking removal + some
2382 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2384 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2387 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2390 * output_docbook.C: XML sanitation: new layout
2391 parameters InnerTag and CommandDepth
2393 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2395 * BufferView_pimpl.C:
2397 * text3.C: Fix the insertion and modification of button-style
2400 2003-11-13 André Pönitz <poenitz@gmx.net>
2402 * InsetList.[Ch]: remove deleteLyXText
2404 * paragraph.[Ch]: cache beginOfBody position
2409 * text3.C: remove superfluous update() calls
2413 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2415 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2416 * BufferView.C (fitLockedInsetCursor): remove
2417 * cursor.[Ch] (getDim): add
2418 * text.C (getRowNearY): add faster version
2419 * text3.C: remove some update calls
2421 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2433 * text3.C: The Character Style /XML short element patch.
2435 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2438 * factory.C: Small step to solving 'unable to insert some insets'
2441 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2443 * cursor.[Ch] (updatePos): new function for updating the y
2444 position of the tip inset
2445 * bufferview_funcs.C (put_selection_at):
2446 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2448 2003-11-11 André Pönitz <poenitz@gmx.net>
2450 * text.C: remove big comment on invalid Paragraph pointers as it is
2453 2003-11-11 André Pönitz <poenitz@gmx.net>
2455 * text_funcs.[Ch]: merge with ...
2463 * Makefile.am: remove text_funcs.[Ch]
2465 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2467 * cursor.C (getPos): return absolute cached y coord
2469 * BufferView_pimpl.C (fitCursor): new simplistic code
2470 (workAreaDispatch): add a fitCursor call
2472 2003-11-10 André Pönitz <poenitz@gmx.net>
2475 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2477 2003-11-10 André Pönitz <poenitz@gmx.net>
2479 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2480 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2481 indicate that the cursor needs to leave an inset
2483 * lyxtext.h: remove inset locking
2485 * cursor.[Ch]: re-implement functionality provided by inset locking
2488 * BufferView_pimpl.[Ch]:
2490 * bufferview_funcs.[Ch]:
2502 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2504 * PosIterator.[Ch]: replace the stack with a vector, add inset
2506 * iterators.[C]: adjust
2508 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2510 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2512 * paragraph_funcs.C (readParToken): put the correct id in the
2513 error item, not the id of the top paragraph
2515 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2517 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2518 * bufferview_funcs.C (put_selection_at): use the above
2520 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2522 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2524 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2526 * output_linuxdoc.h:
2527 * output_plaintext.h:
2529 * output_docbook.h: add #include statements
2531 2003-11-05 José Matos <jamatos@lyx.org>
2533 * output_docbook.[Ch]:
2534 * output_latex.[Ch]:
2535 * output_linuxdoc.[Ch]:
2536 * output_plaintext.[Ch]: New files for output formats.
2537 * output.[Ch]: New file for helper functions.
2540 * paragraph_funcs.[Ch]: output functions moved to new files.
2542 * outputparams.h: rename of latexrunparams.h
2550 * paragraph_funcs.[Ch]:
2551 * paragraph_pimpl.[Ch]:
2552 * tabular.[Ch]: rename ascii to plaintext
2553 and LatexRunParams to OutputParams.
2555 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2557 * iterators.[Ch] (text): require bv argument
2558 * undo.C (recordUndo):
2559 * lyxfunc.C (dispatch):
2560 * bufferview_funcs.C (put_selection_at): adjust
2562 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2564 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2566 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2568 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2571 2003-11-04 André Pönitz <poenitz@gmx.net>
2573 * cursor.[Ch]: restructure
2576 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2578 * iterators.[Ch] (asCursor): remove
2580 * lfuns.h: remove LFUN_INSET_EDIT
2586 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2588 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2590 * lyxfind.[Ch]: complete overhaul
2591 * BufferView_pimpl.C:
2593 * paragraph.[Ch] (insert): add
2595 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2599 * text.C: remove dead spellcheck code
2601 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2603 * dispatchresult.h: add a val setter
2605 * cursor.C (dispatch): use a tempvar for data_[i]
2607 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2609 * PosIterator.[Ch]: compile fix
2611 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2613 * text.C (cursorPar): deactivate the cursor cache
2615 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2617 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2619 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2621 * text3.C (dispatch): adjust for new DisptchResult semantics.
2623 * lyxfunc.C (dispatch): handle update when return from
2624 Cursor::dispatch, adjust for new DispatchResult semantics.
2626 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2627 DispatchResult(true) mean to not update. Add class functions for
2628 setting dispatched and update, as well as reading.
2630 * cursor.C (dispatch): don't handle update here
2632 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2634 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2635 * trans_mgr.C: adjust
2637 * paragraph_funcs.C (readParToken): exception safety
2639 * lyxvc.h: store the vcs pointer in a scoped_ptr
2642 * lyxsocket.C (serverCallback): exception safety
2644 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2646 * ispell.C (clone): make it return a auto_ptr
2648 * factory.C (createInset): exception safety
2649 (readInset): exception safety
2651 * bufferlist.C (newBuffer): exception safety
2653 * Thesaurus.C (Thesaurus): use initialization for aik_
2655 * MenuBackend.C (expandToc): exception safety.
2657 2003-11-03 André Pönitz <poenitz@gmx.net>
2661 * bufferview_funcs.C: remove getInsetFromId()
2664 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2670 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2672 * PosIterator.C (distance, advance): new
2673 * bufferview_funcs.[Ch] (put_selection_at): new
2674 * iterators.[Ch] (lockPath): new
2676 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2678 * iterators.[Ch] (asPosIterator): added
2679 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2680 * PosIterator.[Ch]: added
2682 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2686 * cursor.C (dispatch):
2687 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2689 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2690 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2691 contructor, add a class function dispatched. Remove operator>=
2693 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2695 * debug.C: only use the default constructor for debugstream
2698 * main.C (main): include debug.h and setup the lyxerr streambuf
2701 2003-10-31 José Matos <jamatos@lyx.org>
2703 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2705 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2706 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2707 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2708 * paragraph_pimpl.C (simpleTeXSpecialC):
2709 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2710 add LatexRunParams argument.
2712 * exporter.C (Export): change call accordingly.
2714 * latexrunparams.h: add new member to take care of the other backends.
2715 2003-10-30 José Matos <jamatos@lyx.org>
2717 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2718 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2719 factorise code for paragraph output.
2721 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2724 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2726 * text3.C (dispatch):
2727 * lyxfunc.C (dispatch):
2728 * cursor.C (dispatch):
2729 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2731 * dispatchresult.h: make the dispatch_result_t ctor explicit
2733 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2736 * buffer.C: small refactoring of docbook stuff
2738 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2740 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2743 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2745 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2746 operator dispatch_result_t, and operators for == != and >=
2748 * cursor.C (dispatch): adjust for operator dispatch_result_t
2749 removal. comment out call to update
2751 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2753 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2761 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2764 * dispatchresult.h: new file, DispatchResult broken out of
2767 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2769 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2771 * text.C (rowBreakPoint): put a hack inside #if 0
2773 2003-10-28 André Pönitz <poenitz@gmx.net>
2777 * paragraph_funcs.C:
2780 * text2.C: general cleanup (lots of small stuff)
2782 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2784 * text2.C (cursorEnd): simple fix to the "end key goes to one
2785 before the end on last row" bug
2787 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2789 * text.C (backspace): fix the "zombie characters"
2791 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2793 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2795 2003-10-27 André Pönitz <poenitz@gmx.net>
2797 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2799 * factory.C: handle new InsetPagebreak, InsetLine
2801 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2802 and move handling into new InsetPagebreak, InsetLine
2804 * BufferView_pimpl.C:
2806 * ParagraphParameters.C:
2807 * ParameterStruct.h:
2812 * paragraph_funcs.C:
2813 * paragraph_pimpl.C:
2819 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2822 * lyxrow_funcs.[Ch]:
2828 * text3.C: remove lastPos uses in favour of Row::endpos
2830 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2832 * undo.C (performUndoOrRedo): fix two crashes by setting a
2833 cursor by hand and reordering some calls. Use bv->lockInset instead
2834 of inset->edit because the latter loses cursor information
2836 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2838 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2840 (rowBreakPoint): fix width. change point to point + 1.
2841 Add a missing check.
2843 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2846 * lyxfunc.C: fix (at least partly) the problems
2847 with the Nav menu and headers inside branch insets
2850 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2852 * paragraph.C (getChar): add strong asserts
2854 * lyxrow_funcs.C (lastPos): remove hideous hack
2856 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2857 (fill): adjust to that (avoid an infinite loop)
2859 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2861 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2863 2003-10-23 André Pönitz <poenitz@gmx.net>
2865 * RowList_fwd.h: change list<> to vector<> to gain speed
2866 after suggestion from Alfredo
2868 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2870 * lyxtext.h: move the bidi stuff from here...
2873 * Bidi.[Ch]: ... to here
2875 2003-10-23 André Pönitz <poenitz@gmx.net>
2878 * text.C (isLastRow, isFirstRow): new functions
2880 * paragraph.h: new width cache member
2882 * rowpainter.C: replace RowList::iterator with Row & where possible
2884 * lyxfunc.C: replace several view()->text with a single call
2886 * toc.C: fix 'unused' warning
2888 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2890 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2891 when woring with stream::pos_type
2892 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2894 2003-10-22 André Pönitz <poenitz@gmx.net>
2897 * text.C: use Row & instead of RowList::iterator
2899 * lyxrow.h: rename end() to endpos()
2905 2003-10-22 Angus Leeming <leeming@lyx.org>
2907 * buffer.[Ch] (fully_loaded): new member function, returning true
2908 only when the file has been loaded fully.
2909 Used to prevent the premature generation of previews and by the
2910 citation inset to prevent computation of the natbib-style label.
2912 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2913 templates are all set up.
2915 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2917 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2919 * text.C: fixed an "oops" in the "is a bit silly"
2922 2003-10-21 André Pönitz <poenitz@gmx.net>
2924 * FuncStatus.[Ch]: small stuff, whitespace
2926 * lyxfont.[Ch]: operator<<() for debug reasons
2930 * lyxtext.h: whitespace, spelling
2932 * paragraph.C: naming of variables
2935 * text2.C: small stuff
2938 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2940 * text.C: (1) finish off the inset display() work;
2941 (2) fix the "is a bit silly" bug (accessing char
2944 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2946 * text.C: re-introduce display() for insets, fixing the
2947 various bugs (stretch of line above, math inset
2950 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2952 * text.C (rightMargin): remove spurious semicolon
2954 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2957 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2959 * text3.C: fix one crash due to wrong cursor def
2961 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2963 * vc-backend.C (scanMaster): make the regex static
2965 * LaTeX.C (scanAuxFile): make the regexs static
2967 * text3.C (doInsertInset, dispatch, dispatch):
2968 * text2.C (cursorUp, cursorDown):
2969 * text.C (selectNextWordToSpellcheck):
2970 * BufferView_pimpl.C (dispatch):
2971 * lyxfunc.C (dispatch): localDispatch -> dispatch
2973 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2975 * lyxsocket.C: include <cerrno>
2977 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2979 * lyxfunc.C (dispatch): remove textcache stuff
2981 * bufferlist.C (release): remove textcache stuff
2984 * TextCache.C: delete file
2985 * TextCache.h: delete file
2987 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2989 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2990 delete of the bv_->text.
2991 (resizeCurrentBuffer): remove texcache stuff
2992 (workAreaResize): ditto
2994 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2999 2003-10-16 André Pönitz <poenitz@gmx.net>
3006 * text3.C: speed up by storing y positions per paragraph plus per-row
3007 offset instead of having a 'full' y position in the row.
3009 2003-10-15 André Pönitz <poenitz@gmx.net>
3013 * undo.[Ch]: make undo aware of inner insets
3015 2003-10-14 Angus Leeming <leeming@lyx.org>
3017 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3018 static member functions LyX::ref() and LyX::cref.
3019 (lastfiles): new accessor functions for the new lastfiles_ member var.
3020 (addLyXView, views_): add a new LyXView to the list of views_.
3021 (updateInset): loop over all LyXViews to call their own updateInset
3022 member function, returning a pointer to the Buffer owning the inset.
3024 * BufferView_pimpl.C (loadLyXFile):
3025 * MenuBackend.C (expandLastfiles):
3026 * bufferlist.C (MenuWrite, QuitLyX):
3027 lastfiles is no longer a global variable.
3028 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3030 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3031 static function. Access through LyX::cref().emergencyCleanup().
3033 2003-10-14 André Pönitz <poenitz@gmx.net>
3035 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3037 * undo.[Ch]: restoring part of 'undo in insets'
3040 * undo_funcs.[Ch]: merge with undo.[Ch]
3042 * tabular.C: small cleansing stuff
3044 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3046 * paragraph_funcs.C (readParToken): report unknown insets as error
3047 boxes. Use the outer paragraph as location (also for unknown
3050 * factory.C (readInset): do not abort on reading an unknown inset.
3051 Eat it and return 0.
3053 2003-10-13 Angus Leeming <leeming@lyx.org>
3055 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3057 * lyxrc.C: displayTranslator is now a function,
3058 declared in GraphicsTypes.h.
3060 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3062 * format.C: new placeholder $$a to pass the socket address.
3064 * bufferlist.[Ch]: new function getBufferFromTmp.
3066 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3067 files in the temporary dir.
3069 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3071 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3073 * Makefile.am: add lyxsocket.[Ch].
3075 * lyx_main.C (error_handler): handle SIGPIPE.
3077 2003-10-13 André Pönitz <poenitz@gmx.net>
3079 * BufferView_pimpl.C:
3084 * undo_funcs.[Ch]: use paroffset_type instead of
3085 ParagraphList::iterators to prevent multiple conversion
3086 (and get a more robust interface)
3088 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3090 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3092 * text3.C (dispatch): ditto
3094 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3097 move the onlyfile, use onlyfile instead of foundfile in a couple
3100 * DepTable.C (update): flush the error stream a bit more
3102 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3104 * lyxserver.C (callback): adjust
3106 * lyxfunc.C (getStatus): add a missing brace in commented code
3107 (ensureBufferClean): reindent
3108 (dispatch): delete version taking a string
3110 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3112 * LaTeX.C (deplog): move found file handlig from here...
3113 (handleFoundFile): .. to new function here.
3114 (deplog): make sure to discover several files mentioned on the
3117 2003-10-10 André Pönitz <poenitz@gmx.net>
3124 * text3.C: fix some of the tabular crashes
3126 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3128 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3130 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3132 2003-10-09 André Pönitz <poenitz@gmx.net>
3134 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3137 * BufferView_pimpl.C:
3138 * bufferview_funcs.C:
3149 * undo_funcs.C: adjust
3151 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3153 * text2.C (incrementItemDepth): new function, use a backtracking
3154 algorithm to discover the correct item depth.
3155 (resetEnumCounterIfNeeded): new function, use a backtracking
3156 algorithm to discover if counter reset is needed.
3157 (setCounter): use them. Simplify a bit. Add different labels for
3158 different item depths for itemize.
3160 * paragraph.C (Paragraph): remove initialization of enumdepth
3163 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3164 enumerate and itemize. Change the type of itemdepth to signed char.
3166 2003-10-08 André Pönitz <poenitz@gmx.net>
3168 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3173 * tabular.[Ch]: fix crash after 'row-insert'
3175 2003-10-08 Angus Leeming <leeming@lyx.org>
3177 Fix doxygen warnings.
3179 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3180 Remove CutAndPaste:: prefix from header file declaration.
3182 * LColor.h (fill): remove LColor:: prefix from declaration.
3184 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3185 use lyx::depth_type rather than Paragraph::depth_type so that
3186 header file and .C file match.
3188 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3190 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3191 * aspell.C: \file aspell_local.C -> \file aspell.C
3192 * gettext.C: \file gettext.C -> \file src/gettext.C
3193 * gettext.h: \file gettext.h -> \file src/gettext.h
3194 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3195 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3196 * text.C: \file text.C -> \file src/text.C
3198 * toc.C: move comment so that doxygen is not confused.
3200 2003-10-07 Angus Leeming <leeming@lyx.org>
3202 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3204 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3207 * aspell_local.h: add forgotten std::string's.
3209 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3216 * text3.C: The Box patch. Fancybox support, minipage, parbox
3218 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3224 * ParagraphParameters.h:
3234 * lyxtextclasslist.h:
3237 * paragraph_pimpl.C:
3238 * textcursor.h: add <string> and other small fixes to make Lars'
3239 std::string patch compile with STLport.
3241 2003-10-06 Angus Leeming <leeming@lyx.org>
3243 * LColor.h: Add missing #include <string>.
3245 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3247 * All most all file in all subdirs: Make <string> be the prefered
3248 way of getting to std::string, add using declarations.
3250 2003-10-06 André Pönitz <poenitz@gmx.net>
3252 * metricsinfo.C: initialize LyXFont before changing attribute.
3253 (fixes the 'math in \emph is upright' bug)
3255 2003-10-06 André Pönitz <poenitz@gmx.net>
3257 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3259 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3262 * paragraph_pimpl.C: Small fixes to build using STLport
3264 2003-10-02 André Pönitz <poenitz@gmx.net>
3267 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3269 2003-10-01 André Pönitz <poenitz@gmx.net>
3271 * factory.C: assert early
3273 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3275 * lyx_main.C: remove the global debug object
3277 * debug.h: adjust for new debugstream
3279 * debug.C: adjust for new debugstream and keep the global debug
3282 2003-09-22 Angus Leeming <leeming@lyx.org>
3284 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3285 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3286 an incomplete class LyXFont.
3288 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3290 * factory.C: bug fix in branches
3292 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3294 * lyxfunc.C (processKeySym): adjust
3296 (dispatch): change arg name from ev to func, adjust
3297 (sendDispatchMessage): ditto
3299 * lyx_main.C (defaultKeyBindings): adjust keybindings
3300 (deadKeyBindings): ditto
3302 * kbsequence.C (addkey): return a FuncRequest
3304 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3306 * kbmap.C (bind): take a FuncRequest as arg, adjust
3309 (defkey): change to take a FuncRequest as arg, adjust
3310 (findbinding): take a FuncRequest as arg, adjust.
3312 * funcrequest.h (operator=): added
3314 * funcrequest.C (FuncRequest): default kb_action changed from
3315 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3317 * buffer.C (dispatch): simplify
3318 (dispatch): adjust to take a FuncRequest as arg, adjust
3320 * boost.C (assertion_failed): change assertion message slightly
3322 * ToolbarBackend.C (read): simplify
3324 * MenuBackend.C (binding): adjust call to findbinding, add a
3325 message if no binding is found.
3327 (expandToc): correct by adding a empty FuncRequest
3329 * LyXAction.C: include <boost/assert.hpp>
3330 (isPseudoAction): delete function
3331 (LookupFunc): change name to...
3332 (lookupFunc): this. change return type to FuncRequest.
3333 (getActionName): take kb_action as arg, simplify
3334 (funcHasFlag): add an assert, simplify.
3336 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3338 * toc.C (action): return a FuncRequest, simplify
3340 * lyxfunc.C (processKeySym): adjust
3341 (getStatus): delete version that takes an int.
3343 (dispatch): delete version that takes action as int
3345 (sendDispatchMessage): simplify and adjust
3347 * funcrequest.C (getArg): take unsigned int as arg
3349 * ToolbarBackend.C (read): adjust
3350 (add): delete version that takes func as a string.
3351 (getIton): take a FuncRequest as arg
3353 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3356 * MenuBackend.C (MenuItem): add a new construct that only takes a
3357 Kind, simplify the constructor use for submenus.
3359 (expandLastfiles): adjust
3360 (expandDocuments): adjust
3361 (expandFormats): adjust
3362 (expandFloatListInsert): adjust
3363 (expandFloatInsert): adjust
3364 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3366 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3367 Remove class variables lyx_pseudo_map and lyx_arg_map
3369 * LyXAction.C (searchActionArg): delete function
3370 (getPseudoAction): delete function
3371 (retrieveActionArg): delete function
3372 (LookupFunc): make it return kb_action, simplify.
3373 (getActionName): simplify
3375 * factory.C (createInset): fix new bug
3377 2003-09-19 Angus Leeming <leeming@lyx.org>
3379 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3380 masterFilename_ parameter in the include inset.
3382 * factory.C (createInset): changes due to the changes to InsetInclude.
3384 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3386 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3388 2003-09-18 Angus Leeming <leeming@lyx.org>
3391 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3392 Inset::fillWithBibKeys.
3393 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3395 2003-09-18 Angus Leeming <leeming@lyx.org>
3397 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3399 (ctor): pass and store a 'Buffer const &'
3400 (buffer): new member function.
3402 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3403 '*this' to the LaTeXFeatures ctor.
3405 2003-09-18 Angus Leeming <leeming@lyx.org>
3411 * text.C: rename EnumLColor as LColor_color.
3413 2003-09-18 Angus Leeming <leeming@lyx.org>
3415 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3416 remove #include "insets/insetbase.h" from cursor.h.
3418 2003-09-18 Angus Leeming <leeming@lyx.org>
3420 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3421 InsetOld_code to remove #include "inset.h".
3423 * iterators.C: add #include "insets/inset.h"
3425 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3427 * BufferView.C: remove more locking stuff that apparently doesn't
3428 do anything sensible.
3430 2003-09-16 André Pönitz <poenitz@gmx.net>
3433 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3436 2003-09-16 Angus Leeming <leeming@lyx.org>
3438 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3440 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3443 * paragraph.h: remove #include "lyxfont.h". Forward declare
3446 2003-09-16 Angus Leeming <leeming@lyx.org>
3448 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3449 of support/textutils.h.
3450 (isWord): move the contents of support/textutils.h's IsWordChar here.
3456 * text2.C: add #include "paragraph.h".
3459 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3461 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3467 * LaTeX.C: use namespace alias for lyx::support::os
3469 2003-09-16 Angus Leeming <leeming@lyx.org>
3472 * bufferview_funcs.C:
3475 * paragraph_pimpl.C:
3477 * text.C: add #include "LColor.h".
3479 2003-09-16 Angus Leeming <leeming@lyx.org>
3481 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3482 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3484 Store the FontBits::color variable as an int rather than as an
3485 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3488 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3489 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3490 string calls together.
3492 * lyxrc.C: add #include "LColor.h".
3494 2003-09-15 Angus Leeming <leeming@lyx.org>
3496 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3499 2003-09-15 Angus Leeming <leeming@lyx.org>
3501 * LColor.h: add an EnumLColor wrapper for LColor::color.
3503 * lyxfont.[Ch] (color, setColor, realColor):
3504 * lyxtext.h, text.C (backgroundColor):
3505 pass EnumLColor args to/from the functions, rather than LColor::color
3509 * lyxtext.h: forward declare EnumLColor.
3511 * lyx_main.C: add #include "LColor.h".
3513 2003-09-15 Angus Leeming <leeming@lyx.org>
3515 * .cvsignore: add lyx-gtk.
3517 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3522 * ParagraphParameters.C
3526 * bufferview_funcs.C
3536 * vc-backend.C: remove usage of STRCONV
3538 2003-09-15 Angus Leeming <leeming@lyx.org>
3540 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3541 explicitly define the color passed to the painter.
3543 2003-09-15 Angus Leeming <leeming@lyx.org>
3545 * bufferparams.C (BufferParams): reorder member initializers to avoid
3548 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3550 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3551 * text.C (updateRowPositions): remove an unusual nop
3553 2003-09-12 André Pönitz <poenitz@gmx.net>
3555 * BufferView_pimpl.C:
3564 * Counters.[Ch]: finish the 'automatic counters' job
3566 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3568 * aspell.C: include <boost/assert.cpp> (compile fix)
3570 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3572 * boost.C (assertion_failed): use lyx::support::abort instead of
3575 2003-09-10 Angus Leeming <leeming@lyx.org>
3577 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3578 with their _fwd progeny.
3580 2003-09-09 Angus Leeming <leeming@lyx.org>
3582 134 files throughtout the source tree: replace 'using namespace abc;'
3583 directives with the appropriate 'using abc::xyz;' declarations.
3585 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3587 * boost.C (emergencyCleanup): moved here from LAssert.c
3588 (assertion_failed): new function, called by BOOST_ASSERT
3590 * several files: change Assert to BOOST_ASSERT
3592 2003-09-09 Angus Leeming <leeming@lyx.org>
3594 * buffer.[Ch]: Add an Impl class and move Buffer's member
3595 variables into it. As a result move several header files out of
3598 Add header files to lots of .C files all over the tree as a result.
3600 2003-09-09 Angus Leeming <leeming@lyx.org>
3602 * buffer.[Ch]: make Buffer's member variables private. Add
3605 Lots of changes all over the tree as a result.
3607 2003-09-08 Angus Leeming <leeming@lyx.org>
3609 * graph.C: #include <config.h>.
3611 2003-09-08 Angus Leeming <leeming@lyx.org>
3615 * BufferView_pimpl.C:
3644 * toc.C: remove redundant using directives.
3646 2003-09-07 Angus Leeming <leeming@lyx.org>
3648 * LaTeXFeatures.h: remove #include "support/types.h".
3649 * ToolbarBackend.h: remove #include <algorithm>.
3650 * changes.h: remove #include <ctime>.
3651 * debug.h: remove #include <iosfwd>.
3652 * graph.h: remove #include "support/std_string.h".
3653 * lyx_main.h: remove #include <csignal>.
3654 * lyxlex_pimpl.h: remove #include <fstream>.
3655 * sgml.h: remove #include <algorithm>, <utility>.
3656 * toc.h: remove #include "support/std_ostream.h".
3657 Add #include <iosfwd>.
3659 2003-09-07 Angus Leeming <leeming@lyx.org>
3661 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3663 * converter.h: forward declare LatexRunParams.
3664 * encoding.h: remove #include "lyxrc.h".
3665 * lyxtext.h: remove #include "LColor.h".
3666 * lyxtextclass.h: remove #include "support/types.h".
3667 * trans.h: remove #include "tex-accent.h".
3668 * trans_mgr.h: remove #include "tex-accent.h".
3669 * insets/inset.h: remove #include "support/types.h", <vector>.
3670 * insets/insetcollapsable.h: remove #include "LColor.h".
3671 * insets/insetinclude.h: remove #include "dimension.h".
3672 * insets/insetlatexaccent.h: remove #include "dimension.h".
3673 * insets/insetoptarg.h:: remove #include "insettext.h".
3674 * insets/insettext.h: remove #include "dimension.h",
3675 <boost/shared_ptr.hpp>
3677 * insets/renderers.h: add #include "dimension.h".
3678 * insets/updatableinset.h: add #include "support/types.h".
3680 * many .C files: Associated changes.
3682 2003-09-06 Angus Leeming <leeming@lyx.org>
3684 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3685 one, inside testInvariant.
3687 * PrinterParams.C: new file.
3688 * PrinterParams.[Ch]: move the function bodies out of line.
3690 2003-09-06 Angus Leeming <leeming@lyx.org>
3692 * ParagraphParameters.h: forward declare ParameterStruct rather than
3693 including its header file.
3694 (depth): moved out-of-line.
3696 2003-09-06 Angus Leeming <leeming@lyx.org>
3698 * BufferView_pimpl.h:
3701 * lyxfunc.h: forward declare LyXKeySym rather than
3702 #include "frontends/LyXKeySym.h".
3704 * BufferView_pimpl.C:
3707 * lyxfunc.C: associated changes.
3709 2003-09-06 Angus Leeming <leeming@lyx.org>
3711 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3712 As a result, can remove the #include "insets/inset.h" from BufferView.h
3714 2003-09-06 Angus Leeming <leeming@lyx.org>
3716 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3717 As a result, can remove the #include "insets/inset.h" from BufferView.h
3719 2003-09-06 Angus Leeming <leeming@lyx.org>
3725 * bufferview_funcs.C:
3726 * BufferView_pimpl.C:
3731 * ParagraphParameters.C:
3736 * frontends/controllers/ControlDocument.C:
3737 * insets/insetcaption.C: rearrange the #includes into some sort of
3740 * buffer.h: remove #includes ErrorList.h, undo.h
3742 2003-09-06 Angus Leeming <leeming@lyx.org>
3744 * support/types.h: add a 'depth_type' typedef, used to store the
3745 nesting depth of a paragraph.
3748 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3749 defining explicitly.
3752 * paragraph_funcs.h:
3753 * ParagraphParameters.h:
3754 * sgml.h: use lyx::depth_type rather than Paragraph or
3755 ParameterStruct's depth_type.
3758 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3761 * BufferView_pimpl.C:
3763 * ParagraphParameters.C:
3766 * bufferview_funcs.C:
3773 * frontends/LyXView.C:
3774 * frontends/controllers/ControlDocument.C:
3775 * frontends/controllers/ControlErrorList.C:
3776 * insets/insetbibitem.C:
3777 * insets/insetbranch.C:
3778 * insets/insetcaption.C:
3779 * insets/insetcollapsable.C:
3780 * insets/insetenv.C:
3781 * insets/insetert.C:
3782 * insets/insetfloat.C:
3783 * insets/insetfoot.C:
3784 * insets/insetfootlike.C:
3785 * insets/insetnewline.C:
3786 * insets/insetquotes.C:
3787 * insets/insettabular.C:
3788 * insets/insettext.C:
3789 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3791 * frontends/controllers/ControlChanges.C: #include "changes.h".
3793 2003-09-06 Angus Leeming <leeming@lyx.org>
3795 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3796 than #including paragraph.h.
3799 * RowList.h: deleted. Superfluous.
3809 * insets/insettext.h: use ParagraphList_fwd.h rather than
3812 * paragraph.h: don't forward declare ParagraphList.
3815 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3816 rather than ParagraphList.h. paragraph.h is still needed for the
3817 Paragraph::depth_type parameters.
3819 * textcursor.h: enable it to compile stand-alone in light of the
3822 * bufferview_funcs.C:
3834 * frontends/controllers/ControlParagraph.C:
3835 * frontends/controllers/ControlTabular.C:
3836 * insets/insetmarginal.C:
3837 * insets/insetminipage.C:
3838 * insets/insetnote.C:
3839 * insets/insetoptarg.C: add header files needed to compile again.
3841 2003-09-06 Angus Leeming <leeming@lyx.org>
3843 * RowList_fwd.h: new file, forward-declaring Row rather than
3844 #including lyxrow.h.
3849 * insets/insettext.h: use it instead of RowList.h
3851 * bufferview_funcs.C:
3858 * text3.C: #include "RowList.h".
3860 2003-09-05 Angus Leeming <leeming@lyx.org>
3862 * factory.C (createInset):
3863 * vspace.C (c-tor): replace sscanf call with an istringstream.
3864 * ispell.C: re-add missing HP/UX headers.
3865 * lyxserver.C: re-add missing os2 headers.
3867 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3876 * text3.C: re-add missing system headers, needed for 2.95.2.
3878 2003-09-05 Angus Leeming <leeming@lyx.org>
3880 Changes most place everywhere due to the removal of using directives
3881 from support/std_sstream.h.
3883 2003-09-05 Angus Leeming <leeming@lyx.org>
3885 Replace LString.h with support/std_string.h,
3886 Lsstream.h with support/std_sstream.h,
3887 support/LIstream.h with support/std_istream.h,
3888 support/LOstream.h with support/std_ostream.h.
3890 Changes resulting throughout the tree.
3892 2003-09-05 Angus Leeming <leeming@lyx.org>
3894 * sgml.h: ensure that the header file can be compiled stand-alone.
3895 * *.C: strip out redundant #includes. (320 in total.)
3897 2003-09-04 Angus Leeming <leeming@lyx.org>
3899 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3900 here (from getPackages).
3902 * debug.[Ch]: add a new EXTERNAL tag.
3904 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3906 * text2.C (cursorEnd): simplify
3908 (getColumnNearX): adjust
3910 * text.C (computeBidiTables): adjust
3913 * rowpainter.C (paintChars): adjust
3914 (paintSelection): adjust
3915 (paintChangeBar): adjust
3918 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3920 (numberOfSeparators): adjust
3922 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3928 * text3.C: Restricts the mouse click functionality
3929 of insets like bibtex, include, toc and floatlist to the visible
3930 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3931 up the dialogs. Cursor has to be in front of the inset (i.e.
3932 start of row) for this to function.
3934 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3936 * bufferview_funcs.C (currentState): output row information
3938 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3940 * bufferview_funcs.C (currentState): output paragraph position
3942 2003-09-04 Angus Leeming <leeming@lyx.org>
3944 * FloatList.h: move out #include "Floating.h".
3945 * LaTeX.h: move out #include "DepTable.h".
3946 * LyXAction.h: move out #include "funcrequest.h".
3947 * buffer.h: move out #include "author.h", "iterators.h".
3948 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3949 * lyx_main.h: move out #include "errorlist.h".
3950 * lyxfunc.h: move out #include "FuncStatus.h".
3951 * lyxtext: move out #include "lyxcursor.h".
3952 * paragraph_pimpl.h: move out #include "counters.h".
3954 2003-09-03 Angus Leeming <leeming@lyx.org>
3956 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3957 preamble_snippets list, enabling us to add snippets to the preamble
3958 only if the snippet was not there already.
3960 2003-09-04 Angus Leeming <leeming@lyx.org>
3962 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3964 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3966 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3969 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3971 * BranchList.C: point fix, earlier forgotten
3973 2003-09-02 Angus Leeming <leeming@lyx.org>
3975 * box.C (contains): renamed from 'contained' after a fantastic
3978 2003-09-02 John Levon <levon@movementarian.org>
3984 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3986 2003-09-02 John Levon <levon@movementarian.org>
3988 * text2.C: simplification of cursorEnd(), including partial
3991 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * buffer.C (readFile): add a space
3995 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3997 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3999 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * buffer.C (readFile): new function, take a filename and a
4002 ParagraphList::iterator
4004 (readFile): adjust, make it private. don't use setStream, make
4005 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4006 always contain the filename.
4008 * BufferView.C (insertLyXFile): simplify and make it work for
4011 2003-08-30 John Levon <levon@movementarian.org>
4013 * Makefile.am: fix dist (from Kayvan)
4015 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4017 * most files: change to use const Buffer refs
4019 2003-08-27 André Pönitz <poenitz@gmx.net>
4021 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4022 on top of ownerPar().
4024 2003-08-27 John Levon <levon@movementarian.org>
4026 * funcrequest.C: properly initialise POD members
4028 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4030 * lyxtext.h (top_y): move top_y from here
4035 * BufferView_pimpl.[Ch]: to here
4036 * frontends/screen.C:
4037 * insets/insettabular.C:
4038 * insets/insettext.C: adjust
4039 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4041 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4044 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4046 2003-08-26 André Pönitz <poenitz@gmx.net>
4048 * paragraph_func.[Ch] (outerPar): new function
4051 * paragraph_funcs.C:
4052 * paragraph_funcs.h:
4053 * paragraph_pimpl.C:
4054 * text2.C: remove Inset::par_owner
4056 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4061 * text2.C: eliminates the needFullRow/display() stuff
4062 altogether, putting the logic in metrics/draw in the insets.
4064 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4066 * text2.C (redoParagraphInternal, redoParagraphs):
4067 * text.C (redoParagraph): add a call to updateRowPositions at the
4068 end of each 'metrics-like' call. Remove all others.
4069 (getRow): remove the 'y-computing' version.
4070 (getRowNearY): do not compute nor return the real y. Solve the
4071 'y < 0' problem and simplify.
4073 2003-08-22 Angus Leeming <leeming@lyx.org>
4075 * *.[Ch]: clean-up of licence and author blurbs.
4076 Also move config.h out of a few .h files and into a few .C files.
4078 2003-08-22 André Pönitz <poenitz@gmx.net>
4080 * lyxrow.[Ch]: add x_ and *fill_ members
4085 * text2.C: adjust/remove prepareToPrint() calls
4087 2003-08-22 André Pönitz <poenitz@gmx.net>
4089 * lyxrow.[Ch]: add end_ member
4091 * lyxrow_funcs.C: use LyXRow::end_
4093 * lyxtext.h (singleWidth): add LyXFont parameter
4096 * text2.C: adjust LyXText::singleWidth() calls
4098 * text.C (redoParagraph): simplify row breaking logic
4101 2003-08-19 André Pönitz <poenitz@gmx.net>
4103 * funcrequest.C: initialize button_ member
4106 * rowpainter.[Ch]: interface consolidation
4108 2003-08-18 André Pönitz <poenitz@gmx.net>
4111 * BufferView_pimpl.C:
4113 * paragraph_funcs.C:
4115 * text3.C: remove LyXScreen::draw() and fitCursor calls
4117 * BranchList.h: remove spurious semicolons
4119 * MenuBackend.C: fix branchlist related crash
4121 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4129 * bufferparams.[Ch]:
4133 * text3.C: implements the 'branch inset'
4134 idea. This allows the output of various versions of a document
4135 from a single source version, selectively outputing or suppressing
4136 output of parts of the text.
4137 This implementation contains a 'branch list editor' in a separate
4138 tab of the document settings dialog. Branches are user definable
4139 and have a "display colour" to distinguish them on-screen.
4141 ColorHandler was somewhat cleaned up.
4142 (1) make possible a dynamically growing LColor list by allowing
4143 the graphic context cache to grow along (vector);
4144 (2) eliminate an IMHO unnecessary step in colour allocation.
4146 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4148 * BufferView_pimpl.C: compile fix
4150 2003-08-15 André Pönitz <poenitz@gmx.net>
4152 * rowpainter.C: remove extra metrics calls
4154 * lyxtext.h: merge the two constructors into a single one,
4155 pass reference to owner's par list
4157 * BufferView_pimpl.C:
4161 2003-08-15 André Pönitz <poenitz@gmx.net>
4163 * lyxrow_funcs.[Ch]:
4166 * paragraph_funcs.C:
4171 * text_funcs.C: split LyXText::rowlist_ into individual
4172 Paragraph::rows_ chunks
4175 * BufferView_pimpl.[Ch]:
4178 * text3.C: remove toggleSelection()
4180 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4182 * bufferlist.C: beautify two alerts (shorter text of buttons)
4183 * buffer.C: Remove redundant ' ' from message
4185 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4186 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4187 rename VALIGN_CENTER to VALIGN_MIDDLE
4189 2003-08-11 André Pönitz <poenitz@gmx.net>
4191 * lyxtext.h (getPar):
4192 * text.C: new function
4194 2003-08-11 André Pönitz <poenitz@gmx.net>
4197 * tracer.[Ch]: remove unneeded files
4199 * InsetList.[Ch]: remove resizeInsetsLyXText()
4204 * text3.C: merge insertParagraphs() and appendParagraph()
4205 remove breakAgain(), update()
4207 * BufferView_pimpl.[Ch]:
4208 * bufferview_funcs.[Ch]:
4212 * tabular.C: adjust after text & InsetList changes.
4214 2003-08-08 André Pönitz <poenitz@gmx.net>
4216 * text.C (insertChar, backspace): replace rowlist fiddling
4217 with rebreak of full par
4220 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4221 checkParagraph, updateInset): removed
4223 2003-08-07 André Pönitz <poenitz@gmx.net>
4226 * text3.C: merge some LFUN handlers, remove dead code
4228 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4230 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4232 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4234 * text2.C (DEPM): fix part of bug 1255 and 1256
4236 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4238 * BufferView_pimpl.C (workAreaDispatch): change to use
4239 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4240 that are no mouse related.
4242 2003-08-05 André Pönitz <poenitz@gmx.net>
4245 * BufferView_pimpl.[Ch]:
4246 * bufferview_funcs.C:
4248 * text3.C: rip out "deep update"
4250 * textcursor.[Ch] (last_sel_cursor): remove unused member
4252 2003-08-04 André Pönitz <poenitz@gmx.net>
4255 * BufferView_pimpl.[Ch]:
4256 * ParagraphParameters.C:
4257 * bufferview_funcs.C:
4263 * text3.C: replace "complicated" BufferView::update(...) calls with
4266 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4268 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4270 * Makefile.am (lyx_SOURCES): add paper.h
4272 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4274 * Makefile.am: move things around so that both lyx-qt and
4275 lyx-xforms can be built (according to --with-frontend). Then lyx
4276 is a symbolic link to lyx-[firstfrontend]
4278 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4280 * Always use std::endl with lyxerr
4282 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4284 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4286 2003-08-01 André Pönitz <poenitz@gmx.net>
4289 * BufferView_pimpl.[Ch]:
4291 * text3.C: merge BufferView::repaint() and BufferView::update()
4293 2003-08-01 José Matos <jamatos@lyx.org>
4295 * buffer.[Ch]: file_format is no longer a buffer data element.
4297 2003-08-01 André Pönitz <poenitz@gmx.net>
4302 * text2.C: make redoParagraph more independent of current cursor
4304 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4306 * text2.C: remove unneeded members
4308 2003-07-30 André Pönitz <poenitz@gmx.net>
4310 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4312 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4313 create a single function...
4315 * paragraph_funcs.C (moveItem): ... here.
4318 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4320 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4322 * LColor.[Ch]: Add comment and greyedout logical colors.
4324 2003-07-30 André Pönitz <poenitz@gmx.net>
4326 * tabular.C: don't use Assert too heavily. This crashes where it
4329 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4331 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4332 is disabled (bug 1232)
4334 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4336 * factory.C: limited 'arg' scope
4338 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4340 * factory.C: fixed Note submenu issues
4342 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4344 * factory.C: submenu for Note/Comment/Greyedout
4346 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4349 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4351 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4354 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4355 greyedout. Patch provided by Jürgen Spitzmüller.
4357 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4359 * kbmap.C (read): fix error message when reading bind files
4361 2003-07-29 Angus Leeming <leeming@lyx.org>
4363 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4364 certainly does not do what it purports to do. I am doing it, and
4365 us, a favour by killing it.
4367 2003-07-28 José Matos <jamatos@lyx.org>
4369 * buffer.C (readBody, do_writeFile):
4370 * paragraph.C(readParagraph): \end_document replaces \the_end.
4372 2003-07-29 André Pönitz <poenitz@gmx.net>
4375 * BufferView_pimpl.[Ch]:
4379 * textcursor.[Ch]: remove toggleToggle & Co
4381 2003-07-28 José Matos <jamatos@fep.up.pt>
4383 * buffer.C (readParagraph):
4384 * params_func (readParToken, readParagraph):
4385 * paragraph.C (write): \layout -> \begin_layout.
4387 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4389 * lyxlex_pimpl.C (setFile): clean up slightly.
4391 * bufferparams.h: add compressed var
4393 * buffer_funcs.C (readFile): adjust for LyXLex change
4394 (newFile): ditto + simplify
4396 * buffer.C (writeFile): handle writing of compressed files
4398 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4399 Check if the file is compressed and set a bufferparm if so.
4401 * Makefile.am (lyx_LDADD): remove explicit -lz
4403 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4405 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4406 makeDocBookFile): put the real LyX version in the first line of
4410 * version.C.in: remove lyx_docversion
4412 * tabular.C (write_attribute): add a template-based version to
4413 write enums properly
4415 2003-07-28 André Pönitz <poenitz@gmx.net>
4420 * text3.C: use doubles again for x-coordinates. They are needed.
4422 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4424 * messages.C (getLocaleDir): use lyx_localedir()
4426 * lyxlex_pimpl.C (setFile): compress stuff
4428 * buffer.C (writeFile): add some compression stuff
4429 (do_writeFile): new func, dont call expliti close... will this
4432 * Makefile.am (lyx_LDADD): add -lz
4434 2003-07-28 José Matos <jamatos@fep.up.pt>
4436 * buffer.C: increment file format.
4437 * paragraph_funcs (readParagraph, readParToken):
4438 * paragraph.C (readParagraph): add \end_layout.
4440 2003-07-27 Angus Leeming <leeming@lyx.org>
4442 * Makefile.am: remove special casing for configure-time setting of
4443 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4445 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4446 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4448 2003-07-26 André Pönitz <poenitz@gmx.net>
4450 * paragraph_func.[Ch]:
4451 * paragraph.C (realizeFont): inline it whereever it is used
4456 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4459 2003-07-26 André Pönitz <poenitz@gmx.net>
4463 * text2.C: get rid of LyXText::need_break_row
4465 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4467 * toc.[Ch]: put namespace toc inside namespace lyx
4469 * MenuBackend.C (expandToc2): adjust for lyx::toc
4472 * lyxfunc.C (dispatch): adjust for lyx::find
4474 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4475 lyx::find instead. Reorganize a bit.
4476 (LyXReplace): rename to replace
4477 (LyXFind): rename to find
4479 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4482 2003-07-26 André Pönitz <poenitz@gmx.net>
4484 * text.C (setHeightOfRow): restrict scope of temporary variable
4486 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4487 code (never has been used?)
4489 2003-07-27 Asger Alstrup <alstrup@local>
4491 * text.C (fill): Optimise algorithm to exploit that we can reuse
4492 the LyXFont for many characters.
4493 (setHeightOfRow): Same thing.
4494 (rowBreakPoint): Same thing.
4496 2003-07-26 Asger Alstrup <alstrup@local>
4498 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4500 * text.C (singleWidth): Spurious font copying in hot-spot
4501 singleWidth avoided. Reorder tests for arabic for efficiency.
4503 * text.C (fill): handle empty paragraphs better.
4505 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4508 * encoding.h: add includes
4510 * lyxrc.C: remove reading of bind files
4512 * lyx_main.C (init): setup bindings and menus only if we have a
4515 * kbmap.C (read): new method. Do the actual reading of bind
4518 * converter.C (dvipdfm_options):
4521 (output): adapt PAPER_* enums.
4523 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4525 * bufferparams.h: remove paper-related enums from there
4527 * paper.h: New file. A trivial header file to hold paper-related
4528 enums. It should later expand to contain many paper-related
4531 * lyxrc.C: declare extern displayTranslator
4533 2003-07-27 José Matos <jamatos@fep.up.pt>
4535 * tabular.[Ch] (linuxdoc): add support for tables and figures
4538 2003-07-27 José Matos <jamatos@fep.up.pt>
4540 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4541 consistency in both functions.
4542 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4544 2003-07-26 Asger Alstrup <alstrup@local>
4546 * rowpainter.C (paintRows): Change algorithm to work directly on
4547 the insets rather than asking every character in the document
4548 whether its an inset.
4550 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4552 * buffer.C (openFileWrite): factorize some code
4554 2003-07-26 Angus Leeming <leeming@lyx.org>
4557 * lyx_main.[Ch]: replace occurances of system_tempdir with
4560 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4562 * rename Inset to InsetOld
4564 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4566 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4567 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4568 which I think is a bit clearer. EDIT is gone, since it was
4569 premature optimisation, and broken for mathed anyway.
4570 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4571 with cursor positioning in insets as well (math insets still do not
4572 work, but that's a different story anyway.) It mysteriously
4573 crashes sometimes with undo in the first paragraph, but I'm fairly
4574 confident that this is a compiler bug.
4576 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * paragraph.C (Paragraph): adjust for new clone return type
4580 (copyIntoMinibuffer): ditto
4582 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4584 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4585 by not having a special case, and always doing a full rebreak of
4586 the document after undo.
4588 2003-07-23 Angus Leeming <leeming@lyx.org>
4590 * factory.C (createInset): InsetExternal::setParams now takes a
4593 2003-07-23 Angus Leeming <leeming@lyx.org>
4595 * factory.C (createInset): changed interface to the external and
4596 graphics mailers' string2params functions.
4598 2003-07-23 Angus Leeming <leeming@lyx.org>
4600 * factory.C (createInset): pass a
4601 Buffer const * parameter to InsetExternalMailer's string2params.
4603 2003-07-22 John Levon <levon@movementarian.org>
4605 * Thesaurus.h: include the right aiksaurus header
4607 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4609 * MenuBackend.C (expand): check menu shortcuts unconditionally
4611 2003-07-21 Angus Leeming <leeming@lyx.org>
4613 * factory.C (createInset): pass a
4614 buffer_path parameter to InsetGraphicsMailer's string2params.
4616 2003-07-21 Angus Leeming <leeming@lyx.org>
4618 * BufferView_pimpl.C (buffer):
4621 * lyxfunc.C (dispatch):
4622 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4623 rather than the grfx shortcut.
4625 2003-07-21 André Pönitz <poenitz@gmx.net>
4627 * rowpainter.C: remove unused variables
4630 * tabular_funcs.h: move to tabular.C
4631 * Makefile.am: adjust
4633 * tabular.[Ch]: basic optical cleaning
4635 * author.h: pass references, not values
4637 2003-07-18 André Pönitz <poenitz@gmx.net>
4645 * text3.C: two-phase drawing for InsetText and InsetTabular
4646 some float -> int changes.
4648 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4650 * lyx_main.C: fix the fix
4652 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4654 * lyx_main.C: fix a crash in batch mode if no files specified
4657 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4659 * format.[Ch] (papersize): moved to BufferParams
4660 * converter.[Ch] (dvips_options): moved to BufferParams
4661 (dvipdfm_options): moved to anon namespace
4662 * bufferparams.[Ch]: added above functions.
4664 2003-07-17 André Pönitz <poenitz@gmx.net>
4668 * text2.C: don't call inset->update() anymore
4670 * metricsinfo.[Ch]: add convenience constructor
4672 2003-07-16 André Pönitz <poenitz@gmx.net>
4677 * text2.C: replace the LyXCursor::irow_ member with
4678 on-demand computation of the value
4680 2003-07-16 John Levon <levon@movementarian.org>
4682 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4684 2003-07-15 André Pönitz <poenitz@gmx.net>
4687 * text2.C: remove no more needed refresh_row
4689 2003-07-15 André Pönitz <poenitz@gmx.net>
4694 * text3.C: refresh_status tristate -> need_update bool
4696 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4698 * lyxtext.h (init): remove reinit argument (act as if always true)
4699 * text2.C: adjust to that
4701 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4703 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4704 * text3.C: use it to delete selections in some cases
4705 (bugs 441, 673, 702, 954).
4707 2003-07-14 André Pönitz <poenitz@gmx.net>
4709 * rowpainter.[Ch]: reduce interface
4711 2003-07-14 André Pönitz <poenitz@gmx.net>
4713 * BufferView_pimpl.C:
4714 * text2.C: adjust after removing unused BufferView * argument
4716 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4718 * text2.C (init): fix a crash fired on resize
4720 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4722 * buffer.[Ch]: added new closing signal
4723 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4724 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4725 BufferView::Pimpl via the closing the signal
4727 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4729 * buffer.[Ch]: take out all bv-related from buffer
4731 * BufferView_pimpl.[Ch]: connect to new signals
4732 * CutAndPaste.C: removed useless asserts
4733 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4736 * lyxfunc.C: moved view-related funciontality from vc here
4737 * paragraph.C: removed outdated comments
4740 2003-07-10 André Pönitz <poenitz@gmx.net>
4742 * BufferView_pimpl.C:
4746 * text2.C: remove InsetText::InnerCache, clean up consequences
4748 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4750 * ispell.C: fix two typos in error messages
4752 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4754 * Extend Note inset to other forms of annotation like Comment
4755 and Greyedout. Right button click gives dialog.
4757 Files modified or added (+):
4761 * ControlNote.[Ch] +
4763 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4764 frontends/controllers
4768 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4770 * aspell.C: add missing namespace lyx::support
4772 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4774 * BufferView.[Ch] (newFile): Add
4775 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4776 * LaTeX.[Ch] (message): added this signal and use it
4777 * buffer.[Ch] (busy, message): added these signals and use them
4778 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4782 * importer.C: use buffer signals instead of direct bv calling
4783 * lyx_cb.[Ch] (ShowMessage): removed
4786 * paragraph_funcs.C:
4787 * text2.C: use buffer signals
4789 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4791 * introduce namespace lyx::graphics
4793 2003-07-02 André Pönitz <poenitz@gmx.net>
4795 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4797 2003-07-01 André Pönitz <poenitz@gmx.net>
4804 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4805 text*.C to text_func.C
4807 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4809 * introduce namespace lyx::support
4811 2003-06-30 André Pönitz <poenitz@gmx.net>
4816 * text.C: re-enable --with-included-string
4818 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4820 * textcursor.C: add <config.h>
4822 * text.C (getWord): remove const from word_location arg
4824 * lyxvc.C (getLogFile): fix const type order
4826 * lyxtext.h: remove const from word_location arg, add arg name
4828 * lyxlayout.h: currect type on labeltype.
4830 * importer.C: correct \file
4832 * converter.C (intToFormat): use std:: on ret val, ws changes
4834 * bufferlist.h: correct \file
4836 * buffer.C (makeLinuxDocFile): fix const type order
4837 (makeDocBookFile): ditto
4838 (fillWithBibKeys): use std:: on stdlib args.
4840 * CutAndPaste.C: fix authors.
4841 (availableSelections): use std:: on return vector
4843 2003-06-27 André Pönitz <poenitz@gmx.net>
4845 * BufferView_pimpl.C:
4846 * bufferview_funcs.C:
4854 * text3.C: remove LyXCursor::row_ member
4857 * text.C: rename fullRebreak() to partialRebreak() and implement
4858 a fullRebreak() that really bereks fully
4860 * textcursor.h: new struct for cursor-related data
4862 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4864 * lyx_main.C (LyX): get full path of document loaded on the
4867 2003-06-26 André Pönitz <poenitz@gmx.net>
4869 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4870 remove unused/broken operator>,<,>=.
4872 * text.C: remove only use of broken operator<= in an Assert().
4874 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4876 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4877 moved errorlist_.clear to showErrorList
4879 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4881 * converter.C (scanLog, runLaTeX):
4882 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4883 move the bv->showErrorList call to the callers
4884 * lyxfunc.C: i.e. here...
4886 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4887 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4888 namespace, the second to...
4889 * buffer_funcs (BufferFormat, parseErrors): added
4890 * errorlist.C (ErrorList(TeXErrors const &)): removed
4892 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4894 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4896 2003-06-24 "Garst R. Reese" <reese@isn.net>
4900 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4902 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4904 * version.C.in: change docversion to 1.4
4906 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4908 * buffer.C: fix a bug just introduced
4910 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4912 * buffer.[Ch]: added the parseError signal and use it, removed
4914 * BufferView.[Ch] (addError): moved to ...
4915 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4916 to the Buffer::parseError signal to catch (guess what) parse errors
4917 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4919 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4921 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4922 ability to create a buffer and to return an existing one from
4923 the list. Moved these functions to...
4924 * buffer_funcs.[Ch]: added
4925 * BufferView.[Ch] (loadLyXFile): added
4926 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4927 job removed from bufferlist::loadLyXFile.
4928 * buffer.C (setReadOnly): make it work without view
4929 (i.e added an if (users))
4931 2003-06-19 Angus Leeming <leeming@lyx.org>
4934 * LyXAction.C (init):
4935 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4936 with LFUN_DIALOG_SHOW <name> <data>.
4938 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4940 * CutAndPaste.C (availableSelections): small compilation fix for
4941 ancient (gcc 2.9x) compilers
4943 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4945 * text3.C (cursorNext): add tmp var
4947 * text2.C (updateCounters): for function calling out of for clause
4948 (replaceSelectionWithString): ditto
4949 (insertStringAsParagraphs): ditto
4950 (getColumnNearX): add tmp var
4951 (setCursorFromCoordinates): add tmp var
4952 (cursorDownParagraph): add tmp var
4953 (deleteEmptyParagraphMechanism): add tmp var
4955 * text.C (insertChar): add tmp var
4957 * rowpainter.C (paintDepthBar): add tmp var
4959 * CutAndPaste.C (availableSelections): potentially check all
4960 paragraphs in a cut to fill the shown strings.
4962 2003-06-18 André Pönitz <poenitz@gmx.net>
4964 * kbmap.[Ch]: use vector<> instead of list<>
4966 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4968 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4969 pasteSelection with index
4971 * text2.C (pasteSelection): modify, call pasteSelection with index
4973 * paragraph.C (asString): reimplement version with no interval to
4974 call the one with interval.
4976 * lyxtext.h: add index arg to pasteSelection
4978 * MenuBackend.C (MenuItem): handle PasteRecent
4979 (Menu::read::Menutags): add md_pasterecent
4981 (expandPasteRecent): new function
4984 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4986 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4988 (availableSelections): new function
4990 2003-06-17 Angus Leeming <leeming@lyx.org>
4992 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4994 2003-06-17 Angus Leeming <leeming@lyx.org>
4997 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4999 * lyxfunc.C (dispatch): invoke it.
5001 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5003 * iterators.C (operator++, ParPosition): reintroduce some
5004 const_cast for the benefit of older compilers.
5006 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5008 * text3.C (dispatch): do not modify clipboard when doing
5009 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5010 LFUN_DELETE_SKIP on a selection selection
5012 2003-06-16 André Pönitz <poenitz@gmx.net>
5018 * tabular.[Ch]: IU of clone() and getLabelList();
5020 2003-06-13 André Pönitz <poenitz@gmx.net>
5022 * tabular.h: compactification
5024 2003-06-12 André Pönitz <poenitz@gmx.net>
5028 * tabular_funcs.h: some renaming plus whitespace
5030 2003-06-12 André Pönitz <poenitz@gmx.net>
5033 * BufferView_pimpl.C:
5039 * toc.C: Return a Paragraph & for ParIterator::operator*()
5041 2003-06-11 John Levon <levon@movementarian.org>
5045 * ToolbarBackend.C: add "Toolbars" section and
5048 2003-06-10 Angus Leeming <leeming@lyx.org>
5051 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5053 * lyxfunc.C (dispatch): invoke it.
5055 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5057 * main.C: protect <ios> with HAVE_IOS
5058 (main): protect sync_with_stdio with HAVE_IOS
5060 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5062 * text2.C (cutSelection): adjust
5063 (pasteSelection): adjust
5065 * messages.C: handle get of empty string
5067 * main.C (main): use sync_with_stdio(false)
5069 * lyxfunc.C (dispatch): adjust
5071 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5072 (WriteAs): remove unneeded BufferView arg.
5074 * bufferparams.h: use correct types on papersize, papersize2 and
5077 * bufferparams.C (readToken): adjust for type
5078 (writeLaTeX): add missing cases to switch.
5080 * bufferlist.C (quitWriteBuffer): adjust
5083 * buffer.C (asciiParagraph): remove some commented code.
5085 * CutAndPaste.C: remove current_view extern variable.
5086 (cutSelection): add BufferParams arg.
5087 (eraseSelection): add BufferParams arg.
5088 (pasteSelection): add Buffer const & arg
5090 2003-06-07 John Levon <levon@movementarian.org>
5093 * paragraph_funcs.C:
5094 * paragraph_pimpl.C:
5098 * paragraph.C: allow InsetERT to freely space lines,
5099 and some consolidation of code
5101 2003-06-06 José Matos <jamatos@fep.up.pt>
5103 * buffer.C (makeDocBookFile): fix bug #821
5105 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5107 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5109 2003-06-04 Angus Leeming <leeming@lyx.org>
5111 * buffer.C: bump format to 224.
5113 2003-06-05 André Pönitz <poenitz@gmx.net>
5115 * text2.C (redoParagraphs): remove two const_cast<>
5117 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5119 * ParagraphList.h: remove last remnants of NO_STD_LIST
5121 2003-06-03 Angus Leeming <leeming@lyx.org>
5123 * factory.C (createInset): small change to the way InsetExternal's params
5126 2003-06-04 André Pönitz <poenitz@gmx.net>
5128 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5130 * paragraph_pimpl.h:
5131 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5133 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5135 * undo_funcs.C: make some simple cases of undo work again
5137 2003-06-03 John Levon <levon@movementarian.org>
5139 * ispell.C: HPUX doesn't have sys/select.h
5142 2003-06-03 John Levon <levon@movementarian.org>
5144 * CutAndPaste.C: update tabular and include inset
5149 * paragraph.C: remove owningBuffer(), don't pass Buffer
5152 * factory.C: insetGraphicsParams changed
5154 2003-06-02 John Levon <levon@movementarian.org>
5160 * text3.C: remove insetparent
5162 2003-06-02 John Levon <levon@movementarian.org>
5165 * buffer.C: fix inset_iterator.end(), move out of line
5168 2003-06-01 John Levon <levon@movementarian.org>
5170 * text3.C: use a proper cut/paste when doing inset
5171 insert (from Jürgen Spitzmüller)
5173 2003-06-01 John Levon <levon@movementarian.org>
5175 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5177 2003-05-30 André Pönitz <poenitz@gmx.net>
5179 * rowpainter.C: unify second drawing phase
5181 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * trans_mgr.C: remove one case of current_view
5185 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5187 * paragraph_funcs.h: remove paragraph.h include
5189 * paragraph.h: delete NO_STD_LIST stuff
5191 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5193 * buffer.h: remove paragraph.h include
5195 * ParagraphList.C: delete file
5197 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5199 * toc.C (getTocList): adjust
5201 * paragraph_pimpl.C (validate): adjust
5203 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5205 * paragraph.C (Paragraph): adjust
5206 (getPositionOfInset): use const_iterator, adjust
5207 (bibitem): use const_iterator, adjust
5208 (setInsetOwner): adjust
5210 * iterators.C (operator++): adjust
5212 * InsetList.[Ch]: Replace selfmade iterator with standard
5213 vector::iterator also introduce const_iterator. Remove getPos,
5214 getInset and setInset from InsetTable. Adjust accordingly.
5216 * BufferView.C (lockInset): adjust
5217 (ChangeInsets): adjust
5219 * tabular.[Ch]: delete commented same_id functions
5221 2003-05-28 John Levon <levon@movementarian.org>
5223 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5225 2003-05-28 André Pönitz <poenitz@gmx.net>
5227 * metricsinfo.[Ch]: remove 'fullredraw' member
5229 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5231 * lyxtextclass.C (operator): remove caching.
5233 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5237 * text2.C (cursorBottom): adjust
5238 (setCounter): use ParagraphList::find, adjust
5240 * text.C (workWidth): use ParagraphList::find, adjust
5242 * lyxcursor.C (LyXCursor): adjust
5244 * buffer.C (inset_iterator): adjust
5246 * ParagraphList.h: make iterator(value_type) private, make
5247 ParagraphList a friend of iterator.
5249 * ParagraphList.C (find): new function
5251 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5253 2003-05-27 André Pönitz <poenitz@gmx.net>
5255 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5257 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5259 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5261 2003-05-26 John Levon <levon@movementarian.org>
5263 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5265 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5267 * remove same_id from function signatures, adjust.
5269 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5271 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5273 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5275 * paragraph.C (Paragraph): get rid of same_ids parameter
5277 * ParagraphList.C (insert): adjust
5280 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * paragraph_funcs.C (breakParagraph): adjust
5283 (breakParagraphConservative): adjust
5285 * buffer.C (readParagraph): adjust
5287 * ParagraphList.C (insert): take a reference instead of a pointer
5290 * paragraph.[Ch] (id): new function
5292 * bufferlist.C (newFile): adjust
5294 * ParagraphList.C (ParagraphList): adjust
5296 (push_back): take a reference instead of a pointer.
5298 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5300 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5303 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5304 set else use old code.
5306 * ParagraphList.C: remove all NO_NEXT code and only compile this
5307 code of NO_STD_LIST is set.
5309 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5311 * BufferView_pimpl.C:
5321 * graphics/GraphicsConverter.C:
5322 * graphics/PreviewLoader.C: header adjustment
5324 2003-05-23 Angus Leeming <leeming@lyx.org>
5326 * LaTeXFeatures.[Ch] (useBabel): new method.
5327 * bufferparams.C (writeLaTeX): use it.
5329 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5331 * ParagraphList.h (set): remove unused function.
5333 2003-05-23 André Pönitz <poenitz@gmx.net>
5336 * BufferView_pimpl.C:
5340 * undo_funcs.C: setUndo reworked
5342 * iterators.[Ch]: add access to topmost ParagraphList
5344 * lyxtext.[Ch] (workWidth): add a const
5346 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5348 * texrow.[Ch] (increasePos): remove function
5349 * exporter.C (export): removed unused var and outdated comment
5351 2003-05-23 Angus Leeming <leeming@lyx.org>
5353 * latexrunparams.h: rename fragile as moving_arg.
5354 * paragraph.C (simpleTeXOnePar): ditto.
5355 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5357 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5359 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5361 (textUndoOrRedo): comment out a currently unused var.
5363 * paragraph.h (NO_NEXT): enable NO_NEXT
5365 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5367 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5369 * exporter.C (Export): adjust for removeAutoInsets removal.
5371 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5373 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5375 * BufferView.[Ch] (removeAutoInsets): delete function
5377 2003-05-22 Angus Leeming <leeming@lyx.org>
5379 * latexrunparams.h: add a free_spacing variable.
5381 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5382 to pass moving_arg, as the data is stored in runparams.fragile.
5384 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5385 to Inset::latexOptional or to simpleTeXOnePar.
5387 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5388 free_spacing arg to Inset::latexOptional.
5390 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5393 2003-05-22 Angus Leeming <leeming@lyx.org>
5395 * latexrunparams.h: add fragile and use_babel variables.
5397 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5398 * buffer.C (makeLaTeXFile): store this returned value in
5399 runparams.use_babel, thus passing it to the inset::latex methods.
5401 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5402 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5404 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5405 longer has a fragile arg, as it is stored in runparams.fragile.
5407 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5408 moving_arg parameter as the data is stored in runparams.fragile.
5410 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5411 a fragile parameter as the data is stored in runparams.fragile.
5413 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5415 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5417 2003-05-22 Angus Leeming <leeming@lyx.org>
5419 * latexrunparams.h: add a 'bool nice' which defaults to false.
5421 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5422 now encapsulated within runparams.
5424 * bufferlist.C (updateIncludedTeXfiles):
5425 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5427 2003-05-22 Angus Leeming <leeming@lyx.org>
5429 * latexrunparams.h: new file containing struct LatexRunParams.
5430 * Makefile.am: add new file.
5432 * LaTeX.[Ch] (c-tor, run):
5433 * buffer.[Ch] (makeLaTeXFile):
5434 * bufferlist.[Ch] (updateIncludedTeXfiles):
5435 * converter.C (convert, scanLog):
5436 * converter.[Ch] (runLaTeX):
5437 * exporter.C (Export):
5438 * paragraph.[Ch] (simpleTeXOnePar):
5439 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5440 * paragraph_funcs.[Ch] (latexParagraphs):
5441 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5442 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5443 pass around a LatexRunParams parameter.
5445 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5447 * paragraph.[Ch]: remove unused constructor
5449 * ParagraphList.C (erase): new function, taking two iterators
5451 2003-05-22 André Pönitz <poenitz@gmx.net>
5453 * undo_funcs.C: remove duplicated code
5455 * iterator.[Ch]: operator=
5457 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5459 * tabular.C (SetMultiColumn): ws changes
5461 * rowpainter.C (paintFirst): get rid of a ->previous
5463 * lyx_cb.C (getPossibleLabel): parlist simplification
5465 * BufferView.C (ChangeInsets): simplify slightly.
5467 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5469 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5470 * lfuns.h: new LFUN_SPACE
5471 * lyxfunc.C: protected space has a new lfun
5472 * paragraph_funcs.C: read new space insets
5474 * factory.C: handle new space insets
5476 2003-05-22 André Pönitz <poenitz@gmx.net>
5479 * BufferView_pimpl.C:
5482 * undo_funcs.C: return a ParIterator from getParFromID.
5484 * iterators.[Ch]: add two const's
5486 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5488 * toc.C (getTocList): adjust
5490 * iterators.[Ch]: rework for parlist
5492 * buffer.C (par_iterator_begin): adjust
5493 (par_iterator_end): adjust
5495 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5497 * BufferView.C (removeAutoInsets): adjust
5498 (ChangeInsets): adjust
5500 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5502 * text.C (top_y): fix bug 1110
5504 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5506 * errorlist.[Ch]: added
5509 * BufferView_pimpl.C:
5510 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5513 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5515 * Makefile.am: ensure that lyx is relinked upon changes to the
5516 various "convenience" libs.
5518 2003-05-20 Angus Leeming <leeming@lyx.org>
5520 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5521 files are compiled in alphabetical order again.
5523 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5525 2003-05-19 Angus Leeming <leeming@lyx.org>
5527 * gettext.[Ch]: remove "char const * _(char const *)".
5529 2003-05-19 André Pönitz <poenitz@gmx.net>
5531 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5540 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5542 2003-05-19 André Pönitz <poenitz@gmx.net>
5546 * lyxtextclass.[Ch]:
5548 * paragraph_funcs.[Ch]:
5550 * text3.C: more insetenv work
5552 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5554 * ParagraphParameters.C (params2string): small bug fixed
5556 2003-05-16 André Pönitz <poenitz@gmx.net>
5559 * bufferview_funcs.C: patch from Kornel Benko to prevent
5560 crash when _(...) is called twice in a statement
5562 2003-05-16 André Pönitz <poenitz@gmx.net>
5569 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5571 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5573 * lyx_main.C (init): remove spurious static_cast
5575 2003-05-14 André Pönitz <poenitz@gmx.net>
5577 * BufferView.C: fix format string
5579 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5581 * BufferView.[Ch] (insertErrors): removed
5582 * BufferView.[Ch] (showErrorList): added
5583 * buffer.C (runChkTeX):
5584 * converter.C (scanLog): call showErrorList instead of inserterrors
5586 2003-05-13 André Pönitz <poenitz@gmx.net>
5588 * BufferView_pimpl.C:
5590 * bufferview_func.C:
5597 * tabular_funcs.h: tostr() from its own header
5599 * ParagraphParameters.C:
5604 * text3.C: STRCONV()
5606 2003-05-12 André Pönitz <poenitz@gmx.net>
5609 * BufferView_pimpl.C:
5613 * ParagraphParameters.C:
5617 * bufferview_funcs.C:
5630 * paragraph_funcs.C:
5634 * text3.C: boost::format -> bformat all over the place
5637 2003-05-09 André Pönitz <poenitz@gmx.net>
5639 * LColor.[Ch]: Pimpl the #include <map> away
5641 2003-05-09 John Levon <levon@movementarian.org>
5643 * bufferlist.C: never remove emergency saves
5645 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5647 * Makefile.am: better lib building
5649 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5651 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5653 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5654 (simpleTeXSpecialChars): adjust
5655 (simpleTeXSpecialChars): adjust
5656 * paragraph.C (simpleTeXOnePar): adjust
5657 * buffer.C (makeLaTeXFile): adjust
5659 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5661 * text2.C (changeDepth): parlist cleanup
5662 (getColumnNearX): ditto
5664 * rowpainter.C (getLabelFont): parlist cleanup
5666 * bufferlist.C (newFile): parlist cleanup
5668 * CutAndPaste.C (eraseSelection): parlist cleanup
5670 * BufferView_pimpl.C (trackChanges): parlist cleanup
5673 * BufferView.C (lockInset): parlist cleanup.
5674 (ChangeInsets): ditto
5676 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5678 * CutAndPaste.h: Update file header.
5680 * CutAndPaste.C: Update file header.
5681 Store the parts cut out of the Document in a limited_stack.
5682 (copySelection): adjust
5683 (pasteSelection): new function, takes the index in the limited stack.
5684 (nrOfParagraphs): adjust
5685 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5686 simplify error inset insertion.
5687 (checkPastePossible): adjust
5689 2003-05-06 John Levon <levon@movementarian.org>
5691 * text2.C: don't cast wrap inset to float
5693 2003-05-05 André Pönitz <poenitz@gmx.net>
5696 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5698 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5699 few naked Paragraph *.
5701 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5703 * bufferparams.C: Output warning if a document with missing
5704 TeX document class is loaded
5705 * exporter.C: Disable TeX exports if the document class is missing
5708 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5709 isTeXClassAvailable()
5711 2003-05-03 John Levon <levon@movementarian.org>
5714 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5715 explicit cursor show/hide
5717 * BufferView_pimpl.h:
5718 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5719 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5721 * lyxfunc.C: hide cursor before dispatching.
5726 * text3.C: remove explicit cursor hides
5728 2003-05-02 André Pönitz <poenitz@gmx.net>
5730 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5733 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5736 * text2.C: tiny whitespace
5738 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5740 * undo_funcs.C: almost only ws changes.
5742 * ParagraphList.C (splice): just return if pl is empty.
5744 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5746 * ParagraphList.C (splice): new function.
5748 * CutAndPaste.C (pasteSelection): use it
5750 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5752 * CutAndPaste.C (pasteSelection): remove the last next and
5753 previous from this file.
5755 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5757 * CutAndPaste.C (pasteSelection): more clean up, user proper
5758 ParagraphList functions for pasteing.
5760 * ParagraphList.C (insert): new function, three arg insert
5762 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5764 * ParagraphList.C (insert): new function, three arg insert
5766 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5769 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5771 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5773 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5775 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5777 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5779 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5780 (copySelection): clean up a bit.
5781 (pasteSelection): use make_pair
5783 * ParagraphList.C (ParagraphList): implement copy constructor
5784 (operator=): implement, base on copy constructor.
5787 * paragraph.C (erase): return a bool
5789 * paragraph_pimpl.C (erasePos): remove function, move contents...
5790 (erase): ... here. Return a bool.
5791 (erase): call erase instead of erasePos.
5793 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5795 * ParagraphList.h: define PitPosPair
5796 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5797 ParagraphList, fix a bug on pasting multiple pars
5798 * text2.C: change interface to C&P
5800 2003-04-30 André Pönitz <poenitz@gmx.net>
5802 * undo_func.C: revert part of yesterday's patch 2
5804 2003-04-30 John Levon <levon@movementarian.org>
5806 * LColor.C: s/tabular/table/
5808 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5810 * text3.C (dispatch): do not convert iterator -> pointer
5811 * undo_funcs.C (setCursorParUndo): ditto
5812 * text_funcs.C (transposeChars): ditto
5814 * text2.C (setLayout): ws changes only
5816 * text.C (breakParagraph): do not convert iterator -> pointer
5818 (acceptChange): ditto
5819 (rejectChange): ditto
5824 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5827 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5829 * text3.C (gotoInset): YABG (yet another bad getChar)
5831 2003-04-29 André Pönitz <poenitz@gmx.net>
5833 * paragraph.h: make operator= private unimplemented as long as
5836 * ParagraphList.C: whitespace
5839 * paragraph_pimpl.[Ch]:
5840 * paragraph_funcs.C:
5842 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5845 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5847 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5849 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5850 * paragraph.[Ch] (erase):
5851 * paragraph_pimpl.[Ch] (erase): change return type and value
5852 * text2.C (cutSelection): some rework
5854 2003-04-28 John Levon <levon@movementarian.org>
5856 * bufferlist.C: changes for unsaved changes dialog
5858 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5860 * bufferlist.C (newFile): set language (messages_) for new
5863 * buffer.C (readFile): ws changes only.
5865 2003-04-28 André Pönitz <poenitz@gmx.net>
5870 * BufferView_pimpl.C:
5871 * BufferView.C: getParFromID related ParagraphList::iterator changes
5873 2003-04-28 André Pönitz <poenitz@gmx.net>
5875 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5878 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5880 * messages.C: remove one more localedir class variable.
5882 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5884 * messages.C (getLocaleDir): singleton generation function
5886 (Messages): add a default constructor.
5888 * main.C (main): do not setup localedir here, do not call
5891 * gettext.C (_): use it.
5892 (gettext_init): delete funciton
5894 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5896 * gettext.C (getLyXMessages): new singleton generating function.
5898 * buffer.C (updateDocLang): adjust
5900 * Makefile.am (messages.o): add target
5901 (main.o): remove target
5903 2003-04-27 John Levon <levon@movementarian.org>
5908 * lyxvc.C: specify cancel button in Alert::prompt
5910 2003-04-26 John Levon <levon@movementarian.org>
5915 * LyXAction.C: add LFUN_INSET_SETTINGS
5917 * lyxfunc.C: don't enable tabular-feature when there's
5918 just any locking inset
5920 2003-04-26 John Levon <levon@movementarian.org>
5922 * bufferlist.C: re-add Cancel to buffer close question
5924 * lyxfunc.C: fix import UI a bit
5926 2003-04-25 John Levon <levon@movementarian.org>
5928 * gettext.C: remove the broken asserts for now
5930 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5932 * messages.C: make case where setlocale cannot comply work better.
5934 * buffer.C (updateDocLang): new function
5935 (changeLanguage): use it
5938 * text2.C (setCounter): use B_ a bit.
5940 * lyxlayout.C (Read): be sure to trim the label strings.
5942 * messages.C (Messages): fix typo in comment
5944 * buffer.C (readFile): set message_ after file is loaded.
5945 (makeDocBookFile): remove double return
5946 (changeLanguage): reset message_ upon language change.
5947 (B_): new func, use this to get translated buffer strings.
5949 * main.C: add myself and Jean Marc as authors.
5951 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5953 * messages.[hC]: pimplify Messages, and three different pimpls to be
5954 used in different circumstances.
5956 * gettext.[Ch]: change for use with new message code.
5958 2003-04-24 André Pönitz <poenitz@gmx.net>
5960 * factory.C: support for eqref
5962 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5964 * messages.[Ch]: add missing char
5966 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5968 * messages.[Ch]: New files
5970 2003-04-18 John Levon <levon@movementarian.org>
5974 * BufferView_pimpl.C:
5978 * text2.C: remove layout-copy/paste (bug 778)
5980 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5982 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5984 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5986 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5987 if they succeed. Act accordingly.
5989 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5991 * text2.C (setCharFont): adjust
5992 (setCounter): adjust
5993 (insertStringAsLines): adjust
5995 * text.C (leftMargin): adjust
5996 (setHeightOfRow): adjust
5998 * rowpainter.C (paintFirst): adjust
6001 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6003 (isFirstInSequence): ditto
6004 (getEndLabel): ditto
6007 * paragraph.C (getParLanguage): comment out some hard stuff.
6009 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6011 (simpleDocBookOnePar): ditto
6012 (makeDocBookFile): use ParagraphList::iterator
6014 * CutAndPaste.C (pasteSelection): adjust
6016 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6018 * text2.C (getFont): adjust
6019 (getLayoutFont): adjust
6020 (getLabelFont): adjust
6022 * paragraph_funcs.C (TeXOnePar): adjust
6024 * buffer.C (simpleLinuxDocOnePar): adjust
6025 (simpleDocBookOnePar): adjust
6027 * CutAndPaste.C (pasteSelection): adjust
6029 * BufferView.C (getEncoding): adjust
6031 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6033 2003-04-16 John Levon <levon@movementarian.org>
6035 * lyxfind.C: use parlist stuff for search/changes
6037 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6039 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6041 * text2.C (deleteEmptyParagraphMechanism): adjust
6043 * text2.[Ch] (ownerParagraph): delete func (both of them
6045 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6047 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6049 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6051 * ParagraphList.C: prepare for NO_NEXT
6053 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6055 * text2.C (getFont): adjust
6056 (getLayoutFont): adjust
6057 (getLabelFont): adjust
6059 * paragraph.C (getFont): adjust
6060 (getLabelFont): adjust
6061 (getLayoutFont): adjust
6063 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6065 2003-04-15 John Levon <levon@movementarian.org>
6069 * lyx_main.C: handle Include in .ui files
6071 2003-04-15 John Levon <levon@movementarian.org>
6073 * MenuBackend.C: make the doc files length shorter
6076 * ToolbarBackend.C: handle toolbar placement flags,
6079 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6081 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6084 * paragraph_funcs.C (TeXOnePar): adjust
6086 * paragraph.C (getLabelFont): add outerfont arg, adjust
6087 (getLayoutFont): ditto
6088 (simpleTeXOnePar): adjust
6090 * paragraph_pimpl.C (realizeFont): delete func
6092 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6094 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6095 row argument, constify cur argument.
6097 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * text2.C (getFont): adjust
6100 (getLayoutFont): adjust
6101 (getLabelFont): adjust
6103 * paragraph_funcs.C (TeXOnePar): adjust
6104 (outerFont): new func...
6105 (realizeFont): ...moved out from here, changed this to facilitate
6108 * paragraph.C (getFont): take outerfont as arg, adjust
6109 (simpleTeXOnePar): add outerfont arg, adjust
6111 * buffer.C (simpleLinuxDocOnePar): adjust
6112 (simpleDocBookOnePar): adjust
6114 * CutAndPaste.C (pasteSelection): adjust
6116 * BufferView.C (getEncoding): adjust
6118 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6120 * text2.C (setCharFont): adjust
6121 (setCounter): adjust
6123 * text.C (leftMargin): adjust
6124 (setHeightOfRow): adjust
6126 * rowpainter.C (paintFirst): adjust
6129 * paragraph_pimpl.C (realizeFont): adjust
6131 * paragraph.C (isFirstInSequence): move from here...
6132 * paragraph_funcs.C (isFirstInSequence): ...to here
6134 * paragraph.C (outerHook): move from here...
6135 * paragraph_funcs.C (outerHook): ...to here
6137 * paragraph.C (depthHook): move from here...
6138 * paragraph_funcs.C (depthHook): ...to here
6140 * paragraph.C (getEndLabel): move from here...
6141 * paragraph_funcs.C (getEndLabel): ...to here
6143 * text2.C (realizeFont): move from here...
6144 * paragraph_funcs.C (realizeFont): ...to here
6146 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6148 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6150 2003-04-14 Angus Leeming <leeming@lyx.org>
6152 * LColor.[Ch]: scrap LColor mathcursor.
6154 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6156 * lyxlex.[Ch] (text): delete function
6157 * trans.C (Load): adjust
6158 * paragraph_funcs.C (readParToken): adjust
6160 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6162 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6163 vector<char> instead of a char[].
6165 * lyxlex_pimpl.C (getString): adjust
6167 (lex): use getString
6171 * lyxlex.C (text): use pimpl_->getString()
6175 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6177 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6178 (makeFontEntriesLayoutSpecific): temp var for par.size()
6179 (setLayout): temp var for ownerParagraphs().end()
6180 (fullRebreak): temp var for rows().end()
6181 (selectionAsString): temp var for boost::next(startpit), realize
6182 that the while really is a regular for loop.
6183 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6184 setCursor in one place.
6185 (setParagraph): temp vr for ownerParagraphs().end()
6186 (updateCounters): make the while loop a for loop
6187 (cutSelection): temp var for ownerParagraphs().end()
6188 (updateInset): make the do {} while() a regular for loop
6189 (getCursorX): use temp vars
6190 (setCurrentFont): use temp vars
6191 (getColumnNearX): use temp vars
6193 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * text.C (transformChar): use temp var for getChar
6196 (computeBidiTables): use temp var for row->par()
6197 (fill): move temp vars for row->par() and pit->layout() earlier in
6199 (labelFill): use temp var for row->par()
6200 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6201 asc and desc, realize that pit never changes and that firstpit is
6202 just a duplicate and not needed. Exchange rit->par() with pit in a
6204 (breakAgain): use a temp var for boost::next(rit)
6205 (breakAgainOneRow): ditto
6206 (breakParagraph): use a temp var for rows().begin()
6207 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6208 (cursorRightOneWord): use temp var for cursor.par() and
6209 cursor.pos(), remove usage of tmpcursor.
6210 (cursorLeftOneWord): use temp var for cursor.par() and
6211 cursor.pos() only set cur at end of function.
6213 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6215 * text.C, text2.C: exchange all usage of Paragraph::next with
6216 boost::next(ParagraphList::iterator)
6218 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6220 * text2.C (cursorTop): simplify implementation
6221 (cursorBottom): ditto
6222 (setParagraph): use ParagraphList::iterator
6223 (setCurrentFont): adjust
6224 (getColumnNearX): adjust
6225 (cursorRight): adjust
6226 (cursorLeft): remove usage of Paragraph::previous
6227 (cursorUpParagraph): ditto
6228 (deleteEmptyParagraphMechanism): slight cleanup
6230 * text.C (isBoundary): take a Paragraph const & instead of a
6232 (addressBreakPoint): ditto
6233 (leftMargin): remove usage of Paragraph::previous.
6234 (setHeightOfRow): ditto
6235 (cursorLeftOneWord): ditto
6236 (selectNextWordToSpellcheck): ditto
6239 (breakParagraph): remove one usage of Paragraph::next
6240 (redoParagraph): ditto
6241 (acceptChange): ditto
6242 (insertChar): adjust
6243 (rowBreakPoint): adjust
6245 * bufferview_funcs.C (toggleAndShow): adjust
6247 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6249 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6250 methods to access it.
6252 * text.C: Added updateRowPositions to compute all row positions.
6253 Make top_y and getRowNearY() to use the cached y position
6255 2003-04-11 John Levon <levon@movementarian.org>
6257 * text.C (rowBreakPoint): reintroduce the labelEnd
6258 checks, code copied from the row fill stuff. Deep voodoo.
6260 * text.C (fill): add a comment and debugging for the
6263 2003-04-11 John Levon <levon@movementarian.org>
6265 * text.C: make sure fullrow insets get wrapped to the next line,
6266 even when they're in a manual label
6268 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6270 * text2.C (insertParagraph): make it take ParagraphList::iterator
6272 (setLayout): make it return ParagraphList::iterator
6273 (redoParagraphs): ditto
6275 (checkParagraph): ditto
6277 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6279 * text2.C: adjust several funcs.
6280 (realizeFont): take a ParagraphList::iterator as arg.
6281 (getLayoutFont): ditto
6282 (getLabelFont): ditto
6283 (setCharFont): ditto
6285 * text.C: adjust several funcs.
6287 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6289 * text.C (selectNextWordToSpellcheck): don't accidentally
6292 2003-04-10 John Levon <levon@movementarian.org>
6294 * ToolbarBackend.C (getIcon): special handling for
6297 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6299 * text2.C (cursorRight): a getChar assert fixed
6301 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6303 * text2.C (getFont): change to take a ParagraphList::iterator
6304 instead of Paragraph*
6305 Adjust several functions.
6307 * text.C (transformChar): change to take a ParagraphList::iterator
6308 instead of Paragraph*
6309 (singleWidth): ditto
6310 Adjust several functions.
6312 * rowpainter.C: adjust several functions
6313 * rowpainter.h:store a ParagraphList::iterator and not a
6317 2003-04-09 John Levon <levon@movementarian.org>
6322 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6323 and the "help" bits as well
6325 2003-04-09 John Levon <levon@movementarian.org>
6328 * ToolbarBackend.C: allow multiple toolbars
6330 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6332 * undo_funcs.C (setCursorParUndo): adjust
6334 * text_funcs.C (transposeChars): adjust
6336 * text3.C (gotoNextInset): adjust
6339 * text2.C (setLayout): adjust
6340 (changeDepth): adjust
6342 (redoParagraphs): adjust
6343 (selectionAsString): adjust
6344 (setParagraph): adjust
6345 (insertInset): adjust
6346 (cutSelection): adjust
6347 (copySelection): adjust
6348 (pasteSelection): adjust
6349 (insertStringAsLines): adjust
6350 (updateInset): adjust
6351 (setCursor): change to take a ParagraphList::iterator parameter
6352 (setCursorIntern): change to take a ParagraphList::iterator parameter
6353 (setCurrentFont): adjust
6354 (cursorLeft): adjust
6355 (cursorRight): adjust
6356 (deleteEmptyParagraphMechanism): adjust
6358 * text.C (breakParagraph): adjust
6359 (insertChar): adjust
6360 (acceptChange): adjust
6361 (rejectChange): adjust
6362 (selectNextWordToSpellcheck): adjust
6363 (changeCase): adjust
6367 * lyxfind.C (SearchForward): adjust
6368 (SearchBackward): adjust
6369 (nextChange): adjust
6371 * lyxcursor.C (par): adjust
6373 * lyxcursor.h: store a ParagraphList::iterator instead of a
6376 * lyx_cb.C (getPossibleLabel): adjust
6378 * bufferview_funcs.C (toggleAndShow): adjust
6380 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6383 * BufferView.C (removeAutoInsets): adjust
6384 (lockedInsetStoreUndo): adjust
6386 2003-04-09 John Levon <levon@movementarian.org>
6388 * ToolbarBackend.C: try icon without argument
6389 if with argument fails
6391 2003-04-08 John Levon <levon@movementarian.org>
6394 * ToolbarBackend.C: add getIcon(), handle tooltip,
6395 and change from "Icon" to "Item".
6397 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6399 * BufferView.C (lockInset): another bad getchar crunched
6401 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6403 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6406 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6408 * lyxfind.C (searchForward, searchBackwards): bug 782
6410 2003-04-07 John Levon <levon@movementarian.org>
6412 * paragraph.C: remove dead comment
6414 * text.C: remove troublesome depth-fiddling code
6415 in leftMargin() and rightMargin() (bug 1017)
6417 * text.C: fix breaking of rows in nested lists
6420 * text2.C (updateCounters): fix up depth values
6423 2003-04-07 John Levon <levon@movementarian.org>
6425 * BufferView_pimpl.C: clear message when doc finishes resizing,
6426 and after a mouse event
6428 * lyxfunc.C: clear message after exiting inset
6430 2003-04-07 John Levon <levon@movementarian.org>
6432 * bufferview_funcs.C: show math status not outside
6433 status in the statusbar
6435 2003-04-07 John Levon <levon@movementarian.org>
6437 * lyxfunc.C: note status changed after a depth change
6439 2003-04-04 Angus Leeming <leeming@lyx.org>
6441 * LaTeX.h: move AuxInfo operator==, != out of line.
6442 Remove LaTeX virtual destructor; nothing derives from it.
6443 Move operator()() out of public area and rename it startscript().
6444 Change protected for private.
6446 2003-04-04 Angus Leeming <leeming@lyx.org>
6449 * text2.C: remove unneeded #includes.
6451 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6453 * text2.C (dEPM): fix the heigth of the next row
6455 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6457 * text.C: squashed an invalid getChar requester + some ws changes
6459 2003-04-03 John Levon <levon@movementarian.org>
6461 * bufferview_funcs.h:
6462 * bufferview_funcs.C:
6465 * text2.C: make getStatus work for the env depth lfuns
6467 2003-04-03 John Levon <levon@movementarian.org>
6469 * bufferview_funcs.h:
6470 * bufferview_funcs.C:
6473 * text2.C: parlistize decDepth(), by merging it with incDepth()
6475 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6477 * lyxrow.h: store a ParagraphList::iterator instead of a
6478 Paragraph* and adjust other class functions to suit.
6480 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6483 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6485 * text2.C (setCursor): do not anchor to cursor row for the time being
6487 2003-04-02 John Levon <levon@movementarian.org>
6494 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6496 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6498 * paragraph.h: make ParagraphList and ParagraphList::iterator
6499 friends of Paragraph.
6501 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6503 * ParagraphList.C: Use the private next_ and previous_ from
6506 2003-04-01 John Levon <levon@movementarian.org>
6510 * Makefile.am: rename, remove defaults gunk
6513 * MenuBackend.C: remove defaults gunk
6516 * Languages.C: remove defaults gunk
6519 * lyx_main.C: error out if files couldn't be found.
6521 2003-04-02 John Levon <levon@movementarian.org>
6523 * text2.C: make incDepth() use parlist
6525 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6527 * undo_funcs.C (firstUndoParagraph): adjust
6529 * text3.C (gotoInset): adjust
6530 (dispatch): adjust, and rewrite loop.
6532 * text2.C (init): adjust, and rewrite loop.
6533 (redoParagraphs): adjust
6534 (updateInset): adjust, and rewrite loop.
6535 (deleteEmptyParagraphMechanism): adjust
6537 * tabular.C (LyXTabular): adjust
6538 (SetMultiColumn): adjust
6541 * lyxtext.[Ch] (ownerParagraph): delete function
6542 (ownerParagraphs): new function returns a ParagraphList.
6544 * BufferView.C (removeAutoInsets): adjust
6545 (insertErrors): adjust
6546 (setCursorFromRow): adjust
6548 2003-04-01 Angus Leeming <leeming@lyx.org>
6550 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6553 2003-04-02 John Levon <levon@movementarian.org>
6559 * text_funcs.C: make transposeChars a free function
6561 * lyxrow_funcs.C: remove wrong comment
6563 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6566 * rowpainter.C: adjust
6571 * lyxrow_funcs. [Ch]: new files
6573 * lyxrow.[Ch]: remove next and previous pointers
6574 (next,previous): remove accessor functions
6575 (isParEnd): move to lyxrow_funcs
6576 (lastPos): move to lyxrow_funcs
6577 (nextRowIsAllInset): move to lyxrow_funcs
6578 (lastPrintablePos): move to lyxrow_funcs
6579 (numberOfSeparators): move to lyxrow_funcs
6580 (numberOfHfills): move to lyxrow_funcs
6581 (numberOfLabelHfills): move to lyxrow_funcs
6582 (hfillExpansion): move to lyxrow_funcs
6586 * bufferview_funcs.C (toggleAndShow): adjust
6588 * RowList.h: Remove class RowList from file leave just a
6591 * RowList.C: delete file
6593 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6596 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6598 * text3.C (cursorPrevious): adjust
6599 (cursorNext): adjust
6602 * text2.C (redoHeightOfParagraph): adjust
6603 (redoDrawingOfParagraph): adjust
6606 * text.C (breakParagraph): adjust
6607 (insertChar): adjust
6610 * rowpainter.C (RowPainter): adjust
6611 (leftMargin): simplify and adjust
6612 (most rowpainter functions): adjust.
6614 * rowpainter.h: store the row as RowList::iterator not as Row*
6616 * lyxcursor.C (row): taka RowList::iterator as arg
6619 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6622 2003-04-01 Angus Leeming <leeming@lyx.org>
6624 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6625 stuff like bool Bool.
6627 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6629 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6632 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6634 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6637 * lyxtext.h (rows): drop one version and leve a const variant that
6638 returns a RowList::iterator.
6640 2003-03-31 Angus Leeming <leeming@lyx.org>
6642 * text.C (fill): ensure that the signature is the same as that in the
6645 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6647 * text2.C (redoParagraphs): adjust
6648 (updateCounters): adjust
6649 (checkParagraph): adjust
6650 (getColumnNearX): adjust and reformat a bit.
6652 * text.C (top_y): adjust
6654 (leftMargin): adjust
6655 (prepareToPrint): adjust
6657 (getRowNearY): adjust
6659 * lyxtext.h: make rowlist_ mutable.
6661 * RowList.h: add const_iterator
6662 * RowList.C: adjust for RowList::const_iterator.
6664 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6667 2003-03-31 John Levon <levon@movementarian.org>
6670 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6672 * lyx_main.C: set default fonts from using lyx_gui funcs
6674 * exporter.C: pdf_mode moved from lyxrc
6677 * lyxfunc.C: changes from above
6679 2003-03-31 John Levon <levon@movementarian.org>
6681 * lyx_main.C: fix to the last fix
6683 2003-03-31 John Levon <levon@movementarian.org>
6685 * bufferlist.C: "Load original" -> "Load Original"
6691 * format.C: more Alert cleanups
6693 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6695 * text2.C (removeParagraph): make it take a RowList::iterator as
6697 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6698 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6700 * text.C (anchor_row): make it take a RowList::iterator as arg,
6702 (computeBidiTables): make it take a const reference to Row instead
6703 of Row pointer, adjust.
6704 (leftMargin): make it take a RowList::iterator as arg, adjust.
6705 (rowBreakPoint): adjust
6706 (breakAgainOneRow): make it take a RowList::iterator as arg,
6708 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6710 * bufferview_funcs.C (toggleAndShow): adjust
6712 2003-03-30 John Levon <levon@movementarian.org>
6716 * boost-inst.C: moved to support
6718 * several files: changes as a result
6720 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6722 * text2.C (LyXText): adjust.
6724 (removeRow): make it take a RowList::iterator as arg, adjust.
6725 (fullRebreak): adjust
6726 (deleteEmptyParagraphMechanism): adjust
6727 (clearPaint): adjust
6730 * text.C (top_y): adjust
6731 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6732 (breakAgain): make it take a RowList::iterator as arg, adjust.
6733 (breakParagraph): adjust
6734 (insertChar): adjust
6737 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6738 need_break_row, and refresh_row.
6740 * text3.C (dispatch): adjust
6742 * text2.C (checkParagraph): adjust
6744 (setCursorFromCoordinates): adjust
6746 * text.C (top_y): adjust
6748 (getRow): make it return a RowList::iterator, adjust
6749 (getRowNearY): make it return a RowList::iterator, adjust
6751 * text2.C (init): adjust
6752 (insertRow): remove function
6753 (insertParagraph): adjust
6754 (redoParagraphs): adjust
6755 (fullRebreak): adjust
6756 (updateCounters): adjust
6758 * text.C (top_y): rewrite to use RowList iterators.
6760 (setHeightOfRow): rewrite to sue RowList iterators.
6761 (appendParagraph): adjust
6762 (breakAgain): adjust
6763 (breakAgainOneRow): adjust
6764 (breakParagraph): adjust
6766 (getRowNearY): adjust, and remove commented code.
6768 * lyxtext.h (firstRow): delete function
6769 (lastRow): delete function
6770 (rows): new function (const and non-const versions.)
6771 (insertRow): delete function
6773 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6775 2003-03-29 John Levon <levon@movementarian.org>
6777 * BufferView_pimpl.C: always update scrollbar top
6778 because pasting text when we're anchored could mean we
6779 miss an update altogether
6781 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6783 * text2.C (init): use rowlist_.end() and not 0.
6784 (insertRow): change to take a RowList::iterator as arg, adjust
6786 (insertParagraph): change to take a RowList::iterator as arg,
6788 (redoParagraphs): remove some debug msgs.
6790 * text.C (appendParagraph): change to take a RowList::iterator
6791 arg, adjust for this.
6792 (breakAgain): add an assert
6793 (breakAgainOneRow): ditto
6795 2003-03-29 John Levon <levon@movementarian.org>
6797 * text2.C: do not clear selection after inc/decDepth
6800 2003-03-29 John Levon <levon@movementarian.org>
6803 * buffer.C: fix broken strerrors according to Lars
6805 2003-03-29 John Levon <levon@movementarian.org>
6807 * converters.C: more Alert cleanups
6809 2003-03-29 John Levon <levon@movementarian.org>
6811 * bufferview_funcs.C: remove pointless Alert
6813 * buffer.C: fix confusing error message when
6814 a template is chmoded 000
6816 2003-03-29 John Levon <levon@movementarian.org>
6820 * BufferView_pimpl.C: Alert fixes
6824 * tabular-old.C: remove unused table compat reading
6826 2003-03-29 John Levon <levon@movementarian.org>
6831 * lyx_cb.C: more Alert cleanups
6833 * lyxfunc.C: don't allow chktex if not latex document
6835 2003-03-29 John Levon <levon@movementarian.org>
6839 * buffer.C: warnings pushed down from support/,
6842 2003-03-29 John Levon <levon@movementarian.org>
6844 * lyxfunc.C: safety check for C-r (revert)
6846 2003-03-29 John Levon <levon@movementarian.org>
6849 * bufferlist.C: several UI fixes using Alert::prompt.
6850 Fix the pointless looping quit code. Fix stupid revert
6855 * lyx_cb.C: use Alert::prompt
6857 * lyx_main.C: remove a silly question
6859 * lyxfunc.C: remove a couple of silly questions,
6862 2003-03-28 John Levon <levon@movementarian.org>
6864 * text2.C: fix bug 974 (End on empty par)
6866 2003-03-28 John Levon <levon@movementarian.org>
6868 * BufferView_pimpl.C:
6870 * lfuns.h: remove do-nothing math greek lfuns
6872 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6874 * lyxgluelength.h (isValidGlueLength): add default arg on
6875 parameter 2. Remove default arg from friend in class.
6877 * lyxlength.h (isValidLength): add default arg on parameter 2.
6878 Remove default arg from friend in class.
6880 * text2.C (LyXText): adjust, initialize refresh_row.
6884 (insertParagraph): adjst
6885 (redoParagraphs): adjust
6886 (fullRebreak): adjust
6887 (updateCounters): adjust
6888 (deleteEmptyParagraphMechanism): first attempt at fixing a
6891 * text.C (top_y): adjust
6892 (setHeightOfRow): adjust
6894 (getRowNearY): adjust
6896 * lyxtext.h: include RowList.h
6897 (~LyXText): not needed anymore, deleted.
6898 (firstRow): modify for RowList
6899 (lastRow): new function
6900 Delete firstrow and lastrow class variables, add a Rowlist
6901 rowlist_ class variable.
6903 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6906 * RowList.C (insert): fix case where it == begin().
6908 2003-03-26 Angus Leeming <leeming@lyx.org>
6910 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6911 the thesaurus dialog.
6913 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6915 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6917 * RowList.[Ch]: new files
6919 * ParagraphList.C (erase): handle the case where it == begin
6922 2003-03-25 John Levon <levon@movementarian.org>
6926 * aspell.C: add new aspell support
6929 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6932 2003-03-25 Angus Leeming <leeming@lyx.org>
6935 * LyXAction.C (init): new LFUN_INSET_INSERT.
6937 * BufferView_pimpl.C (dispatch): split out part of the
6938 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6940 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6943 2003-03-25 Angus Leeming <leeming@lyx.org>
6945 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6947 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6950 * text3.C: remove useless row->height(0)
6952 2003-03-25 John Levon <levon@movementarian.org>
6956 * text3.C: rename the refreshing stuff to better names
6958 2003-03-24 John Levon <levon@movementarian.org>
6960 * BufferView_pimpl.h:
6961 * BufferView_pimpl.C: update layout choice on a mouse
6964 2003-03-23 John Levon <levon@movementarian.org>
6966 * Makefile.am: fix commandtags.h reference
6968 2003-03-22 John Levon <levon@movementarian.org>
6970 * BufferView_pimpl.C:
6975 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6977 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6980 * text.C: take the rtl methods out of line
6982 2003-03-21 André Pönitz <poenitz@gmx.net>
6984 * metricsinfo.[Ch]: new files containing structures to be passed around
6985 during the two-phase-drawing...
6987 2003-03-21 André Pönitz <poenitz@gmx.net>
6989 * lyxtextclass.C: read 'environment' tag.
6991 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6993 * text2.C (removeRow): fix bug 964
6995 2003-03-20 John Levon <levon@movementarian.org>
6999 * text2.C: paint cleanups. Inset::update() dropped font
7002 2003-03-19 John Levon <levon@movementarian.org>
7004 * lyxfunc.C: only fitcursor/markDirty if available()
7006 2003-03-19 John Levon <levon@movementarian.org>
7008 * commandtags.h: rename to ...
7010 * lfuns.h: ... this, and renumber / cleanup
7012 2003-03-19 John Levon <levon@movementarian.org>
7014 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7015 fit the cursor after an lfun
7019 * BufferView_pimpl.h:
7020 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7022 * LyXAction.C: layout-character should have ReadOnly
7024 * ParagraphParameters.C:
7026 * bufferview_funcs.C:
7033 * undo_funcs.C: changes from above
7035 2003-03-18 John Levon <levon@movementarian.org>
7037 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7038 remove it from update()
7040 * lyxfunc.C: update layout choice after an lfun
7042 * text3.C: remove extra updateLayoutChoice()s
7044 2003-03-18 John Levon <levon@movementarian.org>
7046 * text.C: top_y change means full repaint, fix
7047 a drawing bug with cursor movement
7049 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7053 * text2.C: anchor row on setCursor
7055 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7057 * lyxtext.h: remove almost all mutable keywords
7060 * text3.C: remove const keywords accordingly
7062 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7064 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7066 (TeXEnvironment): ditto
7069 2003-03-17 John Levon <levon@movementarian.org>
7071 * text.C (rowBreakPoint): remove attempt to fix displayed
7072 math insets inside a manual label
7074 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7076 * lyxtext.h: remove BufferView* as first arg from almost all class
7078 * other files: adjust.
7080 2003-03-17 John Levon <levon@movementarian.org>
7084 * text2.C: more paint cleanups
7086 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7089 * rowpainter.C: remove "smart" background painting code
7091 2003-03-16 John Levon <levon@movementarian.org>
7096 * text3.C: add helper functions for setting refresh_row/y
7098 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7100 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7101 newline inset which *can* get inserted in the pass_thru layouts.
7102 This is primarily for literate documents.
7104 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7106 * buffer.C: increment LYX_FORMAT to 223
7108 2003-03-14 André Pönitz <poenitz@gmx.net>
7110 * textclass.h: prepare for environment handling, ws changes
7111 * lyxlayout.C: read latexheader and latexfooter tags
7113 2003-03-14 John Levon <levon@movementarian.org>
7115 * text2.C: rewrite ::status() a bit
7117 2003-03-13 John Levon <levon@movementarian.org>
7119 * lyxtext.h: add some docs
7121 2003-03-13 John Levon <levon@movementarian.org>
7126 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7128 2003-03-13 John Levon <levon@movementarian.org>
7130 * text3.C: fix appendix redrawing
7132 2003-03-13 John Levon <levon@movementarian.org>
7134 * text.C (setHeightOfRow):
7136 * rowpainter.C: make appendix mark have the text
7137 "Appendix" so the user knows what it is
7140 * LColor.C: s/appendixline/appendix/ from above
7142 2003-03-13 John Levon <levon@movementarian.org>
7144 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7146 * text.C: fix a getChar(pos) bug properly
7148 2003-03-13 Angus Leeming <leeming@lyx.org>
7151 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7152 Probably only temporary. Let's see how things pan out.
7154 * BufferView.C (unlockInset):
7155 * BufferView_pimpl.C (fitCursor):
7156 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7158 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7159 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7161 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7162 new functions that convert ParagraphParameters to and from a string.
7164 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7165 BufferView::Pimpl's dispatch.
7166 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7168 2003-03-13 André Pönitz <poenitz@gmx.net>
7172 * factory.C: make it aware of InsetEnv
7174 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7176 * text2.C (setCursor): never ask for one past last
7177 (setCursor): add some debugging messages.
7179 * text.C (singleWidth): never ask for one past last
7180 (singleWidth): ditto
7182 (rightMargin): ditto
7183 (rowBreakPoint): ditto
7184 (setHeightOfRow): ditto
7185 (prepareToPrint): ditto
7187 * rowpainter.C (paintBackground): never ask for one past last
7188 (paintText): never ask for one past last
7190 * paragraph_pimpl.C (getChar): make the assert stricter, never
7191 allow the one past last pos to be taken
7193 * paragraph.C (getChar): ws changes only
7195 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7196 (numberOfSeparators): ditto
7197 (numberOfHfills): ditto
7199 2003-03-12 John Levon <levon@movementarian.org>
7205 * paragraph_funcs.C: fix per-buffer authorlists
7207 2003-03-12 John Levon <levon@movementarian.org>
7209 * text.C: fix newline in right address
7211 2003-03-12 Angus Leeming <leeming@lyx.org>
7213 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7214 duplicate those in LyXFunc::dispatch.
7218 * ToolbarDefaults.C:
7219 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7220 Add LFUN_FONTFREE_UPDATE.
7222 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7223 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7225 * bufferview_func.[Ch]: several new functions to facilliate
7226 transfer of data to and from the character dialog.
7228 2003-03-12 John Levon <levon@movementarian.org>
7233 * paragraph_funcs.C:
7234 * paragraph_pimpl.C:
7238 * text3.C: remove META_NEWLINE in favour of an inset
7241 * rowpainter.C: remove paintNewline (done by inset)
7243 2003-03-12 John Levon <levon@movementarian.org>
7245 * paragraph_pimpl.C: complain about bad getChar()s
7246 for a while at least
7248 2003-03-12 John Levon <levon@movementarian.org>
7251 * buffer.C: move paragraph read into a separate function,
7252 a little renaming to reflect that.
7255 * bufferparams.C: remove the author_ids map, not necessary now
7258 * factory.C: moved Buffer::readInset to here
7260 * paragraph_funcs.h:
7261 * paragraph_funcs.C: readParagraph free function moved from
7264 * tabular.C: name change
7266 2003-03-12 John Levon <levon@movementarian.org>
7269 * ParagraphParameters.C: move par params input to
7272 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7273 behave like a normal read from the stream wrt reading
7274 a line vs. a \\token
7276 2003-03-12 John Levon <levon@movementarian.org>
7279 * ParagraphParameters.h:
7280 * ParagraphParameters.C: move output code to a
7283 2003-03-12 John Levon <levon@movementarian.org>
7285 * BufferView.C (insertLyXFile):
7288 * tabular.C: use a parlist iterator for creating the
7291 2003-03-12 John Levon <levon@movementarian.org>
7293 * buffer.C: make current_change static local not
7296 2003-03-12 John Levon <levon@movementarian.org>
7298 * buffer.C: fix insertStringAsLines for change tracking
7300 2003-03-12 John Levon <levon@movementarian.org>
7307 * bufferparams.C: move author list into params. Rename some
7308 functions. Move the header reading into a separate token
7309 loop. Move the header token reading into BufferParams.
7311 2003-03-12 John Levon <levon@movementarian.org>
7313 * changes.C: put debug inside lyxerr.debugging() checks
7315 2003-03-11 André Pönitz <poenitz@gmx.net>
7317 * factory.C: make it aware of InsetHFill
7319 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7321 * buffer.C (latexParagraphs): move function from here...
7322 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7325 2003-03-10 Angus Leeming <leeming@lyx.org>
7327 * LyXAction.C (init): fix bug in poplating array with multiple entries
7328 with the same LFUN (spotted by JMarc).
7330 2003-03-10 John Levon <levon@movementarian.org>
7333 * text2.C: move getColumnNearX() near its
7336 2003-03-10 John Levon <levon@movementarian.org>
7338 * text.C: fix break before a minipage
7340 2003-03-10 John Levon <levon@movementarian.org>
7342 * text.C: fix the last commit
7344 2003-03-09 John Levon <levon@movementarian.org>
7348 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7349 bug 365 (don't break before insets unless needed). Don't
7350 return a value > last under any circumstances.
7352 2003-03-09 Angus Leeming <leeming@lyx.org>
7354 * BufferView_pimpl.C (trackChanges, dispatch): call
7355 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7357 2003-03-09 Angus Leeming <leeming@lyx.org>
7359 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7360 than Dialogs::showAboutlyx().
7362 2003-03-09 Angus Leeming <leeming@lyx.org>
7364 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7365 than Dialogs::showTabularCreate().
7367 2003-03-09 John Levon <levon@movementarian.org>
7371 * text2.C: 3rd arg to nextBreakPoint was always the same.
7374 2003-03-08 John Levon <levon@movementarian.org>
7381 * text2.C: Remove the "main" bit from the "main body"
7384 2003-03-08 John Levon <levon@movementarian.org>
7386 * text.C (leftMargin): The left margin of an empty
7387 manual label paragraph should not include the label width
7390 * text.C (prepareToPrint): don't attempt to measure hfills
7391 for empty manual label paragraphs - the answer should be 0
7393 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7395 * CutAndPaste.C: remove commented code and reindent.
7397 2003-03-08 John Levon <levon@movementarian.org>
7400 * lyxfunc.C: move reloadBuffer()
7403 * BufferView.C: to here
7405 * lyxvc.C: add comment
7408 * vc-backend.C: call bv->reload() to avoid
7409 getStatus() check on MENURELOAD
7411 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7413 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7414 to an old format .dep file.
7416 2003-03-07 Angus Leeming <leeming@lyx.org>
7418 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7419 when the LFUN_MOUSE_RELEASE should have been handled by
7420 inset->localDispatch.
7422 2003-03-07 Angus Leeming <leeming@lyx.org>
7424 * BufferView_pimpl.C (dispatch):
7425 * LyXAction.C (init):
7426 * ToolbarDefaults.C (init):
7428 * lyxfunc.C (getStatus):
7429 remove LFUN_INSET_GRAPHICS.
7431 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7433 2003-03-07 Angus Leeming <leeming@lyx.org>
7436 * LyXAction.C (init):
7437 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7439 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7442 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7444 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7445 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7447 2003-03-07 Angus Leeming <leeming@lyx.org>
7449 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7452 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7454 * ParagraphList.C (front): new function
7457 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7459 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7460 and top_row_offset_. removed var first_y.
7462 * text2.C (LyXText, removeRow):
7464 * BufferView_pimpl.C:
7465 use these methods instead of using first_y
7467 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7469 * text2.C (pasteSelection): adjust for checkPastePossible
7471 * CutAndPaste.C: remove Paragraph * buf and replace with
7472 ParagraphList paragraphs.
7473 (DeleteBuffer): delete
7474 (cutSelection): change the tc type to textclass_type
7475 (copySelection): change the tc type to textclass_type
7476 (copySelection): adjust for ParagraphList
7477 (pasteSelection): change the tc type to textclass_type
7478 (pasteSelection): adjust for Paragraphlist
7479 (nrOfParagraphs): simplify for ParagraphList
7480 (checkPastePossible): simplify for ParagraphList
7481 (checkPastePossible): remove unused arg
7483 * ParagraphList.C (insert): handle the case where there are no
7486 * CutAndPaste.h: make CutAndPaste a namespace.
7488 * text3.C (dispatch): adjust
7490 * text.C (breakParagraph): add a ParagraphList as arg
7492 * paragraph_funcs.C (breakParagraph): change to take a
7493 BufferParams and a ParagraphList as args.
7494 (breakParagraphConservative): ditto
7495 (mergeParagraph): ditto
7496 (TeXDeeper): add a ParagraphList arg
7497 (TeXEnvironment): ditto
7500 * buffer.C (readLyXformat2): adjust
7501 (insertStringAsLines): adjust
7502 (latexParagraphs): adjust
7504 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7505 (cutSelection): adjust
7506 (pasteSelection): adjust
7508 * BufferView_pimpl.C (insertInset): adjust
7510 2003-03-05 Angus Leeming <leeming@lyx.org>
7513 * LyXAction.C (init):
7514 * BufferView_pimpl.C (dispatch):
7515 * lyxfunc.C (getStatus):
7516 remove LFUN_CHILD_INSERT.
7518 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7520 2003-03-05 Angus Leeming <leeming@lyx.org>
7523 * LyXAction.C (init):
7524 * src/factory.C (createInset):
7525 * lyxfunc.C (getStatus):
7526 * text3.C (dispatch):
7527 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7529 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7531 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7533 * ParagraphList.C (insert): handle insert right before end()
7534 (erase): fix cases where it can be first or last paragraph.
7536 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7538 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7539 Paragraph::next and Paragraph::previous
7542 * text.C (breakParagraph): adjust
7544 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7545 BufferParams& as arg.
7546 (breakParagraph): use ParagraphList::insert
7547 (breakParagraphConservative): take a Buffer* instead of a
7548 BufferParams& as arg.
7549 (breakParagraphConservative): use ParagraphList::insert.
7551 * buffer.C (insertStringAsLines): un-const it
7552 (insertStringAsLines): adjust
7554 * ParagraphList.C (insert): new function
7556 * CutAndPaste.C (pasteSelection): adjust
7558 * text.C (backspace): adjust
7560 * tabular.C (SetMultiColumn): adjust
7562 * CutAndPaste.C (cutSelection): adjust
7563 (pasteSelection): adjust
7565 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7566 Buffer const * as arg
7568 * ParagraphList.C (erase): new function
7569 * paragraph_funcs.C (mergeParagraph): use it
7570 (mergeParagraph): make it take a Buffer* instead of a
7571 BufferParams* as arg
7573 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7575 (breakParagraphConservative): ditto
7577 * paragraph.h: remove the breakParagraph friend
7579 * paragraph.C (eraseIntern): new function
7580 (setChange): new function
7582 * paragraph_funcs.C (mergeParagraph): make it take a
7583 ParagraphList::iterator instead of a Paragraph *, adjust
7586 * paragraph.h: move an #endif so that the change tracking stuff
7587 also works in the NO_NEXT case.
7589 2003-03-04 Angus Leeming <leeming@lyx.org>
7592 * LyXAction.C: new LFUN_INSET_MODIFY.
7594 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7595 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7597 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7599 * several files: ws changes only
7601 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7602 (TeXEnvironment): ditto
7605 * buffer.C (makeLaTeXFile): adjust
7606 (latexParagraphs): make it take ParagraphList::iterator as args
7608 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7610 * buffer.C (latexParagraphs): adjust
7612 * paragraph.C (TeXOnePar): move function...
7613 (optArgInset): move function...
7614 (TeXEnvironment): move function...
7615 * paragraph_pimpl.C (TeXDeeper): move function...
7616 * paragraph_funcs.C: ...here
7618 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7620 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7622 * buffer.C (readInset): remove compability code for old Figure and
7625 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7627 * buffer.C: ws changes
7630 * BufferView_pimpl.C: ditto
7633 * bufferlist.h: ditto
7637 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7639 * converter.[Ch]: split into itself +
7642 * Makefile.am: += graph.[Ch] + format.[Ch]
7649 * lyxrc.C: added #include "format.h"
7651 2003-02-27 Angus Leeming <leeming@lyx.org>
7653 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7656 * factory.C (createInset): add "label" to the factory.
7658 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7659 string and do no more.
7661 2003-02-27 Angus Leeming <leeming@lyx.org>
7664 * LyXAction.C (init):
7665 * factory.C (createInset):
7666 * BufferView_pimpl.C (dispatch):
7667 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7669 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7671 * lyxfunc.C (dispatch):
7672 * text3.C (dispatch): pass name to params2string.
7674 2003-02-26 Angus Leeming <leeming@lyx.org>
7676 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7678 Rearrange the ~includes. Strip out the unnecessary ones.
7680 * factory.C (createInset): reformat.
7681 create new insets for the various LFUN_XYZ_APPLY lfuns.
7683 2003-02-26 John Levon <levon@movementarian.org>
7686 * lyxrow.C: add isParStart,isParEnd helpers
7688 * paragraph.h: make isInserted/DeletedText take refs
7690 * paragraph_funcs.h:
7691 * paragraph_funcs.C: remove #if 0'd code
7696 * text.C: use lyxrow helpers above.
7697 Move draw and paint routines to RowPainter.
7698 Make several methods use refs not pointers.
7699 Make backgroundColor() const.
7700 Add markChangeInDraw(), isInInset().
7701 Merge changeRegionCase into changeCase.
7702 Make workWidth() shouldn't-happen code into an Assert.
7705 * rowpainter.C: new class for painting a row.
7708 * vspace.C: make inPixels take a ref
7710 2003-02-26 Angus Leeming <leeming@lyx.org>
7712 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7715 2003-02-25 John Levon <levon@movementarian.org>
7717 * ispell.C: give the forked command a more accurate name
7719 2003-02-22 John Levon <levon@movementarian.org>
7722 * toc.C: make TocItem store an id not a Paragraph *
7725 2003-02-21 Angus Leeming <leeming@lyx.org>
7727 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7728 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7729 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7730 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7731 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7732 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7734 * BufferView_pimpl.C (dispatch):
7735 * LyXAction.C (init):
7736 * factory.C (createInset):
7737 * lyxfunc.C (getStatus, dispatch):
7738 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7740 2003-02-21 Angus Leeming <leeming@lyx.org>
7742 * BufferView_pimpl.C (MenuInsertLyXFile):
7743 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7744 * lyxfunc.C (menuNew, open, doImport):
7745 no longer pass a LyXView & to fileDlg.
7747 2003-02-21 Angus Leeming <leeming@lyx.org>
7749 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7750 * LyXAction.C: change, BIBKEY to BIBITEM.
7751 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7752 Change InsetBibKey to InsetBibitem.
7753 Change BIBKEY_CODE to BIBITEM_CODE.
7754 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7755 * factory.C: replace insetbib.h with insetbibitem.h.
7756 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7757 * paragraph.C: replace insetbib.h with insetbibitem.h.
7758 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7759 Change bibkey() to bibitem().
7760 * text.C: remove insetbib.h.
7761 * text2.C: replace insetbib.h with insetbibitem.h.
7762 change bibkey() to bibitem().
7763 * text3.C: remove insetbib.h.
7764 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7766 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7768 * lyxrc.C (output): enclose user email in quotes (in case there are
7771 2003-02-18 John Levon <levon@movementarian.org>
7773 * buffer.h: add std::
7775 2003-02-17 John Levon <levon@movementarian.org>
7781 * pspell.C: reworking. Especially in ispell, a large
7782 number of clean ups and bug fixes.
7784 * lyxfunc.C: fix revert to behave sensibly
7786 2003-02-17 André Pönitz <poenitz@gmx.net>
7789 * commandtags.h: new LFUN_INSERT_BIBKEY
7799 * paragraph_func.C: remove special bibkey handling
7801 2003-02-17 John Levon <levon@movementarian.org>
7803 * text.C (Delete): fix case where delete at the end of
7804 the very first paragraph would not merge the pars
7806 2003-02-17 John Levon <levon@movementarian.org>
7808 * lyxrow.C: fix lastPrintablePos()
7810 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7812 * bufferparams.C (writeLaTeX): add a std:here
7814 * buffer.C: and remove a using directive there
7816 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7818 * buffer.C (makeLaTeXFile): move the code that generates the
7821 * bufferparams.C (writeLaTeX): ... in this new method
7823 * LaTeXFeatures.C (getEncodingSet): make const
7824 (getLanguages): make const
7826 * MenuBackend.C (binding): returns the binding associated to this
7828 (add): sets the status of each item by calling getStatus. Adds
7830 (read): add support for OptSubMenu
7831 (expand): remove extra separator at the end of expanded menu
7833 2003-02-15 John Levon <levon@movementarian.org>
7836 * BufferView_pimpl.C:
7838 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7839 inset code that had no actual effect. Remove unneeded status
7842 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7844 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7847 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7849 * text.C (drawLengthMarker): also draw an arrow marker for
7850 symbolic lengths (medskip...)
7852 2003-02-14 John Levon <levon@movementarian.org>
7855 * tabular.C: better method names
7857 2003-02-14 John Levon <levon@movementarian.org>
7859 * BufferView_pimpl.C:
7864 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7865 it's a more accurate name. Remove some pointless uses.
7867 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7869 * text2.C (LyXText): change order of initilizers to shut off
7872 2003-02-14 John Levon <levon@movementarian.org>
7874 * buffer.C: use ParIterator for getParFromID()
7878 * paragraph_pimpl.h:
7879 * paragraph_pimpl.C: remove unused getParFromID()
7881 2003-02-14 John Levon <levon@movementarian.org>
7883 * buffer.C: remove some very old #if 0'd parse code
7885 2003-02-13 John Levon <levon@movementarian.org>
7889 * text2.C: move hfillExpansion(), numberOfSeparators(),
7890 rowLast(), rowLastPrintable(), numberofHfills(),
7891 numberOfLabelHfills() ...
7894 * lyxrow.C: ... to member functions here.
7899 * text.C: remove LyXText::beginningOfMainBody(), and call
7900 p->beginningOfMainBody() directly. Move the check for
7901 LABEL_MANUAL into the latter.
7908 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7914 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7915 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7917 2003-02-13 John Levon <levon@movementarian.org>
7919 * CutAndPaste.C: remove debug
7921 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7923 * paragraph.C (asString): remove two unused variables
7925 * lyxtextclass.C (readTitleType):
7927 (LyXTextClass): handle new members titletype_ and titlename_
7929 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7931 2003-02-09 John Levon <levon@movementarian.org>
7934 * buffer.C: replace hand-coded list with a map for the dep clean
7936 2003-02-08 John Levon <levon@movementarian.org>
7938 * LaTeX.C: consolidate code into showRunMessage() helper
7940 2003-02-08 John Levon <levon@movementarian.org>
7945 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7946 and pass the size in explicitly
7948 * BufferView_pimpl.h:
7949 * BufferView_pimpl.C:
7951 * BufferView.C: add getCurrentChange()
7953 * BufferView_pimpl.h:
7954 * BufferView_pimpl.C: handle change lfuns
7956 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7957 for changes. Mark pasted paragraphs as new.
7959 * support/lyxtime.h:
7960 * support/lyxtime.C:
7961 * DepTable.C: abstract time_t as lyx::time_type
7964 * LColor.C: add colours for new text, deleted text, changebars
7966 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7967 package use "usenames" option.
7971 * LyXAction.C: add change lfuns
7975 * author.C: author handling
7978 * buffer.C: add a per-buffer author list, with first entry as
7979 current author. Handle new .lyx tokens for change tracking. Output
7980 author list to .lyx file. Output dvipost stuff to .tex preamble.
7981 Bump lyx format to 222.
7984 * bufferlist.C: add setCurrentAuthor() to reset current author details
7988 * bufferparams.C: add param for tracking
7990 * bufferview_funcs.C: output change info in minibuffer
7994 * changes.C: add change-tracking structure
7997 * debug.C: add CHANGES debug flag
8000 * lyxfind.C: add code for finding the next change piece
8003 * lyxrc.C: add user_name and user_email
8006 * lyxrow.C: add a metric for the top of the text line
8009 * text.C: implement accept/rejectChange()
8012 * text.C: paint changebars. Paint new/deleted text in the chosen
8013 colours. Strike through deleted text.
8017 * paragraph_pimpl.h:
8018 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8019 in the current change to the insert functions. Rework erase to
8020 mark text as deleted, adding an eraseIntern() and a range-based
8021 erase(). Implement per-paragraph change lookup and
8024 * paragraph_funcs.C: Fixup paste for change tracking.
8026 * tabular.C: mark added row/columns as new.
8028 * text.C: fix rowLast() to never return -1. Don't allow
8029 spellchecking of deleted text. Track transpose changes. Don't
8030 allow paragraph break or merge where appropriate.
8032 * text2.C: leave cursor at end of selection after a cut.
8034 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8036 * text.C (getLengthMarkerHeight):
8037 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8038 visible on screen too.
8040 2003-02-07 John Levon <levon@movementarian.org>
8042 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8044 2003-02-05 Angus Leeming <leeming@lyx.org>
8046 * lyxserver.C (read_ready): revert my patch of 11 September last year
8047 as it sends PC cpu through the roof. Presumably this means that
8048 the lyxserver will no longer run on an Alpha...
8050 2003-01-30 Angus Leeming <leeming@lyx.org>
8052 * factory.C (createInset): create an InsetCommandParam of type "index"
8053 and use it to 'do the right thing'.
8055 * text2.C (getStringToIndex): ensure that cursor position is always
8056 reset to the reset_cursor position.
8058 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8060 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8063 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8067 * lyxfunc.C: Output messages with identical spelling, punctuation,
8070 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8072 * MenuBackend.C (expandFormats): List only viewable export formats
8075 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8078 * lyxfunc.C (getStatus): Make sure that formats other than
8079 "fax" can also be disabled
8081 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8083 * text3.C (dispatch): put the lfuns that insert insets in 3
8084 groups, and call doInsertInset with appropriate arguments.
8085 (doInsertInset): new function, that creates an inset and inserts
8086 it according to some boolean parameters.
8088 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8090 * buffer.C (readFile): remember to pass on 'par' when calling
8091 readFile recursively.
8093 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8095 * MenuBackend.C (expandFormats): add "..." to import formats.
8097 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8099 * paragraph.C (asString): Remove XForms RTL hacks.
8101 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8102 * buffer.C: fix typo
8104 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8106 * Makefile.am (LIBS): delete var
8107 (lyx_LDADD): add @LIBS@ here instead.
8109 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8111 * Clarify the meaning of "wheel mouse jump"
8113 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8115 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8118 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8120 * importer.C (Loaders): do not preallocate 3 elements in the
8121 vector, since one ends up with 6 elements otherwise
8123 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8125 * DepTable.C (write): write the file name as last element of the
8126 .dep file (because it may contain spaces)
8127 (read): read info in the right order
8129 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8131 * paragraph_pimpl.C (simpleTeXBlanks):
8132 (simpleTeXSpecialChars):
8133 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8135 * tabular.C (latex): add some missing case statements. Reindent.
8137 * MenuBackend.C (expandToc): remove unused variable.
8139 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8148 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8151 2003-01-05 John Levon <levon@movementarian.org>
8154 * BufferView.C: add getEncoding()
8157 * kbsequence.C: do not store last keypress
8160 * lyxfunc.C: store last keypress here instead. Pass encoding
8163 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8165 * lyx_main.C (init): remove annoying error message when following
8166 symbolic links (bug #780)
8168 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8170 * text.C (insertChar):
8171 * lyxrc.C (getDescription): remove extra spaces
8173 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8175 * lyxrc.C (getDescription): remove extra spaces
8177 2002-12-20 John Levon <levon@movementarian.org>
8179 * text3.C: hack fix for page up/down across tall rows
8181 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8183 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8186 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8188 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8189 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8190 thesaurus is not compiled in
8192 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8194 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8196 2002-12-16 Angus Leeming <leeming@lyx.org>
8199 * lyx_main.C (init): remove override_x_deadkeys stuff.
8201 2002-12-12 John Levon <levon@movementarian.org>
8203 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8204 insert. Only remove shift modifier under strict
8207 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * MenuBackend.C (expandToc): fix crash.
8211 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8213 * MenuBackend.C (expandToc): gettext on float names.
8215 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8217 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8218 implement bool empty() [bug 490]
8220 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8222 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8224 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8226 * several files: ws changes
8228 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8230 * text2.C (setCounter): clean up a bit, use boost.format.
8231 (updateCounters): initialize par upon declaration.
8233 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8234 if the layout exists. We do not just store the layout any more.
8235 (SwitchLayoutsBetweenClasses): use boost.format
8237 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8239 * converter.C (convert): if from and to files are the same, use a
8240 temporary files as intermediary
8242 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8245 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8247 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8249 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8251 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8253 * tabular.C (asciiPrintCell): use string(size, char) instead of
8256 * sgml.C (openTag): fix order of arguments to string constructor
8259 * lyxfunc.C (dispatch): use boost.format
8261 * lots of files: change "c" -> 'c'
8263 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8265 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8267 2002-11-25 Angus Leeming <leeming@lyx.org>
8269 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8271 * lyx_main.C (init): compile fix.
8273 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8275 * lyx_cb.C (start): boost.formatify
8276 do not include <iostream>
8278 * lengthcommon.C: ws only
8280 * boost-inst.C,BoostFormat.h: add more explict instantations
8282 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8284 * lots of files: handle USE_BOOST_FORMAT
8286 2002-11-21 John Levon <levon@movementarian.org>
8288 * pspell.C: fix compile
8290 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8292 * lyxfunc.C (dispatch): use boost::format
8296 * lyxfont.C (stateText): use boost::format
8298 * lyx_main.C (LyX): use boost::format
8300 (queryUserLyXDir): ditto
8303 (typedef boost::function): use the recommened syntax.
8305 * importer.C (Import): use boost::format
8307 * debug.C (showLevel): use boost::format
8309 * converter.C (view): use boost::format
8314 * bufferview_funcs.C (currentState): use boost::format
8316 * bufferlist.C (emergencyWrite): use boost::format
8318 * buffer.C (readLyXformat2): use boost::format
8319 (parseSingleLyXformat2Token): ditto
8321 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8323 * LaTeX.C (run): use boost::format
8325 * Chktex.C (scanLogFile): use boost::format
8327 * BufferView_pimpl.C (savePosition): use boost::format
8328 (restorePosition): ditto
8329 (MenuInsertLyXFile): ditto
8331 * BoostFormat.h: help file for explicit instation.
8333 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8335 * tabular.C (latex): Support for block alignment in fixed width
8338 2002-11-17 John Levon <levon@movementarian.org>
8340 * BufferView_pimpl.C:
8342 * lyxfunc.C: split filedialog into open/save
8344 2002-11-08 Juergen Vigna <jug@sad.it>
8346 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8347 by my last patch (hopefully).
8349 2002-11-08 John Levon <levon@movementarian.org>
8358 * toc.C: ParConstIterator, and use it (from Lars)
8360 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8362 * lyxtextclass.[Ch]: revise and add doxygen comments
8364 2002-11-07 John Levon <levon@movementarian.org>
8366 * text.C: fix progress value for spellchecker
8368 * toc.C: fix navigate menu for insetwrap inside minipage
8370 * paragraph_funcs.C: added FIXME for suspect code
8372 2002-11-07 John Levon <levon@movementarian.org>
8374 * BufferView_pimpl.C: fix redrawing of insets
8377 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8379 * text2.C (updateCounters): fix bug 668
8381 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8383 * text3.C (dispatch): Do not make the buffer dirty when moving the
8386 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8388 * vc-backend.C: STRCONV
8391 * text2.C (setCounter): STRCONV
8393 * paragraph.C (asString): STRCONV
8395 * lyxlength.C (asString): STRCONV
8396 (asLatexString): ditto
8398 * lyxgluelength.C (asString): STRCONV
8399 (asLatexString): ditto
8401 * lyxfunc.C (dispatch): STRCONV
8404 * lyxfont.C (stateText): STRCONV
8406 * importer.C (Import): STRCONV
8408 * counters.C (labelItem): STRCONV
8409 (numberLabel): ditto
8410 (numberLabel): remove unused ostringstream o
8415 * bufferview_funcs.C (currentState): STRCONV
8417 * buffer.C (readFile): STRCONV
8418 (asciiParagraph): ditto
8419 (makeLaTeXFile): ditto
8421 * Spacing.C (writeEnvirBegin): STRCONV
8423 * LaTeXFeatures.C (getLanguages): STRCONV
8424 (getPackages): ditto
8426 (getBabelOptions): ditto
8427 (getTClassPreamble): ditto
8428 (getLyXSGMLEntities): ditto
8429 (getIncludedFiles): ditto
8433 (scanAuxFile): ditto
8436 * LString.h: add the STRCONV macros
8438 * BufferView_pimpl.C (savePosition): STRCONV
8439 (restorePosition): ditto
8440 (MenuInsertLyXFile): ditto
8442 * vc-backend.C (scanMaster): change from submatch[...] to
8445 * funcrequest.C: include config.h
8447 * factory.C: include config.h
8449 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8451 * box.C: include config.h
8453 * LaTeX.C (scanAuxFile): change from submatch[...] to
8457 2002-10-25 Angus Leeming <leeming@lyx.org>
8459 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8461 * ispell.[Ch] (setError): new method.
8462 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8463 Use setError() insetead of goto END.
8465 * lyx_cb.C (AutoSave): move out child process into new class
8468 2002-10-30 John Levon <levon@movementarian.org>
8470 * text3.C: make start appendix undoable
8472 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8474 * lyxlength.C (inPixels): Fix returned value.
8476 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8479 2002-10-24 Angus Leeming <leeming@lyx.org>
8481 * lyxgluelength.h: no need to forward declare BufferParams
8482 or BufferView, so don't.
8484 2002-10-21 John Levon <levon@movementarian.org>
8486 * BufferView.C: menuUndo ->undo, redo
8488 * BufferView.h: document, remove dead, make some methods private
8490 * paragraph_funcs.h:
8491 * paragraph_funcs.C:
8492 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8497 * sgml.C: move sgml open/close tag into sgml.C
8499 * bufferview_funcs.h: unused prototype
8502 * lyxfunc.C: remove unused
8505 * text.C: remove unused
8507 2002-10-21 John Levon <levon@movementarian.org>
8511 * BufferView_pimpl.h:
8512 * BufferView_pimpl.C: fix mouse wheel handling based on
8513 patch from Darren Freeman
8515 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8517 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8519 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8521 * lyxlength.C (inPixels): Fix hanfling of negative length.
8522 Fix LyXLength::MU case.
8524 2002-10-16 John Levon <levon@movementarian.org>
8526 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8528 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8530 * converter.C (view): add support for $$i (file name) and $$p
8531 (file path) for the viewer command. If $$i is not specified, then
8532 it is appended to the command (for compatibility with old syntax)
8534 2002-10-14 Juergen Vigna <jug@sad.it>
8536 * undo_funcs.C (textHandleUndo): alter the order in which the
8537 new undopar is added to the LyXText, as we have to set first
8538 the right prev/next and then add it as otherwise the rebuild of
8539 LyXText is not correct. Also reset the cursor to the right paragraph,
8540 with this IMO we could remove the hack in "redoParagraphs()".
8542 2002-10-09 Angus Leeming <leeming@lyx.org>
8544 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8545 to turn off an optimisation if a new inset is to be inserted.
8547 2002-10-11 André Pönitz <poenitz@gmx.net>
8549 * lyxtext.h: make some functions public to allow access
8550 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8552 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8554 * text3.C (dispatch): when changing layout, avoid an infinite loop
8557 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8559 * lyxrc.C (read): treat a viewer or converter command of "none" as
8562 * MenuBackend.C (expandFormats): for an update, also allow the
8563 formats that are not viewable
8565 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8566 script if it is newer than the lyxrc.defaults in user directory
8568 2002-10-07 André Pönitz <poenitz@gmx.net>
8570 * text.C: Vitaly Lipatov's small i18n fix
8572 2002-09-25 Angus Leeming <leeming@lyx.org>
8574 * ispell.h: doxygen fix.
8576 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8578 * buffer.h (readFile): Add a new argument to the method, to allow
8579 reading of old-format templates.
8581 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8583 * toc.C (getTocList): Get TOC from InsetWrap.
8585 2002-09-16 John Levon <levon@movementarian.org>
8587 * lyxfunc.C: check tabular for cut/copy too
8589 2002-09-12 John Levon <levon@movementarian.org>
8594 * factory.C: add header
8596 * paragraph_funcs.h:
8597 * paragraph_funcs.C: cleanup
8599 2002-09-11 John Levon <levon@movementarian.org>
8601 * PrinterParams.h: odd/even default to true
8603 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8605 * PrinterParams.h: update printer parameters for new xforms dialog
8607 2002-09-11 Angus Leeming <leeming@lyx.org>
8609 * lyxserver.C (read_ready): re-write to make it more transparent
8610 and to make it work in coherent fashion under Tru64 Unix.
8612 2002-09-11 André Pönitz <poenitz@gmx.net>
8616 * text3.C: implement LFUN_WORDSEL
8618 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8620 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8621 make floatlist_ a boost::shared_ptr<FloatList>
8623 * lyxtextclass.C: include FloatList.h
8624 (LyXTextClass): initialize floatlist_
8625 (TextClassTags): add TC_NOFLOAT
8626 (Read): match "nofloat" to TC_NOFLOAT and use it.
8627 (readFloat): modify call to floatlist_
8631 * FloatList.[Ch] (FloatList): remove commented out float
8633 (erase): new function
8635 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8637 * MenuBackend.C (expandToc): fix crash when there is no document
8640 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8642 * many files: Add insetwrap.
8644 2002-09-09 John Levon <levon@movementarian.org>
8646 * text2.C: remove confusing and awkward depth wraparound
8648 2002-09-09 John Levon <levon@movementarian.org>
8650 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8653 * buffer.C: remove getIncludeonlyList()
8656 * lyxfunc.C: remove headers
8658 2002-09-09 Juergen Vigna <jug@sad.it>
8660 * text.C (getColumnNearX): fix form Michael this is most
8661 probably a cut&paste bug.
8663 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8665 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8667 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8668 references, ws changes.
8670 * text2.C (init): update counters after init
8671 (insertParagraph): no need to set counter on idividual paragraphs.
8672 (setCounter): access the counters object in the textclass object
8673 on in the buffer object.
8674 (updateCounters): ditto
8676 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8677 shared_ptr<Counters> to avoid loading counters.h in all
8679 (LyXTextClass): initialize ctrs_
8680 (TextClassTags): add TC_COUNTER, and ...
8681 (Read): use it here.
8682 (CounterTags): new tags
8683 (readCounter): new function
8684 (counters): new funtion
8685 (defaultLayoutName): return a const reference
8687 * counters.C (Counters): remove contructor
8688 (newCounter): remove a couple of unneeded statements.
8689 (newCounter): simplify a bit.
8690 (numberLabel): some small formatting changes.
8692 * buffer.[Ch]: remove all traces of counters, move the Counters
8693 object to the LyXTextClass.
8695 2002-09-06 Alain Castera <castera@in2p3.fr>
8697 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8698 package to set the horizontal alignment on fixed width columns.
8701 * lyx_sty.h: added tabularnewline macro def.
8703 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8705 2002-09-06 John Levon <levon@movementarian.org>
8707 * LyXAction.C: tooltips for sub/superscript
8709 * MenuBackend.C: a bit more verbose
8711 * lyxfunc.C: tiny clean
8713 * undo_funcs.C: document undo_frozen
8715 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8717 * counters.C (Counters): add missing algorithm counter.
8719 * text2.C (setCounter): lookup the counter with layouts latexname
8720 instead of by section number.
8721 (setCounter): use a hackish way to lookup the correct enum
8723 a float name->type change
8724 reset enum couners with counter name directly instead of depth value.
8726 * counters.C (Counters): remove the push_backs, change to use the
8727 float type not the float name.
8728 (labelItem): remove unused string, float name->type change
8730 * counters.h: don't include vector, loose the enums and sects vectors
8732 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8734 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8735 (Read): add float->TC_FLOAT to textclassTags
8736 (Read): and handle it in the switch
8737 (readFloat): new function
8739 * FloatList.C (FloatList): comment out the hardcoded float
8742 * lyxlayout.h: ws change.
8744 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8746 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8748 2002-09-03 Angus Leeming <leeming@lyx.org>
8750 * BufferView_pimpl.h: qualified name is not allowed in member
8751 declaration: WorkArea & Pimpl::workarea() const;
8753 * factory.C: added using std::endl directive.
8755 * text3.C: added using std::find and std::vector directives.
8757 2002-08-29 André Pönitz <poenitz@gmx.net>
8760 * text2.C: remove unused member number_of_rows
8763 * BufferView2.C: remove file, move contents to...
8764 * BufferView.C: ... here
8766 * BufferView_pimpl.C:
8767 * factory.C: move more inset creation to factory
8769 * vspace.C: avoid direct usage of LyXText, ws changes
8772 don't provide direct access to WorkArea, use two simple
8773 acessors haveSelction() and workHeight() instead
8776 2002-08-29 John Levon <levon@movementarian.org>
8778 * BufferView_pimpl.C (dispatch): do not continue when
8781 2002-08-28 André Pönitz <poenitz@gmx.net>
8783 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8786 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8788 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8790 * buffer.C: increment LYX_FORMAT to 221
8792 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8793 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8795 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8797 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8799 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8801 * factory.C (createInset): use LyXTextClass::floats
8803 * MenuBackend.C (expandFloatListInsert):
8804 (expandFloatInsert):
8807 * text2.C (setCounter):
8809 * LaTeXFeatures.C (useFloat):
8810 (getFloatDefinitions):
8812 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8814 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8815 floatlist_, with accessor floats().
8817 * FloatList.h: remove global FloatList
8819 2002-08-26 André Pönitz <poenitz@gmx.net>
8821 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8825 * BufferView_pimpl.C:
8826 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8828 2002-08-25 John Levon <levon@movementarian.org>
8830 * LyXAction.C: fix margin note description
8832 2002-08-24 John Levon <levon@movementarian.org>
8836 * bufferview_funcs.C:
8838 * undo_funcs.C: cleanups
8840 * lyxfunc.C: disable CUT/COPY when no selection
8842 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8844 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8845 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8847 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8848 Add backward compatibility to "mono", "gray" and "no".
8850 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8852 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8853 (and file_format >= 200).
8855 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8857 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8859 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8861 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8863 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8865 * BufferView_pimpl.C:
8872 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8873 inset and code to make it work with the paragraph code. The inset
8874 can be anywhere in the paragraph, but will only do the expected
8875 thing in LaTeX if the layout file contains the parameter line
8877 (or more generally, a nonzero value) for that layout.
8879 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8881 * paragraph.h: remove the declaration of undefined counters class
8884 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8886 * text2.C (setCounter): fixed enumeration mis-count as reported by
8887 Dr. Richard Hawkins.
8889 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8891 * paragraph_funcs.h: remove some unneeded includes
8893 * text.C (backspace): pasteParagraph now in global scipe
8895 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8896 (pasteSelection): ditto
8898 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8899 * paragraph_funcs.C (pasteParagraph): ... here
8901 2002-08-20 André Pönitz <poenitz@gmx.net>
8903 * commandtags.h: new LFUNs for swapping/copying table row/colums
8906 * lyxfunc.C: support for new lfuns
8908 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8911 * buffer.[Ch]: remove NO_COMPABILITY stuff
8913 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8915 * boost.C (throw_exception): new file, with helper function for
8916 boost compiled without exceptions.
8921 * ParameterStruct.h:
8922 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8924 * bufferlist.C (emergencyWriteAll): use boost bind
8926 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8928 * text.C: include paragraph_funcs.h
8929 (breakParagraph): breakParagraph is now in global scope
8931 * paragraph_funcs.[Ch]: new files
8933 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8936 * buffer.C: include paragraph_funcs.h
8937 (insertStringAsLines): breakParagraph is now in global scope
8939 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8942 * CutAndPaste.C: include paragraph_funcs.h
8943 (cutSelection): breakParagraphConservative is now in global scope
8944 (pasteSelection): ditto
8946 * buffer.h: declare oprator== and operator!= for
8947 Buffer::inset_iterator
8949 * bufferlist.C (emergencyWrite): don't use fmt(...)
8951 * text3.C: add using std::endl
8953 * BufferView.C (moveCursorUpdate): remove default arg
8955 2002-08-20 André Pönitz <poenitz@gmx.net>
8957 * buffer.[Ch]: move inline functions to .C
8960 * BufferView_pimpl.C:
8962 * buffer.[Ch]: use improved inset_iterator
8965 * paragraph.[Ch]: write one paragraph at a time
8967 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8969 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8970 style if style is not specified.
8972 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8974 * text2.C (setCounter): when searching for right label for a
8975 caption, make sure to recurse to parent insets (so that a caption
8976 in a minipage in a figure float works) (bug #568)
8978 2002-08-20 André Pönitz <poenitz@gmx.net>
8980 * text3.C: new file for LyXText::dispatch() and helpers
8982 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8984 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8986 2002-08-19 André Pönitz <poenitz@gmx.net>
8989 * text.C: new LyXText::dispatch()
8991 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8993 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8995 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8997 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9000 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9002 * Makefile.am: use $(variables) instead of @substitutions@
9004 2002-08-15 André Pönitz <poenitz@gmx.net>
9007 * BufferView_pimpl.C: streamlining mathed <-> outer world
9011 * LyXAction.C: remove unused LFUN_MATH
9013 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9015 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9017 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9019 * paragraph.C (Paragraph): reformat a bit
9020 (cutIntoMinibuffer): use builtin InsetList function instad of
9024 * buffer.C: include boost/bind.hpp, add using std::for_each
9025 (writeFileAscii): use ParagraphList iterators
9026 (validate): use for_each for validate traversal of paragraphs
9027 (getBibkeyList): use ParagraphList iterators
9028 (resizeInsets): use for_each to resizeInsetsLyXText for all
9030 (getParFromID): use ParagraphList iterators
9032 * BufferView2.C (lockInset): use paragraph list and iterators
9034 2002-08-14 John Levon <levon@movementarian.org>
9036 * lyxserver.C: remove spurious xforms include
9038 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9040 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9042 2002-08-13 André Pönitz <poenitz@gmx.net>
9045 * lyxfunc.C: further cleaning
9047 2002-08-13 André Pönitz <poenitz@gmx.net>
9049 * funcrequest.h: new constructor
9051 * funcrequest.C: move stuff here from .h
9054 * BufferView_pimpl.C:
9057 * lyxfunc.C: subsequent changes
9059 * lyxfunc.h: new view() member function
9061 * lyxfunc.C: subsequent changes
9063 2002-08-13 Angus Leeming <leeming@lyx.org>
9066 * BufferView_pimpl.C:
9074 changes due to the changed LyXView interface that now returns references
9075 to member variables not pointers.
9077 2002-08-13 Angus Leeming <leeming@lyx.org>
9079 * WordLangTuple (word, lang_code): return references to strings,
9084 * lyxtext.h: forward-declare WordLangTuple.
9089 * text.C: #include "WordLangTuple.h".
9092 * text.C: (selectNextWordToSpellcheck): constify return type.
9094 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9100 * paragraph_pimpl.h:
9103 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9105 Made updateCounter always count from start of buffer, and removed
9106 second argument (par).
9107 Reverted floats number display to '#'. Perhaps I'll try again when the
9108 code base is sanitized a bit.
9110 2002-08-12 Angus Leeming <leeming@lyx.org>
9112 * buffer.[Ch] (getLabelList): constify.
9114 2002-08-07 André Pönitz <poenitz@gmx.net>
9116 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9118 * funcrequest.h: extension to keep mouse (x,y) position
9120 2002-08-12 Juergen Vigna <jug@sad.it>
9122 * BufferView2.C (insertErrors): forbid undo when inserting error
9125 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9127 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9129 * ParagraphList.[Ch]: new files
9131 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9133 * BufferView2.C (lockInset): ParagraphList changes
9136 * bufferlist.C: ditto
9140 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9142 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9143 unused class variable counter_,
9145 * paragraph.[Ch] (getFirstCounter): delete unused function
9147 * counters.C: include LAssert.h
9148 (reset): add a new function with no arg, change other version to
9149 not have def. arg and to not allow empty arg.
9151 * text2.C (setCounter): remove empty arg from call to Counters::reset
9153 2002-08-11 John Levon <levon@movementarian.org>
9155 * Makefile.am: add WordLangTuple.h
9157 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9159 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9160 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9162 * insets/insettext.C: InsetList changes
9164 * graphics/GraphicsSupport.C (operator()): InsetList changes
9166 * toc.C (getTocList): InsetList changes
9168 * paragraph_pimpl.[Ch]: InsetList changes
9170 * paragraph.[Ch]: InsetList changes
9172 * buffer.C (inset_iterator): InsetList changes
9173 (setParagraph): ditto
9174 * buffer.h (inset_iterator): ditto
9175 * iterators.C (operator++): ditto
9176 * iterators.h: ditto
9178 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9180 * InsetList.[Ch]: new files, most InsetList handling moved out of
9183 * BufferView2.C (removeAutoInsets): InsetList changes
9185 (ChangeInsets): ditto
9187 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9189 * paragraph_pimpl.h (empty): new function
9191 * paragraph.[Ch] (empty): new function
9193 * other files: use the new Paragraph::empty function
9195 2002-08-09 John Levon <levon@movementarian.org>
9197 * lyxtext.h: remove unused refresh_height
9199 2002-08-09 John Levon <levon@movementarian.org>
9206 * paragraph.C: move sgml char escaping out of paragraph
9209 * paragraph.C: remove id setter
9213 * paragraph_pimpl.C: remove dead tex_code_break_column
9215 * bufferview_funcs.C: small cleanup
9217 * lyxfunc.C: remove dead proto
9219 * lyxtext.h: make some stuff private. Remove some dead stuff.
9221 * lyxgluelength.C: make as[LyX]String() readable
9223 2002-08-08 John Levon <levon@movementarian.org>
9228 * ToolbarDefaults.C:
9231 * toc.C: lyxaction cleanup
9233 2002-08-08 John Levon <levon@movementarian.org>
9235 * BufferView2.C: small cleanup
9238 * lyxfind.C: move unnecessary header into the .C
9240 2002-08-08 John Levon <levon@movementarian.org>
9242 * funcrequest.h: just tedious nonsense
9245 * lyx_main.C: cleanups
9248 * vspace.C: remove dead header lyx_main.h
9250 2002-08-07 Angus Leeming <leeming@lyx.org>
9253 * paragraph_pimpl.h:
9254 Forward declare class Counters in paragraph.h by moving the ctrs member
9255 variable into Paragraph::Pimpl.
9256 (counters): new method, returning a reference to pimpl_->ctrs.
9258 * text2.C: ensuing changes.
9260 2002-08-07 John Levon <levon@movementarian.org>
9262 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9264 * BufferView_pimpl.C: announce X selection on double/triple
9267 * lyx_main.C: use correct bool in batch dispatch
9269 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9271 2002-08-07 André Pönitz <poenitz@gmx.net>
9273 * funcrequest.h: new class to wrap a kb_action and its argument
9276 * BufferView_pimpl[Ch]:
9280 * lyxrc.C: subsequent changes
9283 2002-08-07 John Levon <levon@movementarian.org>
9285 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9286 document options change.
9288 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9293 * makefile.am: move counters functionality over from
9294 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9296 2002-08-06 John Levon <levon@movementarian.org>
9298 * WordLangTuple.h: new file for word + language code tuple
9309 * BufferView2.C: use WordLangTuple
9312 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9314 2002-08-06 John Levon <levon@movementarian.org>
9316 * lyx_main.C: fix cmdline batch handling
9318 2002-08-06 André Pönitz <poenitz@gmx.net>
9320 * lyxrc.C: set default for show_banner to true
9322 2002-08-06 John Levon <levon@movementarian.org>
9324 * pspell.C: fix a crash, and allow new aspell to work
9326 2002-08-06 John Levon <levon@movementarian.org>
9329 * kbmap.C: small cleanup
9332 * vspace.C: add const
9334 2002-08-05 John Levon <levon@movementarian.org>
9336 * LyXAction.C: back to tabular-insert
9338 2002-08-04 John Levon <levon@movementarian.org>
9341 * BufferView.C: cosmetic change
9343 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9353 * BufferView2.C: purge all "Lyx" not "LyX" strings
9356 * lyxcursor.C: attempt to add some documentation
9361 * ToolbarDefaults.C:
9362 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9363 merge with LFUN_TABULAR_INSERT
9370 * pspell.C: split up i/pspell implementations into separate
9371 files, many cleanups
9373 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9375 * text2.C: some cleanup
9377 * lyxfunc.C: don't check for isp_command == "none" any more, it
9378 didn't make any sense
9380 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9385 * makefile.am: move counters functionality over
9386 from text2.C/paragraph.[Ch] to counters.[Ch], and
9388 2002-08-02 John Levon <levon@movementarian.org>
9390 * buffer.C: s/lyxconvert/lyx2lyx/
9392 2002-08-02 Angus Leeming <leeming@lyx.org>
9394 * lyxlex.C: revert John's change as it breaks reading of the user
9397 2002-08-02 Angus Leeming <leeming@lyx.org>
9399 * importer.C (Import):
9400 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9401 changes due to LyXView::view() now returning a boost::shared_ptr.
9403 2002-08-02 John Levon <levon@movementarian.org>
9405 * lyxlex.C: small cleanup
9407 2002-08-02 John Levon <levon@movementarian.org>
9409 * text2.C (status): small cleanup, no logic change
9411 2002-08-01 John Levon <levon@movementarian.org>
9414 * buffer.C (writeFile): don't output alerts, caller
9418 * lyx_cb.C: from above
9420 * lyxfunc.C: allow to open non-existent files
9422 2002-07-31 John Levon <levon@movementarian.org>
9424 * lyxserver.C: don't let incidental errors get
9427 2002-07-30 John Levon <levon@movementarian.org>
9429 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9431 2002-07-30 John Levon <levon@movementarian.org>
9434 * lyxserver.C: remove I/O callback too
9436 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9438 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9441 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9443 * many files: strip,frontStrip -> trim,ltrim,rtrim
9445 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9447 * PrinterParams.h: remove extern containsOnly, and include
9448 support/lstrings.h instead.
9450 * LaTeX.C (scanAuxFile): modify because of strip changes
9452 * buffer.C (makeLaTeXFile): ditto
9453 * bufferparams.C (writeFile): ditt
9454 * lyxfont.C (stateText): ditto
9455 * lyxserver.C (read_ready): ditto
9456 * vc-backend.C (scanMaster): ditto
9458 * BufferView_pimpl.h: ws changes
9460 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9462 2002-07-26 André Pönitz <poenitz@gmx.net>
9464 * kb_sequence.C: remove unnedred usings
9466 2002-07-26 Juergen Vigna <jug@sad.it>
9468 * lyxfind.C (LyXReplace): we have to check better if the returned
9469 text is not of theLockingInset()->getLockingInset().
9471 2002-07-25 Juergen Vigna <jug@sad.it>
9473 * lyxfind.C (LyXReplace): don't replace if we don't get the
9476 * undo_funcs.C (createUndo): remove debugging code.
9478 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9480 * buffer.C (parseSingleLyXformat2Token): Use default placement
9481 when reading old floats.
9483 * FloatList.C (FloatList): Change the default placement of figure
9484 and tables to "tbp".
9486 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9488 * MenuBackend.C: using std::max
9490 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9492 * MenuBackend.C (expandToc):
9493 (expandToc2): code moved from xforms menu frontend. It is now
9494 generic and TOCs are transparent to menu frontends.
9496 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9498 * toc.C (getTocList): protect against buf=0
9500 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9501 Menu as first parameter. Now, this calls itself recursively to
9502 expand a whole tree (this will be useful for TOC handling)
9503 (expandFloatInsert): remove 'wide' version of floats
9505 * MenuBackend.h (submenuname): returns the name of the submenu.
9506 (submenu): returns the submenu itself, provided it has been
9507 created by MenuBackend::expand
9509 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9511 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9512 insets which have noFontChange == true. (bug #172)
9514 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9516 * BufferView_pimpl.C: add connection objects and use them...
9519 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9521 * MenuBackend.C (expandLastfiles):
9524 (expandFloatListInsert):
9525 (expandFloatInsert):
9526 (expand): split expand in parts
9528 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9530 * lyx_gui.C: use lyx_gui::exit()
9532 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9534 * LyXAction.C: show the failing pseudo action
9536 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9538 * buffer.C (readFile): Run the lyxconvert script in order to read
9541 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9545 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9547 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9551 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9553 2002-07-22 Herbert Voss <voss@lyx.org>
9556 * lyxlength.[Ch]: add support for the vertical lengths
9558 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9560 * toc.[Ch]: std:: fixes
9562 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9564 * lyxrc.C: do not include lyx_main.h
9566 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9572 * BufferView2.C: include "lyxlex.h"
9575 * bufferparams.h: do not #include "lyxlex.h"
9577 * lyxtextclasslist.C (Add): remove method
9578 (classlist): renamed to classlist_
9580 * paragraph_pimpl.C:
9584 * bufferview_funcs.C:
9589 * toc.C (getTocList): use BufferParams::getLyXTextClass
9591 * toc.C (getTocList): use InsetFloat::addToToc
9593 * toc.[Ch]: new files, containing helper functions to handle table
9596 * lyxfunc.C (dispatch): no need to remove spaces around command
9598 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9599 first command of the sequence; it is not very clever, but I do not
9600 have a better idea, actually
9602 * LyXAction.C (LookupFunc): make sure to remove space at the
9603 beginning and end of the command
9605 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9607 * MenuBackend.C (getMenubar): new method: return the menubar of
9609 (read): treat differently reading of menu and menubar (in
9610 particular, the menubar has no name now)
9611 (Menu::menubar): remove
9613 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9616 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9618 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9619 a bibitem inset in a RTL paragraph.
9621 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9623 * paragraph_pimpl.C: constify
9625 * BufferView_pimpl.C:
9627 * lyxfunc.C: fix dispatch in a nicer way
9629 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9631 * lyxfunc.C (dispatch):
9632 * BufferView_pimpl.C:
9633 * BufferView_pimpl.h:
9635 * BufferView.h: rename Dispatch() to dispatch()
9637 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9639 * lyxlayout.C (Read): honor DependsOn tag
9641 * lyxlayout.[Ch] (depends_on): new method
9643 * version.C.in: update lyx_docversion
9645 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9647 * paragraph.C (validate): remove from here...
9648 * paragraph_pimpl.C (validate): ... and move here
9649 (isTextAt): make it const
9651 * buffer.C (getLists): ws cleanup
9653 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9655 * language.C (read): Use iso8859-1 encoding in latex_lang
9656 (this prevents LyX from crashing when using iso10646-1 encoding).
9658 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9660 * text2.C (toggleInset): if cursor is inside an inset, close the
9661 inset and leave cursor _after_ it
9663 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9665 * lyxfunc.C: move minibuffer completion handling out of here
9667 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9669 * BufferView_pimpl.C:
9670 * LaTeX.C: fix dispatch calls
9672 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9674 * text.C (drawChars): Fix Arabic text rendering.
9676 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9680 * lyxfunc.C: remove message-push/pop
9684 * lyxfunc.C: rationalise some code by removing verboseDispatch
9685 in favour of a bool argument to dispatch()
9687 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9689 * lyx_main.C (init): make sure to read symlinks as absolute paths
9691 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9694 * lyxfunc.C: no need for commandshortcut to be a member
9696 2002-07-15 André Pönitz <poenitz@gmx.net>
9698 * converter.C: add support for $$s (scripts from lib/scripts dir)
9699 * lyx_main.C: white space
9701 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9705 * lyxrc.C: remove second exit confirmation
9707 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9712 * BufferView_pimpl.h:
9713 * BufferView_pimpl.C:
9714 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9716 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9718 * MenuBackend.C (expand): add numeric shortcuts to document menu
9720 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9722 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9724 * lyxfont.C (setLyXFamily):
9731 * buffer.C (asciiParagraph): use ascii_lowercase
9733 2002-07-15 Mike Fabian <mfabian@suse.de>
9735 * lyxlex_pimpl.C (search_kw):
9736 * lyxlex.C (getLongString):
9737 * converter.h (operator<):
9738 * converter.C (operator<):
9739 * buffer.C (parseSingleLyXformat2Token):
9741 * ToolbarDefaults.C (read):
9742 * MenuBackend.C (checkShortcuts):
9744 * LColor.C (getFromGUIName):
9745 (getFromLyXName): use the compare_ascii_no_case instead of
9746 compare_no_case, because in turkish, 'i' is not the lowercase
9747 version of 'I', and thus turkish locale breaks parsing of tags.
9749 2002-07-16 Angus Leeming <leeming@lyx.org>
9751 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9752 now takes a Buffer const & argument.
9754 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9756 * BufferView.C (resize): check there's a buffer to resize
9758 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9760 * lyxfunc.C: remove dead code
9763 * lyxserver.C: use lyx_guii::set_read_callback
9765 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9767 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9768 an inset in a RTL paragraph.
9770 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9772 * lyxfunc.C: repaint after a font size update
9774 2002-07-15 André Pönitz <poenitz@gmx.net>
9776 * lyxlength.C: inBP should be able to return negative values
9778 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9780 * lyxfunc.C: use lyx_gui::update_fonts()
9782 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9784 * lyxfunc.C: use lyx_gui::update_color()
9786 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9792 * lyxrc.C: remove file->new asks for name option, and let
9793 buffer-new take an argument
9795 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9797 * BufferView_pimpl.C: remove unneeded extra repaint()
9799 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9801 * LyXAction.C: allow command-sequence with NoBuffer
9803 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9805 2002-07-10 Angus Leeming <leeming@lyx.org>
9807 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9809 2002-07-09 Angus Leeming <leeming@lyx.org>
9811 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9813 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9815 * lengthcommon.h: whitespace
9817 * lyxfunc.C: update scrollbar after goto paragraph
9819 * lyxtext.h: factor out page break drawing, and fix it so
9820 page break/added space paints as selected nicely
9822 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9824 * BufferView_pimpl.C: add FIXMEs, clean up a little
9826 2002-07-09 André Pönitz <poenitz@gmx.net>
9828 * lyxfont.[Ch]: support for wasy symbols
9830 2002-07-08 André Pönitz <poenitz@gmx.net>
9832 * BufferView_pimpl.C: apply John's patch for #93.
9834 2002-07-05 Angus Leeming <leeming@lyx.org>
9836 * BufferView_pimpl.C (buffer): generate previews if desired.
9838 * LColor.h: add "preview" to the color enum.
9840 * LColor.C (LColor): add a corresponding entry to the items array.
9842 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9845 2002-07-05 Angus Leeming <leeming@lyx.org>
9847 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9848 The body of the code is now in the method that is passed an ostream &
9849 rather than a file name.
9850 Pass an additional only_preamble parameter, useful for the forthcoming
9853 2002-07-03 André Pönitz <poenitz@gmx.net>
9855 * lyxfunc.C: simplify getStatus() a bit for math stuff
9857 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9859 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9861 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9863 * text.C (changeRegionCase): do not change case of all the
9864 document when region ends at paragraph end (bug #461)
9866 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9868 * paragraph.C (startTeXParParams):
9869 (endTeXParParams): add \protect when necessary
9871 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9873 * BufferView_pimpl.C (workAreaExpose): remove warning
9875 2002-06-27 Angus Leeming <leeming@lyx.org>
9877 * Makefile.am: add lyxlayout_ptr_fwd.h.
9879 2002-06-26 André Pönitz <poenitz@gmx.net>
9881 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9883 2002-06-25 Angus Leeming <leeming@lyx.org>
9885 * lyxfunc.C (dispatch): Comment out the call to
9886 grfx::GCache::changeDisplay. The method no longer exists now that the
9887 pixmap generation part of the graphics loader has been moved into
9890 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9892 * text2.C: layout as layout
9894 * text.C: layout as layout
9896 * tabular.C (OldFormatRead): layout as layout
9898 * paragraph_pimpl.C (TeXDeeper): layout as layout
9899 (realizeFont): layout as layout
9901 * paragraph.C (writeFile): layout as layout
9902 (validate): layout as layout
9903 (getFont): layout as layout
9904 (getLabelFont): layout as layout
9905 (getLayoutFont): layout as layout
9906 (breakParagraph): layout as layout
9907 (stripLeadingSpaces): layout as layout
9908 (getEndLabel): layout as layout
9909 (getMaxDepthAfter): layout as layout
9910 (applyLayout): layout as layout
9911 (TeXOnePar): layout as layout
9912 (simpleTeXOnePar): layout as layout
9913 (TeXEnvironment): layout as layout
9914 (layout): layout as layout
9915 (layout): layout as layout
9917 * lyxtextclass.C (compare_name): new functor to work with
9918 shared_ptr, layout as layout
9919 (Read): layout as layout
9920 (hasLayout): layout as layout
9921 (operator): layout as layout
9922 (delete_layout): layout as layout
9923 (defaultLayout): layout as layout
9925 * lyxlayout_ptr_fwd.h: new file
9927 * lyxlayout.C (Read): layout as layout
9929 * lyx_cb.C (MenuInsertLabel): layout as layout
9931 * bufferlist.C (newFile): layout as layout
9933 * buffer.C (readLyXformat2): layout as layout
9934 (parseSingleLyXformat2Token): layout as layout
9935 (insertStringAsLines): layout as layout
9936 (asciiParagraph): layout as layout
9937 (latexParagraphs): layout as layout
9938 (makeLinuxDocFile): layout as layout
9939 (simpleLinuxDocOnePar): layout as layout
9940 (makeDocBookFile): layout as layout
9941 (simpleDocBookOnePar): layout as layout
9942 (getLists): layout as layout
9944 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9946 * CutAndPaste.C (cutSelection): layout as layout
9947 (pasteSelection): layout as layout
9948 (SwitchLayoutsBetweenClasses): layout as layout
9950 * BufferView_pimpl.C (Dispatch): layout as layout
9951 (smartQuote): layout as layout
9953 * BufferView2.C (unlockInset): layout as layout
9955 2002-06-24 André Pönitz <poenitz@gmx.net>
9957 * lyxfunc.C: fix #487
9959 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9963 * lyxfunc.C: remove display_shortcuts, show_banner
9965 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9967 * Buffer_pimpl.C: oops, update on resize
9969 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9976 * BufferView.C: use repaint()
9978 * BufferView_pimpl.h:
9979 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9980 as it's a clearer description. Remove superfluous
9983 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9985 * text.C: fix bug 488. Not ideal, but getting
9986 getWord() to work properly for the insets that
9987 matter is more difficult ...
9989 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9991 * BufferView_pimpl.C:
9994 * lyxfunc.C: remove the six million index lyxfuncs to just
9995 one, and DTRT (bug 458)
9997 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10001 * BufferView_pimpl.h:
10002 * BufferView_pimpl.C: clean up resize() stuff,
10003 and unnecessary updateScreen()s
10005 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10009 * BufferView_pimpl.h:
10010 * BufferView_pimpl.C:
10013 * minibuffer.C: remove focus management of workarea,
10014 not needed. Use screen's greyOut()
10016 2002-06-17 Herbert Voss <voss@lyx.org>
10018 * converter.C: (convert) do not post a message, when converting
10019 fails, let the calling function decide what to do in this case
10021 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10023 * lyxfunc.C: tidy up a little
10025 2002-06-16 <alstrup@diku.dk>
10027 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10028 Got rid of FORMS_H_LOCATION include. Now we are
10031 2002-06-15 LyX Development team <lyx@rilke>
10033 * buffer.[Ch] (sgmlOpenTag):
10034 (sgmlCloseTag): Added support for avoiding pernicious mixed
10035 content. Return number of lines written.
10037 (makeLinuxDocFile):
10038 (makeDocBookFile): Fixed calls to sgml*Tag.
10039 Simple white space clean.
10041 (simpleDocBookOnePar): Simple white space clean.
10043 * tabular.[Ch] (docBook): Renamed to docbook and got another
10044 argument to related with the pernicious mixed content.
10046 (docbookRow): Fixed calls for docbook inset method.
10048 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10050 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10051 so it's X11 independent.
10055 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10057 2002-06-15 Lyx Development team <lyx@electronia>
10059 * intl.h: Renamed getTrans to getTransManager.
10061 2002-06-14 Angus Leeming <leeming@lyx.org>
10063 * Makefile.am: nuke forgotten stl_string_fwd.h.
10065 2002-06-12 Angus Leeming <leeming@lyx.org>
10067 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10069 2002-06-13 Angus Leeming <leeming@lyx.org>
10072 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10074 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10076 * kbmap.C (getiso): add support for cyrillic and greek
10078 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10082 * BufferView_pimpl.h:
10083 * BufferView_pimpl.C: move bogus scrolling logic
10086 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10089 * BufferView_pimpl.C: view->resize() change
10091 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10093 * BufferView_pimpl.C: topCursorVisible
10096 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10100 * lyx_gui.C: move to frontends/
10104 * lyx_main.C: changes from above
10106 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10113 * lyx_main.C: minor tidy
10115 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10117 * BufferView_pimpl.h:
10118 * BufferView_pimpl.C:
10120 * BufferView.C: make painter() const,
10123 * BufferView2.C: use screen() accessor
10126 * lyx_main.C: some minor cleanup
10128 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10130 * BufferView_pimpl.h:
10131 * BufferView_pimpl.C: remove enter/leaveView,
10134 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10139 * BufferView_pimpl.h:
10140 * BufferView_pimpl.C: only construct screen once,
10143 * lyxrc.C: remove pointless comment
10145 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10148 * BufferView.C: remove active() and belowMouse()
10150 * BufferView_pimpl.h:
10151 * BufferView_pimpl.C: use workarea() not workarea_,
10152 and make it use a scoped_ptr instead
10154 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10156 * lyx_gui.C: add debug message on BadWindow
10158 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10160 * sp_spell.C: fdopen is not part of the C++ standard.
10162 * paragraph.C (InsetIterator): use >= instead of ==
10164 2002-06-07 Angus Leeming <leeming@lyx.org>
10166 Fixes needed to compile with Compaq cxx 6.5.
10167 * BufferView_pimpl.C:
10174 * lyxtextclasslist.C:
10179 all c-library variables have been moved into namespace std. Wrap
10180 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10185 Add a using std::abs declaration.
10187 * kbmap.h (modifier_pair):
10188 * paragraph.h (InsetTable, InsetList):
10189 * lyxfont.h (FontBits):
10190 type definition made public.
10192 * bufferlist.C (emergencyWriteAll): the compiler complains that
10193 there is more than one possible lyx::class_fun template to choose from.
10194 I re-named the void specialisation as lyx::void_class_fun.
10196 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10198 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10199 the compiler is is unable to find tostr in write_attribute.
10201 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10203 * buffer.C (sgmlError): hide #warning
10205 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10207 * xtl/*: get rid of xtl, which is not in use anyway
10209 * LyXAction.C (init):
10210 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10211 were unimplemented xtl experimentation
10213 2002-06-04 André Pönitz <poenitz@gmx.net>
10215 * lyxfunc.C: disable array operation on simple formulae
10217 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10219 * converter.C: constify a bit
10221 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10223 * lyx_gui.C: check xforms version correctly
10225 2002-04-30 Herbert Voss <voss@lyx.org>
10227 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10230 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10232 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10233 attempt to register it with a VCS)
10235 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10237 * lyx_main.C (init): honor variables LYX_DIR_13x and
10240 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10244 * lyx_main.C: fix a crash on bad command line,
10245 and give a useful exit status on error
10247 * lyxfunc.C (doImport): allow -i lyx to work
10249 2002-03-30 André Pönitz <poenitz@gmx.net>
10251 * lyxfunc.C: mathed font changes
10253 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10268 * trans_mgr.h: srcdocs, and some minor cleanups
10270 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10272 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10273 call getFont all the time)
10275 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10277 * switch from SigC signals to boost::signals
10279 2002-05-29 André Pönitz <poenitz@gmx.net>
10281 * paragraph_pimpl.C (getChar): don't call size() too often...
10283 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10285 * paragraph_pimpl.C (insertChar): do not try to update tables when
10286 appending (pos == size())
10288 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10289 in order to reduce drastically the number of comparisons needed to
10290 parse a large document
10292 2002-05-29 André Pönitz <poenitz@gmx.net>
10298 * textclasslist.[Ch]:
10299 * sp_ispell.h: whitespace change
10301 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10303 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10304 lyxaction directly now.
10306 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10310 * lyxvc.C: remove unused headers
10312 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10319 * undo_funcs.C: some cleanups. Use shared_ptr
10320 and a template for the undo stacks.
10322 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10324 * BufferView_pimpl.h:
10325 * BufferView_pimpl.C:
10332 * text2.C: use key_state/mouse_state
10334 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10336 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10339 * chset.C: change include order
10340 (loadFile): use boost regex and get rid of LRegex and LSubstring
10342 * Makefile.am (BOOST_LIBS): new variable
10343 (lyx_LDADD): use it
10345 * LaTeX.C: change include order.
10346 (scanAuxFile): use boost regex and get rid of LRegex and
10350 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10355 * FontInfo.C: moved to frontends/xforms/
10358 * FontLoader.C: moved into frontends for GUIIzation
10363 * lyxfunc.C: changes from above
10365 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10367 * LColor.C: remove spurious X include
10369 * BufferView_pimpl.C:
10374 * text2.C: move font metrics to frontends/
10376 2002-05-24 Juergen Vigna <jug@sad.it>
10378 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10379 setting the undo_cursor.
10381 * ParagraphParameters.h: include local includes first.
10383 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10385 * BufferView_pimpl.C:
10386 * BufferView_pimpl.h:
10390 * screen.C: move WorkArea into frontends/
10396 * BufferView2.C: move LyXScreen into frontends/
10400 * lyx_gui.C: move lyxlookup into frontends/xforms/
10402 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10405 * BufferView_pimpl.C:
10415 * bufferview_funcs.C:
10428 * vc-backend.C: move LyX/XFormsView into frontends/
10430 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10442 * text2.C: move Painter to frontends/
10444 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10446 * buffer.C: comment out some some code that depend upon lyx_format
10449 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10450 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10452 * buffer.h (NO_COMPABILITY): turn off compability
10454 * ColorHandler.C: include scoped_array.hpp
10456 * font.C: Use more specific smart_ptr header.
10459 * ShareContainer.h: ditto
10460 * lyx_main.h: ditto
10462 * FontInfo.h: ditto
10463 * BufferView_pimpl.h: ditto
10464 * ColorHandler.h: ditto
10466 * kbmap.C (defkey): change call to shared_ptr::reset
10468 2002-05-21 Juergen Vigna <jug@sad.it>
10470 * buffer.C (insertErtContents): fix to insert ert asis if it is
10471 non empty. Skip it completely if it contains only whitespaces.
10473 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10475 * BufferView_pimpl.C:
10476 * BufferView2.C: clear selection on paste (bug 393)
10478 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10480 * DepTable.C: include ctime
10482 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10484 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10486 2002-05-14 Juergen Vigna <jug@sad.it>
10488 * text.C (breakParagraph): fixed function to honor the keepempty
10489 layout in the right maner and also to permit the right breaking
10490 algorithm on empty or non empyt keepempty paragraphs.
10492 * paragraph.C (breakParagraph): we have to check also if the par
10493 is really empty (!size()) for isempty otherwise we do the wrong
10496 2002-05-10 Juergen Vigna <jug@sad.it>
10498 * buffer.[Ch] : The following are only changes to the ert
10499 compatibility read reading old LaTeX layout and font stuff and
10500 convert it to ERTInsets.
10502 * buffer.h: added isErtInset().
10504 * buffer.C (struct ErtComp): add a fromlayout bool to check
10505 if we're inside a LaTeX layout.
10506 (isErtInset): new helper function.
10507 (insertErtContents): look for other ert insets before this one
10508 and insert the contents there, so that we don't have subsequent
10509 ERT insets with nothing between them. This way we create only one
10510 inset with multiple paragraphs. Also check if we don't insert only
10511 spaces ' ' as they are ignored anyway afterwards in the .tex file
10512 so if we have only spaces we will ignore this latex part in the
10514 (parseSingleLyXformat2Token \\layout): better compatibility when
10515 reading layout-latex stuff.
10516 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10518 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10519 stuff after reading the inset only get the information back from
10522 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10524 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10526 * LaTeXFeatures.C (getBabelOptions): New method.
10528 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10530 * BufferView_pimpl.C (Dispatch): work around missing argument for
10533 2002-05-08 Juergen Vigna <jug@sad.it>
10535 * text.C (leftMargin): handle paragraph leftindent.
10537 * paragraph.C (writeFile): write the new \\leftindent tag.
10538 (validate): handle leftindent code.
10539 (TeXEnvironment): handle paragraphleftindent code again.
10541 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10543 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10544 for paragrap_extra indent code and new token \\leftindent.
10545 (latexParagraphs): handle the leftindent as environment.
10547 * ParameterStruct.h: added leftindent support.
10549 * ParagraphParameters.C (leftIndent): added support functions for
10550 the paragraph left indent.
10552 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10555 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10557 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10560 * text.C (computeBidiTables): No bidi in insetERT.
10562 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10565 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10567 * version.C.in: pre 5
10569 2002-05-02 José Matos <jamatos@fep.up.pt>
10570 * buffer.C (makeDocBookFile): white space changes, add newline to
10572 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10574 * tabular.C (docBook): fix typo.
10576 2002-05-03 Juergen Vigna <jug@sad.it>
10578 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10579 change in LyXText as we can not be sure it was not freed.
10580 (drawOneRow): remove unused code.
10582 * text.C (drawInset): redo the calculation of the need_break_row as
10583 it could have a row which was already freed.
10584 (draw): look at the return value of drawInset and return false if
10585 it also returned false.
10586 (paintRowText): look at the return value of draw and return false if
10587 it also returned false.
10589 * lyxtext.h: added bool return type to drawInset() and draw() so that
10590 if we have a change in the row so that the rowbreak has to be redone
10591 we abort drawing as it will be called again.
10593 2002-05-02 Juergen Vigna <jug@sad.it>
10595 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10596 a change in the maintext also if we're inside an inset.
10597 (Dispatch): set the cursor again after a break line and after the
10598 screen has been updated as it could be we're in a different row.
10600 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10601 to set the cursor behind the pargraph with > size().
10602 (setCursor): check also for the same paragraph when checking where
10603 to put the cursor if we have a NFR inset.
10605 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10606 parts of layout read further up as it still was in the wrong
10609 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10611 * screen.C (drawFromTo): change sine fullRebreak always return
10614 * buffer.C (parseSingleLyXformat2Token): reindent some
10616 * BufferView_pimpl.C (update): change since fullRebreak always
10618 (Dispatch): git rid of the last hardcoded "Standard"s.
10620 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10622 * text2.[Ch] (fullRebreak): make it return void now that we always
10625 2002-04-30 Juergen Vigna <jug@sad.it>
10627 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10628 ert compatibility check for "latex" layout.
10630 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10632 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10633 minipages: use col% instead of p%, and also use the current font.
10634 (makeLaTeXFile): Fix use babel condition.
10635 (parseSingleLyXformat2Token): Correct font when reading old floats.
10637 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10639 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10640 inserting list of floats.
10642 2002-04-25 Herbert Voss <voss@lyx.org>
10644 * MenuBackend.C (expand): don't add the graphics extensions to the
10647 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10649 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10650 non-existing layout, do not complain if it was the default layout
10651 of the original class (bug #342)
10653 2002-04-24 Juergen Vigna <jug@sad.it>
10655 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10656 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10658 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10660 * buffer.C (getBibkeyList): If using \bibliography, return the
10661 option field with the reference itself. Enables us to provide natbib
10662 support when using \bibliography.
10664 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10666 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10668 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10669 natbib is provided by the LaTeX class.
10671 2002-04-23 Juergen Vigna <jug@sad.it>
10673 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10676 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10678 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10680 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10682 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10683 ensuremath around textordmasculine, textordfeminine and
10686 2002-04-19 Juergen Vigna <jug@sad.it>
10688 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10689 reinitializing the buffer otherwise row-dimensions may be wrong.
10690 (update): reset also the selection cursors if they do exits otherwise
10691 their x/y positions may be wrong.
10693 * text2.C (cursorDown): don't enter the inset if we came from a row
10694 above and are one row over the inset.
10696 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10697 really leaving an inset.
10699 2002-04-18 Juergen Vigna <jug@sad.it>
10701 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10702 of the selected paragraph does not have the selected layout also if
10705 * text2.C (setLayout): fixed bug which did not change last selected
10708 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10709 changed the read and substituted \\end_float with \\end_inset!
10711 * BufferView_pimpl.C (cursorPrevious):
10712 (cursorNext): fixed to make it work with rows heigher than the work
10713 area without moving the cursor only the draw of the row.
10714 (workAreaMotionNotify): fix jumping over high rows.
10716 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10718 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10721 2002-04-16 Juergen Vigna <jug@sad.it>
10723 * text2.C (setCursor): set also the irow().
10724 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10726 (cursorDown): support for locking an inset if the x_fix value goes
10727 inside it. That way I can transverse insets too with cursor up/down.
10729 * lyxrow.h: added irow helper function same as other (i) functions.
10731 * BufferView_pimpl.C (cursorPrevious):
10732 (cursorNext): fixed for insets!
10734 2002-04-15 Juergen Vigna <jug@sad.it>
10736 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10737 position otherwise it is wrong in some cases.
10739 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10740 inside the inset before the call.
10742 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10744 * buffer.[Ch] (getBibkeyList): make it const.
10746 2002-04-12 Juergen Vigna <jug@sad.it>
10748 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10750 * text2.C (getCursorX): new helper function
10751 (setCursor): compute also ix_
10752 (setCursorFromCoordinates): set also ix.
10754 * lyxcursor.h: added ix_ and helper functions.
10756 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10758 * buffer.C (insertStringAsLines): dont break paragraph if the this
10759 paragraph is inside an inset which does not permit it!
10761 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10762 also with no chars on this paragraph.
10763 (paintRowText): only paint stuff if it's inside the workarea!
10765 * paragraph.C (breakParagraph): honor keepempty flag and break the
10766 paragraph always below not above.
10768 * BufferView2.C (unlockInset): update the paragraph layout on inset
10769 unlock as we changed paragraph in such a case.
10771 * lyxfind.C (LyXFind): clear the former selection if not found!
10773 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10774 again called in insertChar().
10776 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10777 an inset which uses the whole row!
10778 (rightMargin): ditto.
10779 (insertChar): force a rebreak if we inserted an inset!
10781 2002-03-28 Herbert Voss <voss@lyx.org>
10783 * lyxlength.[Ch]: add inBP() to get the right PS-point
10784 units (BigPoint). With inPixels we have rounding errors
10786 2002-04-11 Juergen Vigna <jug@sad.it>
10788 * text2.C (setCursorFromCoordinates): set iy to the right value.
10789 (setCursor): add check if row->previous exists!
10791 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10792 an old float_type as this was the case in the old code!
10794 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10796 * BufferView2.C (showLockedInsetCursor): use iy
10797 (fitLockedInsetCursor): ditto
10799 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10800 locked insets as there we have the right value now.
10802 * lyxcursor.C: added iy_ variable and iy functions to set to the
10803 baseline of cursor-y of the locked inset.
10805 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10806 (setCursor): fixed for insets which need a full row.
10808 * text.C (rowLastPrintable): don't ignore the last space when before
10809 an inset which needs a full row.
10810 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10811 as last character of a row when before a inset which needs a full row.
10813 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10815 * version.C.in: update date
10817 * text2.C (fullRebreak): try to always return true and see what
10820 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10822 * MenuBackend.C (expand): use Floating::listName
10824 * FloatList.C (FloatList): add listName argument to the built-in
10827 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10828 text associated with the float.
10830 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10832 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10834 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10836 * ShareContainer.h: add a couple of missing typenames.
10838 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10840 * lyxrc.C (getDescription): use _() correctly rather than N_().
10842 2002-03-28 Herbert Voss <voss@lyx.org>
10844 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10845 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10847 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10849 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10850 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10852 2002-03-29 Juergen Vigna <jug@sad.it>
10854 * lyxfunc.C (dispatch): add a missing fitCursor call.
10856 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10857 it was scrolled by a cursor move, so return the bool status.
10859 * BufferView.C (fitCursor): return the bool flag also to the outside
10860 world as this is needed.
10862 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10864 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10865 call the edit() as it is not needed (and wrong) IMO.
10866 (workAreaButtonPress): set the screen_first variable before evt.
10867 unlock the inset as this may change screen_first and then we have
10868 a wrong y position for the click!
10870 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10872 * MenuBackend.C (expand): another translation that I missed
10874 2002-03-28 Juergen Vigna <jug@sad.it>
10876 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10878 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10880 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10882 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10884 * MenuBackend.C (expand): fix export/view/update when there is no
10887 2002-03-27 Herbert Voss <voss@lyx.org>
10889 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10892 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10894 * bufferview_funcs.C (currentState): only show paragraph number
10895 for is DEVEL_VERSION is set.
10897 * lyxfunc.C (dispatch): put warning in INFO channel
10899 * MenuBackend.C (expand): translate the name of floats
10901 * FloatList.C (FloatList): mark the float names for translation
10903 * converter.C (convert): use LibScriptSearch
10905 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10907 * MenuBackend.C (defaults): fix default menu (we might as well get
10910 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10912 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10915 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10917 * lyxvc.C: reorder includes.
10919 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10921 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10924 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10926 * CutAndPaste.C: change layouts earlier on paste
10927 to avoid crashing when calling getFont()
10929 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10931 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10934 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10936 * WorkArea.C: remove 'Pending' debug message.
10938 * most files: ws cleanup
10940 * buffer.[Ch]: ws changes
10942 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10944 2002-03-21 Juergen Vigna <jug@sad.it>
10946 * tabular.C (SetMultiColumn): collapse also the contents of the
10947 cells and set the last border right. Added a Buffer const * param.
10949 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10951 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10954 2002-03-19 Juergen Vigna <jug@sad.it>
10956 * text2.C (clearSelection): reset also xsel_cache.
10958 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10959 where it needs to be called (John tells us to do so too :)
10960 (selectionLost): reset sel_cache.
10962 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10964 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10966 * text2.C (setCursorIntern): put debuging code in INSETS channel
10968 2002-03-19 André Pönitz <poenitz@gmx.net>
10970 * lyxfunc.C: tiny whitespace change
10972 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10974 * ToolbarDefaults.C (init):
10975 * LyXAction.C (init):
10977 * BufferView_pimpl.C (Dispatch):
10978 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10980 2002-03-19 Allan Rae <rae@lyx.org>
10982 * exporter.C (Export): removeAutoInsets before doing anything else.
10983 While I've just introduced a dependency on BufferView this really is
10984 the best place to clean the buffer otherwise you need to cleanup in
10985 a dozen places before calling export or cleanup in a dozen functions
10988 * converter.C (runLaTeX):
10989 (scanLog): Better handling of removeAutoInsets and screen updates.
10991 * lyxfunc.C (dispatch): small whitespace changes
10993 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10995 * WorkArea.C (C_WorkAreaEvent): return a value.
10996 (event_cb): return 1 if we handled the event, 0 otherwise.
10998 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11000 2002-03-18 Juergen Vigna <jug@sad.it>
11002 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11003 (GetAdditionalWidth): ditto.
11004 (RightLine): ditto.
11007 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11008 inset if we're there actually (probably not used right now but this
11009 is the direction to go for unifying code).
11010 (paste): disable code to clear the selection.
11012 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11013 inside an InsetText and move the check further up as it is in the
11016 * text2.C (pasteSelection): set a selection over the pasted text.
11018 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11020 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11021 and libgraphics to build on Cygwin.
11023 2002-03-15 Juergen Vigna <jug@sad.it>
11025 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11026 inserting an Inset into the paragraph. I know this is not the best
11027 fix but we already use current_view in CutAndPaste so we will remove
11028 all of it's using at the same time.
11030 * buffer.C (sgmlError): deactivated function till it is rewritten in
11031 the right mode, now it can create problems.
11033 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11034 before accessing it.
11036 2002-03-14 Juergen Vigna <jug@sad.it>
11038 * undo_funcs.C (textHandleUndo): do the right thing when updating
11039 the inset after the undo/redo.
11041 * text2.C (setCursor): just some testcode for #44 not ready yet.
11043 * undo_funcs.C (textHandleUndo): set the next() and previous()
11044 pointers of the paragraph to 0 before deleting otherwise we have
11045 problems with the Paragraph::[destructor].
11047 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11048 on a paragraph insertion.
11050 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11052 * buffer.C (asciiParagraph): use += operator for char append to
11055 * paragraph.C (getFontSettings): compare >= not just >
11056 (highestFontInRange): ditto
11059 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11061 * paragraph.C: change several algorithm to be more appripriate for
11062 the problem domain. This is lookip in FontList and in the InsetList.
11064 2002-03-13 André Pönitz <poenitz@gmx.net>
11067 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11069 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11074 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11076 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11078 * Painter.C (display): anon helper function, adjust code for this
11080 (pixmap): remove function.
11082 * Painter.h: remove private display variable.
11084 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11086 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11088 * WorkArea.[Ch]: remove figinset_canvas cruft.
11090 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11092 * lyxtextclass.C (operator): add one item cache optimization.
11094 * bufferlist.h: doxy changes
11096 * bufferlist.C: ws changes
11098 * DepTable.[Ch] (ext_exist): place const in the right spot.
11100 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11102 (workAreaExpose): call resizeInsets when the with BufferView changes.
11103 (Dispatch): adjust for protectedBlank removal
11104 (specialChar): call updateInset if the insert went ok.
11106 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11107 specialChar instead.
11109 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11111 * BufferView.h: doxy change
11113 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11115 * lyxtextclass.C (operator[]): remove non-const version
11116 (defaultLayout): remove non-const version
11118 2002-03-12 Juergen Vigna <jug@sad.it>
11120 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11121 did resize the LyXText too.
11123 * buffer.C (readLyXformat2): set layout information on newly allocated
11126 * tabular.C (OldFormatRead): set layout information on the paragraph.
11128 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11130 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11132 2002-03-11 Juergen Vigna <jug@sad.it>
11134 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11136 (resizeCurrentBuffer): force also the insets to resize themselfes.
11137 (moveCursorUpdate): fixed up for InsetText.
11139 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11142 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11143 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11144 value of Dialogs::tooltipsEnabled().
11145 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11147 2002-03-08 Juergen Vigna <jug@sad.it>
11149 * BufferView_pimpl.C (updateInset): update inset inside inset also
11150 if it isn't inside theLockingInset().
11152 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11154 * buffer.C (asciiParagraph): redo some of the word and line length
11156 (getLists): look for Caption instead of caption.
11158 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * buffer.C (Buffer): initialize niceFile to true
11162 (makeLinuxDocFile):
11163 (makeDocBookFile): make sure niceFile is true on exit
11165 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11167 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11169 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11171 * LyXSendto.C: remove.
11172 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11173 * lyx_gui.C: remove now-redundant comment.
11174 * ColorHandler.h: remove forward declaration of class WorkArea.
11175 * lyxfunc.C: remove #include "WorkArea.h".
11177 2002-03-07 Juergen Vigna <jug@sad.it>
11179 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11180 got moved away with the DEPM and also set the inset_owner always
11181 right which before could have been omitted.
11183 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11185 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11186 wanted layout is not found.
11188 2002-03-07 Juergen Vigna <jug@sad.it>
11190 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11192 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11194 * paragraph.C (breakParagraph): use default layout not layout of
11196 (Paragraph): clear ParagraphParameters.
11198 2002-03-06 Juergen Vigna <jug@sad.it>
11200 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11201 otherwise it would not be a valid lenght. Fixed a special case in
11202 the minipage compatibility read where we end the document with a
11205 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11206 was set as it could be 0 for InsetTexts first entry.
11208 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11210 * paragraph.C (writeFile): if layout is empty write out
11211 defaultLayoutName().
11213 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11214 file without named layout we set layout to defaultLayoutName().
11216 2002-03-06 Juergen Vigna <jug@sad.it>
11218 * CutAndPaste.C (copySelection): set layout for new paragraph.
11220 * text.C (prepareToPrint): leave ERT inset left aligned
11221 (leftMargin): don't indent paragraphs inside ERT insets
11223 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11225 * paragraph.C (breakParagraph): dont call clear do the work manually
11227 * paragraph.[Ch] (clear): remove function
11229 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11231 * paragraph.C (Paragraph): dont call clear, the work has already
11234 * lyxtextclass.C (operator): assert if n is empty
11236 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11237 work manually instead.
11239 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11241 * BufferView_pimpl.C: protect selectionLost against text == 0
11243 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11245 * text.C (breakParagraph): fix a setting layout to '0' problem.
11247 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11249 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11250 final location of file, for the included files, and graphics.
11252 2002-03-05 Juergen Vigna <jug@sad.it>
11254 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11256 2002-03-04 Juergen Vigna <jug@sad.it>
11258 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11260 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11261 last column of multicolumn cells.
11262 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11264 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11266 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11267 file if it doesn't go to a temporary file.
11269 * buffer.C (sgmlOpenTag):
11270 (sgmlCloseTag): remove extra newline insertion.
11272 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11274 * text.C (getRowNearY): comment out debug msg
11276 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11278 * text2.C: first -> first_y
11280 * text.C (getRowNearY): add some attemts at a possible
11281 optimization, not working.
11283 * tabular.[Ch]: add BufferParams to several function so that newly
11284 created paragraph can be initialized to he default layotu for the
11287 * tabular-old.C (ReadOld): add buf->params to call of Init
11289 * screen.C: rename text->first to text->first_y
11291 * paragraph.C (breakParagraph): always set layout in the broken
11294 * lyxtextclass.C (Read): remove lowercase
11297 (delete_layout): ditto
11299 * lyxtext.h: rename first -> first_y
11301 * lyxlayout.C (Read): remove lowercase
11304 (obsoleted_by): ditto
11306 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11308 * buffer.C (insertErtContents): add params are to InsetERT
11309 (parseSingleLyXformat2Token): add code to check if a paragraphs
11310 layout really exist.
11311 (parseSingleLyXformat2Token): add params to several inset
11313 (asciiParagraph): remove lowercase, do the layout comparisons with
11316 * BufferView_pimpl.C (cursorNext): first -> first_y
11317 (resizeCurrentBuffer): first -> first_y
11318 (updateScrollbar): first -> first_y
11319 (scrollCB): first -> first_y
11320 (workAreaMotionNotify): first -> first_y
11321 (workAreaButtonPress): first -> first_y
11322 (checkInsetHit): first -> first_y
11323 (cursorPrevious): first -> first_y
11324 (cursorNext): first -> first_y
11325 (Dispatch): add buffer_->params to severl inset contructors
11327 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11329 * lyxlayout.C (Read): remove some debug info that I forgot.
11331 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11332 clean up the code slightly.
11333 (makeLinuxDocFile): ditto
11334 (makeDocBookFile): ditto
11336 * text2.C: layout as string
11338 * text.C: layout as string
11340 * paragraph_pimpl.C: layout as string
11342 * paragraph.[Ch]: layout as string
11344 * lyxtextclasslist.[Ch]: layout as string
11346 * lyxtextclass.[Ch]: layout as string
11348 * lyxtext.h: layout as string
11350 * lyxlayout.[Ch]: layout as string
11352 * lyx_cb.C: layout as string
11354 * bufferview_funcs.C: layout as string
11356 * bufferparams.C: layout as string
11358 * buffer.C: layout as string
11360 * LyXView.[Ch]: layout as string
11362 * LaTeXFeatures.[Ch]: layout as string
11364 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11366 * BufferView_pimpl.C: change current_layout to string, remove
11371 (workAreaButtonRelease): layout as string
11373 * BufferView2.C (unlockInset): adjust
11375 * vspace.C (asLatexCommand): use an explict temp variable.
11377 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11379 * Makefile.am: use FRONTEND_*
11381 2002-03-01 Juergen Vigna <jug@sad.it>
11383 * tabular.C (SetWidthOfMulticolCell): changed to something better
11384 I hope but still work in progress.
11385 (recalculateMulticolumnsOfColumn): renamed function from
11386 recalculateMulticolCells as it is more appropriate now.
11387 (SetWidthOfCell): calculate multicols better.
11389 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11391 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11393 * lyxfunc.C (processKeySym): print sequence also if it is
11394 `deleted' (complete)
11396 * kbsequence.C (print): print sequence even if it is deleted
11397 (complete would be a better word, actually).
11399 * lyxfunc.C (dispatch): print complete options after a prefix key
11401 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11403 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11405 * text2.C (setCharFont): eliminate setCharFont code duplication.
11407 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11409 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11410 LFUN_TABULAR_FEATURE (bug #177)
11412 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11414 * Makefile.am: remove figure.h
11416 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11418 * Bufferview_pimpl.C:
11430 * text2.C: remove #include "lyx_gui_misc.h".
11432 * LaTeX.C: added #include <cstdio>
11434 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11436 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11437 that the paragraph following this one can have.
11439 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11441 * vspace.C (asLatexCommand): fix bogus gcc warning
11443 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11445 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11447 * text2.C (setLayout): get rid of redundant code
11449 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11451 * text2.C (incDepth): make sure depth cannot be increased beyond
11454 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11456 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11457 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11459 * PainterBase.h (image):
11460 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11461 a LyXImage const *.
11463 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11467 * BufferView_pimpl.C:
11468 * BufferView_pimpl.h:
11488 * sp_spell.C: remove fig inset, and the crap house of
11489 cards that follows it
11491 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11496 * os2_errortable.h:
11497 * nt_defines.h: move .h into support/
11499 * vms_defines.h: remove
11501 * WorkArea.C: add space in debug output
11505 * buffer.C: add WITH_WARNINGS
11509 * bufferlist.C: s/retrive/retrieve/, add docs
11518 * chset.C: add docs
11520 * lyxgui.C: add ID to X error handler
11522 * lyxtestclass.c: fix typo
11524 2002-02-26 Juergen Vigna <jug@sad.it>
11526 * tabular_funcs.C (write_attribute): changed so that some default
11527 attributes are not written at all.
11528 (getTokenValue): set default values before trying to read the
11529 value so we have the return value always set as default if we don't
11530 find the token we search for.
11532 * tabular.C (Write): write bools as bools not as strings!
11534 2002-02-22 Juergen Vigna <jug@sad.it>
11536 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11537 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11539 * text.C (leftMargin): don't add an indent for paragraphs inside
11540 tabular cells (fix #208).
11542 2002-02-21 José Matos <jamatos@fep.up.pt>
11544 * tabular.C (docBook): fixed support for long tables.
11546 2002-02-20 Juergen Vigna <jug@sad.it>
11548 * text2.C (getFont): get the drawing font of the Inset if this
11549 paragraph is inside an inset (only important for InsetERT for now).
11551 * buffer.C (insertErtContents): use new lanugage params in ERT
11554 * CutAndPaste.C: commenting out seemingly uneeded code.
11556 2002-02-19 Allan Rae <rae@lyx.org>
11558 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11559 Iterators might be simple to use but they also get invalidated.
11560 (removeAutoInsets): renamed saved cursor tracking variables and added
11561 some comments to clarify what everything does.
11563 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11570 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11571 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11574 * vc-backend.h: remove #include "support/syscall.h"
11578 * converter.C: rearrange #includes in Lars' approved fashion.
11580 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11581 forward declare class Timeout in the header file.
11583 * XFormsView.C: changes due to the above.
11585 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11586 similar to LyXView.
11588 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11589 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11591 2002-02-18 José Matos <jamatos@fep.up.pt>
11593 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11596 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11598 * a lot of small ws changes
11599 * add a lot of using std::XXX
11600 * use std construcs some places where approp.
11601 * use some exisint stuff from lyxfunctional where approp.
11602 * Make file changes to use partial linking (lets test this now...)
11604 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11608 remove #include "support/syscontr.h" as it's redundant. Always has been.
11616 change Systemcalls::System to Systemcalls::Wait and
11617 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11618 No change of functionality, just reflects the stripped down Systemcalls
11621 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11623 * debug.[Ch]: add a GRAPHICS type to the enum.
11625 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11627 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11629 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11632 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11634 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11635 match the changes below.
11637 * text2.C (toggleInset): if there is not editable inset at cursor
11638 position, try to see if cursor is _inside_ a collapsable inset
11641 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11643 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11644 document menu has a nice checkbox
11646 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11648 * lyxlength.C (asLatexString): change PW to output as percent of
11651 * lengthcommon.C: change '%' to 't%'
11653 * lyxfunc.C (dispatch): a few comments from Martin
11655 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11659 * BufferView_pimpl.h:
11660 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11663 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11665 * vspace.C (inPixels): fix compiler warning
11667 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11669 * lyxfunc.C (getStatus): fix status message for disabled commands.
11671 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11673 * BufferView_pimpl.C: fix crash on close buffer
11674 during selection (#227)
11676 2002-01-27 Herbert Voss <voss@lyx.org>
11678 * buffer.C: link old Figure to new graphic inset
11680 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11682 * FontLoader.C (getFontinfo): Change the latex font names in order
11683 to match the names of type1inst.
11685 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11687 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11689 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11690 (extchanged): ditto
11692 (remove_files_with_extension): ditto
11693 (remove_file): ditto
11696 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11697 document is smaller than the work area height. Do not initialize
11698 static variables to 0.
11700 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11702 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11704 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11705 LFUN_LAYOUT_PARAGRAPHS.
11707 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11708 tabular. It is possible to provide a possible cell, which will
11709 typically be the actcell from the corresponding insettabular
11711 * lyxfunc.C (getStatus): small cleanup; disable
11712 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11715 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11717 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11719 * paragraph.C (startTeXParParams):
11720 (endTeXParParams): new methods. The LaTeX code to
11721 start/end paragraph formatting
11722 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11723 empty (fixes bug #200)
11725 * vspace.C (inPixels): adapt to the change below
11726 (inPixels): [later] more cleanups (remove unused variables)
11728 * lyxlength.C (inPixels): change to use a width and a height as
11731 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11733 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11734 Replaced with \paperwidth
11736 * DepTable.C (insert): add std:: qualifier
11738 2002-01-18 Allan Rae <rae@lyx.org>
11740 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11743 * text.C (drawInset): Turned out I didn't know enough about how
11744 rebreaking worked. This fixes most of the redraw problems. I see
11745 an occasional cursor trail when a line is broken now and the cursor
11746 placement can seem out by a few pixels also after a rebreak.
11748 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11750 * buffer.C (parseSingleLyXformat2Token): update because minipage
11751 width is now a LyXLength
11753 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11755 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11758 2002-01-17 Juergen Vigna <jug@sad.it>
11760 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11762 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11763 is set correctly and the inset is updated correctly.
11765 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11767 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11768 the beginning of the loop.
11770 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11772 * lyxrc.C: improve help for use_scalable_fonts
11774 2002-01-17 Allan Rae <rae@lyx.org>
11776 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11778 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11780 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11781 make sure to set their inset_owner to the right value (bug #171)
11783 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11786 * DepTable.C: Implement mtime checking to reduce time spent doing
11789 2002-01-16 Juergen Vigna <jug@sad.it>
11791 * tabular.C (GetAdditionalHeight): one of error fixed.
11793 * lyxrc.C (output): small fix in writing use_pspell.
11795 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11797 * sp_base.h: #include LString.h
11799 2002-01-16 Allan Rae <rae@lyx.org>
11801 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11802 Can someone check this please?
11804 * text.C (drawInset): It was possible that p.row would be removed by
11805 breakAgainOneRow upsetting a few other settings. There may be another
11806 small tweak possible by setting need_break_row = 0 when p.row has been
11807 removed but I don't know enough about the logic here.
11809 2002-01-15 Allan Rae <rae@lyx.org>
11811 * text.C (insertChar): removed conditional truism.
11813 * BufferView2.C (removeAutoInsets): More tweaks.
11814 cur_par_prev could be a stray pointer. Check for trailing empty line
11815 in case last line was cur_par and only had an error inset on it.
11817 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11819 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11822 * vc-backend.C (most methods):
11823 * exporter.C (Export):
11824 * converter.C (convert):
11826 * LyXSendto.C (SendtoApplyCB):
11827 * lyxfunc.C (dispatch):
11831 * lyx_cb.C (AutoSave):
11833 * BufferView_pimpl.C (MenuInsertLyXFile):
11834 * buffer.C (runChktex): use Buffer::filePath().
11836 * buffer.h: rename filename to filename_; rename filepath to
11837 filepath_ and make it private
11838 (filePath): new method
11840 * buffer.C (writeFile): use fileName()
11843 * lyx_main.C (init): fix starting of LyX when the binary is a
11844 link from so,ewhere else.
11846 * minibuffer.C: include <cctype> for isprint
11848 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11850 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11851 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11852 name clash with InsetCollapsable's width function.
11854 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11856 * lastfiles.C: include <iterator>
11858 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11860 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11863 * buffer.C (makeLaTeXFile): ditto.
11864 Also make loop operation more transparent.
11866 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11868 * ToolbarDefaults.C: remove trailing comma closing namespace.
11870 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11872 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11875 * trans.C (Load): comment out unused variable, allowed.
11877 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11879 * minibuffer.[Ch] (append_char): new method to recieve input from the
11880 drop-down completion browser. If a key was pressed, then recieve this
11881 char and append it to the existing string.
11882 (peek_event): modify the positioning data passed to the completion
11883 browser so that it can be placed above the minibuffer rather than below.
11884 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11886 * LyXAction.C (init): alloe error-next for readonly documents.
11888 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11891 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11893 * bufferlist.C (readFile): create the buffer _after_ checking that
11896 * lyxfunc.C (verboseDispatch): fix handling of arguments
11898 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11900 * lyxrc.C: use string::erase() instead of initializing to "".
11903 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11905 * BufferView_pimpl.h:
11906 * BufferView_pimpl.C:
11909 * text2.C: tell X when we have made a selection for copying
11911 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11913 * BufferView_pimpl.C (MenuInsertLyXFile):
11914 * lyxfunc.C (menuNew):
11916 (doImport): add shortcuts to directory buttons
11918 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11921 * lyxfunc.C (setStatusMessage):
11922 (getStatusMessage): new methods
11923 (getStatus):use setStatusMessage instead of setErrorMessage
11924 (dispatch): when function is disabled, set error message here
11925 [instead of in getStatus previously]
11927 * BufferView_pimpl.C (workAreaButtonRelease): update
11928 toolbar/menubar here too.
11930 2002-01-13 Allan Rae <rae@lyx.org>
11932 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11933 Now seems indestructible. Remaining task is to audit all other
11934 code affected by deleteEmptyParagraphMechanism. One small quirk
11935 left is that an empty document with an error in the preamble can
11936 be made to report an error but no error box appears. I don't know
11938 (removeAutoInsets): Improved comments.
11940 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11943 * Thesaurus.C: update for Aiksaurus 0.14
11945 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11947 * text2.C (firstParagraph): removed member function, all uses
11948 replaces with ownerParagraph
11949 (redoParagraphs): here
11950 (updateInset): here
11951 (toggleAppendix): here
11952 * BufferView2.C (insertErrors): here
11953 (setCursorFromRow): here
11955 2002-01-13 Allan Rae <rae@lyx.org>
11957 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11958 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11959 There is still a way to segfault this although you may have to do this
11960 multiple times: Have an InsetERT with an unknown command in it.
11961 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11962 <down-arrow>, <Enter> again, View->DVI, BANG!
11964 * text2.C (setCursor):
11965 (deleteEmptyParagraphMechanism):
11966 * lyxtext.h (setCursor):
11967 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11968 Making use of the return value may help fix other bugs.
11970 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11972 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11974 * LyXView.C (updateMenubar): call MenuBar::update here
11975 (updateToolbar): but not here
11976 (showState): do not update toolbar/menubar
11978 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11979 should need to care about that.
11981 * lyxfunc.C (verboseDispatch): simplify a bit
11982 (getStatus): have a version which takes a pseudoaction, and
11983 another which requires a (kb_action,string).
11985 * LyXAction.C (retrieveActionArg): make it work also when action
11986 is not a pseudo-action.
11987 (getActionName): simplify a bit
11990 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11992 * lyxfunc.C (verboseDispatch): new families of methods with
11993 several ways to specify a command and a bool to indicate whether
11994 the command name and shortcut should be displayed in minibuffer
11995 (eventually, we could extend that to a finer bitmask like
11996 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11997 (dispatch): the pristine dispatch command which just, well,
11998 dispatchs! Note it still sets its result to minibuffer; I'm not
12001 * lyxfunc.h: remove setHintMessage
12003 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12005 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12007 * BufferView_pimpl.C (specialChar): delete new inset if we have
12008 not been able to insert it.
12010 * kbmap.C: revert to using int instead of kb_action, since all we
12011 are dealing with is pseudo-actions.
12013 * LyXAction.C (searchActionArg): change to return int instead of
12014 kb_action, since the result is a pseudoaction.
12016 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12018 * buffer.C (insertErtContents): Fix (partially) the font bug.
12020 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12022 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12023 as the other one is broken on my machine!
12025 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12028 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12030 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12032 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12033 reflect their actual use. Provide compatibility code for older lyxrc
12036 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12038 change names of popup font variables in line with the changes to lyxrc.C
12040 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12042 * buffer.C (asciiParagraph): avoid outputing a word twice after
12045 * lyxrc.C (getDescription): document that document_path and
12046 template_path can be empty.
12048 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12050 * LaTeXFeatures.C (getMacros):
12051 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12053 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12055 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12057 (getPackages): rename feature "floats" to "float". Use an array to
12058 iterate over 'simple' features (i.e. just a \usepackage). Add
12059 handling of "amsmath" (renamed from "amsstyle").
12061 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12063 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12066 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12068 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12069 FuncStaus::FuncStatus & FuncStaus::some_method().
12071 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12073 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12074 of the func_satus stuff. Edited and massaged in various ways by
12077 * lyxfunc.C (getStatus): use FuncStatus
12079 2002-01-08 Juergen Vigna <jug@sad.it>
12081 * text.C (nextBreakPoint): use function Inset::isChar().
12083 * paragraph.C (TeXOnePar): use function
12084 Inset::forceDefaultParagraphs.
12086 * buffer.C (latexParagraphs): use function
12087 Inset::forceDefaultParagraphs.
12089 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12091 * lyx_gui.C (init): set the style of the menu popups to
12092 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12094 2002-01-07 Juergen Vigna <jug@sad.it>
12096 * text.C (setHeightOfRow): small fix
12097 (prepareToPrint): don't look at alignment if we don't have the place
12100 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12102 * box.C: New file. Move the Box methods and functions out of box.h,
12103 following Lars' suggestion.
12105 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12107 * box.h: #include "support/LOstream.h", needed for inlined function.
12110 * lyxtextclasslist.C: added some using std declarations.
12112 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12114 * box.h: make signed dimensions to allow insets wider than
12115 the screen (bug #162)
12117 * BufferView_pimpl.C: add some insetHit debug
12119 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12121 * vc-backend.C: add FIXME
12123 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12125 * lyxfunc.C (getStatus): enable code for showing math font status
12128 2002-01-07 Juergen Vigna <jug@sad.it>
12130 * text.C (nextBreakPoint): removed debug output not needed anymore.
12132 2002-01-06 Juergen Vigna <jug@sad.it>
12134 * text.C (nextBreakPoint): fixed up this function we had this bug
12135 since ever but now hopefully we break row better.
12136 (insertChar): we have to check if an inset is the next char as it
12137 could now happen that a large inset is causing a break.
12139 2002-01-05 Juergen Vigna <jug@sad.it>
12141 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12142 if it doesn't like to be drawed.
12144 2002-01-04 Juergen Vigna <jug@sad.it>
12146 * BufferView2.C (lockInset): forgot to set a cursor.
12148 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12150 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12152 * FormMathsPanel.C:
12155 * form_maths_panel.C:
12156 * form_maths_panel.h:
12157 * form_maths_panel.fd: implemented sub- and super- buttons in math
12160 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12161 (or ^ space) to be used as in TeX (req'd by André).
12163 * lyxfunc.C: Allow ^ and _ again to be used both as
12164 super/subscript (mathed) and as themselves (in text).
12166 2002-01-03 Allan Rae <rae@lyx.org>
12168 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12169 "LyX" or the filename of the current buffer if it has one. This is a
12170 modified form of John Levon's patch.
12172 * XFormsView.C (setWindowTitle): also set icon title.
12174 * LyXView.h (setWindowTitle): signature changed.
12175 * XFormsView.h (setWindowTitle): ditto.
12177 2002-01-02 Juergen Vigna <jug@sad.it>
12179 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12181 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12183 * screen.C (topCursorVisible): introduce a temp var for
12184 text->cursor.row(), handle the case where this row is null. (kindo
12187 * text2.C (setCursor): add a couple of asserts.
12189 * paragraph.h (inset_iterator): add -> operator
12191 * paragraph.[Ch] (autoDeleteInsets): remove member function
12193 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12194 cursor pos correctly and handle inset deletion by itself.
12195 (insertErrors): move iterator declaration out of for expression
12197 * lyxtextclass.C: add <algorithm>
12199 * Makefile.am: added the new files to sources, removed layout.C
12201 * layout.C: removed file
12203 * layout.h: remove LYX_DUMMY_LAYOUT
12205 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12209 * lyxtextclass.[Ch]:
12210 * lyxtextclasslist.[Ch]: new files
12212 * include order changes to a lot of files, also changes because of
12215 2001-12-27 Juergen Vigna <jug@sad.it>
12217 * buffer.C (asciiParagraph): more fixes.
12219 * tabular.C (ascii): make ascii export support export of only the
12220 data separated by a column-delimiter.
12221 (ascii): better support for ascii export.
12223 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12225 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12227 * tabular_funcs.C: use a "using std::getline" instead of the
12228 previous fix from Angus (necessary for cxx + lyxstring)
12230 2001-12-24 Juergen Vigna <jug@sad.it>
12232 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12234 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12235 problems. First check a minipage also if we have some ert-contents
12236 (not only on par->size(), second set the right depth of the paragraph
12237 on the relink to the root-paragraph-list!
12239 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12240 which then did not anymore update the main paragraphs on undo/redo!
12242 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12244 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12245 code. Support all font-changing funcs (even those which are not in
12246 menu currently). Support for reporting font settings in
12247 mathed (disabled until Andre provides a function on mathed's side).
12249 * func_status.h (toggle): small helper function to set toggle
12252 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12254 * tabular_funcs.C: getline -> std::getline
12256 2001-12-21 Juergen Vigna <jug@sad.it>
12258 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12259 accessed and could be 0 (I couldn't generate this but it seems
12262 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12264 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12265 * tabular_funcs.h: here and include iosfwd
12267 2001-12-20 Juergen Vigna <jug@sad.it>
12269 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12270 inside inset but undo_par was.
12272 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12274 * Thesaurus.C: always include <config.h> in sources.
12278 * box.h: do not include <config.h> in header files
12280 * text.C (paintLastRow): remove unused variable
12282 * text.C (transformChar):
12284 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12286 * Painter.C (text):
12287 * font.C (width): rewrite to use uppercase() instead of
12290 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12292 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12294 * lyxfind.C: clean up of find failure position change
12296 2001-12-20 Juergen Vigna <jug@sad.it>
12298 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12300 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12301 (TeXRow): added to LaTeX a single tabular row.
12302 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12303 (Latex): simplified and finally good LT-h/f support.
12304 (various_functions): just small adaptions for LT-h/f support.
12306 * tabular_funcs.[hC]: added and moved here all not classfunctions
12309 2001-12-19 Juergen Vigna <jug@sad.it>
12311 * tabular.[Ch]: better support for longtabular options (not finished
12314 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12316 * text.C (paintLastRow): use the label font instead of the font of
12317 the last character to compute the size of *_BOX. This makes more
12318 sense and avoids a crash with empty paragraphs.
12319 Use Painter::rectangle to draw EMPTY_BOX.
12321 2001-12-19 Juergen Vigna <jug@sad.it>
12323 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12324 the paragraphs if the replaced paragraph is not the first one!
12325 Tried to delete not used paragraphs but does not work yet so for
12326 now it's inside #ifdef's and by default off!
12328 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12330 * MenuBackend.C: include "lyx_main.h" instead of declaring
12331 lastfiles (actually was declared as LastFiles* instead of a
12334 2001-12-17 Juergen Vigna <jug@sad.it>
12336 * tabular.C (AppendColumn): applied John's fix
12338 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12342 * BufferView_pimpl.h:
12343 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12346 * box.h: new start of class for above
12348 * lyxfunc.C: ignore space-only minibuffer dispatches.
12349 Show the command name when it doesn't exist
12351 * minibuffer.C: don't add empty lines to the history
12353 * minibuffer.C: add a space on dropdown completion
12355 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12357 * text.C: fix line above/below drawing in insets
12359 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12361 * lyxlength.C (LyXLength): Initialize private variables.
12363 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12365 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12366 when inserting error insets.
12368 2001-12-13 Juergen Vigna <jug@sad.it>
12370 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12371 actually sometimes the before-paragraph.
12372 (setUndo): don't clear the redostack if we're not actually undoing!
12374 2001-12-06 Juergen Vigna <jug@sad.it>
12376 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12377 and fixed redoing of main paragraph, so we can use it now ;)
12379 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12381 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12383 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12386 2001-12-13 André Pönitz <poenitz@gmx.net>
12389 * undo_func.C: minor cleanup
12391 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12393 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12394 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12395 font in urw-fonts package which is marked as -urw-fontspecific and
12396 does not work (incidentally, changing the encoding in the
12397 fonts.dir of this package to -adobe-fontspecific fixes the
12400 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12401 is a crash when undoing first paragraph (Juergen, please take a
12402 look). THis does not mean the undo fix is wrong, just that it
12405 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12406 the (Paragraph*) version when needed instead of duplicating the
12409 * text.C (workWidth): use Inset::parOwner to find out where the
12410 inset has been inserted. This is a huge performance gain for large
12411 documents with lots of insets. If Inset::parOwner is not set, fall
12412 back on the brute force method
12414 * paragraph_pimpl.C (insertInset):
12415 * paragraph.C (Paragraph):
12416 (cutIntoMinibuffer): set parOwner of insets when
12417 inserting/removing them
12419 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12421 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12427 * mathed/formulabase.C:
12428 * mathed/math_cursor.[Ch]:
12429 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12432 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12434 * lyxlength.[Ch] (operator!=): new function
12436 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12438 * text.C (workWidth): use Inset::parOwner to find out where the
12439 inset has been inserted. This is a huge performance gain for large
12440 documents with lots of insets. If Inset::parOwner is not set, fall
12441 back on the brute force method
12443 * paragraph_pimpl.C (insertInset):
12444 * paragraph.C (Paragraph):
12445 (cutIntoMinibuffer): set parOwner of insets when
12446 inserting/removing them
12448 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12450 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12452 * tabular-old.C (getTokenValue):
12453 * tabular.C (getTokenValue):
12454 (write_attribute): new versions for LyXLength
12455 (everywhere): adjust the use of widths
12457 * tabular.h: change the type of widths from string to LyXLength
12459 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12461 * paragraph.C: fixed missing line number count when exporting
12462 Environments to LaTeX file
12464 * buffer.C: added informational message for checking line numbers.
12466 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12468 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12469 paragraph, do the 'double space' part, but not the 'empty
12472 * text.C (workWidth): small optimization
12473 (getLengthMarkerHeight): use minimal size for negative lengths.
12475 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12477 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12479 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12481 2001-12-11 André Pönitz <poenitz@gmx.net>
12484 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12486 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12488 * text2.C: keep selection on a setFont()
12490 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12492 * lyx_cb.C: another bv->text misuse, from insert label
12494 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12497 * kbsequence.C: re-instate nmodifier mask
12499 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12501 * lyx_main.h: make lyxGUI private.
12503 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12505 * lyxfind.C: place the cursor correctly on failed search
12507 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12509 * text.C (getLengthMarkerHeight): for small heights, the arrows
12510 are not always on top/bottom of the text
12511 (drawLengthMarker): smaller arrows; take the left margin in
12512 account; draw also vfills.
12514 (paintLastRow): remove special code for vfill and standard spaces,
12515 since everything is handled in drawLengthMarker now.
12517 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12519 * buffer.C (insertErtContents): try to handle font and language
12520 interaction a bit better.g
12522 * ColorHandler.C (updateColor): change the hash to cover the whole
12523 LColor enum, ws cleanup
12524 (getGCLinepars): ditto
12525 (getGCLinepars): only lookup in the linecache once.
12527 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12529 * iterators.C (operator++): Make the iterator more robust
12531 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12533 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12535 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12538 * text.C: better added space drawing
12540 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12543 * BufferView2.C: fix layout combo update on inset unlock
12545 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12547 * Makefile.am: don't compile unused files
12549 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12553 * LyXAction.C: remove old LFUN_LAYOUTNO
12555 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12557 * paragraph_pimpl.h:
12558 * paragraph_pimpl.C: isTextAt() doesn't need font param
12560 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12563 * lyxlex.C: little cleanup
12565 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12567 * BufferView_pimpl.C: fix insertAscii for insets
12569 2001-12-05 Juergen Vigna <jug@sad.it>
12571 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12572 set the right font on the "multi" paragraph paste!
12574 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12580 * lyxlength.C: remove out-commented code.
12582 * BufferView_pimpl:
12596 * vc-backend.C: change "while(" to "while ("
12598 * lyxlength.[Ch]: add zero function to check if length is zero or
12600 * lyxgluelength.C: use it
12602 2001-12-05 Allan Rae <rae@lyx.org>
12604 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12605 Works for 2.95.3, from what I understand of Garst's reports this should
12606 work for other g++ versions. We're screwed if the abs(int) definition
12607 changed between bugfix releases of gcc.
12609 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12611 * text.C: fix chapter label offset !
12613 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12616 * text.C: fix hfill at end of line, clean up
12618 2001-12-04 Juergen Vigna <jug@sad.it>
12620 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12621 that we force an update of the inset and it's owners if neccessary.
12623 2001-12-03 Juergen Vigna <jug@sad.it>
12625 * text.C (rowLast): simplified code
12627 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12629 * lyxfunc.C: fix show options on timeout
12631 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12633 * screen.C (topCursorVisible): scroll half a page when the cursor
12634 reached top of bottom of screen
12636 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12638 * minibuffer.C: deactivate on loss of focus
12640 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12642 * vspace.[Ch] (operator!=): add operator.
12644 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12646 * BufferView_pimpl.C: refuse to open an inset when
12647 there's a selection.
12649 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12651 * BufferView_pimpl.C: allow to click on RHS of full row insets
12653 2001-11-30 Juergen Vigna <jug@sad.it>
12655 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12656 insets for undo reasons.
12658 2001-11-28 André Pönitz <poenitz@gmx.net>
12660 * vspace.[Ch]: cosmetical changes
12662 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12672 * kbsequence.C: part re-write of old kb code
12675 * WorkArea.C: remove Lgb_bug_find_hack
12677 2001-11-30 José Matos <jamatos@fep.up.pt>
12679 * buffer.C (makeDocBookFile): add a comment to point a hack.
12680 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12681 Fixed a double write of labels.
12683 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12686 * LaTeX.h Fixed bug in LaTeX class where it would not
12687 re-run latex if no depfiles were changed, but the .dvi was removed.
12689 2001-11-28 André Pönitz <poenitz@gmx.net>
12691 * all the files from the change on 2001/11/26:
12692 use lyx::layout_type instead of LyXTextClass::size_type
12693 use lyx::textclass_type instead of LyXTextClassList::size_type
12695 2001-11-29 Juergen Vigna <jug@sad.it>
12697 * text.C: added support for paragraph::isFreeSpacing()
12699 * buffer.C: same as above
12701 * paragraph.h: inserted isFreeSpacing() function to enable
12702 FreeSpacing inside InsetERT.
12704 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12705 of the paragraph's in the cut/copy buffer to 0!
12707 * text2.C (removeRow): remove the assert as it can!
12709 * lyxtext.h: added helper function firstRow returning firstrow and
12710 made firstrow private again.
12712 * BufferView2.C (lockInset): don't relock if we're already locked!
12714 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12715 the only paragraph.
12716 (removeRow): added Assert::(firstrow)
12718 * debug.C: forgot to add INSETTEXT here.
12720 2001-11-28 Juergen Vigna <jug@sad.it>
12722 * sp_spell.C (initialize): changed error text to more general
12723 spellchecker command use (not only ispell!)
12725 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12727 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12729 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12731 * vspace.C: initialise lyxgluelength on failure
12733 2001-11-28 Allan Rae <rae@lyx.org>
12735 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12736 declaration & definition that looks like a function declaration.
12738 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12740 * BufferView2.C (copy):
12741 (copyEnvironment): do not clear the selection when doing a copy.
12743 * text.C (paintFirstRow): compilation fix
12745 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12747 * tabular.C (Latex): correct line count when writing latex.
12749 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12751 * paragraph_pimpl.h:
12752 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12755 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12759 * LColor.C: change vfillline->added_space
12761 * text.C: add markers and text for added space
12763 * vspace.C: fix comment
12765 2001-11-28 André Pönitz <poenitz@gmx.net>
12767 * paragraph.C: whitespace changes
12768 * all the other files from the change on 2001/11/26:
12769 change *::pos_type into lyx::pos_type
12771 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12773 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12774 language of the document when inserting error insets.
12776 2001-11-26 André Pönitz <poenitz@gmx.net>
12778 * BufferView_pimpl.[Ch]:
12786 * paragraph_pimpl.[Ch]:
12789 * text2.C: reduce header dependencies, introduce type for positions
12791 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12793 * <various>: change to use Alert.h
12795 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12797 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12798 when encountering an unknown token.
12799 (readLyXformat2): Show an error message if there were unknown tokens.
12801 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12804 * BufferView_pimpl.C:
12808 * text2.C: use par->isInset()
12810 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12812 * paragraph_pimpl.h:
12813 * paragraph_pimpl.C: cleanup
12815 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12817 * text2.C (removeRow):
12818 * text.C (setHeightOfRow): remove useless (and costly) call to
12821 2001-11-20 Allan Rae <rae@lyx.org>
12823 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12824 Now need Inset*::checkInsertChar() to return true for appropriate
12825 cases so that the characters in the minibuffer will actually be
12828 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12830 * text.C: change the order of the includes.
12831 (workWidth): initialize it at once.
12832 (workWidth): make maxw unsigned
12833 (setHeightOfRow): remove unused variable (inset)
12834 (selectSelectedWord): remove unused variable (inset)
12835 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12837 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12839 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12840 server is not running.
12842 (closeConnection): add debug info when server is disabled.
12844 * ColorHandler.C (getGCForeground): send debug message to GUI
12847 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12849 * kbmap.C (bind): modify because return conventions of
12850 kb_sequence::parse have changed.
12852 * kbsequence.C (parse): only ignore spaces and not any stupid
12853 control character. This avoids tests like s[i] <= ' ', which are
12854 guaranteed to fail with 8bit characters and signed chars.
12855 Change return code to string::npos when there have been no error
12856 (0 was a bad idea when error is at first character)
12858 2001-11-14 José Matos <jamatos@fep.up.pt>
12861 * buffer.C (simpleDocBookOnePar): removed unused argument.
12863 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12865 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12866 insets which are part of a word. Paragraph::isLetter takes care of
12867 that now. Use Paragraph::isInset to identify insets.
12868 (selectSelectedWord): do not test for hyphenation break.
12870 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12871 that protected spaces are considered as spaces.
12873 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12876 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12879 * lyxserver.C: fix it. and small cleanup.
12881 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12883 * BufferView_pimpl.C: use inline helpers
12886 * LaTeXFeatures.C: fix typos
12889 * Spacing.C: move spacing_string into class
12891 * ToolbarDefaults.C: move stuff into namespace anon
12893 * layout.h: update enum
12895 * lyxfunc.C: use better debug
12897 * minibuffer.h: fix typo
12901 * WorkArea.C: add and use Debug::WORKAREA
12905 * text2.C: code re-organisation, inline helpers
12907 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12909 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12910 std::vector.empty().
12912 2001-11-09 Allan Rae <rae@lyx.org>
12914 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12915 '\n's after tables. Tabular and ERT inset work now makes this no
12918 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12921 * minibuffer.C: fix crash, improve drop-down completion
12923 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12926 * lyxserver.C: invalidate fd's when doing endPipe()
12928 2001-11-08 José Matos <jamatos@fep.up.pt>
12930 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12931 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12934 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12936 2001-11-07 José Matos <jamatos@fep.up.pt>
12939 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12942 * buffer.C (sgmlOpenTag):
12943 * buffer.C (sgmlCloseTag): removed debug info.
12945 * buffer.h (sgmlOpenTag):
12946 * buffer.h (sgmlCloseTag): made public.
12948 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12950 * buffer.C (saveParamsAsDefaults):
12951 * lyx_cb.C (MenuLayoutSave): remove
12953 * LyXAction.C (init):
12955 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12957 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12959 * buffer.C (setPaperStuff): removed from here...
12961 * bufferparams.C (setPaperStuff): ... and moved there.
12963 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12967 * XFormsView.C: add support for drop-down completion
12969 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12971 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12974 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12976 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12979 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12981 * lyx_main.C: change ref to known bugs
12983 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12985 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12986 to work around older babel problems.
12988 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12990 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12992 2001-10-24 Juergen Vigna <jug@sad.it>
12994 * tabular-old.C (ReadOld): below variable changes reflected.
12996 * tabular.[Ch]: added ltType struct for longtable header/footer
12997 defines and changed all instances where they are used. Added
12998 future support for double top/bottom rows.
13000 2001-10-24 José Matos <jamatos@fep.up.pt>
13002 * buffer.h (docbookHandleCaption):
13003 * buffer.C (docbookHandleCaption): removed unused function.
13004 (makeDocBookFile): moved docbook supported version to v4.1.
13006 2001-10-24 José Matos <jamatos@fep.up.pt>
13009 * tabular.C (docbookRow): new function to export docbook code of a row.
13010 (DocBook): now honors the longtable flags.
13012 2001-10-23 José Matos <jamatos@fep.up.pt>
13015 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13016 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13018 * buffer.C (makeLinuxDocFile):
13019 (makeDocBookFile): reworked the preamble, more clean, and with
13020 support for lyx defined entities. Changed the document declaration
13021 to be more XML friendly.
13023 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13024 if we need to output XML that should be done with a filter.
13026 2001-10-22 Juergen Vigna <jug@sad.it>
13028 * sp_pspell.h (class PSpell): add alive function needed in the
13029 controller to see if the spellchecker could be started.
13031 2001-10-22 Juergen Vigna <jug@sad.it>
13033 * buffer.C (insertStringAsLines): modify the font for inserting
13034 chars in certain conditions by calling checkInsertChar(font).
13036 2001-10-19 Juergen Vigna <jug@sad.it>
13038 * text.C (workWidth): use getRow instead of wrong algorithm.
13039 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13041 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13046 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13048 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13050 * text.C (workWidth): do not search for the exact row when
13051 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13052 optimization for big documents.
13054 2001-10-18 Juergen Vigna <jug@sad.it>
13056 * text.C (workWidth): new function with added Inset * parameter.
13058 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13060 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13062 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13063 change return type of getColumnNearX.
13066 * text.C (changeRegionCase): use uppercase/lowercase instead of
13069 (rightMargin): simplify code by factoring out the uses of
13074 (appendParagraph): use Paragraph::size_type
13076 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13078 * vspace.C (asLatexString): add a missing break
13080 2001-10-15 Herbert Voss <voss@perce.de>
13082 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13084 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13086 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13089 2001-10-10 André Pönitz <poenitz@gmx.net>
13091 * lyxfunc.C: removed greek_kb_flag.
13093 2001-10-10 Herbert Voss <voss@perce.de>
13095 * lyx_main.C: delete global string help_lyxdir.
13097 2001-10-09 Herbert Voss <voss@perce.de>
13099 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13101 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13103 * lyx_main.C: added global string help_lyxdir.
13105 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13107 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13109 * lyxrc.C (set_font_norm_type): support iso8859-4
13111 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13113 * LaTeX.C (deplog): add another regex for MikTeX
13115 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13117 * lyxrc.C (set_font_norm_type): support iso8859-3
13119 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13121 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13123 * LaTeXFeatures.C: remove special case of french and index
13125 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13126 before \begin{document}). This solves several incompatibilities.
13128 2001-10-03 Garst Reese <reese@isn.net>
13130 * lyx_cb.C: change CheckTex error msg.
13132 2001-10-03 José Matos <jamatos@fep.up.pt>
13134 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13136 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13138 * .cvsignore: update
13140 * lyx_main.C (commandLineVersionInfo): use new style version info.
13142 * buffer.C (writeFile):
13144 (makeLinuxDocFile):
13145 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13147 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13149 * version.h: update to use stuff in version.C
13151 * version.C.in: new file. Contains version information determined
13152 at compile time. This is a merging of version.h and
13155 2001-10-03 Juergen Vigna <jug@sad.it>
13157 * BufferView_pimpl.C (update): don't change "dirty" status in
13160 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13162 * WorkArea.C (c-tor): re-position version string slightly.
13164 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13166 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13167 revert to previous code.
13169 WorkArea.[Ch]: (show, destroySplash): methods removed.
13171 WorkArea.C: rework code so that it's an amalgam of the codes before and
13172 after the splash screen was moved to WorkArea.
13174 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13177 * vspace.C (inPixels):
13180 * buffer.C (insertStringAsLines):
13181 (asciiParagraph): fix types to be large enough
13183 * lyxlex_pimpl.h: change member status from short to int
13185 * layout.h: fix type of endlabeltype
13188 * kbsequence.C (parse): change return type to string::size_type
13190 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13193 * Bullet.C (bulletSize):
13194 (bulletEntry): do not use short ints as parameters
13196 * BufferView2.C (insertLyXFile): change a char to an int.
13198 * WorkArea.C (WorkArea): remove unneeded floats in computation
13200 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13202 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13204 * paragraph.C (asString): Do not ignore newline/hfill chars when
13205 copying to the clipboard.
13207 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13209 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13210 after a multi-line inset.
13212 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13214 * paragraph.C (validate): Set NeedLyXFootnoteCode
13216 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13218 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13219 and decrease-error to decrease.
13221 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13223 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13224 it more readable (should be equivalent)
13226 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13228 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13230 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13232 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13233 of a cursor (row, etc.) after a character has been deleted
13234 (deleteEmptyParagraphMechanism): call the method above on _all_
13235 cursors held by the LyXText when a double space has been
13238 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13240 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13242 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13244 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13245 background. Use greyOut() and the new show() methods to toggle between
13246 the foreground and background. Add code to remove the splash after
13247 its initial showing.
13249 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13250 (create_forms): no longer call Dialogs::showSplash.
13252 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13254 * .cvsignore: add version_info.h
13256 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13258 * version_info.h.in: new file
13260 * Makefile.am: add version_info.h.in
13262 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13263 version_info.h instead of VERSION_INFO
13265 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13267 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13268 The ERT inset now returns string().
13270 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13272 * lyxtext.h, text.C (selectNextWord): renamed as
13273 selectNextWordToSpellcheck.
13275 * text.C (selectNextWordToSpellcheck): Modified to not select
13276 words inside an ERT inset.
13278 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13280 * lyx_cb.C (MenuLayoutSave): change a bit the question
13282 * sp_base.h: include <sys/types.h>
13284 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13286 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13288 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13290 * several files: fix typos in user-visible strings
13292 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13294 * text2.C (pasteSelection): do not set the selection, since it
13295 will be cleared later. Actually, the intent was to fix the way the
13296 selection was set, but I figured rmoving the code was just as good.
13298 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13300 * FontLoader.C (available): Check if font is available without
13303 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13305 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13307 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13309 * lyxrc.[Ch]: added display_graphics variable and associated code.
13311 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13313 * bufferparams.C (hasClassDefaults): new method. Returns true if
13314 the buffer parameters correspond to known class defaults
13316 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13318 * XFormsView.C (show): set minimum size to the main window.
13320 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13322 * text2.C (copySelection):
13324 * lyxfind.C (LyXReplace):
13325 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13326 LyXText::selectionAsString.
13328 * paragraph.C (asString): add "label" argument to the second form
13330 * text2.C (selectionAsString): add "label" argument and pass it to
13331 Paragraph::asString.
13333 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13335 * lyx_main.C (commandLineHelp): remove version information
13337 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13339 * lyx_main.C: add -version commandline option
13341 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13343 * paragraph.h: make the optional constructor arg required instead.
13344 some modifications to other files because of this.
13346 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13348 * lyxserver.C (C_LyXComm_callback): make it static
13350 * lyx_main.C (error_handler): make it static
13352 * lyx_gui.C (LyX_XErrHandler): make it static
13354 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13356 * WorkArea.C: make the extern "C" methods static.
13358 * Makefile.am (lyx_LDADD): simplify
13360 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13362 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13363 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13365 * LyXAction.C (init):
13366 * lyxfunc.C (dispatch): associated code removal.
13368 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13370 * lyxfont.h (isSymbolFont): shut off warning
13372 * text.C (setHeightOfRow):
13373 (getVisibleRow): fix crash with empty paragraphs which have a
13376 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13378 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13381 2001-09-04 José Matos <jamatos@fep.up.pt>
13384 * tabular.C (docbook): rename docBook method to docbook.
13386 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13388 * Makefile.am: add dependencies to main.o.
13390 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13392 * FontLoader.C (available): Return false if !lyxrc.use_gui
13394 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13396 * FontInfo.C (query):
13397 * converter.C (view):
13398 * importer.C (Import):
13399 * exporter.C (Export): Can not -> cannot.
13401 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13403 * BufferView_pimpl.C: allow to create index inset even if
13406 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13408 * buffer.C (getLists): replace boost::tie code with an explicit pair
13409 as boost::tie can break some compilers.
13411 * iterators.h: Added a std:: declaration to the return type of
13414 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13416 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13419 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13421 * iterators.[Ch]: New files. Provide paragraph iterators.
13423 * buffer.C (changeLanguage): Use paragraph iterators.
13424 (isMultiLingual): ditto
13426 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13428 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13430 * FontLoader.C: Support for cmr font.
13432 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13434 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13435 (available): New method.
13437 * FontInfo.C (getFontname): Use scalable fonts even when
13438 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13441 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13443 * converter.C (Formats::view): reverted! Incorrect fix.
13445 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13447 * converter.C (Formats::view): only output the -paper option
13448 if the dvi viewer is xdvi, thereby fixing bug #233429.
13450 2001-08-23 Herbert Voss <voss@perce>
13452 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13454 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13456 * Spacing.h (Spacing): Set space to Default on in the default
13459 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13461 * vc-backend.h (RCS::versionString): add RCS to version
13462 (CVS::versionString): add CVS to version
13464 * vc-backend.C (scanMaster): do not add CVS to version.
13465 (scanMaster): do not add RCS to version
13467 * lyxvc.C (versionString): new method
13469 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13471 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13473 * Spacing.C (set): initialize fval
13475 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13477 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13480 2001-08-16 Juergen Vigna <jug@sad.it>
13482 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13484 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13486 * BufferView_pimpl.C:
13489 * text2.C: setParagraph takes linespacing now
13491 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13493 * LyxAction.C: add internal LFUN_CITATION_INSERT
13495 * LyXView.C: actually apply fix
13497 * bufferlist.C: fix open non-existent file
13499 * lyxfind.C: fix indentation
13501 * lyxfunc.C: remove unneeded assert, fix typo
13503 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13505 * MenuBackend.C: use "Floatname List"
13507 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13509 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13510 when converting LaTeX layout to insetERT.
13511 Generate a non-collapsed float when reading old float
13513 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13515 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13518 2001-08-13 Juergen Vigna <jug@sad.it>
13520 * text.C (fill): return 0 instead of 20 as this seems to be the more
13523 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13525 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13528 2001-08-13 Juergen Vigna <jug@sad.it>
13530 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13532 (SearchBackward): comment out the unlocking of the inset_owner this
13533 should not be needed!
13535 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13537 * Many files: Remove inherit_language, and add latex_language
13539 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13540 collapsible insets.
13542 2001-08-10 Juergen Vigna <jug@sad.it>
13544 * text.C (prepareToPrint): fixed hfill-width in draw!
13546 * BufferView2.C (selectLastWord): save the selection cursor as this
13547 now is cleared in the function LyXText::clearSelection!
13549 2001-08-08 Juergen Vigna <jug@sad.it>
13551 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13552 BACKSPACE type functions.
13554 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13555 is only cutted from the document but not put in the cut-buffer, where
13556 still the old stuff should be.
13558 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13560 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13562 * tabular.C (SetWidthOfCell): fixed special case where the width
13564 (LeftLine): handle '|' in align_special.
13566 (LeftAlreadyDrawed): ditto
13567 (SetWidthOfCell): ditto
13569 2001-08-07 Juergen Vigna <jug@sad.it>
13571 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13573 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13575 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13576 * lyxlex.[hC]: ditto
13578 2001-08-06 Juergen Vigna <jug@sad.it>
13580 * text.C (getVisibleRow): fix up row clearing a bit.
13582 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13584 * minibuffer.C: make sure the X server sees the changes in the input.
13586 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13588 * paragraph.C (getFont): split into...
13589 (getLabelFont): this
13590 (getLayoutFont): and this
13591 * paragraph_pimpl.C (realizeFont): calling this
13593 * text2.C (getFont): split into...
13594 (getLayoutFont): this
13595 (getLabelFont): and this
13596 (realizeFont): all three calling this
13598 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13601 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13603 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13605 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13607 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13608 layouts from the Quote inset insertion.
13610 2001-08-03 Juergen Vigna <jug@sad.it>
13612 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13614 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13615 only if status not is already CHANGED_IN_DRAW (second level).
13617 * text.C (draw): don't set the need_break_row when inside an
13620 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13622 * buffer.C (parseSingleLyXformat2Token): handle more latex
13625 * bufferview_funcs.[hC]: change function names to
13626 begin with small char, adjust other files.
13628 2001-08-02 André Pönitz <poenitz@gmx.net>
13631 BufferView_pimpl.C: remove broken special code for math-greek
13633 2001-08-02 Juergen Vigna <jug@sad.it>
13635 * BufferView_pimpl.C (update): redone this function so that we
13636 update the text again if there was a CHANGE_IN_DRAW.
13638 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13639 (drawFromTo): added a new internal bool which is used by draw() and
13641 (general): some cursor drawing problems fixed.
13643 2001-08-01 Juergen Vigna <jug@sad.it>
13645 * lyxfind.C (LyXFind): fixed
13646 (SearchForward): ditto
13647 (SearchBackward): ditto
13649 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13650 spurius drawing of the cursor in the main area.
13652 * text2.C (status): small fix which could lead to a segfault!
13653 (clearSelection): remove unneeded BufferView param.
13655 2001-08-01 André Pönitz <poenitz@gmx.net>
13657 * lyxfunc.C: small change due to changed mathed interface
13659 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13661 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13663 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13665 * lyxfunc.c: fail gracefully if file doesn't exist
13670 * BufferView_pimpl.C: IsDirWriteable() proto changed
13672 * LyXView.C: fix updateWindowTitle() to store the last title
13674 2001-07-31 Juergen Vigna <jug@sad.it>
13676 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13677 the font (wrong since using of Paragraph::highestFontInRange).
13679 * paragraph.C (highestFontInRange): added a default_size parameter.
13681 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13682 (setHeightOfRow): reformat
13684 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13686 * converter.[hC] + affected files: move to (inital-char)lowercase
13689 * ParagraphParameters.C (ParagraphParameters): remove commented code
13691 * PainterBase.[Ch]: remove commented code
13693 * LaTeXFeatures.h: add "bool floats" for float.sty
13695 * LaTeXFeatures.C (LaTeXFeatures): init floats
13696 (require): handle float
13697 (getPackages): do it with floats
13699 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13701 * BufferView_pimpl.C (Dispatch): improve handling of
13702 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13704 * commandtags.h: #include lyxfont.h here temporarily to avoid
13707 * bufferlist.h: include LString.h here.
13709 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13711 * text2.C (getStringToIndex): new method.
13713 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13715 * *: Reduced header file dependencies all over.
13717 2001-07-30 Baruch Even <baruch@lyx.org>
13719 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13721 2001-07-29 Baruch Even <baruch@lyx.org>
13723 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13725 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13727 * ParameterStruct.h (endif): add a default constructor to make
13728 sure that all variables is initialized.
13730 * ParagraphParameters.C (ParagraphParameters): adjust
13732 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13734 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13735 index; also, check that there is something to index, and that it
13736 does not span over several paragraphs.
13737 (doubleClick): use WHOLE_WORD_STRICT for double click.
13739 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13741 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13744 2001-07-26 Baruch Even <baruch@lyx.org>
13746 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13747 an InsetFig figure, backwards compatible reading of old figure code.
13749 2001-07-27 Juergen Vigna <jug@sad.it>
13751 * text2.C: font.realize function adaption.
13753 * text.C (draw): add a warnings lyxerr text if needed.
13755 * layout.C: font.realize function adaption.
13757 * language.C: add inherit_language and implement it's handlings
13759 * bufferview_funcs.C (StyleReset): remove language parameter from
13760 font creation (should be language_inherit now).
13762 * bufferparams.C (writeFile): handle ignore_language.
13764 * paragraph.C (getFontSettings): the language has to be resolved
13765 otherwise we have problems in LyXFont!
13767 * lyxfont.C (lyxWriteChanges): added document_language parameter
13768 (update): removed unneeded language parameter
13770 * paragraph.C (validate): fixed wrong output of color-package when
13771 using interface colors for certain fonts in certain environments,
13772 which should not seen as that on the final output.
13774 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13776 * BufferView_pimpl.C:
13781 * LyXAction.C: add thesaurus support
13784 * lyxfind.C: add "once" parameter, for thesaurus, to not
13785 move to the next match
13787 2001-07-26 Juergen Vigna <jug@sad.it>
13789 * lyxfont.C (realize): honor ignore_language too!
13792 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13794 * text.C (draw): one place more for ignore_language to not draw
13797 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13799 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13801 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13803 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13804 the minipage conversion problem.
13806 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13808 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13811 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13813 * BufferView.h: don't forward declare WorkArea
13815 * BufferView.C: don't include WorkArea.h
13817 2001-07-25 André Pönitz <poenitz@gmx.net>
13821 * lyxfunc.C: new LFUN 'math-space'
13823 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13825 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13827 * text2.C (toggleInset): call open/close
13829 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13831 * lyxfunc.C (dispatch): add debug for the disabled case
13833 * font.C (buttonText): make similar to rectText
13835 * buffer.C (readInset): comment out parsing of insetlist and
13838 * PainterBase.C (rectText): small correction
13840 * BufferView_pimpl.C: comment out insettheorem and insetlist
13841 * LyXAction.C: ditto
13842 * commandtags.h: ditto
13844 2001-07-24 Juergen Vigna <jug@sad.it>
13846 * text.C (draw): honor the ignore_language.
13848 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13850 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13852 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13855 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13857 * lyxtext.h: remove unused (and unimplemented) methods
13859 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13861 * text.C (getVisibleRow): honor background color
13864 * Painter.h: remove default color argument for fillRectangle
13866 * text.C (backgroundColor): new method
13868 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13870 * text.C (getVisibleRow): adjust
13872 * font.[Ch] (rectText): new method, metrics
13873 (buttonText): new method, metrics
13875 * PainterBase.[hC]: make rectText and buttonText always draw and take
13878 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13880 * ToolbarDefaults.C (read):
13881 * MenuBackend.C (read): allow escaping in all strings
13883 * BufferView_pimpl.C (insertAndEditInset): new method.
13884 (Dispatch): use insertAndEditInset whenever appropriate.
13886 * BufferView_pimpl.C (insertNote): removed
13888 * BufferView_pimpl.C (smartQuote): new method, moved from
13889 BufferView; if an insetquote cannot be inserted, insert a '"'
13892 * BufferView2.C: remove insertCorrectQuote();
13894 * lyxfunc.C (getStatus): Add support for all remaingin
13895 inset-insert lfuns.
13897 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13899 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13900 command (necessary to pass " as parameter of self-insert.
13902 * text.C (selectWordWhenUnderCursor):
13903 (selectWord): add word_location parameter
13904 (selectWordWhenUnderCursor): same + remove special code for word
13906 (selectNextWord): use kind() to guess type of insetspecialchar,
13909 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13910 (insertErtContents): create ert insets as collapsed.
13911 (readInset): better compatibility code for Info inset.
13913 2001-07-20 Juergen Vigna <jug@sad.it>
13915 * lyxfunc.C (dispatch): use always LyXFind now!
13917 * text2.C (init): add a reinit flag so that the LyXText can be
13918 reinited instead of deleted and reallocated (used in InsetText).
13920 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13926 2001-07-18 Juergen Vigna <jug@sad.it>
13928 * text.C (selectNextWord): handle insets inside inset by calling
13929 always the bv->text functions so that we can go up the_locking_inset!
13931 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13932 in strange locations when inside an inset!
13934 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13935 handling to include insets.
13937 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13939 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13941 * LyXAction.C (init):
13943 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13944 LIGATURE_BREAK, since the name is so stupid.
13946 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13948 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13951 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13953 * sp_form.[Ch]: remove.
13955 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13957 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13960 * src/buffer.C (readInset): ditto.
13962 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13964 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13965 menuSeparator(), endOfSentenceDot(), ldots() and
13966 hyphenationPoint(), which are therefore removed.
13967 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13969 * LyXAction.C (init):
13970 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13972 * paragraph.C (getWord): removed.
13974 * BufferView_pimpl.C (Dispatch): use last word or selection for
13975 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13977 * lyx_main.C (queryUserLyXDir): do not ask before creating
13978 user_dir, except if it has been named explicitely.
13980 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13982 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13983 a document of zero size.
13985 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13987 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13988 approriately in the c-tor and in require().
13989 (getPackages): output the appropriate LaTeX for natbib support.
13991 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13992 variables "use_natbib" and "use_numerical_citations" when reading the
13994 (readInset): read the various natbib cite commands.
13995 (validate): white-space change.
13997 * bufferparams.[Ch]: new variables "bool use_natbib" and
13998 "bool use_numerical_citations".
13999 (writeFile): output them in the LyX file.
14001 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14003 * lyxfunc.C (getStatus): add support for all the inset insertion
14006 * text2.C (insertInset):
14007 * paragraph.C (insetAllowed):
14008 * BufferView_pimpl.C (insertInset): update to take in account the
14009 renaming of insertInsetAllowed
14011 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14013 * text2.C (getInset): new method. returns inset at cursor position.
14015 * BufferView_pimpl.C (Dispatch): changes because of this.
14017 * LyXAction.C (init): rename open-stuff to inset-toggle.
14019 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14021 * text2.C (toggleInset): renamed from openStuff; use
14024 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14026 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14028 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14030 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14032 * buffer.C (readLyXformat2): Add filename to the error dialog
14034 2001-07-18 Juergen Vigna <jug@sad.it>
14036 * tabular.C (GetCellNumber): put an assert here instead of the check!
14038 2001-07-17 Juergen Vigna <jug@sad.it>
14040 * BufferView_pimpl.C (toggleSelection): adapted too.
14042 * text.C (selectNextWord): adapted for use with insets.
14043 (selectSelectedWord): ditto
14045 2001-07-17 Juergen Vigna <jug@sad.it>
14047 * sp_spell.C (PSpell): fix initialitation order.
14049 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14051 * paragraph.C: spacing
14053 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14055 * sp_spell.C: repair language selection for pspell
14057 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14059 * lyxfunc.h: change more methods to begin with lower char.
14061 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14063 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14064 for unknown layouts.
14066 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14068 * buffer.C (readLyXformat2): Generate an error dialog if there are
14071 2001-07-16 Juergen Vigna <jug@sad.it>
14073 * sp_spell.C: always compile ISpell part.
14075 * lyxrc.C: added use_pspell entry and it's handling.
14077 2001-07-13 Juergen Vigna <jug@sad.it>
14079 * sp_spell.C: removed double includes.
14081 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14083 Consistent use of Lsstream.h:
14084 * Lsstream.h: added using std::stringstream for consistencies sake.
14086 * buffer.C: removed using std::stringstream
14088 * lyxfont.C (stateText):
14089 * paragraph.C (asString):
14090 * text.C (selectNextWord, selectSelectedWord):
14091 * text2.C (setCounter):
14092 * vspace.C (asString, asLatexString):
14093 std::ostringstream -> ostringstream.
14095 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14097 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14098 * commandtags.h: add LFUN_HELP_ABOUTLYX
14099 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14101 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14103 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14105 * lyx_gui_misc.C: remove spellchecker
14106 * lyxfunc.C: showSpellchecker
14108 * sp_ispell.h: added
14109 * sp_pspell.h: added
14110 * sp_spell.C: added
14111 * sp_form.[Ch]: removed
14112 * spellchecker.[Ch]: removed
14114 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14116 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14118 (simpleTeXSpecialChars): Simply print the input character without
14119 any special translation if pass_thru is set.
14121 * layout.h: Added bool pass_thru to layout class for being able to
14122 implement pass through of a paragraph for Literate Programming.
14124 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14125 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14126 * layout.C (Read): add "passthru" to list of layout tags and add
14127 code to set the pass_thru boolean when it is read.
14129 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14131 * trans_decl.h: remove allowed from KmodInfo
14133 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14134 remove allowed code
14137 * paragraph_pimpl.C (erase): use boost::prior
14139 * Painter.C (text): use data() instead of c_str() when length is
14141 * WorkArea.C (putClipboard): ditto
14142 * font.h (width): ditto
14144 * BufferView2.C: use it-> instead of (*it). for iterators
14146 * paragraph_pimpl.C: ditto
14147 * paragraph.C: ditto
14148 * minibuffer.C: ditto
14149 * language.C: ditto
14151 * encoding.C: ditto
14152 * counters.C: ditto
14153 * converter.C: ditto
14155 * Variables.C: ditto
14156 * TextCache.C: ditto
14157 * MenuBackend.C: ditto
14158 * LyXAction.C: ditto
14160 * FloatList.C: ditto
14161 * DepTable.C: ditto
14162 * ColorHandler.C (LyXColorHandler): ditto
14164 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14166 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14168 * text2.C (openStuff): reintroduce this method (which had been
14169 nuked in NEW_INSETS frenzy).
14171 * lyxfunc.C (Dispatch): when an action has not been handled, use
14172 its name in the error message, not its number.
14174 * paragraph.C (inInset): change method name to begin with lowercase.
14177 * text2.C: updates because of this.
14179 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14181 * ToolbarDefaults.C (add): add spaces in error message
14183 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14185 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14186 (readLyXformat2): rename return_par to first_par, use lyxlex's
14187 pushToken and remove the manual push handling.
14188 (parseSingleLyXformat2Token): add another ert comp. variable:
14189 in_tabular, rename return_par to first_par. handle newlines better
14191 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14193 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14195 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14197 * text2.C (getParFromID): removed
14199 * buffer.C (getParFromID): new method moved form lyxtext.
14200 * BufferView2.C (insertErrors): adjust
14201 (setCursorFromRow): adjust
14202 * BufferView_pimpl.C (restorePosition): adjust
14203 * lyxfunc.C (Dispatch): adjust
14204 * undo_funcs.C (textUndo): adjust
14206 (textHandleUndo): adjust
14207 (textHandleUndo): adjust
14209 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14211 * buffer.C: up' the LYX_FORMAT
14213 * lyxfont.h: turn NO_LATEX on as default
14215 * buffer.C (insertErtContents): new methods of tex style compability.
14216 (parseSingleLyXformat2Token): use it several places.
14217 * tabular.C (OldFormatRead): and here
14219 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14221 * text2.C: remove some commented code.
14224 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14225 * trans.C: changes because of the above.
14227 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14229 * text2.C (setCounter): Fix counters bug with bibliography layout.
14231 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14233 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14234 own member functions
14235 (simpleTeXSpecialChars): ditto
14237 2001-07-06 Juergen Vigna <jug@sad.it>
14239 * a lot of files: changed the access to LyXText::status and the
14240 call of undo-functions.
14242 * undo.[Ch]: added a inset_id to the undo informations.
14244 * undo_funcs.[Ch]: added and moved here all undo functions.
14246 * lyxtext.h: give the status enum a weight, made status_ a private
14247 variable and made accessor functions for it, removed the whole bunch
14248 of undo-functions as they are now in their own file, make some
14249 functions publically available. Added function ownerParagraph with
14252 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14253 made InInset() a const function, added getParFromID() function.
14255 * buffer.[Ch]: added const version for inset_iterator functions,
14256 added getInsetFromID() function.
14258 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14259 changed undo functions for new version.
14261 2001-07-05 Juergen Vigna <jug@sad.it>
14263 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14264 unknow mechanism does not call the proper constructor but only this
14265 one also if I request the other!?
14267 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14269 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14271 * text2.C (LyXText): use initialization lists.
14273 * lyxtext.h (Selection): initialize set_ and mark_
14274 (init): remove method
14276 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14278 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14280 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14282 * screen.[Ch]: change method names to begin with lowercase
14284 * BufferView_pimpl.C (updateScrollbar): simplify further and
14285 hopefully make it a bit faster.
14287 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14289 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14290 calling directly xforms functions.
14292 * Painter.C (Painter):
14293 * lyx_cb.C (MenuWrite):
14294 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14297 * lyx_gui.C: remove bogus guiruntime extern declaration.
14299 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14301 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14303 (redoDrawingOfParagraph): ditto
14304 (redoParagraphs): ditto
14305 (cutSelection): don't create a object for CutAndPaste use the
14306 static method directly
14307 (pasteSelection): ditto
14309 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14312 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14314 * modifications to some other files because of this.
14316 * Makefile.am (lyx_SOURCES): add XFormsView
14318 * XFormsView.[Ch]: new files
14320 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14321 the main window. Move the gui dependent stuff to XFormsView
14323 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14325 * tabular.C (GetCellInset): update cur_cell also in the row/col
14326 version of this function.
14328 * lyxfunc.C: no need to include figure_form.h here.
14334 * lyxvc.C: no need to include forms.h here.
14336 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14338 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14340 * lyxfunc.C (Dispatch):
14342 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14343 constructor argument.
14345 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14347 * paragraph.C (Paragraph): dont't clear, and just set layout.
14348 (makeSameLayout): use params's copy contructor.
14350 * ParagraphParameters.[Ch] (makeSame): delete method
14352 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14354 * Variables.[Ch]: fix indentation, rename set to isSet
14356 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14358 * lyxfunc.C (Dispatch): fix typo
14360 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14362 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14365 * bufferlist.C: include assert.h for emergencyWrite().
14367 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14369 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14370 give up at last (bug #425202) !
14372 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14378 * spellchecker.C: strip spellchecker options and bring up
14379 preferences tab instead
14381 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14383 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14384 the istringstream constructor
14386 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14388 * paragraph.C (getLayout): fix return value
14390 * paragraph.h: do not declare getLayout as inline.
14392 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14394 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14396 * lyxcursor.h (operator<): new func
14397 (operator>): new func
14398 (operator>=): new func
14399 (operator<=): new func
14401 * text.C (changeCase): use selection.start and selection.end
14402 (changeRegionCase): require from to be <= to. Require par to be a
14405 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14407 2001-06-27 Juergen Vigna <jug@sad.it>
14409 * text.C (cursorLeftOneWord): changed to return the cursor and added
14410 overlay with BufferView * parameter which calls this one.
14412 (selectWord): use new getWord function.
14413 (changeCase): renamed from changeWordCase as and extended to work
14414 also on selections.
14416 * lyxtext.h: added enum word_location
14418 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14419 changeCase as this operates now also on selections.
14421 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14423 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14425 * many files: send debug output to Debug::INFO instead of
14428 * converter.C (View):
14430 (Move): send debug output to Debug::FILES instead of console.
14432 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14434 * lyxfunc.C (getStatus): use func_status
14436 * func_status.h: new header, describing the results of
14437 LyXFunc::getStatus;
14439 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14442 2001-06-25 The LyX Project <jug@sad.it>
14444 * buffer.C (sgmlOpenTag):
14446 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14448 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14450 * text2.C: remove some dead code
14452 * tabular.C (GetCellInset): store the last cell checked (gotten)
14454 * tabular.h: add the helper for the speedup
14456 * lyxtext.h: remove some dead code
14458 2001-06-26 The LyX Project <Asger>
14460 * paragraph.C: Change export to LaTeX of alignment to
14461 \begin{center} and family for better roundtrip work with reLyX.
14463 * Tune the math drawing a bit.
14465 2001-06-25 The LyX Project <Asger>
14467 * LColor.C (LColor): New color for math background. New color
14470 2001-06-25 The LyX Project <jug@sad.it>
14472 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14474 * lyxfunc.C (Open):
14475 * bufferlist.C (newFile): do not restrict to files ending with
14478 * BufferView_pimpl.C (MenuInsertLyXFile):
14480 2001-06-24 The LyX Project <jug@sad.it>
14482 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14485 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14487 * lyxtext.h: rename most methods to begin with a small char.
14488 Lots of changes because of this.
14490 * paragraph.C (Paragraph): do not call fitToSize
14491 (erase): call Pimpl::erase
14492 (insertChar): call Pimpl::insertChar
14493 (insertInset): call Pipl::insertInset
14494 (breakParagraph): do not call fitToSize
14495 (breakParagraphConservative): do not call fitToSize
14496 (fitToSize): remove method
14498 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14500 2001-06-24 The LyX Project <Asger>
14502 * Fix Qt compilation^2
14504 2001-06-24 The LyX Project <jug@sad.it>
14506 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14507 depthHook(getDepth()-1).
14510 * ParagraphParameters.h:
14511 * ParameterStruct.h: change type of depth to unsigned int ==
14512 depth_type. Many adaptations to other files before of that.
14514 2001-06-24 The LyX Project <Asger>
14516 * Fix Qt compilation.
14518 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14520 * paragraph.h: renamed several methods to begin with small letter.
14521 several changes to many parts of the code because of this.
14523 2001-06-23 The LyX Project <jug@sad.it>
14525 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14526 rewritten to discard all double spaces when KeepEmpty is off
14527 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14528 to only handle newlines but not fiddle with spaces and friends.
14530 * lyxfunc.C (MenuNew): when doing 'new from template', use
14531 template_path as default directory
14533 2001-06-23 The LyX Project <Asger>
14535 * Clean-up of header file includes all over
14536 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14538 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14540 * paragraph.h: renamed from lyxparagraph.h
14542 2001-06-23 Asger <lyx@violet.home.sad.it>
14544 * Buffer.h: Removed Buffer::resize
14545 * BufferList.h: Removed BufferList::resize
14546 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14547 the document lazily when we change the width, or the font settings.
14549 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14551 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14553 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14555 * buffer.h: remove out of date comment
14557 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14560 * screen.C: fix "theoretical" GC leak
14562 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14564 * LaTeX.C (scanAuxFile):
14565 (deplog): remove trailing \r when reading stream (useful under
14568 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14570 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14571 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14572 and BufferView::theLockingInset(Inset*), so should use them and not
14573 access bv_->text->the_locking_inset directly.
14575 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14577 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14580 * tex-defs.h: remove old unused file
14582 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14584 * BufferView_pimpl.C: fix typo, remove minibuffer message
14585 when buffer has loaded
14587 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14589 * lyxfunc.C (Dispatch): use stringstream
14590 (MenuNew): use stringstream
14591 (Open): use stringstream
14593 * importer.C (Import): use stringstream
14595 * bufferview_funcs.C (CurrentState): use stringstream
14597 * LaTeX.C (run): use stringstream
14599 * BufferView_pimpl.C (savePosition): use stringstream
14600 (restorePosition): use stringstream
14601 (MenuInsertLyXFile): use stringstream
14603 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14616 * vspace.C: removed // -*- C++ -*- as first line.
14619 * version.h: added // -*- C++ -*- as first line.
14621 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14623 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14625 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14628 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14630 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14633 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14635 * gettext.C: include LString.h even when --disable-nls is on.
14637 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14639 * converter.h (Get): changed argument type from int to
14640 FormatList::size_type to avoid unnecessary conversion.
14642 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14645 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14647 * gettext.h: include LString.h even when --disable-nls is on.
14649 2001-06-07 Juergen Vigna <jug@sad.it>
14651 * text.C (BreakAgain): subst spaces with tabs.
14653 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14654 (resizeInsetsLyXText): set force on resizeLyXText.
14656 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14658 * gettext.h (gettext_init):
14659 (locale_init): use a real definition instead of a macro
14661 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14663 * Bufferview_pimpl.C:
14665 * LColor.C: further lcolor tidies
14667 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14669 * BufferView_pimpl.C (updateScrollbar): simplify.
14671 * BufferView2.C: don't include insets/insetinfo.h, change
14672 prototype for insertInset and call the Pimpl version. let
14673 updateInset call Pimpl version.
14675 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14676 gotoInset to BufferView::Pimpl
14678 2001-06-01 Juergen Vigna <jug@sad.it>
14680 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14681 inside a LockingInset (is the update needed at all?).
14683 2001-05-31 Juergen Vigna <jug@sad.it>
14685 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14686 here not the old one otherwise how should we compare it afterwards
14689 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14694 * FontInfo.C: bring C functions into global namespace when
14697 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14699 * LString.h: make sure config.h has been loaded before LString.h.
14701 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14702 (one for each char read by EatLine!).
14704 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14707 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14709 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14710 to the same as the par we break from
14712 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14714 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14716 * MenuBackend.C (expand): also create menu entries for wide
14717 versions of the floats.
14719 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14721 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14723 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14724 frontends/Makefile.am
14730 * tabular.C (getTokenValue): add std::
14732 * tabular-old.C (getTokenValue): add std::
14733 (getTokenValue): ditto
14734 (getTokenValue): ditto
14736 * screen.C (ToggleSelection): adjust
14738 * lyxtext.h: put selection cursors inside a Selection struct.
14740 * lyxfunc.C (moveCursorUpdate): adjust
14742 * lyxfont.C (latexWriteStartChanges): add std::
14744 * lyxfind.C: adjust
14746 * font.h: delete with(char const *, LyXFont const &)
14748 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14750 * FontInfo.C (getFontname): add std::
14752 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14753 (workAreaButtonPress): adjust
14754 (tripleClick): adjust
14756 (moveCursorUpdate): adjust
14759 * BufferView2.C (gotoInset): adjust
14761 2001-05-30 Juergen Vigna <jug@sad.it>
14763 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14764 to check pspell I add this as default as I now have new pspell
14765 libraries and they seem to use this.
14767 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14769 * text2.C (CutSelection): make the cursor valid before the call to
14772 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14774 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14775 relied on 0 terminated strings and other horrors. Bug found due to
14776 the new assert in lyxstring!
14778 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14781 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14783 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14786 * lyxfunc.C (processKeySym): change method of getting to the
14789 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14790 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14791 * BufferView_pimpl.[Ch]: here as private methods.
14793 2001-05-28 Juergen Vigna <jug@sad.it>
14795 * text.C (SetHeightOfRow): added the update() call again as it is
14796 needed to initialize inset dimensions!
14798 2001-05-16 Juergen Vigna <jug@sad.it>
14800 * text2.C (SetCharFont): Add new function with BufferView * and
14801 bool toggleall parameters for setting insets internal fonts.
14802 (SetFont): Freeze the undo as we may change fonts in Insets and
14803 all this change should be inside only one Undo!
14805 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14806 setting font's in insets as for them we have the SetFont function!
14808 2001-05-15 Juergen Vigna <jug@sad.it>
14810 * text2.C (ClearSelection): to be sure we REALLY don't have any
14813 * tabular.C (TeXCellPreamble): fixed the left border problem for
14816 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14818 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14821 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14823 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14824 LFUN_BREAKPARAGRAPH.
14826 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14827 help test to "internal only", similar for LFUN_INSERT_URL
14829 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14830 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14831 auto_region_delete and deadkeys.
14833 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14836 * LColor.C: remove some dead entries, tidy a little
14838 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14840 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14842 (Dispatch): implement LFUN_ESCAPE
14844 * commandtags.h: add LFUN_ESCAPE
14846 * LyXAction.C (init): add entry for LFUN_ESCAPE
14848 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14849 Remove commented code.
14850 (insertNote): moved here
14851 (open_new_inset): moved here
14853 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14856 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14858 * kbmap.C (findbinding): clean it up and make it work correctly.
14860 * lyx_main.C (init): do not pass argc and argv as parameters
14862 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14864 * buffer.C: fix path for OS/2 & Win32
14868 * lyx_main.C: Added os:: class.
14870 * os2_defines.h: update
14872 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14874 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14875 better by trying again with reduced state.
14877 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14879 * lyxrc.C (read): print error about invalid key sequence only when
14880 debugging (because not all latinX keysyms are known to some X
14883 * kbsequence.C (getiso): add a few std:: qualifiers
14884 (getiso): comment out extra return statement.
14886 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14888 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14890 (Dispatch): enhance the accent inset a bit. (not perfect)
14892 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14894 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14896 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14898 * bufferlist.C (emergencyWrite): fix assert() call
14900 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14902 * text.C (InsertChar): Added trivial patch to only send the "you
14903 can not do multiple spaces this way" message once during a
14906 2001-05-08 Baruch Even <baruch@lyx.org>
14908 * Makefile.am: Changed order of libraries to get LyX to link properly
14909 with the gnome frontend.
14911 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14913 * LaTeXFeatures.h: add a std:: qualifier
14915 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14917 * paragraph.C (String): use stringstream
14919 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14921 * paragraph.C (writeFile): remove footflag arg
14923 * buffer.C (makeLaTeXFile): use stringstream
14924 (latexParagraphs): remove footnot gurba
14926 * LaTeXFeatures.C (getPackages): use stringstream
14927 (getMacros): likewise
14928 (getTClassPreamble): likewise
14929 (getFloatDefinitions): new method
14931 * paragraph.C (writeFile): reindent
14934 * WorkArea.h: revert the xpos + etc changes.
14936 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14938 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14940 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14941 (pasteSelection): likewise
14942 * text2.C (CreateUndo): likewise
14944 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14946 * minibuffer.C (peek_event): temporarily reduce the functionality
14947 of the minibuffer (to allow args on lfuns)
14949 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14950 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14952 * buffer.C (readInset): add compability reading of old float
14953 lists, add reading of new style float list.
14954 (readInset): avoid reevaluation of inscmd.getCmdName()
14955 (getLists): reindent
14957 * MenuBackend.C (MenuItem): implement parsing of
14958 md_floatlistinsert and md_floatinsert.
14959 (expand::LastFiles): move initalizaton of iterators out of loop,
14960 avoid reevaluation.
14961 (expand::Documents): introduce typdedef vector<string> Strings,
14963 (expand::ExportFormats): introduce typedef vector<Format const *>
14964 Formats, and use it.
14965 (expand): implement FloatListInsert and FloatInsert.
14967 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14968 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14969 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14971 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14973 (Dispatch::LFUN_FLOAT_LIST): implement
14975 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14977 * LaTeX.C (run): Fix problem with --export code.
14979 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14981 * BufferView.[Ch] (workarea): removed.
14982 (getClipboard) new method; wrapper for workarea()->getClipboard()
14984 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14987 * WorkArea.h (width, height, xpos, ypos): These methods all
14988 returned the dimensions of the work_area sub-area of WorkArea,
14989 resulting in a position error if the WorkArea were resized. Now
14990 return the dimensions of the entire WorkArea.
14992 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14994 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14996 * LaTeX.C (deplog): correct the syntax of regex reg1
14998 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15000 * undo.C: remove !NEW_INSETS cruft
15002 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15004 * text2.C: remove !NEW_INSETS cruft
15006 * text.C: remove !NEW_INSETS cruft
15008 * tabular.C: remove !NEW_INSETS cruft
15010 * spellchecker.C: remove !NEW_INSETS cruft
15012 * lyxtext.h: remove !NEW_INSETS cruft
15014 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15016 * lyxfunc.C: remove !NEW_INSETS cruft
15018 * lyxfind.C: remove !NEW_INSETS cruft
15020 * lyx_cb.C: remove !NEW_INSETS cruft
15022 * figureForm.C: remove !NEW_INSETS cruft
15024 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15026 * buffer.[Ch]: remove !NEW_INSETS cruft
15028 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15030 * CutAndPaste.C: remove !NEW_INSETS cruft
15032 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15034 * BufferView2.C: remove !NEW_INSETS cruft
15036 * BufferView.h: remove !NEW_INSETS cruft
15038 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15040 * Lsstream.h: include LString.h before the sstream headers to
15041 fix problem with gcc 2.95.3 and lyxstring
15043 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15045 * lyx_main.C: add using directives when needed for C functions
15046 declared in std:: namespace.
15048 2001-04-27 Juergen Vigna <jug@sad.it>
15050 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15051 (SetHeightOfRow): comment out the update call should not be needed!
15053 2001-04-13 Juergen Vigna <jug@sad.it>
15055 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15056 (LyXTabular): tried to minimize operator= operations (and realized
15057 hopfully Lars wish).
15059 2001-04-27 Juergen Vigna <jug@sad.it>
15061 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15063 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15065 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15067 * buffer.C (readInset): hack to make listof algorithm work
15069 * BufferView_pimpl.C: hack to make listof algorithm work
15071 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15073 * LyXAction.C: removed all !NEW_INSETS cruft
15074 (init): moved lfun_item in method
15076 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15078 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15080 * BufferView2.C (theLockingInset): white space.
15082 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15084 * minibuffer.C: include <iostream>
15086 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15088 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15090 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15092 * text.[Ch] (TransposeChars): new method
15094 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15096 * call message directly through LyXView instead of through LyXFunc
15097 * BufferView2.C: adjust
15098 * BufferView_pimpl.C: adjust
15099 * FontLoader.C: adjust
15101 * bufferview_funcs.C: adjust
15102 * converter.C: adjust
15103 * figureForm.C: adjust
15104 * importer.C: adjust
15106 * lyx_gui_misc.C: adjust
15107 * lyxfunc.C: adjust
15110 + more files in subdirs
15112 * lyxparagraph.h (size): move up int file
15115 * adjust all uses of Assert to lyx::Assert.
15117 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15118 lyxfunctional in namespace lyx
15119 * layout.C (hasLayout): ditto
15122 (delete_layout): ditto
15123 (NumberOfClass): ditto
15124 * converter.C (GetFormat): ditto
15129 * bufferlist.C (getFileNames): ditto
15130 (emergencyWriteAll): ditto
15133 * MenuBackend.C (hasSubmenu): ditto
15136 * BufferView_pimpl.C (getInsetByCode): ditto
15138 2001-04-18 Juergen Vigna <jug@sad.it>
15140 * vspace.C (asLatexString): fixed the 100% problem.
15142 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15144 * lyxfunc.C (Dispatch):
15146 * minibuffer.h: add a few std:: qualifiers
15148 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15150 * minibuffer.[Ch]: reimplement so that commands is initiated and
15151 run from lyxfunc, simplified som handling, and made the completion
15152 and history code for complete. wip.
15154 * lyxfunc.C (processKeySym): call message
15155 (miniDispatch): new temporary method
15156 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15157 (LFUN_MESSAGE): implement
15158 (LFUN_MESSAGE_PUSH): implement
15159 (LFUN_MESSAGE_POP): implement
15160 (initMiniBuffer): the initial/defualt minibuffer message.
15162 * lyxfont.[Ch]: inline some more getters
15164 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15166 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15168 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15169 (AutoSave): use LFUN_MESSAGE
15170 (Reconfigure): ditto
15172 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15174 * figureForm.C: use LFUN_MESSAGE
15176 * converter.C (runLaTeX): use LFUN_MESSAGE
15178 * bufferview_funcs.C: use LFUN_MESSAGE
15180 (changeDepth): ditto
15182 * bufferparams.h: use boost::
15184 * bufferlist.h: inherit privately from noncopyable
15186 * bufferlist.C (loadLyXFile): remove some commented code.
15188 * buffer.C (runChktex): use LFUN_MESSAGE
15190 * ShareContainer.h: inherit privately from noncopyable
15192 * ParagraphParameters.[hC] (depth): inline it.
15194 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15196 (message): new method
15197 (messagePush): ditto
15198 (messagePop): ditto
15199 (show): init minibuffer
15200 (showState): direct call
15202 * LaTeX.[Ch]: inherit privately from noncopyable
15203 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15204 instead of WriteStatus.
15206 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15208 * BufferView_pimpl.C (buffer): don't init minibuffer
15209 (workAreaButtonPress): use LFUN_MESSAGE
15210 (workAreaButtonRelease): ditto
15211 (savePosition): ditto
15212 (restorePosition): ditto
15213 (MenuInsertLyXFile): ditto
15214 (workAreaExpose): don't init minibuffer
15215 (update): remove commented code, simplify
15217 * BufferView2.C (openStuff): use LFUN_MESSAGE
15218 (toggleFloat): ditto
15221 (copyEnvironment): ditto
15222 (pasteEnvironment): ditto
15227 (updateInset): remove some commented code
15229 * lastfiles.h: inherit privately from noncopyable
15232 * lyx_main.h: ditto
15234 * lyxlex_pimpl.h: ditto
15236 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15237 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15238 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15240 * LyXAction.h: inherit privately from noncopyable, add methods
15241 func_begin, func_end, returning iterators to the func map.
15243 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15244 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15245 (func_begin): new method
15246 (func_end): new method
15248 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15250 (copySelection): ditto
15251 (pasteSelection): ditto
15253 * BufferView.C: whitespace change
15254 * BufferView.h: inherit privately from noncopyable
15256 2001-04-16 Allan Rae <rae@lyx.org>
15258 * tabular-old.C (l_getline):
15259 * spellchecker.C (sc_check_word):
15260 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15261 an unrecognised preprocessor directive. So ensure they're wrapped.
15263 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15265 * src/exporter.C (Export): Give an error message when path to file
15268 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15270 * LaTeX.C (deplog): Always check that foundfile exists.
15272 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15275 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15277 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15279 * tabular.[Ch] (getLabelList): implement new method
15281 * minibuffer.h: comment ouf setTiimer
15283 * minibuffer.C (ExecutingCB): constify res
15284 (peek_event): constify s
15285 (Set): constify ntext
15286 (Init): constify nicename
15288 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15290 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15291 (savePosition): use two params to Minibuffer::Set
15292 (restorePosition): ditto
15294 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15296 * lyx_main.C: include language.h
15298 * Makefile.am (lyx_main.o): add language.h
15300 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15306 * CutAndPaste.C: include gettext.h
15308 * lyxfont.h: remove old hack with ON and OFF.
15311 * lyxfont.h: do not include language.h...
15316 * bufferview_funcs.C:
15322 * paragraph.C: ... but do it here instead
15324 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15326 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15328 * tabular.C: small reformat
15330 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15333 (BreakParagraph): ditto
15334 (SetOnlyLayout): ditto
15337 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15340 * lastfiles.C: removed most using decl, add std:: where needed
15342 * buffer.C: ws changes
15344 * MenuBackend.C (class compare_format): put into anon namespace
15345 (expand): constify label, names, action, action2
15348 * text.C (SingleWidth): constify font
15349 (IsBoundary): constify rtl2
15350 (GetVisibleRow): constify ww
15352 * LaTeX.C (deplog): constify logfile
15354 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15356 (workAreaExpose): constify widthChange, heightChange
15358 * lyxrow.C (par): moved
15361 * lyxrow.h: as inlines here
15363 * lyxfont.h (shape): moved from lyxfont.C
15364 (emph): moved from lyxfont.C
15366 * lyxfont.C (LyXFont): use initialization list for all
15368 (shape): move to lyxfont.h as inline
15369 (emph): move to lyxfont.h as inline
15372 2001-04-04 Juergen Vigna <jug@sad.it>
15374 * vspace.C: had to include stdio.h for use of sscanf
15376 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15379 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15380 independent of xforms.
15382 2001-04-02 Juergen Vigna <jug@sad.it>
15384 * spellchecker.C: fixed namespace placing!
15386 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15388 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15389 the LyXParagraph * is 0.
15391 2001-03-29 Juergen Vigna <jug@sad.it>
15393 * vspace.C: added support for %, c%, p%, l%.
15394 (stringFromUnit): added helper function.
15395 (asLatexString): changed to give right results for the %-values.
15397 * buffer.C: convert the widthp in a width%.
15399 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15401 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15404 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15405 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15407 * lyx_cb.[Ch]: see above.
15409 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15413 * lyx.[Ch]: replaced by figure_form.[Ch].
15417 * lyxfunc.C: changed headers associated with above changes.
15419 2001-03-27 Juergen Vigna <jug@sad.it>
15421 * BufferView_pimpl.C: set the temporary cursor right!
15423 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15425 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15427 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15429 * LString.h: removed "using std::getline"!
15431 * BufferView_pimpl.C (Dispatch): changes due to changes in
15432 InsetInclude::Params.
15434 * buffer.C (tag_name): removed redundant break statements as they were
15435 producing lots of warnings with my compiler.
15437 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15439 * LString.h: add "using std::getline" when using the real <string>.
15441 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15443 * buffer.C: removed bitset usage.
15444 PAR_TAG moved to an anonymous name space.
15445 (tag_name): new funtion, also in the anonymous namespace.
15446 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15447 (makeDocBookFile): clean code. Completed transition from string arrays
15449 (SimpleDocBookOnePar): code clean.
15451 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15453 * tabular.C: add some comments.
15455 2001-03-22 Juergen Vigna <jug@sad.it>
15457 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15458 compatibility read a bit and fixed bug with minipage in different
15461 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15463 * buffer.C (pop_tag): removed.
15464 (push_tag): removed.
15465 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15466 array replaced with vector. Added support for CDATA sections.
15467 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15469 (makeDocBookFile): XML conformant declaration of CDATA section,
15470 fixed bug related to <emphasis> in the first paragraph char.
15471 (sgmlOpenTag): exclude empty tags.
15472 (sgmlCloseTag): ditto.
15474 * buffer.h (pop_tag): removed.
15475 (push_tag): removed.
15477 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15479 * language.h (Languages): added size_type and size().
15481 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15483 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15484 response on compability reading of minipages. One probliem is that
15485 the old usage of minipages was «flertydig»
15487 * several files here and in subdirs: don't use static at file
15488 scope use anon namespaces instead.
15490 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15492 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15493 LaTeX output. This is necessary for Literate document
15496 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15498 * buffer.C: insert hfill when needed.
15500 * tabular.C (l_getline): use string::erase, small whitespace change.
15502 * BufferView_pimpl.C: try the anon namespace.
15503 * WorkArea.C: ditto
15505 2001-03-16 Juergen Vigna <jug@sad.it>
15507 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15508 otherwise it won't open options-dialogs.
15510 * buffer.C: honor pextraWidth(p) on converting minipages.
15512 * tabular.C (l_getline): changed the functions to strip trailing \r.
15514 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15516 * BufferView_pimpl.C:
15517 * minibuffer..C: added "using SigC::slot" declaration.
15519 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15521 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15527 * paragraph.C: ditto
15529 * lyxtext.h: NO_PEXTRA
15531 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15533 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15534 * ParameterStruct.h: ditto
15535 * ParagraphParameters.h: ditto
15536 * lyxparagraph.h: ditto
15538 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15540 * buffer.C: add compability for minipage alignment.
15541 (latexParagraphs): remove unwanted pextra check.
15543 * several files: remove CXX_WORKING_NAMESPACES
15545 * buffer.C (pop_tag): tie is in namespace boost
15547 * BufferView.h: noncopyable is in namespace boost
15549 * lyx_main.h: ditto
15552 * lastfiles.h: ditto
15553 * bufferlist.h: ditto
15554 * ShareContainer.h: ditto
15556 * LyXAction.h: ditto
15559 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15561 * Merging changes from BRANCH_MVC back into HEAD.
15563 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15565 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15567 * BufferView_pimpl.C: change from intl.C
15571 * Makefile.am: move combox.*
15577 * intl.C: remove dialog (covered by prefs)
15579 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15581 * lyxfunc.C (Dispatch): removed redundant break statement.
15583 2001-03-14 Juergen Vigna <jug@sad.it>
15585 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15587 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15589 * buffer.C: add hack to fix compability reading of minipages.
15591 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15593 * buffer.C (getLists): Cleanup.
15595 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15597 * lyxfont.C (update): don't honor toggleall on font size.
15599 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15603 * Makefile.am: moved to frontends/xforms/
15607 * BufferView_pimpl.C: changes for moved mathpanel
15609 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15611 * gettext.h: fix gettext_init() in --disable-nls
15613 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15615 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15617 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15620 * lyx.h: strip external form
15622 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15624 * BufferView_pimpl.C: add comment, destroySplash()
15626 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15628 * BufferView_pimpl.C:
15632 * lyxfunc.C: use re-worked insetinclude
15634 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15636 * buffer.C: add using std::stringstream.
15638 * lyx_cb.C: readd using std::ios.
15640 * buffer.C: add using std::map.
15642 * BufferView_pimpl.C: add using std::vector.
15644 * ShareContainer.h: add std:: to swap.
15646 * buffer.h: add some typedefs
15647 * buffer.C (getLists): use them
15648 (getLists): renamed from getTocList.
15649 add a counter for the different float types and use it in the
15651 (getLists): use the same counter for the NEW_INSETS and the "non"
15654 * lyx_cb.h: remove unused items, includes, using etc.
15656 * ShareContainer.h: remove some commented code, add more comments
15657 and "documentation".
15659 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15661 * buffer.C (getTocList): make the list also when NEW_INSETS is
15664 * buffer.h: remove TocType
15666 * buffer.C (getTocList): change to return a map<string,
15667 vector<TocItem> >, implement for dynamic number of list.
15669 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15670 * text2.C (PasteSelection): adjust
15671 * CutAndPaste.C (pasteSelection): adjust
15673 * FloatList.C (FloatList): update from the new_insets branch.
15674 * Floating.[Ch]: ditto
15675 * LaTeXFeatures.C: ditto
15677 * lyxlex_pimpl.C: ditto
15679 * paragraph.C (Last): remove when NEW_INSETS is defined.
15681 * other file: changes because of the above.
15683 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15685 * lyxparagraph.h: rename next to next_, previous to previous_,
15686 make them private for NEW_INSETS. Rename Next() to next(),
15687 Previous() to previous().
15689 * other files: changes because of the above.
15691 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15694 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15697 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15699 * main.C (main): pass lyx_localedir to gettext_init().
15701 * gettext.h: remove locale_init and gettext_init macros
15703 * gettext.C (locale_init): new function
15704 (gettext_init): new function
15706 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15709 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15711 * Moved credits to frontends:
15712 * credits.[Ch]: removed
15713 * credits_form.[Ch]: removed
15714 * lyx_gui_misc.C: remove credits stuff
15717 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15719 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15721 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15722 unneeded destructor.
15724 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15725 a standalone pointer again.
15727 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15729 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15735 * ToolbarDefaults.C:
15744 * BufferView_pimpl.C: use new file dialog in GUII
15747 * lyx_cb.C: remove LayoutsCB to Toolbar
15749 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15751 * ShareContainer.h (get): add std:: qualifier
15753 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15755 * ShareContainer.h: define a proper ShareContainer::value_type
15756 type (and use typename to please compaq cxx)
15758 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15760 * lyxparagraph.h: move serveral local vars to
15761 ParameterStruct/ParagraphParameters., use ShareContainer in
15762 FontTable., make vars in FontTable private and add getter and
15765 * paragraph.C: changes because of the above.
15767 * lyxfont.h: remove copy constructor and copy assignment. (the
15768 default ones is ok), move number inside FontBits. move inlines to
15771 * lyxfont.C: add number to initializaton of statics, move several
15772 inlines here. constify several local vars. some whitespace
15773 cleanup. Dont hide outerscope variables.
15775 * Spacing.h: add two new constructors to match the set methods.
15777 * ShareContainer.h: new file, will perhaps be moved to support
15779 * ParameterStruct.h: new file
15781 * ParagraphParameters.h: new file
15783 * ParagraphParameters.C: new file
15785 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15786 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15788 * BufferView_pimpl.C: ParagraphParameter changes.
15789 * buffer.C: Likewise.
15790 * bufferview_funcs.C: Likewise.
15791 * text.C: Likewise.
15792 * text2.C: Likewise.
15794 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15796 * lyxfind.C (LyXReplace): do not redefine default argument in
15798 (IsStringInText): ditto
15799 (SearchForward): ditto
15800 (SearchBackward): ditto
15802 2001-03-06 Juergen Vigna <jug@sad.it>
15804 * lyxfind.C (IsStringInText): put parentes around expressions.
15806 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15808 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15810 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15812 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15814 * stl_string_fwd.h: add comment
15816 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15819 * tabular.C: remove unused DocBook methods
15825 killed DO_USE_DEFAULT_LANGUAGE
15827 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15829 * lyx_gui.C: do not include language.h.
15831 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15832 arguments in function implementation.
15834 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15836 * BufferView_pimpl.C: add <ctime>
15838 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15840 * BufferView_pimpl.C: add using std::find_if
15842 2001-02-27 José Matos <jamatos@fep.up.pt>
15844 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15847 2001-02-11 José Matos <jamatos@fep.up.pt>
15849 * buffer.C (makeDocBookFile): command styles now have a parameter as
15850 "title" by default.
15852 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15854 * layout_forms.[Ch]: removed
15855 * lyx_cb.[Ch]: out character
15856 * lyx_gui.C: out character
15857 * lyx_gui_misc.C: out character
15858 * bufferview_funcs.C: : out character,
15859 added toggleall as parameter in ToggleAndShow
15861 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15863 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15865 * text2.C (SetCurrentFont): Disable number property at boundary.
15867 2001-02-26 Juergen Vigna <jug@sad.it>
15869 * lyxfunc.C (getStatus): added a string argument override function so
15870 that this is correctly called from LyXFunc::Dispatch if it contains a
15871 do_not_use_argument which is used!
15872 (Dispatch): added check for "custom" export and call appropriate func.
15874 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15876 * lyxrc.C: Add language_command_local, language_use_babel and
15877 language_global_options.
15879 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15881 * buffer.C (makeLaTeXFile): Use language_use_babel and
15882 language_global_options.
15884 2001-02-23 Juergen Vigna <jug@sad.it>
15886 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15887 which works with LyXText and putted it inside BufferView. Here now we
15888 only call for that part the BufferView::Dispatch() function.
15890 * BufferView.C (Dispatch): added.
15892 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15893 functions which needs to use a LyXText over from LyXFunc.
15894 (MenuInsertLyXFile): added
15895 (getInsetByCode): added
15896 (moveCursorUpdate): added
15897 (static TEXT): added
15899 2001-02-22 Juergen Vigna <jug@sad.it>
15901 * BufferView_pimpl.C (update): call a status update to see if LyXText
15904 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15906 * vc-backend.C (revert): implement for CVS
15907 (getLog): implement for CVS
15909 2001-02-20 Juergen Vigna <jug@sad.it>
15911 * text2.C (ClearSelection): added BufferView param for inset_owner call
15913 * lyxfunc.C (TEXT): added this function and use it instead of
15914 directly owner->view()-text of getLyXText().
15916 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15918 * src/layout_forms.C: out preamble
15919 * src/layout_forms.h: out preamble
15920 * src/lyx_cb.C: out preamble
15921 * src/lyx_cb.h: out preamble
15922 * src/lyx_gui.C: out preamble
15923 * src/lyx_gui_misc.C: out preamble
15924 * src/lyxfunc.C: connect with guii preamble
15926 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15928 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15930 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15932 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15933 whether to run bibtex.
15935 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15937 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15939 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15941 * Makefile.am (lyx_SOURCES): removed bibforms.h
15943 * vspace.h: doxygen
15945 * text.C (GetVisibleRow): make several local vars const
15947 * tabular.C: small cleanup.
15949 * lyxserver.C (callback): use compare instead of strncmp
15951 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15952 inlines to after class or to paragraph.C
15954 * lyxfont.h: remove friend operator!=
15956 * converter.h: move friend bool operator< to non friend and after
15959 * combox.h: small cleanup
15961 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15962 to inlines after class def.
15964 * buffer.C (pop_tag): use string operations instead of strcmp
15966 * bmtable.c: doxygen, small cleanup
15968 * LaTeX.h: remove friend operator==
15970 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15982 * BufferView_pimpl.C:
15983 * BufferView.[Ch]: remove cruft
15985 2001-02-14 Juergen Vigna <jug@sad.it>
15987 * lyxfunc.C: removed #if 0 unused code
15989 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15991 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15993 * text2.C (SetSelection): added a BufferView * parameter
15995 2001-02-13 Juergen Vigna <jug@sad.it>
15997 * lyxfunc.C (Dispatch): fixed protected blank problem.
15998 * BufferView2.C (protectedBlank): added LyxText * parameter.
16000 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16001 (AppendColumn): same as above for column_info.
16003 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16004 (moveCursorUpdate): use a LyXText param for support of InsetText.
16006 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16007 (tripleClick): ditto
16009 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16011 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16013 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16015 * text2.C (SetSelection): set correct update status if inset_owner
16016 (ToggleFree): ditto
16018 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16020 * tabular.C: remove some commented code.
16022 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16024 * BufferView_pimpl.C: call hideSplash()
16026 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16029 * bibforms.h: remove
16032 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16033 add LFUN_CHILD_CREATE
16035 * counters.h: fix tiny typo
16040 * lyx.C: move splash to frontends/xforms/
16042 * lyx_gui_misc.C: move Include and Bibform to frontends
16044 * lyxvc.h: clarify comment
16046 * vspace.C: tiny housekeeping
16048 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16050 * text.C (PrepareToPrint): RTL Fix.
16052 * paragraph.C (GetUChar): New method.
16053 (String): Use GetUChar.
16055 * buffer.C (asciiParagraph): Use GetUChar.
16057 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16059 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16061 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16064 * buffer.C: rename to getLogName(), handle
16065 build log / latex log nicely
16067 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16070 * MenuBackend.h: remove support for reference menuitem type.
16072 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16074 * BufferView_pimpl.C: housekeeping
16075 * BufferView_pimpl.h:
16080 * minibuffer.h: move Timeout GUI-I
16082 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16084 * lyxrc.C (read): Update converters data-structures.
16086 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16088 * LaTeX.h (operator!=): add operator != for Aux_Info
16090 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16092 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16094 * LaTeXLog.C: deleted, useful code moved to Buffer
16097 * buffer.C: new function getLatexLogName()
16103 * lyxfunc.C: use frontends for LaTeX and VC logs
16105 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16107 * LaTeX.h: yet another std:: that Allan forgot.
16109 * Variables.C (set): renamed from isset(), because this clashes
16110 with some HP-UX macros (grr).
16112 2001-02-06 Allan Rae <rae@lyx.org>
16114 * LaTeX.h: Another bug fix. Missing std:: this time.
16116 2001-02-04 Allan Rae <rae@lyx.org>
16118 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16119 floats problem. I've left it commented out because it's not quite
16120 correct. It should also test that the current object is a table or
16121 figure inset. But I haven't gotten around to figuring out how to do
16122 that. I *think* it'll be something like: "table" == inset.type()
16124 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16127 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16129 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16130 all the citation/databases/styles in the auxilary file.
16131 (run): Rerun latex if there was a babel language error.
16133 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16135 * text.C (Backspace): Preserve the font when changing newline char
16137 (BreakParagraph): If the cursor is before a space, delete the space.
16139 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16141 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16143 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16144 new argument (code).
16145 (ChangeCitationsIfUnique): New method.
16147 * paragraph.C (GetPositionOfInset): Handle bibkey.
16149 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16151 * BufferView_pimpl.h: change type of Position::par_pos to
16152 LyXParagraph::size_type.
16154 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16156 * BufferView_pimpl.C (savePosition, restorePosition): Write
16157 messages to minibuffer.
16159 2001-01-28 José Matos <jamatos@fep.up.pt>
16161 * buffer.C (makeDocBookFile): adds support for document language.
16162 A silly restriction on the name of LatexCommand types where removed.
16163 Added support for CDATA sections, allows to chars unescaped, used
16164 among others in code, to avoid escape < and >.
16166 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16168 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16169 saved positions instrad of a stack. Furthermore, a position is
16170 stored using paragraph id/paragraph position.
16172 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16173 Remove LFUN_REF_BACK.
16175 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16177 * converter.C (dvipdfm_options): New method.
16179 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16181 * vspace.C (isValidLength): Fix for empty input string.
16183 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16185 * LyXAction.C (init): change description of LFUN_FIGURE to
16188 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16190 * LaTeX.C: add using directive
16192 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16194 * MenuBackend.C (expand): Fix the sorting of the formats.
16196 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16198 * lyx_main.C: tiny error message fix
16200 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16202 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16203 calling fl_initialize(). This fixes the problem with ',' as
16204 decimal separator in text files.
16206 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16208 * trans.C (process): Fix the keymap bug.
16210 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16212 * LaTeX.C (scanAuxFiles): New method. Provides support for
16213 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16214 (scanLogFile) Scan for "run BibTeX" messages.
16216 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16217 OT1 font encoding. Also, load the aecompl package if the ae
16220 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16222 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16224 * texrow.C (increasePos): turn two error messages into debug
16227 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16229 * LaTeX.C (scanAux): Handle the \@input macro.
16230 (runBibTeX): Use scanAux().
16232 * language.C (latex_options_): New field.
16234 * LaTeXFeatures.C (getMacros): Add language macros.
16236 * buffer.C (makeLaTeXFile): Small fix.
16238 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16240 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16242 * text2.C: add a using directive.
16244 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16249 * lyxfunc.C: kill LyXBell.
16251 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16253 * text.C (IsBoundary): Remove the error message
16255 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16257 * lyxrc.C (setDefaults): Correct initialization value for
16260 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16262 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16265 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16266 and GotoNextNote().
16268 * src/LyXAction.C: Added reference-next.
16270 * text.C (InsertChar): Use contains instead of strchr.
16272 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16274 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16276 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16277 alignment commands (when needed).
16279 * text.C (InsertChar): Add ':' to number separator chars.