1 2004-10-25 José Matos <jamatos@lyx.org>
3 * sgml.C (escapeString): import the require boosts header file for
4 tie, and avoid a signed unsigned comparison.
6 2004-10-25 José Matos <jamatos@lyx.org>
8 * sgml.h: add #include <string>
10 2004-10-25 José Matos <jamatos@lyx.org>
12 * sgml.[Ch] (escapeString): new function to escape all the string.
14 2004-10-24 José Matos <jamatos@lyx.org>
16 * paragraph.[Ch] (getFirstWord): new function to get the first
17 word. Useful for description.
18 (simpleDocBookOnePar): remove depth argument, add another that
19 says where to start the paragraph.
21 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
22 use the new functions to fix cleanly the support for descriptions.
24 2004-10-24 José Matos <jamatos@lyx.org>
26 * buffer.C (makeLinuxDocFile, makeDocBookFile):
27 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
28 * output_linuxdoc.C (linuxdocParagraphs):
29 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
30 add buffer as argument.
32 2004-10-24 José Matos <jamatos@lyx.org>
34 * output_docbook.C (makeEnvironment, searchEnvironment): place
35 CDATA inside paragraphs and fix scope for listitems.
37 2004-10-24 José Matos <jamatos@lyx.org>
39 * output_docbook.C: remove using statement for stack.
41 2004-10-23 José Matos <jamatos@lyx.org>
43 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
44 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
45 docbook. The new scheme is recursive and makes use of iterators, the
46 same as latex export works.
47 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
48 directly with the paragraph contents. This code was moved up to
49 output_docbook.C (docbookParagraphs).
50 * sgml.C (openTag, closeTag): removed unneeded newlines.
51 (closeEnvTags) removed.
53 2003-10-23 André Pönitz <poenitz@gmx.net>
55 * undo.C (textUndoOrRedo):
56 * dociterator.C (asDocIterator): work around crash
58 * cursor.C (getStatus): replace ASSERT by more verbose error message
59 and manual correction of the problem. Should increase stability
60 while providing more sensible information.
62 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
64 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
66 * bufferlist.C (previous, next): new methods
69 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
71 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
73 * buffer.C (makeDocBookFile): add dsssl stylesheet control
76 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
78 * messages.C (Pimpl): strip off translation context information
80 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
83 the cursor is correct (bug 1694)
85 2004-10-13 José Matos <jamatos@lyx.org>
87 * output_docbook.C (docbookParagraphs): fix closing tags in the
90 2004-10-09 José Matos <jamatos@lyx.org>
92 * buffer.C: format up to 237.
93 * bufferparams.C (write): use tostr to convert booleans to strings.
95 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
97 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
99 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
101 * LaTeX.C: implement use of babel language in xindy.
103 2004-10-05 José Matos <jamatos@lyx.org>
105 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
106 Add new translators to help reading and writing the lyx file.
108 2004-10-05 José Matos <jamatos@lyx.org>
110 * ParagraphParameters.C (read):
111 * text.C (readParToken): replace nexToken by more appropriate lex
114 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
116 * LaTeX.C (runMakeIndex):
117 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
118 (usually 'makeindex') configurable.
120 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
121 with a variable rather than with a number.
123 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
125 * output_latex.C (TeXOnePar): make sure font setting is the first
126 thing that gets output (and the last at the end). Should fix bug
129 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
131 * pch.h: use proper signal include
133 * LaTeX.h: Use preferred calling of Boost.Signal
136 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
138 * pch.h: dont include <boost/function/function0.hpp>
140 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
142 * paragraph_pimpl.h: remove usage of ShareContainer
144 * paragraph_pimpl.C: remove initialization of ShareContainer.
146 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
150 * BufferView.C (putSelectionAt): change the semantics when
151 backwards == true: now, this just swaps cursor and anchor wrt the
154 * BufferView.h (putSelectionAt): add some documentation
156 * lyxfind.C (findBackwards): rewrite using while(). In particular,
157 make sure backwardChar is done at least once (to avoid getting
159 (findNextChange): use putSelectionAt in the forward direction
160 (operator()): use Paragraph::isWord
162 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
164 * Spacing.C (set): c_str fix
166 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
168 * lyx_cb.C (Reconfigure): quote the name of configure script in
169 case it contains spaces
171 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
175 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
176 (BOOST_LIBS): use top_buildir when looking for the file
178 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
180 * pch.h: do not use include boost/format.hpp, multiple symbols
181 will result (gcc bug)
184 2004-08-23 José Matos <jamatos@lyx.org>
186 * bufferparams.C (readToken): fix reading of the author field.
188 2004-08-20 José Matos <jamatos@lyx.org>
190 * lyxrc.C: remove support/translator.h inclusion since it is not used.
192 2004-08-20 José Matos <jamatos@lyx.org>
194 * lyxlex.[Ch] (findToken): remove function.
196 * ParagraphParameters.C (findToken):
197 * bufferparams.C (findToken): replace call for previous function
198 with local copy. This local function has one more argument, the
199 read string argument.
201 2004-08-16 José Matos <jamatos@lyx.org>
203 * ParagraphParameters.C (write):
204 * Spacing.C (writeFile):
205 * bufferparams.C (writeLaTeX):
206 * lyx_cb.C (Reconfigure):
207 * paragraph.C (write):
208 * tabular.C (write): remove unnecessary space at end of line.
211 2004-08-16 José Matos <jamatos@lyx.org>
213 * text.C (readParagraph): remove debug message.
215 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
217 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
220 * output_plaintext.C (asciiParagraph): set depth correctly
222 * outputparams.h: add member depth
224 * paragraph_funcs.C (ownerPar): remove.
226 * text2.C (setCounter): remove first_pit; comment out some
227 non-working code that uses ownerPar
229 * BufferView.C (getParentLanguage): remove. Not used anymore, and
232 2004-08-16 José Matos <jamatos@lyx.org>
234 * text.C (readParToken, readParagraph, read): report all unknown tokens.
235 For the same level of importance use the same chanel to report problems.
236 (read): add code to deal with \begin_body and \end_body.
239 2004-08-15 José Matos <jamatos@lyx.org>
241 * lyxlex.C (getString): fix comment, buffer::readBody is now
244 * tex-strings.C (string_papersize): Default -> default,
245 Custom -> custom, for consistency with other options.
247 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
251 * Makefile.am: support pch
253 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * text.C (readParToken): remove the static LyXFont variable and
256 pass it as a parameter instead. This fixes a nasty bug where an
257 inset will be inserted with a bad font in some situations
258 (readParagraph): adapt
260 * text2.C (setCounter): reduce number of calls to pars_[pit]
262 * text.C (singleWidth): add an assert, fix a test
264 * rowpainter.C (paintText): reduce number of calls to singleWidth
266 * paragraph.C (isHfill):
269 2004-08-14 André Pönitz <poenitz@gmx.net>
274 * lyxtext.h (several functions): use a Paragraph & argument
277 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
279 * metricsinfo.h: add a new field ltr_pos to PainterInfo
281 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
283 * text.C (singleWidth): remove useless test
285 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
287 * tabular.h: remove bogus comments
289 * tabular.C (getDescentOfRow):
290 (isPartOfMultiColumn): add assertions
292 * lyxlength.C (inPixels): remove #warning
294 2004-08-14 André Pönitz <poenitz@gmx.net>
296 * paragraph.h: inline getChar()
298 * BufferView.h: remove unused declarations
300 2004-08-14 José Matos <jamatos@lyx.org>
302 * Buffer.[Ch] (readDocument): new name for old readBody.
303 * Buffer.C: new file format, new keywords: \begin_document,
304 \begin_header, \begin_body, \end_body.
306 * bufferparams.C (readToken): replace all calls to lex.nextToken
307 by lex.next(). Do the same to eatLine except where really needed.
309 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
310 line when writing to the lyx file.
312 * output_plaintext.C (asciiParagraph): fix Bibliography style
315 * text.C (read): fix end of file handling.
317 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * MenuBackend.C (Menu::operator[]): new method to access
320 individual menu items
321 (Menu::hasFunc): new method. search for an item that corresponds
323 (MenuBackend::specialMenu): new method
324 (MenuBackend::expand): if a special menu has been set, skip
325 entries whose func() appears in this menu
327 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
329 * text3.C: use Debug::DEBUG a bit more
331 * text.C (leftMargin): try to simplify a tiny bit change var x to
332 l_margin. Dont output the wide margins always.
333 (rightMargin): no margin in inner texts
335 * rowpainter.h (nestMargin): new func
336 (changebarMargin): new func
337 (rightMargin): new func
339 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
343 * factory.C (createInset): modify setDrawFrame
345 * cursor.C: use Debug::DEBUG a bit more
347 2004-08-14 André Pönitz <poenitz@gmx.net>
350 * Makefile.am: new files to accomodate an 'external' (x,y)-position
351 cache for all insets in (at least partially) visible (top-level)
354 * BufferView_pimpl.C: reset external coord cache before every update.
355 This means the coord cache only contains valid entries.
357 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
360 * BufferView_pimpl.C (getInsetByCode): move function out of class
361 and change in to a template in anon namespace. Also fix to do what
364 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
367 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
369 (breakParagraph): rename par to par_offset and use a local
370 reference. Add code to keep the language over a rebreak.
371 (breakParagraphConservative): rename par to par_offset, use a
373 (mergeParagraph): ditto
375 (isFirstInSequence): ditto
376 (outerFont): rename pit to par_offset
378 * paragraph.C: ws change
383 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
385 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
388 * paragraph.C (simpleTeXOnePar): when we have a \item with
389 optional argument, enclose the argument with curly brackets (in
390 case it contains a closing square bracket)
394 * text3.C (checkInsetHit): constify
396 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
401 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
403 Fix toggling of collapsable insets with the mouse (bug 1558)
405 * lyxfunc.C (dispatch): adapt to LCursor changes
407 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
408 make sure that dispatch is not invoked twice
410 * cursor.C (needsUpdate): new method
411 (dispatch): return void
412 (result): new method, to access the DispatchResult of the cursor.
414 2004-08-13 José Matos <jamatos@lyx.org>
416 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
418 2004-08-13 André Pönitz <poenitz@gmx.net>
420 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
422 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
425 2004-08-12 André Pönitz <poenitz@gmx.net>
427 * text3.C: take out the 'cursor right' form insertInset and only
428 do it in those places when it is really needed. Fixes crash on
431 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
433 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
435 * BufferView_pimpl.C (setBuffer): initialize the current font of
436 the underlying LyXText
438 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
440 * kbsequence.C (print): use UI native formatting for menu
443 * text.C (insertChar): call Paragraph::insertChar with a font
446 * paragraph.C (insertInset, insertChar): the version that takes a
447 LyXFont argument is now a wrapper around the other one (the
448 opposite used to be true).
450 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
451 argument. Font setting is done in Paragraph now.
453 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
455 * outputparams.h: add new members intitle and lang.
457 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
458 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
460 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
462 * text3.C (dispatch): remove special handling of button 4 and 5,
463 it is now taken care of in the frontend code.
465 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
467 * Spacing.h: add <string> (STLPort compile fix)
469 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
471 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
473 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
475 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
478 * converter.C (showMessage): inherit from unary_function, make
481 * buffer.C (writeFile): initialize retval
483 * InsetList.h: rename private variable list to list_
484 * InsetList.[Ch]: adjust accordingly.
486 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
488 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
489 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
490 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
491 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
492 * ParagraphParameters.C, LaTeXFeatures.C: replace
493 "support/std_sstream.h" with <sstream>
495 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
497 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
498 * lyxsocket.C (LyXServerSocket): ditto
499 (serverCallback): ditto
501 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
503 * LaTeXFeatures.C: check release date when loading jurabib.
505 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
507 * lyxserver.C (startPipe): call register_socket_callback
508 (endPipe): call unregister_socket_callback
510 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
512 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
513 (LyXServerSocket): register the callback
514 (LyXServerSocket): unregister the callback
515 (fd): delete function
516 (serverCallback): improve error checking and setup the callbacks.
517 (dataCallback): change arg to fd.
518 (writeln): new func (copied fro the client socket) used for server
520 (LyXDataSocket): simplify
521 (~LyXDataSocket): close ann unregiser callback
522 (server): delete function
523 (fd): delete function
524 (readln): small changes, improve some std::string usage
525 (writeln): constify a bit
527 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
529 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
532 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
534 * BufferView_pimpl.C (setBuffer): set the layout combox value only
535 after it has been populated
537 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
539 * text2.C (insertInset): move cursor when inserting inset.
541 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
543 * kbmap.C (findbindings): a couple of new methods. returns a
544 container of kb_sequence objects. The real work is done by the
545 private recursive version
546 (printbindings): uses findbindings to print out a bracketed list
547 of bindings (renamed from findbinding).
549 * MenuBackend.C (binding): use kb_keymap::findbindings
551 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
553 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
555 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
557 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
559 * paragraph.C (isWord): return true on insets that report
562 * text.C (getWord): use Paragraph::isWord to decide what is in a
563 word and what is not; fix bug 1609.
565 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
567 * tex-strings.C: add "none" to string_paperpackages[], fixes
568 off-by-one-error in the paperpackage selection.
571 * tex-strings.[Ch]: char const * string[n]
572 -> char const * const string[]
574 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
576 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
577 command, return early.
579 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
581 * debug.h: add DEBUG to enum and fix size of ANY.
583 * debug.C: add support for Debug::DEBUG
584 (showTags): cast errorTags.level to unsigned int
586 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
587 (redoCurrentBuffer): ditto
588 (updateScrollbar): ditto
589 * cursor.C (dispatch): ditto
590 * text2.C (setLayout): ditto
592 (updateCounters): ditto
594 (deleteEmptyParagraphMechanism): ditto
596 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
598 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
599 annotations to cleanup the Makefile slightly.
601 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
603 * lyxrc.C: do not set user_email to a default value but use empty
604 instead. The entry used to be translated, which does not work
605 since at the point where lyxrc is constructed there is no
606 translation service available
608 * messages.C (getLocaleDir): remove and use directly
609 lyx_localedir() instead
611 2004-06-02 Angus Leeming <leeming@lyx.org>
613 Fix crash caused by dereferencing null pointer 'exportdata' in
614 OutputParams by creating a new ExportData variable on the heap,
615 storing it in a boost::shared_ptr.
616 The crash was triggered when generating an Instant Preview
617 of an external inset.
619 * Makefile.am: add outputparams.C
621 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
622 (c-tor): allocate memory to it.
624 * exporter.C (c-tor): associated changes.
626 2004-06-01 Angus Leeming <leeming@lyx.org>
628 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
629 contains data before calling isInset(0). (Bug 1513.)
631 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
633 * exporter.C (checkOverwrite): new method
634 * exporter.C (copyFile): new method
635 * exporter.C (Export): copy referenced files to the document dir
636 * exporter.[Ch]: new class ExportedFile
637 * exporter.[Ch]: new class ExportData. Contains currently the
638 names of referenced external files
639 * outputparams.h: add exportdata member.
641 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
643 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
646 2004-05-19 Angus Leeming <leeming@lyx.org>
651 * lyxfunc.C: small changes due to the introduction of namespace
652 lyx::frontend and the moving of namespace biblio to lyx::biblio.
654 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
656 * text3.C (dispatch): supress update when only moving the cursor
657 * cursor.C (selHandle): remove commented code
659 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
661 * paragraph.C (startTeXParParams): correct column count
662 * CutAndPaste.C (pasteSelection): remove const_cast
663 * output_docbook.C (docbookParagraphs): remove const_cast
664 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
665 const_cast and return ParagraphList::const_iterator
666 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
667 * output_plaintext.C (writeFileAscii): remove const_cast
668 * paragraph.[Ch] (simpleTeXOnePar): make const
669 * paragraph_funcs.C (outerPar): use const iterators
670 * paragraph_pimpl.C (validate): use const iterators
671 * text.C (setHeightOfRow): use const iterators
673 2004-05-17 Angus Leeming <leeming@lyx.org>
676 * LyXAction.C (init): new LFUN_INSET_REFRESH.
678 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
679 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
680 if the citation engine has changed.
682 2004-05-14 José Matos <jamatos@lyx.org>
684 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
685 if the textclass does not provide it. Have it different for sgml and
687 support the language of document.
688 * output_docbook.C (docbookParagraphs):
689 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
690 first anchor as the id of the paragraph, remove special case code.
691 * sgml.C (escapeChar): escape only < & >.
693 2004-05-14 Angus Leeming <leeming@lyx.org>
695 * bufferparams.h: move biblio::CiteEngine enum here to minimize
696 dependencies on src/frontends/controllers/biblio.h. Define a
697 CiteEngine_enum wrapper class to enable the enum to be forward
700 2004-05-12 Angus Leeming <leeming@lyx.org>
702 * buffer.C: up LYX_FORMAT to 234.
703 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
704 use_numerical_citations with a single biblio::CiteEngine cite_engine
706 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
708 2004-05-13 José Matos <jamatos@lyx.org>
711 * converter.C (Converter, readFlags): add xml member.
712 * outputparams.h: add XML flavor.
713 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
715 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
717 * lyxfunc.C (dispatch):
718 (getStatus): fix handling of LFUN_SEQUENCE
720 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
722 * debug.C (showLevel): do not forget the end-of-line marker
724 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
726 * kbmap.C (read): do not stop parsing a bind file when an error
729 2004-04-29 Angus Leeming <leeming@lyx.org>
734 * text2.C: wrap a bunch of #warning statements
735 inside #ifdef WITH_WARNINGS blocks.
737 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
739 * buffer.C: increment format to 233.
741 2004-04-28 Angus Leeming <leeming@lyx.org>
743 * BufferView_pimpl.C:
746 s/updateToolbar()/updateToolbars()/
747 s/Toolbar.h/Toolbars.h/
749 2004-04-28 Angus Leeming <leeming@lyx.org>
751 * BufferView.[Ch] (c-tor):
752 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
753 No longer passes these data to the WorkArea generator.
755 2004-04-28 Angus Leeming <leeming@lyx.org>
757 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
759 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
761 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
763 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
765 * output_latex.C (TeXEnvironment): make sure that there is a line
766 break before \end{foo} for the last paragraph of a document
767 (TeXOnePar): if the paragraph is at the end of the document (or
768 inset) and the language has to be reset, then make sure that the
769 line break is _before_ the language command, not after (fixes bug
770 1225); also make sure that the language reset command is the first
771 thing after the paragraph (to ensure proper nesting of
772 environments and thus fix bug 1404)
774 2004-04-21 John Levon <levon@movementarian.org>
777 * ToolbarBackend.C: make "name" be a programmatic name
778 and a gui_name field.
780 * lyxfunc.C: display the minibuffer on M-x
782 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
784 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
787 2004-04-19 Angus Leeming <leeming@lyx.org>
789 * BufferView_pimpl.C (setBuffer): changed preview interface.
791 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
794 2004-04-19 John Levon <levon@movementarian.org>
796 * BufferView_pimpl.C:
797 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
799 2004-04-05 Angus Leeming <leeming@lyx.org>
801 * text.C (redoParagraphs): add call to updateCounters(), thereby
802 fixing the missing "Figure #:" label from the caption of a
805 2004-04-13 Angus Leeming <leeming@lyx.org>
807 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
808 cursor is clicked out of an inset.
810 2004-04-13 Angus Leeming <leeming@lyx.org>
812 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
813 than an InsetOld one.
815 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
817 * format.[Ch]: add editor to Format
818 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
819 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
821 2004-04-08 André Pönitz <poenitz@gmx.net>
823 * metricsinfo.h: remove PainterInfo::width member
825 2004-04-08 Angus Leeming <leeming@lyx.org>
827 * lyx_sty.C (boldsymbol_def): modify so that it outputs
828 "\providecommand" rather than "\newcommand", thereby preventing
829 clashes with packages that define "\boldsymbol" themselves.
832 2004-04-08 Angus Leeming <leeming@lyx.org>
834 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
835 thereby squashing an unnecessary warning.
837 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
839 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
842 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
844 * BufferView.C (setCursor): call redoParagraph (some insets could
846 (putSelectionAt): remove the 'double update' trick
848 * BufferView_pimpl.C (fitCursor): call refreshPar
849 (workAreaDispatch): remove an uneeded update call
850 (dispatch): remove some manual update calls
852 * cursor.[Ch]: remove cached_y_, updatePos
853 (selHandle): set noUpdate when appropriate
855 * lyxfunc.C (dispatch): track if we need an update
857 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
859 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
860 (paintSelection): cheap optimization, do not call cursorX when not
862 (paintPars): change signature
865 (paintTextInset): adjust
869 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
871 * lengthcommon.C: compilation fix: remove explicit array size from
872 unit_name[] and friends
874 2004-04-05 Angus Leeming <leeming@lyx.org>
876 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
878 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
879 present only for the preferences dialog.
880 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
882 2004-04-05 Angus Leeming <leeming@lyx.org>
884 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
885 to enable the frontends to export changes to lyxrc correctly.
887 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
889 2004-04-07 André Pönitz <poenitz@gmx.net>
891 * cursor.[Ch] (selClear, adjust): remove math
893 * cursor_slice.C: more agressive assert
896 * BufferView_pimpl.C: rework mouse event dispatch
903 2004-04-05 André Pönitz <poenitz@gmx.net>
905 * cursor.[Ch] (valign, halign...): remove unneeded functions
907 2004-04-05 Angus Leeming <leeming@lyx.org>
909 * lyxlength.[Ch] (unit_name et al.): const-correct.
911 2004-04-05 Angus Leeming <leeming@lyx.org>
913 * BufferView_pimpl.C:
922 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
924 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
926 * text3.C (getStatus): add LFUN_BEGINNINGBUF
928 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
930 * lyxfind.C: add a couple of inTexted() tests + other small fixes
931 * BufferView_pimpl.[Ch] (getStatus)
932 * BufferView.[Ch] (getStatus): add
933 * lyxfunc.C (getStatus): move lfuns handled in
934 BufferView::dispatch to te function above
935 * Cursor.C (setSelection): set selection() = true
937 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
939 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
941 2004-03-31 Angus Leeming <leeming@lyx.org>
943 * lyxfunc.C (dispatch): Fall through to the generic
944 Dialogs::show("preamble").
946 2004-03-31 Angus Leeming <leeming@lyx.org>
948 * lyxfunc.C (dispatch): Fall through to the generic
949 Dialogs::show("spellchecker").
951 2004-03-31 Angus Leeming <leeming@lyx.org>
953 * lyxfunc.C (getStatus, dispatch): changed invocation of the
956 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
961 * insetiterator.[Ch]:
966 * undo.[Ch]: s/DocumentIterator/DocIterator/g
968 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
970 * BufferView.C (setCursor, putSelectionAt): call edit to open the
971 insets where we are putting the cursor.
973 2004-03-31 Angus Leeming <leeming@lyx.org>
976 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
978 * lyxrc.[Ch] (read, write): overloaded member functions taking
979 a std::[io]stream arguments.
981 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
983 2004-03-31 Angus Leeming <leeming@lyx.org>
985 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
986 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
988 * lyxtextclass.C (load): if the text class couldn't be loaded, then
989 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
991 2004-03-31 Angus Leeming <leeming@lyx.org>
993 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
994 the LFUN_ALL_INSETS_TOGGLE code.
996 2004-03-30 Angus Leeming <leeming@lyx.org>
998 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
999 has died. Fall through to the generic Dialogs::show("document").
1001 2004-03-30 Angus Leeming <leeming@lyx.org>
1004 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1005 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1007 * lyxfunc.C (getStatus, dispatch): define the actions for these
1008 lfuns. Little more than a cut and pste job from ControlDocument.C
1010 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1012 2004-03-30 Angus Leeming <leeming@lyx.org>
1015 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1016 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1018 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1019 open/closed state of ollapsable insets. Usage:
1021 all-inset-toggle <state> <name>, where
1022 <state> == "open" || "closed" || "toggle" and
1023 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1025 * lyxtext.h, text2.C (toggleInset): removed.
1027 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1028 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1029 now passes LFUN_INSET_TOGGLE to the found inset.
1031 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1032 is now invoked as "all-insets-toggle toggle branch".
1034 2004-03-30 Angus Leeming <leeming@lyx.org>
1038 * pariterator.[Ch]: added/corrected header blurb.
1040 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1042 * dociterator.[Ch]: add an inset_ member
1043 (backwardPos): implemented
1044 (backwardPos, forwardPos): use inset_ when the stack is empty.
1045 (doc_iterator_begin, doc_iterator_end): implemented
1046 * pariterator.[Ch]: adjust, add begin, end
1047 * insetiterator.[Ch]: adjust, add begin, end
1051 * BufferView_pimpl.C:
1052 * CutAndPaste.C: adjust
1054 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1056 * buffer.C: increment file format to 232.
1057 * LaTeXFeatures.C: add bibtopic package.
1058 * bufferparams.[Ch]: param \use_bibtopic.
1060 * lyxrc.[Ch]: add lyxrc bibtex_command
1061 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1063 * buffer.C: increment file format to 231.
1065 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1067 * dociterator.C: implement forwardPar
1068 * iterators.[Ch]: remove, replaced by
1069 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1071 * BufferView_pimpl.C:
1074 * bufferview_funcs.C:
1080 * Makefile.am: adjust
1082 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1084 * CutAndPaste.C (pasteSelection): fix 2 crashes
1085 (eraseSelection): fix a crash
1086 * paragraph_funcs.C: remove a warning
1088 2004-03-28 Angus Leeming <leeming@lyx.org>
1091 * LyXAction.C (init): new LFUN_PRINT.
1093 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1095 2004-03-27 Angus Leeming <leeming@lyx.org>
1098 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1100 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1102 2004-03-27 Angus Leeming <leeming@lyx.org>
1104 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1105 insetlist always contains non-null pointers to insets.
1107 2004-03-26 Angus Leeming <leeming@lyx.org>
1109 * src/BufferView_pimpl.C:
1110 * src/CutAndPaste.C:
1113 * src/output_plaintext.C:
1114 * src/outputparams.h:
1115 * src/paragraph_funcs.C:
1119 * src/frontends/controllers/ControlErrorList.C:
1120 * src/frontends/gtk/FileDialogPrivate.C:
1121 * src/frontends/gtk/GPainter.C:
1122 * src/frontends/gtk/GToolbar.C:
1123 * src/frontends/qt2/QRef.C:
1124 * src/mathed/math_scriptinset.C: squash compiler warnings.
1126 2004-03-26 Angus Leeming <leeming@lyx.org>
1128 * ispell.C (LaunchIspell::start):
1129 * lyx_cb.C (AutoSaveBuffer::start):
1130 invoke run(DontWait) rather than runNonBlocking().
1132 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1134 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1136 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1138 * kbsequence.C (print): adjust
1140 * kbmap.C (printKeySym): rename and change signature
1141 (printKey): use LyXKeySym::print()
1143 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1145 * undo.C: add using std::advance to compile for stlport
1147 2004-03-24 Angus Leeming <leeming@lyx.org>
1149 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1150 it leads to a crash when no buffer is present.
1152 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1153 Martin Vermeer <martin.vermeer@hut.fi>
1155 * lyxfunc.C (dispatch):
1156 * bufferparams.C (readToken): use the new LColor::setColor
1158 * LColor.[Ch] (setColor): new version that takes two strings as
1159 argument and creates a new color entry if necessary
1161 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1163 * buffer.C (makeLaTeXFile): if the main latex file that is
1164 processed is usually a subdocument of some master, then pretend
1165 for a while that it is actually the master
1167 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1169 * buffer.C (getLabelList):
1170 (getBibkeyList): use getMasterBuffer()
1171 (getMasterBuffer): new method. Returns the main document in the
1172 case where one is using included documents.
1174 2004-03-25 André Pönitz <poenitz@gmx.net>
1178 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1180 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1182 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1183 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1185 * ParameterStruct.h: merge with ParagraphParameters
1187 * lyxtext.h: remove LyXText::parOffset() and getPar()
1189 * text3.C: Remove all 'manual' update calls. We do now one per user
1190 interaction which is completely sufficient.
1194 * BufferView_pimpl.C:
1195 * FontIterator.[Ch]:
1197 * ParagraphParameters.[Ch]:
1202 * cursor_slice.[Ch]:
1209 * output_docbook.[Ch]:
1210 * output_latex.[Ch]:
1211 * output_linuxdoc.[Ch]:
1212 * output_plaintext.[Ch]:
1214 * paragraph_funcs.[Ch]:
1215 * paragraph_pimpl.[Ch]:
1223 * frontends/controllers/ControlDocument.C:
1224 * frontends/controllers/ControlErrorList.C:
1225 * frontends/controllers/ControlSpellchecker.C:
1228 * insets/insetbase.h:
1229 * insets/insetbibitem.C:
1230 * insets/insetbox.C:
1231 * insets/insetbranch.C:
1232 * insets/insetcaption.C:
1233 * insets/insetcharstyle.C:
1234 * insets/insetcharstyle.h:
1235 * insets/insetcollapsable.C:
1236 * insets/insetcollapsable.h:
1237 * insets/insetert.C:
1238 * insets/insetfloat.C:
1239 * insets/insetfoot.C:
1240 * insets/insetmarginal.C:
1241 * insets/insetnote.C:
1242 * insets/insetoptarg.C:
1243 * insets/insettabular.C:
1244 * insets/insettext.C:
1245 * insets/insettext.h:
1246 * insets/insetwrap.C:
1247 * mathed/math_mboxinset.C:
1248 * mathed/math_nestinset.C:
1249 * mathed/math_scriptinset.C:
1250 * mathed/math_scriptinset.h:
1253 2004-03-24 Angus Leeming <leeming@lyx.org>
1255 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1256 deal with any child processes that have finished but are waiting to
1257 communicate this fact to the rest of LyX.
1259 2004-03-24 Angus Leeming <leeming@lyx.org>
1261 64-bit compile fixes.
1263 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1264 (c-tor): pass lyx::pos_types rather than ints.
1266 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1269 * text.C (Delete): compile fix.
1270 (getPar): ensure that function declaration is the same as that in
1273 2004-03-23 Angus Leeming <leeming@lyx.org>
1275 * ispell.C (LaunchIspell):
1276 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1277 a boost::shred_ptr rather than a std::auto_ptr.
1279 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1281 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1282 handle LFUN_FILE_INSERT_*
1284 * lyxrc.C (setDefaults, getDescription, output, read):
1285 * lyxrc.h: remove ps_command
1287 2004-03-22 Angus Leeming <leeming@lyx.org>
1289 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1290 Ensure that error_handler is processed once only and that all data
1291 is saved before attempting to output any warning messages.
1293 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1295 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1297 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1299 2004-03-19 André Pönitz <poenitz@gmx.net>
1301 * cursor.[Ch] (reset): take main text inset as argument
1303 * BufferView: adjust
1304 * BufferView_pimpl.C: adjust
1306 * paragraph.[Ch]: fix completely broken operator=()
1308 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1310 * LColor.C (getFromLyXName): make sure that the color name is used
1313 2004-03-17 Angus Leeming <leeming@lyx.org>
1316 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1318 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1319 dialog and to kill a forked process.
1321 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1323 * text2.C (setCursorFromCoordinates): fix font problem
1325 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1327 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1328 bogus "rebuild cursor" code
1330 2004-03-11 André Pönitz <poenitz@gmx.net>
1332 * buffer.[Ch]: use InsetText instead of LyXText as container for
1335 * dociterator.[Ch]: drop the BufferView * member which is not needed
1336 anymore after the change to buffer.C
1338 * paragraph_funcs.C:
1342 * BufferView_pimpl.[Ch]:
1344 * cursor_slice.[Ch]: adjust
1346 * text3.C: fix bug in mathDispatch
1348 2004-03-08 André Pönitz <poenitz@gmx.net>
1350 * undo.[Ch]: use 'StableDocumentIterator' as base for
1353 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1356 * bufferparams.[Ch]: add jurabib support and param.
1358 * LaTeX.C: add FIXME/comment.
1360 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1362 * buffer.C: increment file format to 230.
1364 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1366 * cursor.C (dispatch): avoid infinite loops
1368 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1370 * rowpainter.C (paintSelection): fix x coordinates
1372 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1374 * text.C (rowBreakPoint): fix breaking before displayed insets
1376 2004-03-01 André Pönitz <poenitz@gmx.net>
1378 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1380 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1384 * BufferView_pimpl.C:
1392 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1398 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1399 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1401 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1403 * Bidi.[Ch] (computeTables): const correctness
1404 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1405 fill_hfill, fill_label_hfill and x from Row
1406 * lyxtext.h: prepareToPrint returns a RowMetrics
1407 * rowPainter.C: adjust
1408 * text.C (prepareToPrint): use width, not textWidth. adjust
1409 (redoParagraphInternal, cursorX): adjust
1410 * text2.C (getColumnNearX): adjust
1411 (init): put a default value to the top LyXText::width
1413 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1415 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1417 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1419 * lyxtext.h: add FontIterator class
1421 * text.C (FontIterator, operator*, operator->, operator++): add
1422 (rowBreakPoint, setRowWidth): adjust (fixing a
1425 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1427 * BufferView_pimpl.C (workAreaDispatch): allow also
1428 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1430 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1432 * text.C (rowBreakPoint): fix a bug showing with very large insets
1434 2004-02-25 André Pönitz <poenitz@gmx.net>
1437 * cursor.[Ch]: move some mathed specific code to mathed
1439 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1441 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1442 use_tempdir in preferences
1443 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1445 * lyx_main.C: ensure that tempdir is valid
1446 * lyxlex.h: correct typo
1447 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1448 * paragraph.[Ch] (isMultiLingual): make const
1449 * cursor.[Ch] (openable): make const
1451 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1453 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1455 2004-02-20 André Pönitz <poenitz@gmx.net>
1457 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1459 * cursor.[Ch]: prepare for localized getStatus()
1465 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1467 2004-02-20 André Pönitz <poenitz@gmx.net>
1469 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1471 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1473 * text2.C (setCursorFromCoordinates): switch to absolute coords
1475 (cursorDown): adjust
1476 * text3.C (dispatch): adjust
1478 2004-02-16 André Pönitz <poenitz@gmx.net>
1480 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1483 * cursor_slice.[Ch]: remove unneeded acessor function
1485 * lyxtext.h: rename rtl() to isRTL()
1493 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1495 * rowpainter.C (paintSelection): coord fix
1497 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1499 * Spacing.C: compile fix
1501 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1503 * cursor.C (dispatch): restore current_ before returning
1505 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1507 * text2.C (cursorUp, cursorDown): fix coords
1510 2004-02-12 André Pönitz <poenitz@gmx.net>
1515 * text3.C: add LCursor & parameter to most cursor movement functions
1516 remove usage of LyXText::cursorRow() and cursorPar()
1518 * cursor.[Ch]: add textRow() needed members
1521 * BufferView_pimpl.C:
1524 * BufferView_pimpl.C: adjust
1526 2004-02-11 André Pönitz <poenitz@gmx.net>
1530 * BufferView_pimpl.C: shift undo/redo handling
1532 * cursor.[Ch]: fix mathed crash
1535 * lyxtext.h: move selectionAsText to LCursor
1543 * rowpainter.C: fix excessive drawing
1545 2004-02-06 André Pönitz <poenitz@gmx.net>
1548 * BufferView_pimpl.[Ch]:
1549 * text3.C: move some text specific LFUN handling
1551 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1553 * text3.C (checkInsetHit): adjust coords
1554 * text2.C (getColumnNearX): adjust coords
1555 (edit): adjust coords
1556 * text.C (getRowNearY): add two asserts
1558 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1561 * format.C: add using std::distance to compile on gcc 2.95/stlport
1563 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1565 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1567 2004-02-04 André Pönitz <poenitz@gmx.net>
1569 * BufferView.[Ch] (insertInset):
1570 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1575 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1577 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1578 on the default clause of the switch
1579 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1580 wasn't catched by LCursor::dispatch
1582 2004-02-03 André Pönitz <poenitz@gmx.net>
1585 * cursor.[Ch]: some additional asserts
1587 * undo.[Ch]: remove LyXText dependency in interface
1591 * lyxtext.h (firstPar, lastPar): remove dead functions
1596 * paragraph.[Ch]: adjust
1598 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1600 * lyxfind.C (find): fix argument order in call to ::find
1602 2004-02-02 André Pönitz <poenitz@gmx.net>
1604 * cursor.[Ch]: remove direct access to anchor
1606 * text.C: remove findText() hack
1608 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1610 * iterators.[Ch] (lockPath): remove in favour of...
1611 * BufferView.[Ch] (setCursor): this addition
1612 * BufferView.C (putSelectionAt): adjust
1613 * undo.C (performUndoOrRedo): adjust
1614 * lyxfunc.C (dispatch): adjust
1616 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1618 * iterators.C (lockPath): add a missing slice
1619 * undo.C (performUndoOrRedo): remove redundant positioning code
1621 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1623 * vc-backend.C (scanMaster): ";" -> ';'
1625 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1627 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1628 std::binary_function
1630 * lyxtextclass.C (compare_name): rename to...
1631 (LayoutNamesEqual): ...this
1633 * lyxlex_pimpl.C (compare_tags): inherit from
1634 std::binary_function, put back into anon namespace
1636 * lyxfind.C (MatchString): inherig from std::binary_function
1637 (findChange): use empty() istead of !size()
1639 * format.C (FormatNamesEqual): new functor
1646 * converter.C (compare_Converter): rename to...
1647 (ConverterEqual): ...this, and fixup a bit.
1648 (getConverter): use it, and make function const
1649 (getNumber): use it, and make function const
1653 * bufferlist.C: add using boost::bind
1655 * MenuBackend.C (MenuNamesEqual): new functor
1656 (hasMenu): use it, and make function const
1657 (hasSubmenu): use nested bind to get rid of compare_memfun.
1659 2004-01-30 André Pönitz <poenitz@gmx.net>
1661 * BufferView_pimpl.C:
1664 * cursor_slice.[Ch]:
1667 * paragraph_funcs.C:
1668 * paragraph_funcs.h:
1672 * text3.C: move some of the edit(x,y) handling to the insets
1673 some coordinate changes.
1675 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1677 * text.C: add using statements for std::advance and std::distance
1679 * paragraph.C: add using statement for std::distance
1681 * lyxfind.C: add using statement for std::advance
1683 * cursor.C (region): remove std:: from swap
1684 (openable): use nucleus in stead of operator->
1686 * BufferView.C: add using statements for std::distance and std::swap
1688 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1690 * iterators.C: Remove the pimple, move the needed structures to
1691 the header file. Create accessor for the positions stack.
1692 (asPosIterator): remove function
1694 * PosIterator.C (PosIterator): move constructors to top of file
1695 (PosIterator): reimplement the constructor taking a ParIterator in
1697 (setFrom): new function
1698 (operator!=): inline it
1700 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1702 * lyxfind.C (replaceAll): use std::advance
1704 * iterators.h: inherit from std::iterator.
1706 * PosIterator.C (advance, distance): remove
1707 * PosIterator.h: interit from std::iterator.
1709 2004-01-26 André Pönitz <poenitz@gmx.net>
1712 * BufferView_pimpl.[Ch]:
1716 * bufferview_funcs.C:
1726 * output_linuxdoc.C:
1727 * output_plaintext.C:
1729 * paragraph_funcs.[Ch]:
1730 * paragraph_pimpl.[Ch]:
1736 * text3.C: more IU: dumps most of the rest of the mathcursor
1737 implementation into cursor.[Ch]; "globalize" a bit of it.
1739 2004-01-25 Angus Leeming <leeming@lyx.org>
1741 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1743 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1745 * LaTeXFeatures.h: add nice_ and nice() const
1746 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1748 2004-01-20 André Pönitz <poenitz@gmx.net>
1751 * BufferView_pimpl.C:
1753 * bufferview_funcs.C:
1755 * cursor_slice.[Ch]:
1766 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1767 LCursor and mathcursor parts to LCursor and InsetBase.
1769 2004-01-15 André Pönitz <poenitz@gmx.net>
1771 * cursor_slice.[Ch]: add a few covienience functions
1773 * funcrequest.[Ch]: remove BufferView * member
1775 * BufferView_pimpl.C:
1782 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1784 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1786 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1787 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1789 2004-01-13 André Pönitz <poenitz@gmx.net>
1792 * lyxtext.h: hide cursor and selection anchor behind accessor function
1795 * BufferView_pimpl.[Ch]:
1797 * bufferview_funcs.C:
1807 * cursor_slice.[Ch]: some integer type changes for inset unification
1809 * lyxcursor.[hC]: remove, it's CursorSlice now.
1812 * BufferView_pimpl.[Ch]:
1813 * bufferview_funcs.C:
1819 * textcursor.[Ch]: adjust
1821 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1823 * text2.C (undoSpan): add and use
1824 * text.C (breakParagraph): use undoSpan (fix bug 578)
1827 2004-01-08 Angus Leeming <leeming@lyx.org>
1829 * BufferView_pimpl.C (MenuInsertLyXFile):
1830 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1831 * lyxfunc.C (menuNew, open, doImport):
1832 FileFilterList change to the FileDialog open and save functions.
1834 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1836 * ShareContainer.h: make isEqual and isUnique adaptable
1838 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1840 2004-01-07 Angus Leeming <leeming@lyx.org>
1843 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1845 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1847 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1848 functions replacing find, replace and replaceAll.
1850 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1851 LFUN_WORDFIND(FORWARD|BACKWARD).
1853 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1855 * text.C (breakParagraph): remove an outdated #warning
1857 2004-01-07 André Pönitz <poenitz@gmx.net>
1859 * lyxfind.C: somewhat clearer logic
1861 * text.C: prevent crash in cursorX on unitialized row cache
1863 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1865 * lyxcursor.[Ch] (operator>): add
1866 * textcursor.C (selStart, selEnd): use std::min and std::max
1868 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1870 * Chktex.C: include boost/format.hpp
1872 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1874 * InsetList.C: replace functor MathcIt with adaptable functor
1876 (insetIterator): modify accordingly
1878 * BranchList.h: move the BranchNamesEqual functor here from...
1879 * BranchList.C: ... to here
1881 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1883 (add): replace a finding loop with std::find_if.
1885 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1887 * output_docbook.C: moving LatexParam functionality into
1890 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1892 * buffer.C: increment format to 229.
1894 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1897 * lyx_sty.[Ch]: remove minipageindent_def
1903 * text3.C: remove LFUN_INSET_MINIPAGE
1905 2003-12-28 Angus Leeming <leeming@lyx.org>
1907 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1909 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1911 * text2.C (setParagraph): fix off-by-one crash
1913 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1915 * output_docbook.C: header stuff for AGU
1917 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1919 * text2.C (redoCursor): remove
1922 * BufferView_pimpl.C: remove calls to redoCursor and
1923 setCursor(cursor.par(), cursor.pos()) all around
1925 2003-12-15 Angus Leeming <leeming@lyx.org>
1927 * buffer.C: up the format to 228.
1929 2003-12-15 André Pönitz <poenitz@gmx.net>
1931 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1936 * BufferView_pimpl.C:
1945 2003-12-15 Angus Leeming <leeming@lyx.org>
1947 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1948 than getFromGUIName to manipulate the color.
1950 2003-12-14 Angus Leeming <leeming@lyx.org>
1952 * BranchList.[Ch]: minimize the API.
1953 (Branch::getBranch, getColor): now return a 'const &'.
1954 (Branch::setSelected) now returns a bool set to true if the
1955 selection status changes.
1956 (BranchList::clear, size, getColor, setColor, setSelected,
1957 allBranches, allSelected, separator): removed.
1958 (BranchList::find): new functions, returning the Branch with
1960 (BranchList::add, remove): return a bool indicating that
1961 the operation was successful.
1963 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1964 new InsetBranch::isBranchSlected member function.
1966 * LColor.[Ch]: mimimize the API.
1967 (fill): renamed as addColor and made private.
1968 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1969 versions of these functions taking a string arg have been removed.
1971 * bufferparams.C (readToken):
1972 * lyxfunc.C (dispatch):
1973 * lyxrc.C (read): changes due to the altered BranchList and
1976 * factory.C (createInset, readInset): changes due to altered
1979 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1982 * lyxfunc.C: remove insetminipage. "minipage-insert"
1983 now produces a frameless minipage box inset.
1985 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1987 * textcursor.[Ch] (selStart,selEnd): add new methods
1988 remove selection::start, end, use LyXCursor::operator<
1989 * lyxcursor.[Ch] (operator<): add
1990 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1991 * BufferView.[Ch] (unsetXSel): add
1992 * text2.C (clearSelection): use unsetXSel,adjust
1995 * rowpainter.C: adjust
1996 * bufferview_funcs.C (put_selection_at): adjust
1998 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2000 * BufferView_pimpl.C: small coord. correction
2002 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2004 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2005 dragging over the splash screen.
2007 2003-12-11 Angus Leeming <leeming@lyx.org>
2009 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2010 as it is now handled in LyXText::dispatch.
2012 * text3.C (doInsertInset): remove a level of nesting.
2014 2003-12-11 Angus Leeming <leeming@lyx.org>
2016 * factory.C (createInset): changes due to the changed interface to
2017 InsetCommandMailer::string2params.
2019 2003-12-10 Angus Leeming <leeming@lyx.org>
2021 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2022 'dialog-show-new-inset <inset name>'
2024 2003-12-10 Angus Leeming <leeming@lyx.org>
2026 * buffer.C: up the format to 227.
2028 * factory.C: the box inset is now identified simply by 'Box'.
2030 2003-12-10 Angus Leeming <leeming@lyx.org>
2032 * buffer.C: up the format to 226.
2034 * factory.C: the note inset is now identified simply by 'Note'.
2036 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2038 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2039 when a pit is enough. Standarize a couple of loops.
2041 2003-12-05 Angus Leeming <leeming@lyx.org>
2043 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2044 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2045 data to the re-worked "log" dialog.
2047 2003-12-03 André Pönitz <poenitz@gmx.net>
2053 * paragraph_funcs.C:
2055 * text2.C: use Inset::getText instead of Inset::getParagraph
2057 2003-12-03 André Pönitz <poenitz@gmx.net>
2061 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2062 InsetText::read() as LyXText::read()
2064 2003-12-02 Angus Leeming <leeming@lyx.org>
2066 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2067 type. Add a comment in the implementation that the function uses
2068 the stream's bad() function rather than fail() as the std::streams
2071 2003-12-02 André Pönitz <poenitz@gmx.net>
2073 * lyxlex.[Ch]: make interface more similar to std::stream
2075 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2077 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2079 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2081 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2083 * vspace.[Ch]: remove VSpace::NONE
2085 2003-12-01 André Pönitz <poenitz@gmx.net>
2088 * lyxtext.h: move ParagraphList member to LyXText
2089 rename LyXText::ownerParagraphs to LyXText::paragraph
2092 * bufferview_funcs.C:
2102 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2104 * undo.C: fix cursor positioning
2106 2003-12-01 John Levon <levon@movementarian.org>
2108 * BufferView_pimpl.C: fix a crash on exit with
2111 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2113 * BranchList.C: fix setSelected() method.
2115 2003-11-28 André Pönitz <poenitz@gmx.net>
2117 * ParagraphParameters.[Ch]:
2118 * ParameterStruct.h: remove space above/below from Paragraph to
2121 * BufferView_pimpl.C:
2127 * paragraph_funcs.C:
2133 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2135 * factory.C: Syntax change for CharStyles
2137 2003-11-28 André Pönitz <poenitz@gmx.net>
2142 * buffer.[Ch]: move LyXText member
2144 2003-11-28 André Pönitz <poenitz@gmx.net>
2146 * BufferView.[Ch]: make LyXText * text a private member
2148 * BufferView_pimpl.C:
2159 * output_plaintext.C: cleanup
2161 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2164 * lyxtextclass.[Ch]: parametrize SGML document header
2166 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2169 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2172 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2174 * text2.C (setFont): rework using PosIterator (no more recursive)
2175 (setCharFont): no more needed
2176 (setLayout): no more selection cursors fiddling (done by redoCursor)
2177 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2178 destroy remaining ones)
2180 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2182 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2184 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2187 * text3.C: adjust + re-allow multi par depth changes
2188 * textcursor.C: simplify a bit
2190 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2196 * src/output_docbook.C:
2197 * src/output_latex.C:
2202 * src/text2.C: Introducing a number of tags parametrizing various
2203 XML formats that we may want to support
2205 2003-11-25 André Pönitz <poenitz@gmx.net>
2207 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2209 * lyxtext.h (leftMargin/rightMargin): simplify interface
2216 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2218 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2219 master file to any child files. Fixes bug 546.
2221 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2223 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2225 2003-11-24 André Pönitz <poenitz@gmx.net>
2227 * rowpainter.C: simplification
2229 * text2.C (updateCounters): remove call to redoParagraph on
2230 changed labels as this is far too expensive.
2232 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2234 * converter.C (convert): fix a crash: this function gets
2235 called with buffer == 0 from importer code.
2237 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2239 * text3.C (cursorPrevious): make sure that we do not compare
2240 iterators form different containers.
2243 * rowpainter.C (paintSelection): make sure that we do not compare
2244 iterators from different containers.
2246 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2247 iterators from different ParagraphList containers.
2250 * text2.C (LyXText): change order of initialization slightly
2251 (operator=): new function. copy all variables except cache_par_
2252 (moveUp): make sure that we do not compare iterators from
2253 different ParagraphList constainers.
2256 * text.C (firstPar): new function
2257 (lastPar): new function
2258 (endPar): new function
2260 * lyxtext.h: move things around and group public functions, public
2261 variables, private functions, private variables
2263 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2265 * factory.C: change call to InsetERT constructor to avoid
2266 additional invocation of method status
2267 * text2.C (toggleInset): remove redundant update() call
2268 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2269 instead of a Bufferview pointer
2271 2003-11-21 André Pönitz <poenitz@gmx.net>
2273 * rowpainter.C: simplification
2275 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2277 * text3.C (dispatch): make possible to extend a word/row selection
2280 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2282 * lyxtext.h: x0_,y0_ -> xo_,yo_
2283 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2284 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2285 * rowpainter.C (paintRows): paint full paragraphs
2287 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2289 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2292 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2294 * lyxtext.h: add x0_, y0_
2295 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2296 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2298 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2300 * text2.C (setCursorIntern): move the x_target update here *
2301 * text3.C: change some bv() to true/false in calls to
2302 cursorUp/Down/Right/Left
2303 * cursor.C: use helper function.
2305 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2307 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2308 * paragraph_funcs.[Ch]: correct comment
2309 * rowpainter.C: do not paint selections away from bv->cursor()
2310 Fix a long standing selection painting bug.
2311 * text3.C: generalize mouse-selection code to LyXTexts other that
2313 * textcursor.C: do not use y coords if we can use par offsets
2315 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2317 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2318 cursor position after e.g. inset insert)
2320 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2322 * lyxfind.C (replace): adjust to locking removal + some
2325 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2327 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2330 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2333 * output_docbook.C: XML sanitation: new layout
2334 parameters InnerTag and CommandDepth
2336 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2338 * BufferView_pimpl.C:
2340 * text3.C: Fix the insertion and modification of button-style
2343 2003-11-13 André Pönitz <poenitz@gmx.net>
2345 * InsetList.[Ch]: remove deleteLyXText
2347 * paragraph.[Ch]: cache beginOfBody position
2352 * text3.C: remove superfluous update() calls
2356 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2358 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2359 * BufferView.C (fitLockedInsetCursor): remove
2360 * cursor.[Ch] (getDim): add
2361 * text.C (getRowNearY): add faster version
2362 * text3.C: remove some update calls
2364 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2376 * text3.C: The Character Style /XML short element patch.
2378 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2381 * factory.C: Small step to solving 'unable to insert some insets'
2384 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2386 * cursor.[Ch] (updatePos): new function for updating the y
2387 position of the tip inset
2388 * bufferview_funcs.C (put_selection_at):
2389 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2391 2003-11-11 André Pönitz <poenitz@gmx.net>
2393 * text.C: remove big comment on invalid Paragraph pointers as it is
2396 2003-11-11 André Pönitz <poenitz@gmx.net>
2398 * text_funcs.[Ch]: merge with ...
2406 * Makefile.am: remove text_funcs.[Ch]
2408 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2410 * cursor.C (getPos): return absolute cached y coord
2412 * BufferView_pimpl.C (fitCursor): new simplistic code
2413 (workAreaDispatch): add a fitCursor call
2415 2003-11-10 André Pönitz <poenitz@gmx.net>
2418 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2420 2003-11-10 André Pönitz <poenitz@gmx.net>
2422 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2423 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2424 indicate that the cursor needs to leave an inset
2426 * lyxtext.h: remove inset locking
2428 * cursor.[Ch]: re-implement functionality provided by inset locking
2431 * BufferView_pimpl.[Ch]:
2433 * bufferview_funcs.[Ch]:
2445 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2447 * PosIterator.[Ch]: replace the stack with a vector, add inset
2449 * iterators.[C]: adjust
2451 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2453 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2455 * paragraph_funcs.C (readParToken): put the correct id in the
2456 error item, not the id of the top paragraph
2458 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2460 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2461 * bufferview_funcs.C (put_selection_at): use the above
2463 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2465 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2467 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2469 * output_linuxdoc.h:
2470 * output_plaintext.h:
2472 * output_docbook.h: add #include statements
2474 2003-11-05 José Matos <jamatos@lyx.org>
2476 * output_docbook.[Ch]:
2477 * output_latex.[Ch]:
2478 * output_linuxdoc.[Ch]:
2479 * output_plaintext.[Ch]: New files for output formats.
2480 * output.[Ch]: New file for helper functions.
2483 * paragraph_funcs.[Ch]: output functions moved to new files.
2485 * outputparams.h: rename of latexrunparams.h
2493 * paragraph_funcs.[Ch]:
2494 * paragraph_pimpl.[Ch]:
2495 * tabular.[Ch]: rename ascii to plaintext
2496 and LatexRunParams to OutputParams.
2498 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2500 * iterators.[Ch] (text): require bv argument
2501 * undo.C (recordUndo):
2502 * lyxfunc.C (dispatch):
2503 * bufferview_funcs.C (put_selection_at): adjust
2505 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2507 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2509 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2511 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2514 2003-11-04 André Pönitz <poenitz@gmx.net>
2516 * cursor.[Ch]: restructure
2519 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2521 * iterators.[Ch] (asCursor): remove
2523 * lfuns.h: remove LFUN_INSET_EDIT
2529 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2531 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2533 * lyxfind.[Ch]: complete overhaul
2534 * BufferView_pimpl.C:
2536 * paragraph.[Ch] (insert): add
2538 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2542 * text.C: remove dead spellcheck code
2544 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2546 * dispatchresult.h: add a val setter
2548 * cursor.C (dispatch): use a tempvar for data_[i]
2550 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2552 * PosIterator.[Ch]: compile fix
2554 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2556 * text.C (cursorPar): deactivate the cursor cache
2558 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2560 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2562 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2564 * text3.C (dispatch): adjust for new DisptchResult semantics.
2566 * lyxfunc.C (dispatch): handle update when return from
2567 Cursor::dispatch, adjust for new DispatchResult semantics.
2569 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2570 DispatchResult(true) mean to not update. Add class functions for
2571 setting dispatched and update, as well as reading.
2573 * cursor.C (dispatch): don't handle update here
2575 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2577 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2578 * trans_mgr.C: adjust
2580 * paragraph_funcs.C (readParToken): exception safety
2582 * lyxvc.h: store the vcs pointer in a scoped_ptr
2585 * lyxsocket.C (serverCallback): exception safety
2587 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2589 * ispell.C (clone): make it return a auto_ptr
2591 * factory.C (createInset): exception safety
2592 (readInset): exception safety
2594 * bufferlist.C (newBuffer): exception safety
2596 * Thesaurus.C (Thesaurus): use initialization for aik_
2598 * MenuBackend.C (expandToc): exception safety.
2600 2003-11-03 André Pönitz <poenitz@gmx.net>
2604 * bufferview_funcs.C: remove getInsetFromId()
2607 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2613 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2615 * PosIterator.C (distance, advance): new
2616 * bufferview_funcs.[Ch] (put_selection_at): new
2617 * iterators.[Ch] (lockPath): new
2619 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2621 * iterators.[Ch] (asPosIterator): added
2622 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2623 * PosIterator.[Ch]: added
2625 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * cursor.C (dispatch):
2630 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2632 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2633 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2634 contructor, add a class function dispatched. Remove operator>=
2636 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2638 * debug.C: only use the default constructor for debugstream
2641 * main.C (main): include debug.h and setup the lyxerr streambuf
2644 2003-10-31 José Matos <jamatos@lyx.org>
2646 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2648 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2649 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2650 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2651 * paragraph_pimpl.C (simpleTeXSpecialC):
2652 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2653 add LatexRunParams argument.
2655 * exporter.C (Export): change call accordingly.
2657 * latexrunparams.h: add new member to take care of the other backends.
2658 2003-10-30 José Matos <jamatos@lyx.org>
2660 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2661 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2662 factorise code for paragraph output.
2664 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2667 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2669 * text3.C (dispatch):
2670 * lyxfunc.C (dispatch):
2671 * cursor.C (dispatch):
2672 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2674 * dispatchresult.h: make the dispatch_result_t ctor explicit
2676 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2679 * buffer.C: small refactoring of docbook stuff
2681 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2683 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2686 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2688 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2689 operator dispatch_result_t, and operators for == != and >=
2691 * cursor.C (dispatch): adjust for operator dispatch_result_t
2692 removal. comment out call to update
2694 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2696 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2704 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2707 * dispatchresult.h: new file, DispatchResult broken out of
2710 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2712 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2714 * text.C (rowBreakPoint): put a hack inside #if 0
2716 2003-10-28 André Pönitz <poenitz@gmx.net>
2720 * paragraph_funcs.C:
2723 * text2.C: general cleanup (lots of small stuff)
2725 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2727 * text2.C (cursorEnd): simple fix to the "end key goes to one
2728 before the end on last row" bug
2730 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2732 * text.C (backspace): fix the "zombie characters"
2734 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2736 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2738 2003-10-27 André Pönitz <poenitz@gmx.net>
2740 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2742 * factory.C: handle new InsetPagebreak, InsetLine
2744 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2745 and move handling into new InsetPagebreak, InsetLine
2747 * BufferView_pimpl.C:
2749 * ParagraphParameters.C:
2750 * ParameterStruct.h:
2755 * paragraph_funcs.C:
2756 * paragraph_pimpl.C:
2762 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2765 * lyxrow_funcs.[Ch]:
2771 * text3.C: remove lastPos uses in favour of Row::endpos
2773 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2775 * undo.C (performUndoOrRedo): fix two crashes by setting a
2776 cursor by hand and reordering some calls. Use bv->lockInset instead
2777 of inset->edit because the latter loses cursor information
2779 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2781 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2783 (rowBreakPoint): fix width. change point to point + 1.
2784 Add a missing check.
2786 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2789 * lyxfunc.C: fix (at least partly) the problems
2790 with the Nav menu and headers inside branch insets
2793 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2795 * paragraph.C (getChar): add strong asserts
2797 * lyxrow_funcs.C (lastPos): remove hideous hack
2799 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2800 (fill): adjust to that (avoid an infinite loop)
2802 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2804 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2806 2003-10-23 André Pönitz <poenitz@gmx.net>
2808 * RowList_fwd.h: change list<> to vector<> to gain speed
2809 after suggestion from Alfredo
2811 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2813 * lyxtext.h: move the bidi stuff from here...
2816 * Bidi.[Ch]: ... to here
2818 2003-10-23 André Pönitz <poenitz@gmx.net>
2821 * text.C (isLastRow, isFirstRow): new functions
2823 * paragraph.h: new width cache member
2825 * rowpainter.C: replace RowList::iterator with Row & where possible
2827 * lyxfunc.C: replace several view()->text with a single call
2829 * toc.C: fix 'unused' warning
2831 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2833 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2834 when woring with stream::pos_type
2835 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2837 2003-10-22 André Pönitz <poenitz@gmx.net>
2840 * text.C: use Row & instead of RowList::iterator
2842 * lyxrow.h: rename end() to endpos()
2848 2003-10-22 Angus Leeming <leeming@lyx.org>
2850 * buffer.[Ch] (fully_loaded): new member function, returning true
2851 only when the file has been loaded fully.
2852 Used to prevent the premature generation of previews and by the
2853 citation inset to prevent computation of the natbib-style label.
2855 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2856 templates are all set up.
2858 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2860 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2862 * text.C: fixed an "oops" in the "is a bit silly"
2865 2003-10-21 André Pönitz <poenitz@gmx.net>
2867 * FuncStatus.[Ch]: small stuff, whitespace
2869 * lyxfont.[Ch]: operator<<() for debug reasons
2873 * lyxtext.h: whitespace, spelling
2875 * paragraph.C: naming of variables
2878 * text2.C: small stuff
2881 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2883 * text.C: (1) finish off the inset display() work;
2884 (2) fix the "is a bit silly" bug (accessing char
2887 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2889 * text.C: re-introduce display() for insets, fixing the
2890 various bugs (stretch of line above, math inset
2893 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2895 * text.C (rightMargin): remove spurious semicolon
2897 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2900 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2902 * text3.C: fix one crash due to wrong cursor def
2904 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2906 * vc-backend.C (scanMaster): make the regex static
2908 * LaTeX.C (scanAuxFile): make the regexs static
2910 * text3.C (doInsertInset, dispatch, dispatch):
2911 * text2.C (cursorUp, cursorDown):
2912 * text.C (selectNextWordToSpellcheck):
2913 * BufferView_pimpl.C (dispatch):
2914 * lyxfunc.C (dispatch): localDispatch -> dispatch
2916 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2918 * lyxsocket.C: include <cerrno>
2920 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2922 * lyxfunc.C (dispatch): remove textcache stuff
2924 * bufferlist.C (release): remove textcache stuff
2927 * TextCache.C: delete file
2928 * TextCache.h: delete file
2930 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2932 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2933 delete of the bv_->text.
2934 (resizeCurrentBuffer): remove texcache stuff
2935 (workAreaResize): ditto
2937 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2939 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2942 2003-10-16 André Pönitz <poenitz@gmx.net>
2949 * text3.C: speed up by storing y positions per paragraph plus per-row
2950 offset instead of having a 'full' y position in the row.
2952 2003-10-15 André Pönitz <poenitz@gmx.net>
2956 * undo.[Ch]: make undo aware of inner insets
2958 2003-10-14 Angus Leeming <leeming@lyx.org>
2960 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2961 static member functions LyX::ref() and LyX::cref.
2962 (lastfiles): new accessor functions for the new lastfiles_ member var.
2963 (addLyXView, views_): add a new LyXView to the list of views_.
2964 (updateInset): loop over all LyXViews to call their own updateInset
2965 member function, returning a pointer to the Buffer owning the inset.
2967 * BufferView_pimpl.C (loadLyXFile):
2968 * MenuBackend.C (expandLastfiles):
2969 * bufferlist.C (MenuWrite, QuitLyX):
2970 lastfiles is no longer a global variable.
2971 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2973 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2974 static function. Access through LyX::cref().emergencyCleanup().
2976 2003-10-14 André Pönitz <poenitz@gmx.net>
2978 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2980 * undo.[Ch]: restoring part of 'undo in insets'
2983 * undo_funcs.[Ch]: merge with undo.[Ch]
2985 * tabular.C: small cleansing stuff
2987 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2989 * paragraph_funcs.C (readParToken): report unknown insets as error
2990 boxes. Use the outer paragraph as location (also for unknown
2993 * factory.C (readInset): do not abort on reading an unknown inset.
2994 Eat it and return 0.
2996 2003-10-13 Angus Leeming <leeming@lyx.org>
2998 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3000 * lyxrc.C: displayTranslator is now a function,
3001 declared in GraphicsTypes.h.
3003 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3005 * format.C: new placeholder $$a to pass the socket address.
3007 * bufferlist.[Ch]: new function getBufferFromTmp.
3009 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3010 files in the temporary dir.
3012 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3014 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3016 * Makefile.am: add lyxsocket.[Ch].
3018 * lyx_main.C (error_handler): handle SIGPIPE.
3020 2003-10-13 André Pönitz <poenitz@gmx.net>
3022 * BufferView_pimpl.C:
3027 * undo_funcs.[Ch]: use paroffset_type instead of
3028 ParagraphList::iterators to prevent multiple conversion
3029 (and get a more robust interface)
3031 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3033 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3035 * text3.C (dispatch): ditto
3037 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3039 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3040 move the onlyfile, use onlyfile instead of foundfile in a couple
3043 * DepTable.C (update): flush the error stream a bit more
3045 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3047 * lyxserver.C (callback): adjust
3049 * lyxfunc.C (getStatus): add a missing brace in commented code
3050 (ensureBufferClean): reindent
3051 (dispatch): delete version taking a string
3053 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3055 * LaTeX.C (deplog): move found file handlig from here...
3056 (handleFoundFile): .. to new function here.
3057 (deplog): make sure to discover several files mentioned on the
3060 2003-10-10 André Pönitz <poenitz@gmx.net>
3067 * text3.C: fix some of the tabular crashes
3069 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3071 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3073 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3075 2003-10-09 André Pönitz <poenitz@gmx.net>
3077 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3080 * BufferView_pimpl.C:
3081 * bufferview_funcs.C:
3092 * undo_funcs.C: adjust
3094 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * text2.C (incrementItemDepth): new function, use a backtracking
3097 algorithm to discover the correct item depth.
3098 (resetEnumCounterIfNeeded): new function, use a backtracking
3099 algorithm to discover if counter reset is needed.
3100 (setCounter): use them. Simplify a bit. Add different labels for
3101 different item depths for itemize.
3103 * paragraph.C (Paragraph): remove initialization of enumdepth
3106 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3107 enumerate and itemize. Change the type of itemdepth to signed char.
3109 2003-10-08 André Pönitz <poenitz@gmx.net>
3111 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3116 * tabular.[Ch]: fix crash after 'row-insert'
3118 2003-10-08 Angus Leeming <leeming@lyx.org>
3120 Fix doxygen warnings.
3122 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3123 Remove CutAndPaste:: prefix from header file declaration.
3125 * LColor.h (fill): remove LColor:: prefix from declaration.
3127 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3128 use lyx::depth_type rather than Paragraph::depth_type so that
3129 header file and .C file match.
3131 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3133 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3134 * aspell.C: \file aspell_local.C -> \file aspell.C
3135 * gettext.C: \file gettext.C -> \file src/gettext.C
3136 * gettext.h: \file gettext.h -> \file src/gettext.h
3137 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3138 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3139 * text.C: \file text.C -> \file src/text.C
3141 * toc.C: move comment so that doxygen is not confused.
3143 2003-10-07 Angus Leeming <leeming@lyx.org>
3145 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3147 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3150 * aspell_local.h: add forgotten std::string's.
3152 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3159 * text3.C: The Box patch. Fancybox support, minipage, parbox
3161 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3167 * ParagraphParameters.h:
3177 * lyxtextclasslist.h:
3180 * paragraph_pimpl.C:
3181 * textcursor.h: add <string> and other small fixes to make Lars'
3182 std::string patch compile with STLport.
3184 2003-10-06 Angus Leeming <leeming@lyx.org>
3186 * LColor.h: Add missing #include <string>.
3188 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3190 * All most all file in all subdirs: Make <string> be the prefered
3191 way of getting to std::string, add using declarations.
3193 2003-10-06 André Pönitz <poenitz@gmx.net>
3195 * metricsinfo.C: initialize LyXFont before changing attribute.
3196 (fixes the 'math in \emph is upright' bug)
3198 2003-10-06 André Pönitz <poenitz@gmx.net>
3200 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3202 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3205 * paragraph_pimpl.C: Small fixes to build using STLport
3207 2003-10-02 André Pönitz <poenitz@gmx.net>
3210 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3212 2003-10-01 André Pönitz <poenitz@gmx.net>
3214 * factory.C: assert early
3216 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3218 * lyx_main.C: remove the global debug object
3220 * debug.h: adjust for new debugstream
3222 * debug.C: adjust for new debugstream and keep the global debug
3225 2003-09-22 Angus Leeming <leeming@lyx.org>
3227 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3228 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3229 an incomplete class LyXFont.
3231 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3233 * factory.C: bug fix in branches
3235 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3237 * lyxfunc.C (processKeySym): adjust
3239 (dispatch): change arg name from ev to func, adjust
3240 (sendDispatchMessage): ditto
3242 * lyx_main.C (defaultKeyBindings): adjust keybindings
3243 (deadKeyBindings): ditto
3245 * kbsequence.C (addkey): return a FuncRequest
3247 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3249 * kbmap.C (bind): take a FuncRequest as arg, adjust
3252 (defkey): change to take a FuncRequest as arg, adjust
3253 (findbinding): take a FuncRequest as arg, adjust.
3255 * funcrequest.h (operator=): added
3257 * funcrequest.C (FuncRequest): default kb_action changed from
3258 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3260 * buffer.C (dispatch): simplify
3261 (dispatch): adjust to take a FuncRequest as arg, adjust
3263 * boost.C (assertion_failed): change assertion message slightly
3265 * ToolbarBackend.C (read): simplify
3267 * MenuBackend.C (binding): adjust call to findbinding, add a
3268 message if no binding is found.
3270 (expandToc): correct by adding a empty FuncRequest
3272 * LyXAction.C: include <boost/assert.hpp>
3273 (isPseudoAction): delete function
3274 (LookupFunc): change name to...
3275 (lookupFunc): this. change return type to FuncRequest.
3276 (getActionName): take kb_action as arg, simplify
3277 (funcHasFlag): add an assert, simplify.
3279 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3281 * toc.C (action): return a FuncRequest, simplify
3283 * lyxfunc.C (processKeySym): adjust
3284 (getStatus): delete version that takes an int.
3286 (dispatch): delete version that takes action as int
3288 (sendDispatchMessage): simplify and adjust
3290 * funcrequest.C (getArg): take unsigned int as arg
3292 * ToolbarBackend.C (read): adjust
3293 (add): delete version that takes func as a string.
3294 (getIton): take a FuncRequest as arg
3296 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3299 * MenuBackend.C (MenuItem): add a new construct that only takes a
3300 Kind, simplify the constructor use for submenus.
3302 (expandLastfiles): adjust
3303 (expandDocuments): adjust
3304 (expandFormats): adjust
3305 (expandFloatListInsert): adjust
3306 (expandFloatInsert): adjust
3307 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3309 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3310 Remove class variables lyx_pseudo_map and lyx_arg_map
3312 * LyXAction.C (searchActionArg): delete function
3313 (getPseudoAction): delete function
3314 (retrieveActionArg): delete function
3315 (LookupFunc): make it return kb_action, simplify.
3316 (getActionName): simplify
3318 * factory.C (createInset): fix new bug
3320 2003-09-19 Angus Leeming <leeming@lyx.org>
3322 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3323 masterFilename_ parameter in the include inset.
3325 * factory.C (createInset): changes due to the changes to InsetInclude.
3327 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3329 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3331 2003-09-18 Angus Leeming <leeming@lyx.org>
3334 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3335 Inset::fillWithBibKeys.
3336 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3338 2003-09-18 Angus Leeming <leeming@lyx.org>
3340 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3342 (ctor): pass and store a 'Buffer const &'
3343 (buffer): new member function.
3345 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3346 '*this' to the LaTeXFeatures ctor.
3348 2003-09-18 Angus Leeming <leeming@lyx.org>
3354 * text.C: rename EnumLColor as LColor_color.
3356 2003-09-18 Angus Leeming <leeming@lyx.org>
3358 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3359 remove #include "insets/insetbase.h" from cursor.h.
3361 2003-09-18 Angus Leeming <leeming@lyx.org>
3363 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3364 InsetOld_code to remove #include "inset.h".
3366 * iterators.C: add #include "insets/inset.h"
3368 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3370 * BufferView.C: remove more locking stuff that apparently doesn't
3371 do anything sensible.
3373 2003-09-16 André Pönitz <poenitz@gmx.net>
3376 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3379 2003-09-16 Angus Leeming <leeming@lyx.org>
3381 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3383 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3386 * paragraph.h: remove #include "lyxfont.h". Forward declare
3389 2003-09-16 Angus Leeming <leeming@lyx.org>
3391 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3392 of support/textutils.h.
3393 (isWord): move the contents of support/textutils.h's IsWordChar here.
3399 * text2.C: add #include "paragraph.h".
3402 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3404 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3410 * LaTeX.C: use namespace alias for lyx::support::os
3412 2003-09-16 Angus Leeming <leeming@lyx.org>
3415 * bufferview_funcs.C:
3418 * paragraph_pimpl.C:
3420 * text.C: add #include "LColor.h".
3422 2003-09-16 Angus Leeming <leeming@lyx.org>
3424 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3425 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3427 Store the FontBits::color variable as an int rather than as an
3428 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3431 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3432 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3433 string calls together.
3435 * lyxrc.C: add #include "LColor.h".
3437 2003-09-15 Angus Leeming <leeming@lyx.org>
3439 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3442 2003-09-15 Angus Leeming <leeming@lyx.org>
3444 * LColor.h: add an EnumLColor wrapper for LColor::color.
3446 * lyxfont.[Ch] (color, setColor, realColor):
3447 * lyxtext.h, text.C (backgroundColor):
3448 pass EnumLColor args to/from the functions, rather than LColor::color
3452 * lyxtext.h: forward declare EnumLColor.
3454 * lyx_main.C: add #include "LColor.h".
3456 2003-09-15 Angus Leeming <leeming@lyx.org>
3458 * .cvsignore: add lyx-gtk.
3460 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3465 * ParagraphParameters.C
3469 * bufferview_funcs.C
3479 * vc-backend.C: remove usage of STRCONV
3481 2003-09-15 Angus Leeming <leeming@lyx.org>
3483 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3484 explicitly define the color passed to the painter.
3486 2003-09-15 Angus Leeming <leeming@lyx.org>
3488 * bufferparams.C (BufferParams): reorder member initializers to avoid
3491 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3493 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3494 * text.C (updateRowPositions): remove an unusual nop
3496 2003-09-12 André Pönitz <poenitz@gmx.net>
3498 * BufferView_pimpl.C:
3507 * Counters.[Ch]: finish the 'automatic counters' job
3509 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3511 * aspell.C: include <boost/assert.cpp> (compile fix)
3513 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3515 * boost.C (assertion_failed): use lyx::support::abort instead of
3518 2003-09-10 Angus Leeming <leeming@lyx.org>
3520 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3521 with their _fwd progeny.
3523 2003-09-09 Angus Leeming <leeming@lyx.org>
3525 134 files throughtout the source tree: replace 'using namespace abc;'
3526 directives with the appropriate 'using abc::xyz;' declarations.
3528 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3530 * boost.C (emergencyCleanup): moved here from LAssert.c
3531 (assertion_failed): new function, called by BOOST_ASSERT
3533 * several files: change Assert to BOOST_ASSERT
3535 2003-09-09 Angus Leeming <leeming@lyx.org>
3537 * buffer.[Ch]: Add an Impl class and move Buffer's member
3538 variables into it. As a result move several header files out of
3541 Add header files to lots of .C files all over the tree as a result.
3543 2003-09-09 Angus Leeming <leeming@lyx.org>
3545 * buffer.[Ch]: make Buffer's member variables private. Add
3548 Lots of changes all over the tree as a result.
3550 2003-09-08 Angus Leeming <leeming@lyx.org>
3552 * graph.C: #include <config.h>.
3554 2003-09-08 Angus Leeming <leeming@lyx.org>
3558 * BufferView_pimpl.C:
3587 * toc.C: remove redundant using directives.
3589 2003-09-07 Angus Leeming <leeming@lyx.org>
3591 * LaTeXFeatures.h: remove #include "support/types.h".
3592 * ToolbarBackend.h: remove #include <algorithm>.
3593 * changes.h: remove #include <ctime>.
3594 * debug.h: remove #include <iosfwd>.
3595 * graph.h: remove #include "support/std_string.h".
3596 * lyx_main.h: remove #include <csignal>.
3597 * lyxlex_pimpl.h: remove #include <fstream>.
3598 * sgml.h: remove #include <algorithm>, <utility>.
3599 * toc.h: remove #include "support/std_ostream.h".
3600 Add #include <iosfwd>.
3602 2003-09-07 Angus Leeming <leeming@lyx.org>
3604 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3606 * converter.h: forward declare LatexRunParams.
3607 * encoding.h: remove #include "lyxrc.h".
3608 * lyxtext.h: remove #include "LColor.h".
3609 * lyxtextclass.h: remove #include "support/types.h".
3610 * trans.h: remove #include "tex-accent.h".
3611 * trans_mgr.h: remove #include "tex-accent.h".
3612 * insets/inset.h: remove #include "support/types.h", <vector>.
3613 * insets/insetcollapsable.h: remove #include "LColor.h".
3614 * insets/insetinclude.h: remove #include "dimension.h".
3615 * insets/insetlatexaccent.h: remove #include "dimension.h".
3616 * insets/insetoptarg.h:: remove #include "insettext.h".
3617 * insets/insettext.h: remove #include "dimension.h",
3618 <boost/shared_ptr.hpp>
3620 * insets/renderers.h: add #include "dimension.h".
3621 * insets/updatableinset.h: add #include "support/types.h".
3623 * many .C files: Associated changes.
3625 2003-09-06 Angus Leeming <leeming@lyx.org>
3627 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3628 one, inside testInvariant.
3630 * PrinterParams.C: new file.
3631 * PrinterParams.[Ch]: move the function bodies out of line.
3633 2003-09-06 Angus Leeming <leeming@lyx.org>
3635 * ParagraphParameters.h: forward declare ParameterStruct rather than
3636 including its header file.
3637 (depth): moved out-of-line.
3639 2003-09-06 Angus Leeming <leeming@lyx.org>
3641 * BufferView_pimpl.h:
3644 * lyxfunc.h: forward declare LyXKeySym rather than
3645 #include "frontends/LyXKeySym.h".
3647 * BufferView_pimpl.C:
3650 * lyxfunc.C: associated changes.
3652 2003-09-06 Angus Leeming <leeming@lyx.org>
3654 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3655 As a result, can remove the #include "insets/inset.h" from BufferView.h
3657 2003-09-06 Angus Leeming <leeming@lyx.org>
3659 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3660 As a result, can remove the #include "insets/inset.h" from BufferView.h
3662 2003-09-06 Angus Leeming <leeming@lyx.org>
3668 * bufferview_funcs.C:
3669 * BufferView_pimpl.C:
3674 * ParagraphParameters.C:
3679 * frontends/controllers/ControlDocument.C:
3680 * insets/insetcaption.C: rearrange the #includes into some sort of
3683 * buffer.h: remove #includes ErrorList.h, undo.h
3685 2003-09-06 Angus Leeming <leeming@lyx.org>
3687 * support/types.h: add a 'depth_type' typedef, used to store the
3688 nesting depth of a paragraph.
3691 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3692 defining explicitly.
3695 * paragraph_funcs.h:
3696 * ParagraphParameters.h:
3697 * sgml.h: use lyx::depth_type rather than Paragraph or
3698 ParameterStruct's depth_type.
3701 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3704 * BufferView_pimpl.C:
3706 * ParagraphParameters.C:
3709 * bufferview_funcs.C:
3716 * frontends/LyXView.C:
3717 * frontends/controllers/ControlDocument.C:
3718 * frontends/controllers/ControlErrorList.C:
3719 * insets/insetbibitem.C:
3720 * insets/insetbranch.C:
3721 * insets/insetcaption.C:
3722 * insets/insetcollapsable.C:
3723 * insets/insetenv.C:
3724 * insets/insetert.C:
3725 * insets/insetfloat.C:
3726 * insets/insetfoot.C:
3727 * insets/insetfootlike.C:
3728 * insets/insetnewline.C:
3729 * insets/insetquotes.C:
3730 * insets/insettabular.C:
3731 * insets/insettext.C:
3732 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3734 * frontends/controllers/ControlChanges.C: #include "changes.h".
3736 2003-09-06 Angus Leeming <leeming@lyx.org>
3738 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3739 than #including paragraph.h.
3742 * RowList.h: deleted. Superfluous.
3752 * insets/insettext.h: use ParagraphList_fwd.h rather than
3755 * paragraph.h: don't forward declare ParagraphList.
3758 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3759 rather than ParagraphList.h. paragraph.h is still needed for the
3760 Paragraph::depth_type parameters.
3762 * textcursor.h: enable it to compile stand-alone in light of the
3765 * bufferview_funcs.C:
3777 * frontends/controllers/ControlParagraph.C:
3778 * frontends/controllers/ControlTabular.C:
3779 * insets/insetmarginal.C:
3780 * insets/insetminipage.C:
3781 * insets/insetnote.C:
3782 * insets/insetoptarg.C: add header files needed to compile again.
3784 2003-09-06 Angus Leeming <leeming@lyx.org>
3786 * RowList_fwd.h: new file, forward-declaring Row rather than
3787 #including lyxrow.h.
3792 * insets/insettext.h: use it instead of RowList.h
3794 * bufferview_funcs.C:
3801 * text3.C: #include "RowList.h".
3803 2003-09-05 Angus Leeming <leeming@lyx.org>
3805 * factory.C (createInset):
3806 * vspace.C (c-tor): replace sscanf call with an istringstream.
3807 * ispell.C: re-add missing HP/UX headers.
3808 * lyxserver.C: re-add missing os2 headers.
3810 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3819 * text3.C: re-add missing system headers, needed for 2.95.2.
3821 2003-09-05 Angus Leeming <leeming@lyx.org>
3823 Changes most place everywhere due to the removal of using directives
3824 from support/std_sstream.h.
3826 2003-09-05 Angus Leeming <leeming@lyx.org>
3828 Replace LString.h with support/std_string.h,
3829 Lsstream.h with support/std_sstream.h,
3830 support/LIstream.h with support/std_istream.h,
3831 support/LOstream.h with support/std_ostream.h.
3833 Changes resulting throughout the tree.
3835 2003-09-05 Angus Leeming <leeming@lyx.org>
3837 * sgml.h: ensure that the header file can be compiled stand-alone.
3838 * *.C: strip out redundant #includes. (320 in total.)
3840 2003-09-04 Angus Leeming <leeming@lyx.org>
3842 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3843 here (from getPackages).
3845 * debug.[Ch]: add a new EXTERNAL tag.
3847 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3849 * text2.C (cursorEnd): simplify
3851 (getColumnNearX): adjust
3853 * text.C (computeBidiTables): adjust
3856 * rowpainter.C (paintChars): adjust
3857 (paintSelection): adjust
3858 (paintChangeBar): adjust
3861 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3863 (numberOfSeparators): adjust
3865 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3871 * text3.C: Restricts the mouse click functionality
3872 of insets like bibtex, include, toc and floatlist to the visible
3873 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3874 up the dialogs. Cursor has to be in front of the inset (i.e.
3875 start of row) for this to function.
3877 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3879 * bufferview_funcs.C (currentState): output row information
3881 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3883 * bufferview_funcs.C (currentState): output paragraph position
3885 2003-09-04 Angus Leeming <leeming@lyx.org>
3887 * FloatList.h: move out #include "Floating.h".
3888 * LaTeX.h: move out #include "DepTable.h".
3889 * LyXAction.h: move out #include "funcrequest.h".
3890 * buffer.h: move out #include "author.h", "iterators.h".
3891 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3892 * lyx_main.h: move out #include "errorlist.h".
3893 * lyxfunc.h: move out #include "FuncStatus.h".
3894 * lyxtext: move out #include "lyxcursor.h".
3895 * paragraph_pimpl.h: move out #include "counters.h".
3897 2003-09-03 Angus Leeming <leeming@lyx.org>
3899 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3900 preamble_snippets list, enabling us to add snippets to the preamble
3901 only if the snippet was not there already.
3903 2003-09-04 Angus Leeming <leeming@lyx.org>
3905 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3907 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3909 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3912 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3914 * BranchList.C: point fix, earlier forgotten
3916 2003-09-02 Angus Leeming <leeming@lyx.org>
3918 * box.C (contains): renamed from 'contained' after a fantastic
3921 2003-09-02 John Levon <levon@movementarian.org>
3927 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3929 2003-09-02 John Levon <levon@movementarian.org>
3931 * text2.C: simplification of cursorEnd(), including partial
3934 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3936 * buffer.C (readFile): add a space
3938 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3940 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3942 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3944 * buffer.C (readFile): new function, take a filename and a
3945 ParagraphList::iterator
3947 (readFile): adjust, make it private. don't use setStream, make
3948 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3949 always contain the filename.
3951 * BufferView.C (insertLyXFile): simplify and make it work for
3954 2003-08-30 John Levon <levon@movementarian.org>
3956 * Makefile.am: fix dist (from Kayvan)
3958 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3960 * most files: change to use const Buffer refs
3962 2003-08-27 André Pönitz <poenitz@gmx.net>
3964 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3965 on top of ownerPar().
3967 2003-08-27 John Levon <levon@movementarian.org>
3969 * funcrequest.C: properly initialise POD members
3971 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3973 * lyxtext.h (top_y): move top_y from here
3978 * BufferView_pimpl.[Ch]: to here
3979 * frontends/screen.C:
3980 * insets/insettabular.C:
3981 * insets/insettext.C: adjust
3982 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3984 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3987 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3989 2003-08-26 André Pönitz <poenitz@gmx.net>
3991 * paragraph_func.[Ch] (outerPar): new function
3994 * paragraph_funcs.C:
3995 * paragraph_funcs.h:
3996 * paragraph_pimpl.C:
3997 * text2.C: remove Inset::par_owner
3999 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4004 * text2.C: eliminates the needFullRow/display() stuff
4005 altogether, putting the logic in metrics/draw in the insets.
4007 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4009 * text2.C (redoParagraphInternal, redoParagraphs):
4010 * text.C (redoParagraph): add a call to updateRowPositions at the
4011 end of each 'metrics-like' call. Remove all others.
4012 (getRow): remove the 'y-computing' version.
4013 (getRowNearY): do not compute nor return the real y. Solve the
4014 'y < 0' problem and simplify.
4016 2003-08-22 Angus Leeming <leeming@lyx.org>
4018 * *.[Ch]: clean-up of licence and author blurbs.
4019 Also move config.h out of a few .h files and into a few .C files.
4021 2003-08-22 André Pönitz <poenitz@gmx.net>
4023 * lyxrow.[Ch]: add x_ and *fill_ members
4028 * text2.C: adjust/remove prepareToPrint() calls
4030 2003-08-22 André Pönitz <poenitz@gmx.net>
4032 * lyxrow.[Ch]: add end_ member
4034 * lyxrow_funcs.C: use LyXRow::end_
4036 * lyxtext.h (singleWidth): add LyXFont parameter
4039 * text2.C: adjust LyXText::singleWidth() calls
4041 * text.C (redoParagraph): simplify row breaking logic
4044 2003-08-19 André Pönitz <poenitz@gmx.net>
4046 * funcrequest.C: initialize button_ member
4049 * rowpainter.[Ch]: interface consolidation
4051 2003-08-18 André Pönitz <poenitz@gmx.net>
4054 * BufferView_pimpl.C:
4056 * paragraph_funcs.C:
4058 * text3.C: remove LyXScreen::draw() and fitCursor calls
4060 * BranchList.h: remove spurious semicolons
4062 * MenuBackend.C: fix branchlist related crash
4064 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4072 * bufferparams.[Ch]:
4076 * text3.C: implements the 'branch inset'
4077 idea. This allows the output of various versions of a document
4078 from a single source version, selectively outputing or suppressing
4079 output of parts of the text.
4080 This implementation contains a 'branch list editor' in a separate
4081 tab of the document settings dialog. Branches are user definable
4082 and have a "display colour" to distinguish them on-screen.
4084 ColorHandler was somewhat cleaned up.
4085 (1) make possible a dynamically growing LColor list by allowing
4086 the graphic context cache to grow along (vector);
4087 (2) eliminate an IMHO unnecessary step in colour allocation.
4089 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4091 * BufferView_pimpl.C: compile fix
4093 2003-08-15 André Pönitz <poenitz@gmx.net>
4095 * rowpainter.C: remove extra metrics calls
4097 * lyxtext.h: merge the two constructors into a single one,
4098 pass reference to owner's par list
4100 * BufferView_pimpl.C:
4104 2003-08-15 André Pönitz <poenitz@gmx.net>
4106 * lyxrow_funcs.[Ch]:
4109 * paragraph_funcs.C:
4114 * text_funcs.C: split LyXText::rowlist_ into individual
4115 Paragraph::rows_ chunks
4118 * BufferView_pimpl.[Ch]:
4121 * text3.C: remove toggleSelection()
4123 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4125 * bufferlist.C: beautify two alerts (shorter text of buttons)
4126 * buffer.C: Remove redundant ' ' from message
4128 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4129 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4130 rename VALIGN_CENTER to VALIGN_MIDDLE
4132 2003-08-11 André Pönitz <poenitz@gmx.net>
4134 * lyxtext.h (getPar):
4135 * text.C: new function
4137 2003-08-11 André Pönitz <poenitz@gmx.net>
4140 * tracer.[Ch]: remove unneeded files
4142 * InsetList.[Ch]: remove resizeInsetsLyXText()
4147 * text3.C: merge insertParagraphs() and appendParagraph()
4148 remove breakAgain(), update()
4150 * BufferView_pimpl.[Ch]:
4151 * bufferview_funcs.[Ch]:
4155 * tabular.C: adjust after text & InsetList changes.
4157 2003-08-08 André Pönitz <poenitz@gmx.net>
4159 * text.C (insertChar, backspace): replace rowlist fiddling
4160 with rebreak of full par
4163 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4164 checkParagraph, updateInset): removed
4166 2003-08-07 André Pönitz <poenitz@gmx.net>
4169 * text3.C: merge some LFUN handlers, remove dead code
4171 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4173 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4175 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4177 * text2.C (DEPM): fix part of bug 1255 and 1256
4179 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4181 * BufferView_pimpl.C (workAreaDispatch): change to use
4182 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4183 that are no mouse related.
4185 2003-08-05 André Pönitz <poenitz@gmx.net>
4188 * BufferView_pimpl.[Ch]:
4189 * bufferview_funcs.C:
4191 * text3.C: rip out "deep update"
4193 * textcursor.[Ch] (last_sel_cursor): remove unused member
4195 2003-08-04 André Pönitz <poenitz@gmx.net>
4198 * BufferView_pimpl.[Ch]:
4199 * ParagraphParameters.C:
4200 * bufferview_funcs.C:
4206 * text3.C: replace "complicated" BufferView::update(...) calls with
4209 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4211 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4213 * Makefile.am (lyx_SOURCES): add paper.h
4215 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4217 * Makefile.am: move things around so that both lyx-qt and
4218 lyx-xforms can be built (according to --with-frontend). Then lyx
4219 is a symbolic link to lyx-[firstfrontend]
4221 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4223 * Always use std::endl with lyxerr
4225 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4227 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4229 2003-08-01 André Pönitz <poenitz@gmx.net>
4232 * BufferView_pimpl.[Ch]:
4234 * text3.C: merge BufferView::repaint() and BufferView::update()
4236 2003-08-01 José Matos <jamatos@lyx.org>
4238 * buffer.[Ch]: file_format is no longer a buffer data element.
4240 2003-08-01 André Pönitz <poenitz@gmx.net>
4245 * text2.C: make redoParagraph more independent of current cursor
4247 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4249 * text2.C: remove unneeded members
4251 2003-07-30 André Pönitz <poenitz@gmx.net>
4253 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4255 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4256 create a single function...
4258 * paragraph_funcs.C (moveItem): ... here.
4261 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4263 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4265 * LColor.[Ch]: Add comment and greyedout logical colors.
4267 2003-07-30 André Pönitz <poenitz@gmx.net>
4269 * tabular.C: don't use Assert too heavily. This crashes where it
4272 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4274 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4275 is disabled (bug 1232)
4277 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4279 * factory.C: limited 'arg' scope
4281 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4283 * factory.C: fixed Note submenu issues
4285 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4287 * factory.C: submenu for Note/Comment/Greyedout
4289 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4292 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4294 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4297 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4298 greyedout. Patch provided by Jürgen Spitzmüller.
4300 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4302 * kbmap.C (read): fix error message when reading bind files
4304 2003-07-29 Angus Leeming <leeming@lyx.org>
4306 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4307 certainly does not do what it purports to do. I am doing it, and
4308 us, a favour by killing it.
4310 2003-07-28 José Matos <jamatos@lyx.org>
4312 * buffer.C (readBody, do_writeFile):
4313 * paragraph.C(readParagraph): \end_document replaces \the_end.
4315 2003-07-29 André Pönitz <poenitz@gmx.net>
4318 * BufferView_pimpl.[Ch]:
4322 * textcursor.[Ch]: remove toggleToggle & Co
4324 2003-07-28 José Matos <jamatos@fep.up.pt>
4326 * buffer.C (readParagraph):
4327 * params_func (readParToken, readParagraph):
4328 * paragraph.C (write): \layout -> \begin_layout.
4330 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4332 * lyxlex_pimpl.C (setFile): clean up slightly.
4334 * bufferparams.h: add compressed var
4336 * buffer_funcs.C (readFile): adjust for LyXLex change
4337 (newFile): ditto + simplify
4339 * buffer.C (writeFile): handle writing of compressed files
4341 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4342 Check if the file is compressed and set a bufferparm if so.
4344 * Makefile.am (lyx_LDADD): remove explicit -lz
4346 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4348 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4349 makeDocBookFile): put the real LyX version in the first line of
4353 * version.C.in: remove lyx_docversion
4355 * tabular.C (write_attribute): add a template-based version to
4356 write enums properly
4358 2003-07-28 André Pönitz <poenitz@gmx.net>
4363 * text3.C: use doubles again for x-coordinates. They are needed.
4365 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4367 * messages.C (getLocaleDir): use lyx_localedir()
4369 * lyxlex_pimpl.C (setFile): compress stuff
4371 * buffer.C (writeFile): add some compression stuff
4372 (do_writeFile): new func, dont call expliti close... will this
4375 * Makefile.am (lyx_LDADD): add -lz
4377 2003-07-28 José Matos <jamatos@fep.up.pt>
4379 * buffer.C: increment file format.
4380 * paragraph_funcs (readParagraph, readParToken):
4381 * paragraph.C (readParagraph): add \end_layout.
4383 2003-07-27 Angus Leeming <leeming@lyx.org>
4385 * Makefile.am: remove special casing for configure-time setting of
4386 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4388 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4389 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4391 2003-07-26 André Pönitz <poenitz@gmx.net>
4393 * paragraph_func.[Ch]:
4394 * paragraph.C (realizeFont): inline it whereever it is used
4399 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4402 2003-07-26 André Pönitz <poenitz@gmx.net>
4406 * text2.C: get rid of LyXText::need_break_row
4408 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4410 * toc.[Ch]: put namespace toc inside namespace lyx
4412 * MenuBackend.C (expandToc2): adjust for lyx::toc
4415 * lyxfunc.C (dispatch): adjust for lyx::find
4417 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4418 lyx::find instead. Reorganize a bit.
4419 (LyXReplace): rename to replace
4420 (LyXFind): rename to find
4422 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4425 2003-07-26 André Pönitz <poenitz@gmx.net>
4427 * text.C (setHeightOfRow): restrict scope of temporary variable
4429 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4430 code (never has been used?)
4432 2003-07-27 Asger Alstrup <alstrup@local>
4434 * text.C (fill): Optimise algorithm to exploit that we can reuse
4435 the LyXFont for many characters.
4436 (setHeightOfRow): Same thing.
4437 (rowBreakPoint): Same thing.
4439 2003-07-26 Asger Alstrup <alstrup@local>
4441 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4443 * text.C (singleWidth): Spurious font copying in hot-spot
4444 singleWidth avoided. Reorder tests for arabic for efficiency.
4446 * text.C (fill): handle empty paragraphs better.
4448 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4451 * encoding.h: add includes
4453 * lyxrc.C: remove reading of bind files
4455 * lyx_main.C (init): setup bindings and menus only if we have a
4458 * kbmap.C (read): new method. Do the actual reading of bind
4461 * converter.C (dvipdfm_options):
4464 (output): adapt PAPER_* enums.
4466 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4468 * bufferparams.h: remove paper-related enums from there
4470 * paper.h: New file. A trivial header file to hold paper-related
4471 enums. It should later expand to contain many paper-related
4474 * lyxrc.C: declare extern displayTranslator
4476 2003-07-27 José Matos <jamatos@fep.up.pt>
4478 * tabular.[Ch] (linuxdoc): add support for tables and figures
4481 2003-07-27 José Matos <jamatos@fep.up.pt>
4483 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4484 consistency in both functions.
4485 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4487 2003-07-26 Asger Alstrup <alstrup@local>
4489 * rowpainter.C (paintRows): Change algorithm to work directly on
4490 the insets rather than asking every character in the document
4491 whether its an inset.
4493 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4495 * buffer.C (openFileWrite): factorize some code
4497 2003-07-26 Angus Leeming <leeming@lyx.org>
4500 * lyx_main.[Ch]: replace occurances of system_tempdir with
4503 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4505 * rename Inset to InsetOld
4507 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4509 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4510 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4511 which I think is a bit clearer. EDIT is gone, since it was
4512 premature optimisation, and broken for mathed anyway.
4513 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4514 with cursor positioning in insets as well (math insets still do not
4515 work, but that's a different story anyway.) It mysteriously
4516 crashes sometimes with undo in the first paragraph, but I'm fairly
4517 confident that this is a compiler bug.
4519 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4521 * paragraph.C (Paragraph): adjust for new clone return type
4523 (copyIntoMinibuffer): ditto
4525 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4527 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4528 by not having a special case, and always doing a full rebreak of
4529 the document after undo.
4531 2003-07-23 Angus Leeming <leeming@lyx.org>
4533 * factory.C (createInset): InsetExternal::setParams now takes a
4536 2003-07-23 Angus Leeming <leeming@lyx.org>
4538 * factory.C (createInset): changed interface to the external and
4539 graphics mailers' string2params functions.
4541 2003-07-23 Angus Leeming <leeming@lyx.org>
4543 * factory.C (createInset): pass a
4544 Buffer const * parameter to InsetExternalMailer's string2params.
4546 2003-07-22 John Levon <levon@movementarian.org>
4548 * Thesaurus.h: include the right aiksaurus header
4550 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4552 * MenuBackend.C (expand): check menu shortcuts unconditionally
4554 2003-07-21 Angus Leeming <leeming@lyx.org>
4556 * factory.C (createInset): pass a
4557 buffer_path parameter to InsetGraphicsMailer's string2params.
4559 2003-07-21 Angus Leeming <leeming@lyx.org>
4561 * BufferView_pimpl.C (buffer):
4564 * lyxfunc.C (dispatch):
4565 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4566 rather than the grfx shortcut.
4568 2003-07-21 André Pönitz <poenitz@gmx.net>
4570 * rowpainter.C: remove unused variables
4573 * tabular_funcs.h: move to tabular.C
4574 * Makefile.am: adjust
4576 * tabular.[Ch]: basic optical cleaning
4578 * author.h: pass references, not values
4580 2003-07-18 André Pönitz <poenitz@gmx.net>
4588 * text3.C: two-phase drawing for InsetText and InsetTabular
4589 some float -> int changes.
4591 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4593 * lyx_main.C: fix the fix
4595 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4597 * lyx_main.C: fix a crash in batch mode if no files specified
4600 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4602 * format.[Ch] (papersize): moved to BufferParams
4603 * converter.[Ch] (dvips_options): moved to BufferParams
4604 (dvipdfm_options): moved to anon namespace
4605 * bufferparams.[Ch]: added above functions.
4607 2003-07-17 André Pönitz <poenitz@gmx.net>
4611 * text2.C: don't call inset->update() anymore
4613 * metricsinfo.[Ch]: add convenience constructor
4615 2003-07-16 André Pönitz <poenitz@gmx.net>
4620 * text2.C: replace the LyXCursor::irow_ member with
4621 on-demand computation of the value
4623 2003-07-16 John Levon <levon@movementarian.org>
4625 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4627 2003-07-15 André Pönitz <poenitz@gmx.net>
4630 * text2.C: remove no more needed refresh_row
4632 2003-07-15 André Pönitz <poenitz@gmx.net>
4637 * text3.C: refresh_status tristate -> need_update bool
4639 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4641 * lyxtext.h (init): remove reinit argument (act as if always true)
4642 * text2.C: adjust to that
4644 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4646 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4647 * text3.C: use it to delete selections in some cases
4648 (bugs 441, 673, 702, 954).
4650 2003-07-14 André Pönitz <poenitz@gmx.net>
4652 * rowpainter.[Ch]: reduce interface
4654 2003-07-14 André Pönitz <poenitz@gmx.net>
4656 * BufferView_pimpl.C:
4657 * text2.C: adjust after removing unused BufferView * argument
4659 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4661 * text2.C (init): fix a crash fired on resize
4663 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4665 * buffer.[Ch]: added new closing signal
4666 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4667 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4668 BufferView::Pimpl via the closing the signal
4670 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4672 * buffer.[Ch]: take out all bv-related from buffer
4674 * BufferView_pimpl.[Ch]: connect to new signals
4675 * CutAndPaste.C: removed useless asserts
4676 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4679 * lyxfunc.C: moved view-related funciontality from vc here
4680 * paragraph.C: removed outdated comments
4683 2003-07-10 André Pönitz <poenitz@gmx.net>
4685 * BufferView_pimpl.C:
4689 * text2.C: remove InsetText::InnerCache, clean up consequences
4691 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4693 * ispell.C: fix two typos in error messages
4695 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4697 * Extend Note inset to other forms of annotation like Comment
4698 and Greyedout. Right button click gives dialog.
4700 Files modified or added (+):
4704 * ControlNote.[Ch] +
4706 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4707 frontends/controllers
4711 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4713 * aspell.C: add missing namespace lyx::support
4715 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4717 * BufferView.[Ch] (newFile): Add
4718 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4719 * LaTeX.[Ch] (message): added this signal and use it
4720 * buffer.[Ch] (busy, message): added these signals and use them
4721 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4725 * importer.C: use buffer signals instead of direct bv calling
4726 * lyx_cb.[Ch] (ShowMessage): removed
4729 * paragraph_funcs.C:
4730 * text2.C: use buffer signals
4732 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4734 * introduce namespace lyx::graphics
4736 2003-07-02 André Pönitz <poenitz@gmx.net>
4738 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4740 2003-07-01 André Pönitz <poenitz@gmx.net>
4747 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4748 text*.C to text_func.C
4750 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4752 * introduce namespace lyx::support
4754 2003-06-30 André Pönitz <poenitz@gmx.net>
4759 * text.C: re-enable --with-included-string
4761 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * textcursor.C: add <config.h>
4765 * text.C (getWord): remove const from word_location arg
4767 * lyxvc.C (getLogFile): fix const type order
4769 * lyxtext.h: remove const from word_location arg, add arg name
4771 * lyxlayout.h: currect type on labeltype.
4773 * importer.C: correct \file
4775 * converter.C (intToFormat): use std:: on ret val, ws changes
4777 * bufferlist.h: correct \file
4779 * buffer.C (makeLinuxDocFile): fix const type order
4780 (makeDocBookFile): ditto
4781 (fillWithBibKeys): use std:: on stdlib args.
4783 * CutAndPaste.C: fix authors.
4784 (availableSelections): use std:: on return vector
4786 2003-06-27 André Pönitz <poenitz@gmx.net>
4788 * BufferView_pimpl.C:
4789 * bufferview_funcs.C:
4797 * text3.C: remove LyXCursor::row_ member
4800 * text.C: rename fullRebreak() to partialRebreak() and implement
4801 a fullRebreak() that really bereks fully
4803 * textcursor.h: new struct for cursor-related data
4805 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4807 * lyx_main.C (LyX): get full path of document loaded on the
4810 2003-06-26 André Pönitz <poenitz@gmx.net>
4812 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4813 remove unused/broken operator>,<,>=.
4815 * text.C: remove only use of broken operator<= in an Assert().
4817 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4819 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4820 moved errorlist_.clear to showErrorList
4822 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4824 * converter.C (scanLog, runLaTeX):
4825 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4826 move the bv->showErrorList call to the callers
4827 * lyxfunc.C: i.e. here...
4829 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4830 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4831 namespace, the second to...
4832 * buffer_funcs (BufferFormat, parseErrors): added
4833 * errorlist.C (ErrorList(TeXErrors const &)): removed
4835 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4837 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4839 2003-06-24 "Garst R. Reese" <reese@isn.net>
4843 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4845 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4847 * version.C.in: change docversion to 1.4
4849 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4851 * buffer.C: fix a bug just introduced
4853 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4855 * buffer.[Ch]: added the parseError signal and use it, removed
4857 * BufferView.[Ch] (addError): moved to ...
4858 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4859 to the Buffer::parseError signal to catch (guess what) parse errors
4860 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4862 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4864 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4865 ability to create a buffer and to return an existing one from
4866 the list. Moved these functions to...
4867 * buffer_funcs.[Ch]: added
4868 * BufferView.[Ch] (loadLyXFile): added
4869 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4870 job removed from bufferlist::loadLyXFile.
4871 * buffer.C (setReadOnly): make it work without view
4872 (i.e added an if (users))
4874 2003-06-19 Angus Leeming <leeming@lyx.org>
4877 * LyXAction.C (init):
4878 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4879 with LFUN_DIALOG_SHOW <name> <data>.
4881 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4883 * CutAndPaste.C (availableSelections): small compilation fix for
4884 ancient (gcc 2.9x) compilers
4886 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4888 * text3.C (cursorNext): add tmp var
4890 * text2.C (updateCounters): for function calling out of for clause
4891 (replaceSelectionWithString): ditto
4892 (insertStringAsParagraphs): ditto
4893 (getColumnNearX): add tmp var
4894 (setCursorFromCoordinates): add tmp var
4895 (cursorDownParagraph): add tmp var
4896 (deleteEmptyParagraphMechanism): add tmp var
4898 * text.C (insertChar): add tmp var
4900 * rowpainter.C (paintDepthBar): add tmp var
4902 * CutAndPaste.C (availableSelections): potentially check all
4903 paragraphs in a cut to fill the shown strings.
4905 2003-06-18 André Pönitz <poenitz@gmx.net>
4907 * kbmap.[Ch]: use vector<> instead of list<>
4909 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4911 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4912 pasteSelection with index
4914 * text2.C (pasteSelection): modify, call pasteSelection with index
4916 * paragraph.C (asString): reimplement version with no interval to
4917 call the one with interval.
4919 * lyxtext.h: add index arg to pasteSelection
4921 * MenuBackend.C (MenuItem): handle PasteRecent
4922 (Menu::read::Menutags): add md_pasterecent
4924 (expandPasteRecent): new function
4927 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4929 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4931 (availableSelections): new function
4933 2003-06-17 Angus Leeming <leeming@lyx.org>
4935 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4937 2003-06-17 Angus Leeming <leeming@lyx.org>
4940 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4942 * lyxfunc.C (dispatch): invoke it.
4944 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4946 * iterators.C (operator++, ParPosition): reintroduce some
4947 const_cast for the benefit of older compilers.
4949 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4951 * text3.C (dispatch): do not modify clipboard when doing
4952 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4953 LFUN_DELETE_SKIP on a selection selection
4955 2003-06-16 André Pönitz <poenitz@gmx.net>
4961 * tabular.[Ch]: IU of clone() and getLabelList();
4963 2003-06-13 André Pönitz <poenitz@gmx.net>
4965 * tabular.h: compactification
4967 2003-06-12 André Pönitz <poenitz@gmx.net>
4971 * tabular_funcs.h: some renaming plus whitespace
4973 2003-06-12 André Pönitz <poenitz@gmx.net>
4976 * BufferView_pimpl.C:
4982 * toc.C: Return a Paragraph & for ParIterator::operator*()
4984 2003-06-11 John Levon <levon@movementarian.org>
4988 * ToolbarBackend.C: add "Toolbars" section and
4991 2003-06-10 Angus Leeming <leeming@lyx.org>
4994 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4996 * lyxfunc.C (dispatch): invoke it.
4998 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5000 * main.C: protect <ios> with HAVE_IOS
5001 (main): protect sync_with_stdio with HAVE_IOS
5003 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5005 * text2.C (cutSelection): adjust
5006 (pasteSelection): adjust
5008 * messages.C: handle get of empty string
5010 * main.C (main): use sync_with_stdio(false)
5012 * lyxfunc.C (dispatch): adjust
5014 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5015 (WriteAs): remove unneeded BufferView arg.
5017 * bufferparams.h: use correct types on papersize, papersize2 and
5020 * bufferparams.C (readToken): adjust for type
5021 (writeLaTeX): add missing cases to switch.
5023 * bufferlist.C (quitWriteBuffer): adjust
5026 * buffer.C (asciiParagraph): remove some commented code.
5028 * CutAndPaste.C: remove current_view extern variable.
5029 (cutSelection): add BufferParams arg.
5030 (eraseSelection): add BufferParams arg.
5031 (pasteSelection): add Buffer const & arg
5033 2003-06-07 John Levon <levon@movementarian.org>
5036 * paragraph_funcs.C:
5037 * paragraph_pimpl.C:
5041 * paragraph.C: allow InsetERT to freely space lines,
5042 and some consolidation of code
5044 2003-06-06 José Matos <jamatos@fep.up.pt>
5046 * buffer.C (makeDocBookFile): fix bug #821
5048 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5050 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5052 2003-06-04 Angus Leeming <leeming@lyx.org>
5054 * buffer.C: bump format to 224.
5056 2003-06-05 André Pönitz <poenitz@gmx.net>
5058 * text2.C (redoParagraphs): remove two const_cast<>
5060 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5062 * ParagraphList.h: remove last remnants of NO_STD_LIST
5064 2003-06-03 Angus Leeming <leeming@lyx.org>
5066 * factory.C (createInset): small change to the way InsetExternal's params
5069 2003-06-04 André Pönitz <poenitz@gmx.net>
5071 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5073 * paragraph_pimpl.h:
5074 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5076 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5078 * undo_funcs.C: make some simple cases of undo work again
5080 2003-06-03 John Levon <levon@movementarian.org>
5082 * ispell.C: HPUX doesn't have sys/select.h
5085 2003-06-03 John Levon <levon@movementarian.org>
5087 * CutAndPaste.C: update tabular and include inset
5092 * paragraph.C: remove owningBuffer(), don't pass Buffer
5095 * factory.C: insetGraphicsParams changed
5097 2003-06-02 John Levon <levon@movementarian.org>
5103 * text3.C: remove insetparent
5105 2003-06-02 John Levon <levon@movementarian.org>
5108 * buffer.C: fix inset_iterator.end(), move out of line
5111 2003-06-01 John Levon <levon@movementarian.org>
5113 * text3.C: use a proper cut/paste when doing inset
5114 insert (from Jürgen Spitzmüller)
5116 2003-06-01 John Levon <levon@movementarian.org>
5118 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5120 2003-05-30 André Pönitz <poenitz@gmx.net>
5122 * rowpainter.C: unify second drawing phase
5124 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5126 * trans_mgr.C: remove one case of current_view
5128 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5130 * paragraph_funcs.h: remove paragraph.h include
5132 * paragraph.h: delete NO_STD_LIST stuff
5134 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5136 * buffer.h: remove paragraph.h include
5138 * ParagraphList.C: delete file
5140 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5142 * toc.C (getTocList): adjust
5144 * paragraph_pimpl.C (validate): adjust
5146 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5148 * paragraph.C (Paragraph): adjust
5149 (getPositionOfInset): use const_iterator, adjust
5150 (bibitem): use const_iterator, adjust
5151 (setInsetOwner): adjust
5153 * iterators.C (operator++): adjust
5155 * InsetList.[Ch]: Replace selfmade iterator with standard
5156 vector::iterator also introduce const_iterator. Remove getPos,
5157 getInset and setInset from InsetTable. Adjust accordingly.
5159 * BufferView.C (lockInset): adjust
5160 (ChangeInsets): adjust
5162 * tabular.[Ch]: delete commented same_id functions
5164 2003-05-28 John Levon <levon@movementarian.org>
5166 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5168 2003-05-28 André Pönitz <poenitz@gmx.net>
5170 * metricsinfo.[Ch]: remove 'fullredraw' member
5172 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5174 * lyxtextclass.C (operator): remove caching.
5176 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * text2.C (cursorBottom): adjust
5181 (setCounter): use ParagraphList::find, adjust
5183 * text.C (workWidth): use ParagraphList::find, adjust
5185 * lyxcursor.C (LyXCursor): adjust
5187 * buffer.C (inset_iterator): adjust
5189 * ParagraphList.h: make iterator(value_type) private, make
5190 ParagraphList a friend of iterator.
5192 * ParagraphList.C (find): new function
5194 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5196 2003-05-27 André Pönitz <poenitz@gmx.net>
5198 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5200 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5202 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5204 2003-05-26 John Levon <levon@movementarian.org>
5206 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5208 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5210 * remove same_id from function signatures, adjust.
5212 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5214 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5216 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5218 * paragraph.C (Paragraph): get rid of same_ids parameter
5220 * ParagraphList.C (insert): adjust
5223 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5225 * paragraph_funcs.C (breakParagraph): adjust
5226 (breakParagraphConservative): adjust
5228 * buffer.C (readParagraph): adjust
5230 * ParagraphList.C (insert): take a reference instead of a pointer
5233 * paragraph.[Ch] (id): new function
5235 * bufferlist.C (newFile): adjust
5237 * ParagraphList.C (ParagraphList): adjust
5239 (push_back): take a reference instead of a pointer.
5241 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5243 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5246 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5247 set else use old code.
5249 * ParagraphList.C: remove all NO_NEXT code and only compile this
5250 code of NO_STD_LIST is set.
5252 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5254 * BufferView_pimpl.C:
5264 * graphics/GraphicsConverter.C:
5265 * graphics/PreviewLoader.C: header adjustment
5267 2003-05-23 Angus Leeming <leeming@lyx.org>
5269 * LaTeXFeatures.[Ch] (useBabel): new method.
5270 * bufferparams.C (writeLaTeX): use it.
5272 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5274 * ParagraphList.h (set): remove unused function.
5276 2003-05-23 André Pönitz <poenitz@gmx.net>
5279 * BufferView_pimpl.C:
5283 * undo_funcs.C: setUndo reworked
5285 * iterators.[Ch]: add access to topmost ParagraphList
5287 * lyxtext.[Ch] (workWidth): add a const
5289 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5291 * texrow.[Ch] (increasePos): remove function
5292 * exporter.C (export): removed unused var and outdated comment
5294 2003-05-23 Angus Leeming <leeming@lyx.org>
5296 * latexrunparams.h: rename fragile as moving_arg.
5297 * paragraph.C (simpleTeXOnePar): ditto.
5298 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5300 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5302 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5304 (textUndoOrRedo): comment out a currently unused var.
5306 * paragraph.h (NO_NEXT): enable NO_NEXT
5308 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5310 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5312 * exporter.C (Export): adjust for removeAutoInsets removal.
5314 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5316 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5318 * BufferView.[Ch] (removeAutoInsets): delete function
5320 2003-05-22 Angus Leeming <leeming@lyx.org>
5322 * latexrunparams.h: add a free_spacing variable.
5324 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5325 to pass moving_arg, as the data is stored in runparams.fragile.
5327 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5328 to Inset::latexOptional or to simpleTeXOnePar.
5330 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5331 free_spacing arg to Inset::latexOptional.
5333 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5336 2003-05-22 Angus Leeming <leeming@lyx.org>
5338 * latexrunparams.h: add fragile and use_babel variables.
5340 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5341 * buffer.C (makeLaTeXFile): store this returned value in
5342 runparams.use_babel, thus passing it to the inset::latex methods.
5344 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5345 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5347 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5348 longer has a fragile arg, as it is stored in runparams.fragile.
5350 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5351 moving_arg parameter as the data is stored in runparams.fragile.
5353 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5354 a fragile parameter as the data is stored in runparams.fragile.
5356 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5358 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5360 2003-05-22 Angus Leeming <leeming@lyx.org>
5362 * latexrunparams.h: add a 'bool nice' which defaults to false.
5364 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5365 now encapsulated within runparams.
5367 * bufferlist.C (updateIncludedTeXfiles):
5368 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5370 2003-05-22 Angus Leeming <leeming@lyx.org>
5372 * latexrunparams.h: new file containing struct LatexRunParams.
5373 * Makefile.am: add new file.
5375 * LaTeX.[Ch] (c-tor, run):
5376 * buffer.[Ch] (makeLaTeXFile):
5377 * bufferlist.[Ch] (updateIncludedTeXfiles):
5378 * converter.C (convert, scanLog):
5379 * converter.[Ch] (runLaTeX):
5380 * exporter.C (Export):
5381 * paragraph.[Ch] (simpleTeXOnePar):
5382 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5383 * paragraph_funcs.[Ch] (latexParagraphs):
5384 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5385 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5386 pass around a LatexRunParams parameter.
5388 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5390 * paragraph.[Ch]: remove unused constructor
5392 * ParagraphList.C (erase): new function, taking two iterators
5394 2003-05-22 André Pönitz <poenitz@gmx.net>
5396 * undo_funcs.C: remove duplicated code
5398 * iterator.[Ch]: operator=
5400 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5402 * tabular.C (SetMultiColumn): ws changes
5404 * rowpainter.C (paintFirst): get rid of a ->previous
5406 * lyx_cb.C (getPossibleLabel): parlist simplification
5408 * BufferView.C (ChangeInsets): simplify slightly.
5410 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5412 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5413 * lfuns.h: new LFUN_SPACE
5414 * lyxfunc.C: protected space has a new lfun
5415 * paragraph_funcs.C: read new space insets
5417 * factory.C: handle new space insets
5419 2003-05-22 André Pönitz <poenitz@gmx.net>
5422 * BufferView_pimpl.C:
5425 * undo_funcs.C: return a ParIterator from getParFromID.
5427 * iterators.[Ch]: add two const's
5429 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5431 * toc.C (getTocList): adjust
5433 * iterators.[Ch]: rework for parlist
5435 * buffer.C (par_iterator_begin): adjust
5436 (par_iterator_end): adjust
5438 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5440 * BufferView.C (removeAutoInsets): adjust
5441 (ChangeInsets): adjust
5443 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5445 * text.C (top_y): fix bug 1110
5447 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5449 * errorlist.[Ch]: added
5452 * BufferView_pimpl.C:
5453 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5456 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5458 * Makefile.am: ensure that lyx is relinked upon changes to the
5459 various "convenience" libs.
5461 2003-05-20 Angus Leeming <leeming@lyx.org>
5463 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5464 files are compiled in alphabetical order again.
5466 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5468 2003-05-19 Angus Leeming <leeming@lyx.org>
5470 * gettext.[Ch]: remove "char const * _(char const *)".
5472 2003-05-19 André Pönitz <poenitz@gmx.net>
5474 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5483 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5485 2003-05-19 André Pönitz <poenitz@gmx.net>
5489 * lyxtextclass.[Ch]:
5491 * paragraph_funcs.[Ch]:
5493 * text3.C: more insetenv work
5495 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5497 * ParagraphParameters.C (params2string): small bug fixed
5499 2003-05-16 André Pönitz <poenitz@gmx.net>
5502 * bufferview_funcs.C: patch from Kornel Benko to prevent
5503 crash when _(...) is called twice in a statement
5505 2003-05-16 André Pönitz <poenitz@gmx.net>
5512 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5514 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5516 * lyx_main.C (init): remove spurious static_cast
5518 2003-05-14 André Pönitz <poenitz@gmx.net>
5520 * BufferView.C: fix format string
5522 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5524 * BufferView.[Ch] (insertErrors): removed
5525 * BufferView.[Ch] (showErrorList): added
5526 * buffer.C (runChkTeX):
5527 * converter.C (scanLog): call showErrorList instead of inserterrors
5529 2003-05-13 André Pönitz <poenitz@gmx.net>
5531 * BufferView_pimpl.C:
5533 * bufferview_func.C:
5540 * tabular_funcs.h: tostr() from its own header
5542 * ParagraphParameters.C:
5547 * text3.C: STRCONV()
5549 2003-05-12 André Pönitz <poenitz@gmx.net>
5552 * BufferView_pimpl.C:
5556 * ParagraphParameters.C:
5560 * bufferview_funcs.C:
5573 * paragraph_funcs.C:
5577 * text3.C: boost::format -> bformat all over the place
5580 2003-05-09 André Pönitz <poenitz@gmx.net>
5582 * LColor.[Ch]: Pimpl the #include <map> away
5584 2003-05-09 John Levon <levon@movementarian.org>
5586 * bufferlist.C: never remove emergency saves
5588 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5590 * Makefile.am: better lib building
5592 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5594 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5596 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5597 (simpleTeXSpecialChars): adjust
5598 (simpleTeXSpecialChars): adjust
5599 * paragraph.C (simpleTeXOnePar): adjust
5600 * buffer.C (makeLaTeXFile): adjust
5602 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5604 * text2.C (changeDepth): parlist cleanup
5605 (getColumnNearX): ditto
5607 * rowpainter.C (getLabelFont): parlist cleanup
5609 * bufferlist.C (newFile): parlist cleanup
5611 * CutAndPaste.C (eraseSelection): parlist cleanup
5613 * BufferView_pimpl.C (trackChanges): parlist cleanup
5616 * BufferView.C (lockInset): parlist cleanup.
5617 (ChangeInsets): ditto
5619 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5621 * CutAndPaste.h: Update file header.
5623 * CutAndPaste.C: Update file header.
5624 Store the parts cut out of the Document in a limited_stack.
5625 (copySelection): adjust
5626 (pasteSelection): new function, takes the index in the limited stack.
5627 (nrOfParagraphs): adjust
5628 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5629 simplify error inset insertion.
5630 (checkPastePossible): adjust
5632 2003-05-06 John Levon <levon@movementarian.org>
5634 * text2.C: don't cast wrap inset to float
5636 2003-05-05 André Pönitz <poenitz@gmx.net>
5639 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5641 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5642 few naked Paragraph *.
5644 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5646 * bufferparams.C: Output warning if a document with missing
5647 TeX document class is loaded
5648 * exporter.C: Disable TeX exports if the document class is missing
5651 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5652 isTeXClassAvailable()
5654 2003-05-03 John Levon <levon@movementarian.org>
5657 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5658 explicit cursor show/hide
5660 * BufferView_pimpl.h:
5661 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5662 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5664 * lyxfunc.C: hide cursor before dispatching.
5669 * text3.C: remove explicit cursor hides
5671 2003-05-02 André Pönitz <poenitz@gmx.net>
5673 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5676 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5679 * text2.C: tiny whitespace
5681 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5683 * undo_funcs.C: almost only ws changes.
5685 * ParagraphList.C (splice): just return if pl is empty.
5687 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5689 * ParagraphList.C (splice): new function.
5691 * CutAndPaste.C (pasteSelection): use it
5693 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5695 * CutAndPaste.C (pasteSelection): remove the last next and
5696 previous from this file.
5698 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5700 * CutAndPaste.C (pasteSelection): more clean up, user proper
5701 ParagraphList functions for pasteing.
5703 * ParagraphList.C (insert): new function, three arg insert
5705 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5707 * ParagraphList.C (insert): new function, three arg insert
5709 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5712 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5716 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5718 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5720 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5722 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5723 (copySelection): clean up a bit.
5724 (pasteSelection): use make_pair
5726 * ParagraphList.C (ParagraphList): implement copy constructor
5727 (operator=): implement, base on copy constructor.
5730 * paragraph.C (erase): return a bool
5732 * paragraph_pimpl.C (erasePos): remove function, move contents...
5733 (erase): ... here. Return a bool.
5734 (erase): call erase instead of erasePos.
5736 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5738 * ParagraphList.h: define PitPosPair
5739 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5740 ParagraphList, fix a bug on pasting multiple pars
5741 * text2.C: change interface to C&P
5743 2003-04-30 André Pönitz <poenitz@gmx.net>
5745 * undo_func.C: revert part of yesterday's patch 2
5747 2003-04-30 John Levon <levon@movementarian.org>
5749 * LColor.C: s/tabular/table/
5751 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5753 * text3.C (dispatch): do not convert iterator -> pointer
5754 * undo_funcs.C (setCursorParUndo): ditto
5755 * text_funcs.C (transposeChars): ditto
5757 * text2.C (setLayout): ws changes only
5759 * text.C (breakParagraph): do not convert iterator -> pointer
5761 (acceptChange): ditto
5762 (rejectChange): ditto
5767 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5770 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5772 * text3.C (gotoInset): YABG (yet another bad getChar)
5774 2003-04-29 André Pönitz <poenitz@gmx.net>
5776 * paragraph.h: make operator= private unimplemented as long as
5779 * ParagraphList.C: whitespace
5782 * paragraph_pimpl.[Ch]:
5783 * paragraph_funcs.C:
5785 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5788 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5790 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5792 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5793 * paragraph.[Ch] (erase):
5794 * paragraph_pimpl.[Ch] (erase): change return type and value
5795 * text2.C (cutSelection): some rework
5797 2003-04-28 John Levon <levon@movementarian.org>
5799 * bufferlist.C: changes for unsaved changes dialog
5801 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5803 * bufferlist.C (newFile): set language (messages_) for new
5806 * buffer.C (readFile): ws changes only.
5808 2003-04-28 André Pönitz <poenitz@gmx.net>
5813 * BufferView_pimpl.C:
5814 * BufferView.C: getParFromID related ParagraphList::iterator changes
5816 2003-04-28 André Pönitz <poenitz@gmx.net>
5818 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5821 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5823 * messages.C: remove one more localedir class variable.
5825 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5827 * messages.C (getLocaleDir): singleton generation function
5829 (Messages): add a default constructor.
5831 * main.C (main): do not setup localedir here, do not call
5834 * gettext.C (_): use it.
5835 (gettext_init): delete funciton
5837 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5839 * gettext.C (getLyXMessages): new singleton generating function.
5841 * buffer.C (updateDocLang): adjust
5843 * Makefile.am (messages.o): add target
5844 (main.o): remove target
5846 2003-04-27 John Levon <levon@movementarian.org>
5851 * lyxvc.C: specify cancel button in Alert::prompt
5853 2003-04-26 John Levon <levon@movementarian.org>
5858 * LyXAction.C: add LFUN_INSET_SETTINGS
5860 * lyxfunc.C: don't enable tabular-feature when there's
5861 just any locking inset
5863 2003-04-26 John Levon <levon@movementarian.org>
5865 * bufferlist.C: re-add Cancel to buffer close question
5867 * lyxfunc.C: fix import UI a bit
5869 2003-04-25 John Levon <levon@movementarian.org>
5871 * gettext.C: remove the broken asserts for now
5873 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5875 * messages.C: make case where setlocale cannot comply work better.
5877 * buffer.C (updateDocLang): new function
5878 (changeLanguage): use it
5881 * text2.C (setCounter): use B_ a bit.
5883 * lyxlayout.C (Read): be sure to trim the label strings.
5885 * messages.C (Messages): fix typo in comment
5887 * buffer.C (readFile): set message_ after file is loaded.
5888 (makeDocBookFile): remove double return
5889 (changeLanguage): reset message_ upon language change.
5890 (B_): new func, use this to get translated buffer strings.
5892 * main.C: add myself and Jean Marc as authors.
5894 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5896 * messages.[hC]: pimplify Messages, and three different pimpls to be
5897 used in different circumstances.
5899 * gettext.[Ch]: change for use with new message code.
5901 2003-04-24 André Pönitz <poenitz@gmx.net>
5903 * factory.C: support for eqref
5905 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5907 * messages.[Ch]: add missing char
5909 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5911 * messages.[Ch]: New files
5913 2003-04-18 John Levon <levon@movementarian.org>
5917 * BufferView_pimpl.C:
5921 * text2.C: remove layout-copy/paste (bug 778)
5923 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5925 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5927 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5929 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5930 if they succeed. Act accordingly.
5932 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5934 * text2.C (setCharFont): adjust
5935 (setCounter): adjust
5936 (insertStringAsLines): adjust
5938 * text.C (leftMargin): adjust
5939 (setHeightOfRow): adjust
5941 * rowpainter.C (paintFirst): adjust
5944 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5946 (isFirstInSequence): ditto
5947 (getEndLabel): ditto
5950 * paragraph.C (getParLanguage): comment out some hard stuff.
5952 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5954 (simpleDocBookOnePar): ditto
5955 (makeDocBookFile): use ParagraphList::iterator
5957 * CutAndPaste.C (pasteSelection): adjust
5959 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5961 * text2.C (getFont): adjust
5962 (getLayoutFont): adjust
5963 (getLabelFont): adjust
5965 * paragraph_funcs.C (TeXOnePar): adjust
5967 * buffer.C (simpleLinuxDocOnePar): adjust
5968 (simpleDocBookOnePar): adjust
5970 * CutAndPaste.C (pasteSelection): adjust
5972 * BufferView.C (getEncoding): adjust
5974 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5976 2003-04-16 John Levon <levon@movementarian.org>
5978 * lyxfind.C: use parlist stuff for search/changes
5980 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5982 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5984 * text2.C (deleteEmptyParagraphMechanism): adjust
5986 * text2.[Ch] (ownerParagraph): delete func (both of them
5988 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5990 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5992 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5994 * ParagraphList.C: prepare for NO_NEXT
5996 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5998 * text2.C (getFont): adjust
5999 (getLayoutFont): adjust
6000 (getLabelFont): adjust
6002 * paragraph.C (getFont): adjust
6003 (getLabelFont): adjust
6004 (getLayoutFont): adjust
6006 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6008 2003-04-15 John Levon <levon@movementarian.org>
6012 * lyx_main.C: handle Include in .ui files
6014 2003-04-15 John Levon <levon@movementarian.org>
6016 * MenuBackend.C: make the doc files length shorter
6019 * ToolbarBackend.C: handle toolbar placement flags,
6022 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6027 * paragraph_funcs.C (TeXOnePar): adjust
6029 * paragraph.C (getLabelFont): add outerfont arg, adjust
6030 (getLayoutFont): ditto
6031 (simpleTeXOnePar): adjust
6033 * paragraph_pimpl.C (realizeFont): delete func
6035 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6037 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6038 row argument, constify cur argument.
6040 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * text2.C (getFont): adjust
6043 (getLayoutFont): adjust
6044 (getLabelFont): adjust
6046 * paragraph_funcs.C (TeXOnePar): adjust
6047 (outerFont): new func...
6048 (realizeFont): ...moved out from here, changed this to facilitate
6051 * paragraph.C (getFont): take outerfont as arg, adjust
6052 (simpleTeXOnePar): add outerfont arg, adjust
6054 * buffer.C (simpleLinuxDocOnePar): adjust
6055 (simpleDocBookOnePar): adjust
6057 * CutAndPaste.C (pasteSelection): adjust
6059 * BufferView.C (getEncoding): adjust
6061 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6063 * text2.C (setCharFont): adjust
6064 (setCounter): adjust
6066 * text.C (leftMargin): adjust
6067 (setHeightOfRow): adjust
6069 * rowpainter.C (paintFirst): adjust
6072 * paragraph_pimpl.C (realizeFont): adjust
6074 * paragraph.C (isFirstInSequence): move from here...
6075 * paragraph_funcs.C (isFirstInSequence): ...to here
6077 * paragraph.C (outerHook): move from here...
6078 * paragraph_funcs.C (outerHook): ...to here
6080 * paragraph.C (depthHook): move from here...
6081 * paragraph_funcs.C (depthHook): ...to here
6083 * paragraph.C (getEndLabel): move from here...
6084 * paragraph_funcs.C (getEndLabel): ...to here
6086 * text2.C (realizeFont): move from here...
6087 * paragraph_funcs.C (realizeFont): ...to here
6089 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6091 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6093 2003-04-14 Angus Leeming <leeming@lyx.org>
6095 * LColor.[Ch]: scrap LColor mathcursor.
6097 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * lyxlex.[Ch] (text): delete function
6100 * trans.C (Load): adjust
6101 * paragraph_funcs.C (readParToken): adjust
6103 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6105 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6106 vector<char> instead of a char[].
6108 * lyxlex_pimpl.C (getString): adjust
6110 (lex): use getString
6114 * lyxlex.C (text): use pimpl_->getString()
6118 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6120 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6121 (makeFontEntriesLayoutSpecific): temp var for par.size()
6122 (setLayout): temp var for ownerParagraphs().end()
6123 (fullRebreak): temp var for rows().end()
6124 (selectionAsString): temp var for boost::next(startpit), realize
6125 that the while really is a regular for loop.
6126 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6127 setCursor in one place.
6128 (setParagraph): temp vr for ownerParagraphs().end()
6129 (updateCounters): make the while loop a for loop
6130 (cutSelection): temp var for ownerParagraphs().end()
6131 (updateInset): make the do {} while() a regular for loop
6132 (getCursorX): use temp vars
6133 (setCurrentFont): use temp vars
6134 (getColumnNearX): use temp vars
6136 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6138 * text.C (transformChar): use temp var for getChar
6139 (computeBidiTables): use temp var for row->par()
6140 (fill): move temp vars for row->par() and pit->layout() earlier in
6142 (labelFill): use temp var for row->par()
6143 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6144 asc and desc, realize that pit never changes and that firstpit is
6145 just a duplicate and not needed. Exchange rit->par() with pit in a
6147 (breakAgain): use a temp var for boost::next(rit)
6148 (breakAgainOneRow): ditto
6149 (breakParagraph): use a temp var for rows().begin()
6150 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6151 (cursorRightOneWord): use temp var for cursor.par() and
6152 cursor.pos(), remove usage of tmpcursor.
6153 (cursorLeftOneWord): use temp var for cursor.par() and
6154 cursor.pos() only set cur at end of function.
6156 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6158 * text.C, text2.C: exchange all usage of Paragraph::next with
6159 boost::next(ParagraphList::iterator)
6161 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6163 * text2.C (cursorTop): simplify implementation
6164 (cursorBottom): ditto
6165 (setParagraph): use ParagraphList::iterator
6166 (setCurrentFont): adjust
6167 (getColumnNearX): adjust
6168 (cursorRight): adjust
6169 (cursorLeft): remove usage of Paragraph::previous
6170 (cursorUpParagraph): ditto
6171 (deleteEmptyParagraphMechanism): slight cleanup
6173 * text.C (isBoundary): take a Paragraph const & instead of a
6175 (addressBreakPoint): ditto
6176 (leftMargin): remove usage of Paragraph::previous.
6177 (setHeightOfRow): ditto
6178 (cursorLeftOneWord): ditto
6179 (selectNextWordToSpellcheck): ditto
6182 (breakParagraph): remove one usage of Paragraph::next
6183 (redoParagraph): ditto
6184 (acceptChange): ditto
6185 (insertChar): adjust
6186 (rowBreakPoint): adjust
6188 * bufferview_funcs.C (toggleAndShow): adjust
6190 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6192 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6193 methods to access it.
6195 * text.C: Added updateRowPositions to compute all row positions.
6196 Make top_y and getRowNearY() to use the cached y position
6198 2003-04-11 John Levon <levon@movementarian.org>
6200 * text.C (rowBreakPoint): reintroduce the labelEnd
6201 checks, code copied from the row fill stuff. Deep voodoo.
6203 * text.C (fill): add a comment and debugging for the
6206 2003-04-11 John Levon <levon@movementarian.org>
6208 * text.C: make sure fullrow insets get wrapped to the next line,
6209 even when they're in a manual label
6211 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * text2.C (insertParagraph): make it take ParagraphList::iterator
6215 (setLayout): make it return ParagraphList::iterator
6216 (redoParagraphs): ditto
6218 (checkParagraph): ditto
6220 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6222 * text2.C: adjust several funcs.
6223 (realizeFont): take a ParagraphList::iterator as arg.
6224 (getLayoutFont): ditto
6225 (getLabelFont): ditto
6226 (setCharFont): ditto
6228 * text.C: adjust several funcs.
6230 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6232 * text.C (selectNextWordToSpellcheck): don't accidentally
6235 2003-04-10 John Levon <levon@movementarian.org>
6237 * ToolbarBackend.C (getIcon): special handling for
6240 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6242 * text2.C (cursorRight): a getChar assert fixed
6244 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6246 * text2.C (getFont): change to take a ParagraphList::iterator
6247 instead of Paragraph*
6248 Adjust several functions.
6250 * text.C (transformChar): change to take a ParagraphList::iterator
6251 instead of Paragraph*
6252 (singleWidth): ditto
6253 Adjust several functions.
6255 * rowpainter.C: adjust several functions
6256 * rowpainter.h:store a ParagraphList::iterator and not a
6260 2003-04-09 John Levon <levon@movementarian.org>
6265 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6266 and the "help" bits as well
6268 2003-04-09 John Levon <levon@movementarian.org>
6271 * ToolbarBackend.C: allow multiple toolbars
6273 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6275 * undo_funcs.C (setCursorParUndo): adjust
6277 * text_funcs.C (transposeChars): adjust
6279 * text3.C (gotoNextInset): adjust
6282 * text2.C (setLayout): adjust
6283 (changeDepth): adjust
6285 (redoParagraphs): adjust
6286 (selectionAsString): adjust
6287 (setParagraph): adjust
6288 (insertInset): adjust
6289 (cutSelection): adjust
6290 (copySelection): adjust
6291 (pasteSelection): adjust
6292 (insertStringAsLines): adjust
6293 (updateInset): adjust
6294 (setCursor): change to take a ParagraphList::iterator parameter
6295 (setCursorIntern): change to take a ParagraphList::iterator parameter
6296 (setCurrentFont): adjust
6297 (cursorLeft): adjust
6298 (cursorRight): adjust
6299 (deleteEmptyParagraphMechanism): adjust
6301 * text.C (breakParagraph): adjust
6302 (insertChar): adjust
6303 (acceptChange): adjust
6304 (rejectChange): adjust
6305 (selectNextWordToSpellcheck): adjust
6306 (changeCase): adjust
6310 * lyxfind.C (SearchForward): adjust
6311 (SearchBackward): adjust
6312 (nextChange): adjust
6314 * lyxcursor.C (par): adjust
6316 * lyxcursor.h: store a ParagraphList::iterator instead of a
6319 * lyx_cb.C (getPossibleLabel): adjust
6321 * bufferview_funcs.C (toggleAndShow): adjust
6323 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6326 * BufferView.C (removeAutoInsets): adjust
6327 (lockedInsetStoreUndo): adjust
6329 2003-04-09 John Levon <levon@movementarian.org>
6331 * ToolbarBackend.C: try icon without argument
6332 if with argument fails
6334 2003-04-08 John Levon <levon@movementarian.org>
6337 * ToolbarBackend.C: add getIcon(), handle tooltip,
6338 and change from "Icon" to "Item".
6340 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6342 * BufferView.C (lockInset): another bad getchar crunched
6344 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6346 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6349 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6351 * lyxfind.C (searchForward, searchBackwards): bug 782
6353 2003-04-07 John Levon <levon@movementarian.org>
6355 * paragraph.C: remove dead comment
6357 * text.C: remove troublesome depth-fiddling code
6358 in leftMargin() and rightMargin() (bug 1017)
6360 * text.C: fix breaking of rows in nested lists
6363 * text2.C (updateCounters): fix up depth values
6366 2003-04-07 John Levon <levon@movementarian.org>
6368 * BufferView_pimpl.C: clear message when doc finishes resizing,
6369 and after a mouse event
6371 * lyxfunc.C: clear message after exiting inset
6373 2003-04-07 John Levon <levon@movementarian.org>
6375 * bufferview_funcs.C: show math status not outside
6376 status in the statusbar
6378 2003-04-07 John Levon <levon@movementarian.org>
6380 * lyxfunc.C: note status changed after a depth change
6382 2003-04-04 Angus Leeming <leeming@lyx.org>
6384 * LaTeX.h: move AuxInfo operator==, != out of line.
6385 Remove LaTeX virtual destructor; nothing derives from it.
6386 Move operator()() out of public area and rename it startscript().
6387 Change protected for private.
6389 2003-04-04 Angus Leeming <leeming@lyx.org>
6392 * text2.C: remove unneeded #includes.
6394 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6396 * text2.C (dEPM): fix the heigth of the next row
6398 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6400 * text.C: squashed an invalid getChar requester + some ws changes
6402 2003-04-03 John Levon <levon@movementarian.org>
6404 * bufferview_funcs.h:
6405 * bufferview_funcs.C:
6408 * text2.C: make getStatus work for the env depth lfuns
6410 2003-04-03 John Levon <levon@movementarian.org>
6412 * bufferview_funcs.h:
6413 * bufferview_funcs.C:
6416 * text2.C: parlistize decDepth(), by merging it with incDepth()
6418 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6420 * lyxrow.h: store a ParagraphList::iterator instead of a
6421 Paragraph* and adjust other class functions to suit.
6423 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6426 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6428 * text2.C (setCursor): do not anchor to cursor row for the time being
6430 2003-04-02 John Levon <levon@movementarian.org>
6437 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6439 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6441 * paragraph.h: make ParagraphList and ParagraphList::iterator
6442 friends of Paragraph.
6444 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6446 * ParagraphList.C: Use the private next_ and previous_ from
6449 2003-04-01 John Levon <levon@movementarian.org>
6453 * Makefile.am: rename, remove defaults gunk
6456 * MenuBackend.C: remove defaults gunk
6459 * Languages.C: remove defaults gunk
6462 * lyx_main.C: error out if files couldn't be found.
6464 2003-04-02 John Levon <levon@movementarian.org>
6466 * text2.C: make incDepth() use parlist
6468 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6470 * undo_funcs.C (firstUndoParagraph): adjust
6472 * text3.C (gotoInset): adjust
6473 (dispatch): adjust, and rewrite loop.
6475 * text2.C (init): adjust, and rewrite loop.
6476 (redoParagraphs): adjust
6477 (updateInset): adjust, and rewrite loop.
6478 (deleteEmptyParagraphMechanism): adjust
6480 * tabular.C (LyXTabular): adjust
6481 (SetMultiColumn): adjust
6484 * lyxtext.[Ch] (ownerParagraph): delete function
6485 (ownerParagraphs): new function returns a ParagraphList.
6487 * BufferView.C (removeAutoInsets): adjust
6488 (insertErrors): adjust
6489 (setCursorFromRow): adjust
6491 2003-04-01 Angus Leeming <leeming@lyx.org>
6493 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6496 2003-04-02 John Levon <levon@movementarian.org>
6502 * text_funcs.C: make transposeChars a free function
6504 * lyxrow_funcs.C: remove wrong comment
6506 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6509 * rowpainter.C: adjust
6514 * lyxrow_funcs. [Ch]: new files
6516 * lyxrow.[Ch]: remove next and previous pointers
6517 (next,previous): remove accessor functions
6518 (isParEnd): move to lyxrow_funcs
6519 (lastPos): move to lyxrow_funcs
6520 (nextRowIsAllInset): move to lyxrow_funcs
6521 (lastPrintablePos): move to lyxrow_funcs
6522 (numberOfSeparators): move to lyxrow_funcs
6523 (numberOfHfills): move to lyxrow_funcs
6524 (numberOfLabelHfills): move to lyxrow_funcs
6525 (hfillExpansion): move to lyxrow_funcs
6529 * bufferview_funcs.C (toggleAndShow): adjust
6531 * RowList.h: Remove class RowList from file leave just a
6534 * RowList.C: delete file
6536 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6539 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6541 * text3.C (cursorPrevious): adjust
6542 (cursorNext): adjust
6545 * text2.C (redoHeightOfParagraph): adjust
6546 (redoDrawingOfParagraph): adjust
6549 * text.C (breakParagraph): adjust
6550 (insertChar): adjust
6553 * rowpainter.C (RowPainter): adjust
6554 (leftMargin): simplify and adjust
6555 (most rowpainter functions): adjust.
6557 * rowpainter.h: store the row as RowList::iterator not as Row*
6559 * lyxcursor.C (row): taka RowList::iterator as arg
6562 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6565 2003-04-01 Angus Leeming <leeming@lyx.org>
6567 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6568 stuff like bool Bool.
6570 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6572 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6575 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6577 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6580 * lyxtext.h (rows): drop one version and leve a const variant that
6581 returns a RowList::iterator.
6583 2003-03-31 Angus Leeming <leeming@lyx.org>
6585 * text.C (fill): ensure that the signature is the same as that in the
6588 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6590 * text2.C (redoParagraphs): adjust
6591 (updateCounters): adjust
6592 (checkParagraph): adjust
6593 (getColumnNearX): adjust and reformat a bit.
6595 * text.C (top_y): adjust
6597 (leftMargin): adjust
6598 (prepareToPrint): adjust
6600 (getRowNearY): adjust
6602 * lyxtext.h: make rowlist_ mutable.
6604 * RowList.h: add const_iterator
6605 * RowList.C: adjust for RowList::const_iterator.
6607 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6610 2003-03-31 John Levon <levon@movementarian.org>
6613 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6615 * lyx_main.C: set default fonts from using lyx_gui funcs
6617 * exporter.C: pdf_mode moved from lyxrc
6620 * lyxfunc.C: changes from above
6622 2003-03-31 John Levon <levon@movementarian.org>
6624 * lyx_main.C: fix to the last fix
6626 2003-03-31 John Levon <levon@movementarian.org>
6628 * bufferlist.C: "Load original" -> "Load Original"
6634 * format.C: more Alert cleanups
6636 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6638 * text2.C (removeParagraph): make it take a RowList::iterator as
6640 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6641 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6643 * text.C (anchor_row): make it take a RowList::iterator as arg,
6645 (computeBidiTables): make it take a const reference to Row instead
6646 of Row pointer, adjust.
6647 (leftMargin): make it take a RowList::iterator as arg, adjust.
6648 (rowBreakPoint): adjust
6649 (breakAgainOneRow): make it take a RowList::iterator as arg,
6651 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6653 * bufferview_funcs.C (toggleAndShow): adjust
6655 2003-03-30 John Levon <levon@movementarian.org>
6659 * boost-inst.C: moved to support
6661 * several files: changes as a result
6663 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6665 * text2.C (LyXText): adjust.
6667 (removeRow): make it take a RowList::iterator as arg, adjust.
6668 (fullRebreak): adjust
6669 (deleteEmptyParagraphMechanism): adjust
6670 (clearPaint): adjust
6673 * text.C (top_y): adjust
6674 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6675 (breakAgain): make it take a RowList::iterator as arg, adjust.
6676 (breakParagraph): adjust
6677 (insertChar): adjust
6680 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6681 need_break_row, and refresh_row.
6683 * text3.C (dispatch): adjust
6685 * text2.C (checkParagraph): adjust
6687 (setCursorFromCoordinates): adjust
6689 * text.C (top_y): adjust
6691 (getRow): make it return a RowList::iterator, adjust
6692 (getRowNearY): make it return a RowList::iterator, adjust
6694 * text2.C (init): adjust
6695 (insertRow): remove function
6696 (insertParagraph): adjust
6697 (redoParagraphs): adjust
6698 (fullRebreak): adjust
6699 (updateCounters): adjust
6701 * text.C (top_y): rewrite to use RowList iterators.
6703 (setHeightOfRow): rewrite to sue RowList iterators.
6704 (appendParagraph): adjust
6705 (breakAgain): adjust
6706 (breakAgainOneRow): adjust
6707 (breakParagraph): adjust
6709 (getRowNearY): adjust, and remove commented code.
6711 * lyxtext.h (firstRow): delete function
6712 (lastRow): delete function
6713 (rows): new function (const and non-const versions.)
6714 (insertRow): delete function
6716 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6718 2003-03-29 John Levon <levon@movementarian.org>
6720 * BufferView_pimpl.C: always update scrollbar top
6721 because pasting text when we're anchored could mean we
6722 miss an update altogether
6724 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6726 * text2.C (init): use rowlist_.end() and not 0.
6727 (insertRow): change to take a RowList::iterator as arg, adjust
6729 (insertParagraph): change to take a RowList::iterator as arg,
6731 (redoParagraphs): remove some debug msgs.
6733 * text.C (appendParagraph): change to take a RowList::iterator
6734 arg, adjust for this.
6735 (breakAgain): add an assert
6736 (breakAgainOneRow): ditto
6738 2003-03-29 John Levon <levon@movementarian.org>
6740 * text2.C: do not clear selection after inc/decDepth
6743 2003-03-29 John Levon <levon@movementarian.org>
6746 * buffer.C: fix broken strerrors according to Lars
6748 2003-03-29 John Levon <levon@movementarian.org>
6750 * converters.C: more Alert cleanups
6752 2003-03-29 John Levon <levon@movementarian.org>
6754 * bufferview_funcs.C: remove pointless Alert
6756 * buffer.C: fix confusing error message when
6757 a template is chmoded 000
6759 2003-03-29 John Levon <levon@movementarian.org>
6763 * BufferView_pimpl.C: Alert fixes
6767 * tabular-old.C: remove unused table compat reading
6769 2003-03-29 John Levon <levon@movementarian.org>
6774 * lyx_cb.C: more Alert cleanups
6776 * lyxfunc.C: don't allow chktex if not latex document
6778 2003-03-29 John Levon <levon@movementarian.org>
6782 * buffer.C: warnings pushed down from support/,
6785 2003-03-29 John Levon <levon@movementarian.org>
6787 * lyxfunc.C: safety check for C-r (revert)
6789 2003-03-29 John Levon <levon@movementarian.org>
6792 * bufferlist.C: several UI fixes using Alert::prompt.
6793 Fix the pointless looping quit code. Fix stupid revert
6798 * lyx_cb.C: use Alert::prompt
6800 * lyx_main.C: remove a silly question
6802 * lyxfunc.C: remove a couple of silly questions,
6805 2003-03-28 John Levon <levon@movementarian.org>
6807 * text2.C: fix bug 974 (End on empty par)
6809 2003-03-28 John Levon <levon@movementarian.org>
6811 * BufferView_pimpl.C:
6813 * lfuns.h: remove do-nothing math greek lfuns
6815 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6817 * lyxgluelength.h (isValidGlueLength): add default arg on
6818 parameter 2. Remove default arg from friend in class.
6820 * lyxlength.h (isValidLength): add default arg on parameter 2.
6821 Remove default arg from friend in class.
6823 * text2.C (LyXText): adjust, initialize refresh_row.
6827 (insertParagraph): adjst
6828 (redoParagraphs): adjust
6829 (fullRebreak): adjust
6830 (updateCounters): adjust
6831 (deleteEmptyParagraphMechanism): first attempt at fixing a
6834 * text.C (top_y): adjust
6835 (setHeightOfRow): adjust
6837 (getRowNearY): adjust
6839 * lyxtext.h: include RowList.h
6840 (~LyXText): not needed anymore, deleted.
6841 (firstRow): modify for RowList
6842 (lastRow): new function
6843 Delete firstrow and lastrow class variables, add a Rowlist
6844 rowlist_ class variable.
6846 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6849 * RowList.C (insert): fix case where it == begin().
6851 2003-03-26 Angus Leeming <leeming@lyx.org>
6853 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6854 the thesaurus dialog.
6856 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6858 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6860 * RowList.[Ch]: new files
6862 * ParagraphList.C (erase): handle the case where it == begin
6865 2003-03-25 John Levon <levon@movementarian.org>
6869 * aspell.C: add new aspell support
6872 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6875 2003-03-25 Angus Leeming <leeming@lyx.org>
6878 * LyXAction.C (init): new LFUN_INSET_INSERT.
6880 * BufferView_pimpl.C (dispatch): split out part of the
6881 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6883 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6886 2003-03-25 Angus Leeming <leeming@lyx.org>
6888 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6890 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6893 * text3.C: remove useless row->height(0)
6895 2003-03-25 John Levon <levon@movementarian.org>
6899 * text3.C: rename the refreshing stuff to better names
6901 2003-03-24 John Levon <levon@movementarian.org>
6903 * BufferView_pimpl.h:
6904 * BufferView_pimpl.C: update layout choice on a mouse
6907 2003-03-23 John Levon <levon@movementarian.org>
6909 * Makefile.am: fix commandtags.h reference
6911 2003-03-22 John Levon <levon@movementarian.org>
6913 * BufferView_pimpl.C:
6918 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6920 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6923 * text.C: take the rtl methods out of line
6925 2003-03-21 André Pönitz <poenitz@gmx.net>
6927 * metricsinfo.[Ch]: new files containing structures to be passed around
6928 during the two-phase-drawing...
6930 2003-03-21 André Pönitz <poenitz@gmx.net>
6932 * lyxtextclass.C: read 'environment' tag.
6934 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6936 * text2.C (removeRow): fix bug 964
6938 2003-03-20 John Levon <levon@movementarian.org>
6942 * text2.C: paint cleanups. Inset::update() dropped font
6945 2003-03-19 John Levon <levon@movementarian.org>
6947 * lyxfunc.C: only fitcursor/markDirty if available()
6949 2003-03-19 John Levon <levon@movementarian.org>
6951 * commandtags.h: rename to ...
6953 * lfuns.h: ... this, and renumber / cleanup
6955 2003-03-19 John Levon <levon@movementarian.org>
6957 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6958 fit the cursor after an lfun
6962 * BufferView_pimpl.h:
6963 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6965 * LyXAction.C: layout-character should have ReadOnly
6967 * ParagraphParameters.C:
6969 * bufferview_funcs.C:
6976 * undo_funcs.C: changes from above
6978 2003-03-18 John Levon <levon@movementarian.org>
6980 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6981 remove it from update()
6983 * lyxfunc.C: update layout choice after an lfun
6985 * text3.C: remove extra updateLayoutChoice()s
6987 2003-03-18 John Levon <levon@movementarian.org>
6989 * text.C: top_y change means full repaint, fix
6990 a drawing bug with cursor movement
6992 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6996 * text2.C: anchor row on setCursor
6998 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7000 * lyxtext.h: remove almost all mutable keywords
7003 * text3.C: remove const keywords accordingly
7005 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7007 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7009 (TeXEnvironment): ditto
7012 2003-03-17 John Levon <levon@movementarian.org>
7014 * text.C (rowBreakPoint): remove attempt to fix displayed
7015 math insets inside a manual label
7017 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * lyxtext.h: remove BufferView* as first arg from almost all class
7021 * other files: adjust.
7023 2003-03-17 John Levon <levon@movementarian.org>
7027 * text2.C: more paint cleanups
7029 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7032 * rowpainter.C: remove "smart" background painting code
7034 2003-03-16 John Levon <levon@movementarian.org>
7039 * text3.C: add helper functions for setting refresh_row/y
7041 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7043 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7044 newline inset which *can* get inserted in the pass_thru layouts.
7045 This is primarily for literate documents.
7047 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7049 * buffer.C: increment LYX_FORMAT to 223
7051 2003-03-14 André Pönitz <poenitz@gmx.net>
7053 * textclass.h: prepare for environment handling, ws changes
7054 * lyxlayout.C: read latexheader and latexfooter tags
7056 2003-03-14 John Levon <levon@movementarian.org>
7058 * text2.C: rewrite ::status() a bit
7060 2003-03-13 John Levon <levon@movementarian.org>
7062 * lyxtext.h: add some docs
7064 2003-03-13 John Levon <levon@movementarian.org>
7069 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7071 2003-03-13 John Levon <levon@movementarian.org>
7073 * text3.C: fix appendix redrawing
7075 2003-03-13 John Levon <levon@movementarian.org>
7077 * text.C (setHeightOfRow):
7079 * rowpainter.C: make appendix mark have the text
7080 "Appendix" so the user knows what it is
7083 * LColor.C: s/appendixline/appendix/ from above
7085 2003-03-13 John Levon <levon@movementarian.org>
7087 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7089 * text.C: fix a getChar(pos) bug properly
7091 2003-03-13 Angus Leeming <leeming@lyx.org>
7094 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7095 Probably only temporary. Let's see how things pan out.
7097 * BufferView.C (unlockInset):
7098 * BufferView_pimpl.C (fitCursor):
7099 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7101 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7102 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7104 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7105 new functions that convert ParagraphParameters to and from a string.
7107 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7108 BufferView::Pimpl's dispatch.
7109 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7111 2003-03-13 André Pönitz <poenitz@gmx.net>
7115 * factory.C: make it aware of InsetEnv
7117 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7119 * text2.C (setCursor): never ask for one past last
7120 (setCursor): add some debugging messages.
7122 * text.C (singleWidth): never ask for one past last
7123 (singleWidth): ditto
7125 (rightMargin): ditto
7126 (rowBreakPoint): ditto
7127 (setHeightOfRow): ditto
7128 (prepareToPrint): ditto
7130 * rowpainter.C (paintBackground): never ask for one past last
7131 (paintText): never ask for one past last
7133 * paragraph_pimpl.C (getChar): make the assert stricter, never
7134 allow the one past last pos to be taken
7136 * paragraph.C (getChar): ws changes only
7138 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7139 (numberOfSeparators): ditto
7140 (numberOfHfills): ditto
7142 2003-03-12 John Levon <levon@movementarian.org>
7148 * paragraph_funcs.C: fix per-buffer authorlists
7150 2003-03-12 John Levon <levon@movementarian.org>
7152 * text.C: fix newline in right address
7154 2003-03-12 Angus Leeming <leeming@lyx.org>
7156 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7157 duplicate those in LyXFunc::dispatch.
7161 * ToolbarDefaults.C:
7162 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7163 Add LFUN_FONTFREE_UPDATE.
7165 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7166 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7168 * bufferview_func.[Ch]: several new functions to facilliate
7169 transfer of data to and from the character dialog.
7171 2003-03-12 John Levon <levon@movementarian.org>
7176 * paragraph_funcs.C:
7177 * paragraph_pimpl.C:
7181 * text3.C: remove META_NEWLINE in favour of an inset
7184 * rowpainter.C: remove paintNewline (done by inset)
7186 2003-03-12 John Levon <levon@movementarian.org>
7188 * paragraph_pimpl.C: complain about bad getChar()s
7189 for a while at least
7191 2003-03-12 John Levon <levon@movementarian.org>
7194 * buffer.C: move paragraph read into a separate function,
7195 a little renaming to reflect that.
7198 * bufferparams.C: remove the author_ids map, not necessary now
7201 * factory.C: moved Buffer::readInset to here
7203 * paragraph_funcs.h:
7204 * paragraph_funcs.C: readParagraph free function moved from
7207 * tabular.C: name change
7209 2003-03-12 John Levon <levon@movementarian.org>
7212 * ParagraphParameters.C: move par params input to
7215 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7216 behave like a normal read from the stream wrt reading
7217 a line vs. a \\token
7219 2003-03-12 John Levon <levon@movementarian.org>
7222 * ParagraphParameters.h:
7223 * ParagraphParameters.C: move output code to a
7226 2003-03-12 John Levon <levon@movementarian.org>
7228 * BufferView.C (insertLyXFile):
7231 * tabular.C: use a parlist iterator for creating the
7234 2003-03-12 John Levon <levon@movementarian.org>
7236 * buffer.C: make current_change static local not
7239 2003-03-12 John Levon <levon@movementarian.org>
7241 * buffer.C: fix insertStringAsLines for change tracking
7243 2003-03-12 John Levon <levon@movementarian.org>
7250 * bufferparams.C: move author list into params. Rename some
7251 functions. Move the header reading into a separate token
7252 loop. Move the header token reading into BufferParams.
7254 2003-03-12 John Levon <levon@movementarian.org>
7256 * changes.C: put debug inside lyxerr.debugging() checks
7258 2003-03-11 André Pönitz <poenitz@gmx.net>
7260 * factory.C: make it aware of InsetHFill
7262 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7264 * buffer.C (latexParagraphs): move function from here...
7265 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7268 2003-03-10 Angus Leeming <leeming@lyx.org>
7270 * LyXAction.C (init): fix bug in poplating array with multiple entries
7271 with the same LFUN (spotted by JMarc).
7273 2003-03-10 John Levon <levon@movementarian.org>
7276 * text2.C: move getColumnNearX() near its
7279 2003-03-10 John Levon <levon@movementarian.org>
7281 * text.C: fix break before a minipage
7283 2003-03-10 John Levon <levon@movementarian.org>
7285 * text.C: fix the last commit
7287 2003-03-09 John Levon <levon@movementarian.org>
7291 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7292 bug 365 (don't break before insets unless needed). Don't
7293 return a value > last under any circumstances.
7295 2003-03-09 Angus Leeming <leeming@lyx.org>
7297 * BufferView_pimpl.C (trackChanges, dispatch): call
7298 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7300 2003-03-09 Angus Leeming <leeming@lyx.org>
7302 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7303 than Dialogs::showAboutlyx().
7305 2003-03-09 Angus Leeming <leeming@lyx.org>
7307 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7308 than Dialogs::showTabularCreate().
7310 2003-03-09 John Levon <levon@movementarian.org>
7314 * text2.C: 3rd arg to nextBreakPoint was always the same.
7317 2003-03-08 John Levon <levon@movementarian.org>
7324 * text2.C: Remove the "main" bit from the "main body"
7327 2003-03-08 John Levon <levon@movementarian.org>
7329 * text.C (leftMargin): The left margin of an empty
7330 manual label paragraph should not include the label width
7333 * text.C (prepareToPrint): don't attempt to measure hfills
7334 for empty manual label paragraphs - the answer should be 0
7336 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7338 * CutAndPaste.C: remove commented code and reindent.
7340 2003-03-08 John Levon <levon@movementarian.org>
7343 * lyxfunc.C: move reloadBuffer()
7346 * BufferView.C: to here
7348 * lyxvc.C: add comment
7351 * vc-backend.C: call bv->reload() to avoid
7352 getStatus() check on MENURELOAD
7354 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7356 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7357 to an old format .dep file.
7359 2003-03-07 Angus Leeming <leeming@lyx.org>
7361 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7362 when the LFUN_MOUSE_RELEASE should have been handled by
7363 inset->localDispatch.
7365 2003-03-07 Angus Leeming <leeming@lyx.org>
7367 * BufferView_pimpl.C (dispatch):
7368 * LyXAction.C (init):
7369 * ToolbarDefaults.C (init):
7371 * lyxfunc.C (getStatus):
7372 remove LFUN_INSET_GRAPHICS.
7374 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7376 2003-03-07 Angus Leeming <leeming@lyx.org>
7379 * LyXAction.C (init):
7380 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7382 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7385 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7387 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7388 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7390 2003-03-07 Angus Leeming <leeming@lyx.org>
7392 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7395 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7397 * ParagraphList.C (front): new function
7400 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7402 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7403 and top_row_offset_. removed var first_y.
7405 * text2.C (LyXText, removeRow):
7407 * BufferView_pimpl.C:
7408 use these methods instead of using first_y
7410 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7412 * text2.C (pasteSelection): adjust for checkPastePossible
7414 * CutAndPaste.C: remove Paragraph * buf and replace with
7415 ParagraphList paragraphs.
7416 (DeleteBuffer): delete
7417 (cutSelection): change the tc type to textclass_type
7418 (copySelection): change the tc type to textclass_type
7419 (copySelection): adjust for ParagraphList
7420 (pasteSelection): change the tc type to textclass_type
7421 (pasteSelection): adjust for Paragraphlist
7422 (nrOfParagraphs): simplify for ParagraphList
7423 (checkPastePossible): simplify for ParagraphList
7424 (checkPastePossible): remove unused arg
7426 * ParagraphList.C (insert): handle the case where there are no
7429 * CutAndPaste.h: make CutAndPaste a namespace.
7431 * text3.C (dispatch): adjust
7433 * text.C (breakParagraph): add a ParagraphList as arg
7435 * paragraph_funcs.C (breakParagraph): change to take a
7436 BufferParams and a ParagraphList as args.
7437 (breakParagraphConservative): ditto
7438 (mergeParagraph): ditto
7439 (TeXDeeper): add a ParagraphList arg
7440 (TeXEnvironment): ditto
7443 * buffer.C (readLyXformat2): adjust
7444 (insertStringAsLines): adjust
7445 (latexParagraphs): adjust
7447 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7448 (cutSelection): adjust
7449 (pasteSelection): adjust
7451 * BufferView_pimpl.C (insertInset): adjust
7453 2003-03-05 Angus Leeming <leeming@lyx.org>
7456 * LyXAction.C (init):
7457 * BufferView_pimpl.C (dispatch):
7458 * lyxfunc.C (getStatus):
7459 remove LFUN_CHILD_INSERT.
7461 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7463 2003-03-05 Angus Leeming <leeming@lyx.org>
7466 * LyXAction.C (init):
7467 * src/factory.C (createInset):
7468 * lyxfunc.C (getStatus):
7469 * text3.C (dispatch):
7470 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7472 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7474 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7476 * ParagraphList.C (insert): handle insert right before end()
7477 (erase): fix cases where it can be first or last paragraph.
7479 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7481 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7482 Paragraph::next and Paragraph::previous
7485 * text.C (breakParagraph): adjust
7487 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7488 BufferParams& as arg.
7489 (breakParagraph): use ParagraphList::insert
7490 (breakParagraphConservative): take a Buffer* instead of a
7491 BufferParams& as arg.
7492 (breakParagraphConservative): use ParagraphList::insert.
7494 * buffer.C (insertStringAsLines): un-const it
7495 (insertStringAsLines): adjust
7497 * ParagraphList.C (insert): new function
7499 * CutAndPaste.C (pasteSelection): adjust
7501 * text.C (backspace): adjust
7503 * tabular.C (SetMultiColumn): adjust
7505 * CutAndPaste.C (cutSelection): adjust
7506 (pasteSelection): adjust
7508 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7509 Buffer const * as arg
7511 * ParagraphList.C (erase): new function
7512 * paragraph_funcs.C (mergeParagraph): use it
7513 (mergeParagraph): make it take a Buffer* instead of a
7514 BufferParams* as arg
7516 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7518 (breakParagraphConservative): ditto
7520 * paragraph.h: remove the breakParagraph friend
7522 * paragraph.C (eraseIntern): new function
7523 (setChange): new function
7525 * paragraph_funcs.C (mergeParagraph): make it take a
7526 ParagraphList::iterator instead of a Paragraph *, adjust
7529 * paragraph.h: move an #endif so that the change tracking stuff
7530 also works in the NO_NEXT case.
7532 2003-03-04 Angus Leeming <leeming@lyx.org>
7535 * LyXAction.C: new LFUN_INSET_MODIFY.
7537 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7538 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7540 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7542 * several files: ws changes only
7544 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7545 (TeXEnvironment): ditto
7548 * buffer.C (makeLaTeXFile): adjust
7549 (latexParagraphs): make it take ParagraphList::iterator as args
7551 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7553 * buffer.C (latexParagraphs): adjust
7555 * paragraph.C (TeXOnePar): move function...
7556 (optArgInset): move function...
7557 (TeXEnvironment): move function...
7558 * paragraph_pimpl.C (TeXDeeper): move function...
7559 * paragraph_funcs.C: ...here
7561 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7563 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7565 * buffer.C (readInset): remove compability code for old Figure and
7568 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7570 * buffer.C: ws changes
7573 * BufferView_pimpl.C: ditto
7576 * bufferlist.h: ditto
7580 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7582 * converter.[Ch]: split into itself +
7585 * Makefile.am: += graph.[Ch] + format.[Ch]
7592 * lyxrc.C: added #include "format.h"
7594 2003-02-27 Angus Leeming <leeming@lyx.org>
7596 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7599 * factory.C (createInset): add "label" to the factory.
7601 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7602 string and do no more.
7604 2003-02-27 Angus Leeming <leeming@lyx.org>
7607 * LyXAction.C (init):
7608 * factory.C (createInset):
7609 * BufferView_pimpl.C (dispatch):
7610 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7612 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7614 * lyxfunc.C (dispatch):
7615 * text3.C (dispatch): pass name to params2string.
7617 2003-02-26 Angus Leeming <leeming@lyx.org>
7619 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7621 Rearrange the ~includes. Strip out the unnecessary ones.
7623 * factory.C (createInset): reformat.
7624 create new insets for the various LFUN_XYZ_APPLY lfuns.
7626 2003-02-26 John Levon <levon@movementarian.org>
7629 * lyxrow.C: add isParStart,isParEnd helpers
7631 * paragraph.h: make isInserted/DeletedText take refs
7633 * paragraph_funcs.h:
7634 * paragraph_funcs.C: remove #if 0'd code
7639 * text.C: use lyxrow helpers above.
7640 Move draw and paint routines to RowPainter.
7641 Make several methods use refs not pointers.
7642 Make backgroundColor() const.
7643 Add markChangeInDraw(), isInInset().
7644 Merge changeRegionCase into changeCase.
7645 Make workWidth() shouldn't-happen code into an Assert.
7648 * rowpainter.C: new class for painting a row.
7651 * vspace.C: make inPixels take a ref
7653 2003-02-26 Angus Leeming <leeming@lyx.org>
7655 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7658 2003-02-25 John Levon <levon@movementarian.org>
7660 * ispell.C: give the forked command a more accurate name
7662 2003-02-22 John Levon <levon@movementarian.org>
7665 * toc.C: make TocItem store an id not a Paragraph *
7668 2003-02-21 Angus Leeming <leeming@lyx.org>
7670 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7671 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7672 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7673 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7674 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7675 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7677 * BufferView_pimpl.C (dispatch):
7678 * LyXAction.C (init):
7679 * factory.C (createInset):
7680 * lyxfunc.C (getStatus, dispatch):
7681 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7683 2003-02-21 Angus Leeming <leeming@lyx.org>
7685 * BufferView_pimpl.C (MenuInsertLyXFile):
7686 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7687 * lyxfunc.C (menuNew, open, doImport):
7688 no longer pass a LyXView & to fileDlg.
7690 2003-02-21 Angus Leeming <leeming@lyx.org>
7692 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7693 * LyXAction.C: change, BIBKEY to BIBITEM.
7694 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7695 Change InsetBibKey to InsetBibitem.
7696 Change BIBKEY_CODE to BIBITEM_CODE.
7697 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7698 * factory.C: replace insetbib.h with insetbibitem.h.
7699 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7700 * paragraph.C: replace insetbib.h with insetbibitem.h.
7701 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7702 Change bibkey() to bibitem().
7703 * text.C: remove insetbib.h.
7704 * text2.C: replace insetbib.h with insetbibitem.h.
7705 change bibkey() to bibitem().
7706 * text3.C: remove insetbib.h.
7707 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7709 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7711 * lyxrc.C (output): enclose user email in quotes (in case there are
7714 2003-02-18 John Levon <levon@movementarian.org>
7716 * buffer.h: add std::
7718 2003-02-17 John Levon <levon@movementarian.org>
7724 * pspell.C: reworking. Especially in ispell, a large
7725 number of clean ups and bug fixes.
7727 * lyxfunc.C: fix revert to behave sensibly
7729 2003-02-17 André Pönitz <poenitz@gmx.net>
7732 * commandtags.h: new LFUN_INSERT_BIBKEY
7742 * paragraph_func.C: remove special bibkey handling
7744 2003-02-17 John Levon <levon@movementarian.org>
7746 * text.C (Delete): fix case where delete at the end of
7747 the very first paragraph would not merge the pars
7749 2003-02-17 John Levon <levon@movementarian.org>
7751 * lyxrow.C: fix lastPrintablePos()
7753 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7755 * bufferparams.C (writeLaTeX): add a std:here
7757 * buffer.C: and remove a using directive there
7759 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7761 * buffer.C (makeLaTeXFile): move the code that generates the
7764 * bufferparams.C (writeLaTeX): ... in this new method
7766 * LaTeXFeatures.C (getEncodingSet): make const
7767 (getLanguages): make const
7769 * MenuBackend.C (binding): returns the binding associated to this
7771 (add): sets the status of each item by calling getStatus. Adds
7773 (read): add support for OptSubMenu
7774 (expand): remove extra separator at the end of expanded menu
7776 2003-02-15 John Levon <levon@movementarian.org>
7779 * BufferView_pimpl.C:
7781 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7782 inset code that had no actual effect. Remove unneeded status
7785 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7787 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7790 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7792 * text.C (drawLengthMarker): also draw an arrow marker for
7793 symbolic lengths (medskip...)
7795 2003-02-14 John Levon <levon@movementarian.org>
7798 * tabular.C: better method names
7800 2003-02-14 John Levon <levon@movementarian.org>
7802 * BufferView_pimpl.C:
7807 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7808 it's a more accurate name. Remove some pointless uses.
7810 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7812 * text2.C (LyXText): change order of initilizers to shut off
7815 2003-02-14 John Levon <levon@movementarian.org>
7817 * buffer.C: use ParIterator for getParFromID()
7821 * paragraph_pimpl.h:
7822 * paragraph_pimpl.C: remove unused getParFromID()
7824 2003-02-14 John Levon <levon@movementarian.org>
7826 * buffer.C: remove some very old #if 0'd parse code
7828 2003-02-13 John Levon <levon@movementarian.org>
7832 * text2.C: move hfillExpansion(), numberOfSeparators(),
7833 rowLast(), rowLastPrintable(), numberofHfills(),
7834 numberOfLabelHfills() ...
7837 * lyxrow.C: ... to member functions here.
7842 * text.C: remove LyXText::beginningOfMainBody(), and call
7843 p->beginningOfMainBody() directly. Move the check for
7844 LABEL_MANUAL into the latter.
7851 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7857 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7858 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7860 2003-02-13 John Levon <levon@movementarian.org>
7862 * CutAndPaste.C: remove debug
7864 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7866 * paragraph.C (asString): remove two unused variables
7868 * lyxtextclass.C (readTitleType):
7870 (LyXTextClass): handle new members titletype_ and titlename_
7872 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7874 2003-02-09 John Levon <levon@movementarian.org>
7877 * buffer.C: replace hand-coded list with a map for the dep clean
7879 2003-02-08 John Levon <levon@movementarian.org>
7881 * LaTeX.C: consolidate code into showRunMessage() helper
7883 2003-02-08 John Levon <levon@movementarian.org>
7888 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7889 and pass the size in explicitly
7891 * BufferView_pimpl.h:
7892 * BufferView_pimpl.C:
7894 * BufferView.C: add getCurrentChange()
7896 * BufferView_pimpl.h:
7897 * BufferView_pimpl.C: handle change lfuns
7899 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7900 for changes. Mark pasted paragraphs as new.
7902 * support/lyxtime.h:
7903 * support/lyxtime.C:
7904 * DepTable.C: abstract time_t as lyx::time_type
7907 * LColor.C: add colours for new text, deleted text, changebars
7909 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7910 package use "usenames" option.
7914 * LyXAction.C: add change lfuns
7918 * author.C: author handling
7921 * buffer.C: add a per-buffer author list, with first entry as
7922 current author. Handle new .lyx tokens for change tracking. Output
7923 author list to .lyx file. Output dvipost stuff to .tex preamble.
7924 Bump lyx format to 222.
7927 * bufferlist.C: add setCurrentAuthor() to reset current author details
7931 * bufferparams.C: add param for tracking
7933 * bufferview_funcs.C: output change info in minibuffer
7937 * changes.C: add change-tracking structure
7940 * debug.C: add CHANGES debug flag
7943 * lyxfind.C: add code for finding the next change piece
7946 * lyxrc.C: add user_name and user_email
7949 * lyxrow.C: add a metric for the top of the text line
7952 * text.C: implement accept/rejectChange()
7955 * text.C: paint changebars. Paint new/deleted text in the chosen
7956 colours. Strike through deleted text.
7960 * paragraph_pimpl.h:
7961 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7962 in the current change to the insert functions. Rework erase to
7963 mark text as deleted, adding an eraseIntern() and a range-based
7964 erase(). Implement per-paragraph change lookup and
7967 * paragraph_funcs.C: Fixup paste for change tracking.
7969 * tabular.C: mark added row/columns as new.
7971 * text.C: fix rowLast() to never return -1. Don't allow
7972 spellchecking of deleted text. Track transpose changes. Don't
7973 allow paragraph break or merge where appropriate.
7975 * text2.C: leave cursor at end of selection after a cut.
7977 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7979 * text.C (getLengthMarkerHeight):
7980 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7981 visible on screen too.
7983 2003-02-07 John Levon <levon@movementarian.org>
7985 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7987 2003-02-05 Angus Leeming <leeming@lyx.org>
7989 * lyxserver.C (read_ready): revert my patch of 11 September last year
7990 as it sends PC cpu through the roof. Presumably this means that
7991 the lyxserver will no longer run on an Alpha...
7993 2003-01-30 Angus Leeming <leeming@lyx.org>
7995 * factory.C (createInset): create an InsetCommandParam of type "index"
7996 and use it to 'do the right thing'.
7998 * text2.C (getStringToIndex): ensure that cursor position is always
7999 reset to the reset_cursor position.
8001 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8003 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8006 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8010 * lyxfunc.C: Output messages with identical spelling, punctuation,
8013 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8015 * MenuBackend.C (expandFormats): List only viewable export formats
8018 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8021 * lyxfunc.C (getStatus): Make sure that formats other than
8022 "fax" can also be disabled
8024 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8026 * text3.C (dispatch): put the lfuns that insert insets in 3
8027 groups, and call doInsertInset with appropriate arguments.
8028 (doInsertInset): new function, that creates an inset and inserts
8029 it according to some boolean parameters.
8031 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8033 * buffer.C (readFile): remember to pass on 'par' when calling
8034 readFile recursively.
8036 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8038 * MenuBackend.C (expandFormats): add "..." to import formats.
8040 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8042 * paragraph.C (asString): Remove XForms RTL hacks.
8044 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8045 * buffer.C: fix typo
8047 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8049 * Makefile.am (LIBS): delete var
8050 (lyx_LDADD): add @LIBS@ here instead.
8052 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8054 * Clarify the meaning of "wheel mouse jump"
8056 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8058 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8061 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8063 * importer.C (Loaders): do not preallocate 3 elements in the
8064 vector, since one ends up with 6 elements otherwise
8066 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8068 * DepTable.C (write): write the file name as last element of the
8069 .dep file (because it may contain spaces)
8070 (read): read info in the right order
8072 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8074 * paragraph_pimpl.C (simpleTeXBlanks):
8075 (simpleTeXSpecialChars):
8076 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8078 * tabular.C (latex): add some missing case statements. Reindent.
8080 * MenuBackend.C (expandToc): remove unused variable.
8082 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8091 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8094 2003-01-05 John Levon <levon@movementarian.org>
8097 * BufferView.C: add getEncoding()
8100 * kbsequence.C: do not store last keypress
8103 * lyxfunc.C: store last keypress here instead. Pass encoding
8106 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8108 * lyx_main.C (init): remove annoying error message when following
8109 symbolic links (bug #780)
8111 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8113 * text.C (insertChar):
8114 * lyxrc.C (getDescription): remove extra spaces
8116 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8118 * lyxrc.C (getDescription): remove extra spaces
8120 2002-12-20 John Levon <levon@movementarian.org>
8122 * text3.C: hack fix for page up/down across tall rows
8124 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8126 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8129 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8131 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8132 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8133 thesaurus is not compiled in
8135 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8137 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8139 2002-12-16 Angus Leeming <leeming@lyx.org>
8142 * lyx_main.C (init): remove override_x_deadkeys stuff.
8144 2002-12-12 John Levon <levon@movementarian.org>
8146 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8147 insert. Only remove shift modifier under strict
8150 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * MenuBackend.C (expandToc): fix crash.
8154 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8156 * MenuBackend.C (expandToc): gettext on float names.
8158 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8160 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8161 implement bool empty() [bug 490]
8163 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8165 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8167 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8169 * several files: ws changes
8171 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8173 * text2.C (setCounter): clean up a bit, use boost.format.
8174 (updateCounters): initialize par upon declaration.
8176 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8177 if the layout exists. We do not just store the layout any more.
8178 (SwitchLayoutsBetweenClasses): use boost.format
8180 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8182 * converter.C (convert): if from and to files are the same, use a
8183 temporary files as intermediary
8185 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8188 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8190 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8192 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8194 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8196 * tabular.C (asciiPrintCell): use string(size, char) instead of
8199 * sgml.C (openTag): fix order of arguments to string constructor
8202 * lyxfunc.C (dispatch): use boost.format
8204 * lots of files: change "c" -> 'c'
8206 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8208 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8210 2002-11-25 Angus Leeming <leeming@lyx.org>
8212 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8214 * lyx_main.C (init): compile fix.
8216 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8218 * lyx_cb.C (start): boost.formatify
8219 do not include <iostream>
8221 * lengthcommon.C: ws only
8223 * boost-inst.C,BoostFormat.h: add more explict instantations
8225 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8227 * lots of files: handle USE_BOOST_FORMAT
8229 2002-11-21 John Levon <levon@movementarian.org>
8231 * pspell.C: fix compile
8233 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8235 * lyxfunc.C (dispatch): use boost::format
8239 * lyxfont.C (stateText): use boost::format
8241 * lyx_main.C (LyX): use boost::format
8243 (queryUserLyXDir): ditto
8246 (typedef boost::function): use the recommened syntax.
8248 * importer.C (Import): use boost::format
8250 * debug.C (showLevel): use boost::format
8252 * converter.C (view): use boost::format
8257 * bufferview_funcs.C (currentState): use boost::format
8259 * bufferlist.C (emergencyWrite): use boost::format
8261 * buffer.C (readLyXformat2): use boost::format
8262 (parseSingleLyXformat2Token): ditto
8264 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8266 * LaTeX.C (run): use boost::format
8268 * Chktex.C (scanLogFile): use boost::format
8270 * BufferView_pimpl.C (savePosition): use boost::format
8271 (restorePosition): ditto
8272 (MenuInsertLyXFile): ditto
8274 * BoostFormat.h: help file for explicit instation.
8276 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8278 * tabular.C (latex): Support for block alignment in fixed width
8281 2002-11-17 John Levon <levon@movementarian.org>
8283 * BufferView_pimpl.C:
8285 * lyxfunc.C: split filedialog into open/save
8287 2002-11-08 Juergen Vigna <jug@sad.it>
8289 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8290 by my last patch (hopefully).
8292 2002-11-08 John Levon <levon@movementarian.org>
8301 * toc.C: ParConstIterator, and use it (from Lars)
8303 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8305 * lyxtextclass.[Ch]: revise and add doxygen comments
8307 2002-11-07 John Levon <levon@movementarian.org>
8309 * text.C: fix progress value for spellchecker
8311 * toc.C: fix navigate menu for insetwrap inside minipage
8313 * paragraph_funcs.C: added FIXME for suspect code
8315 2002-11-07 John Levon <levon@movementarian.org>
8317 * BufferView_pimpl.C: fix redrawing of insets
8320 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8322 * text2.C (updateCounters): fix bug 668
8324 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8326 * text3.C (dispatch): Do not make the buffer dirty when moving the
8329 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8331 * vc-backend.C: STRCONV
8334 * text2.C (setCounter): STRCONV
8336 * paragraph.C (asString): STRCONV
8338 * lyxlength.C (asString): STRCONV
8339 (asLatexString): ditto
8341 * lyxgluelength.C (asString): STRCONV
8342 (asLatexString): ditto
8344 * lyxfunc.C (dispatch): STRCONV
8347 * lyxfont.C (stateText): STRCONV
8349 * importer.C (Import): STRCONV
8351 * counters.C (labelItem): STRCONV
8352 (numberLabel): ditto
8353 (numberLabel): remove unused ostringstream o
8358 * bufferview_funcs.C (currentState): STRCONV
8360 * buffer.C (readFile): STRCONV
8361 (asciiParagraph): ditto
8362 (makeLaTeXFile): ditto
8364 * Spacing.C (writeEnvirBegin): STRCONV
8366 * LaTeXFeatures.C (getLanguages): STRCONV
8367 (getPackages): ditto
8369 (getBabelOptions): ditto
8370 (getTClassPreamble): ditto
8371 (getLyXSGMLEntities): ditto
8372 (getIncludedFiles): ditto
8376 (scanAuxFile): ditto
8379 * LString.h: add the STRCONV macros
8381 * BufferView_pimpl.C (savePosition): STRCONV
8382 (restorePosition): ditto
8383 (MenuInsertLyXFile): ditto
8385 * vc-backend.C (scanMaster): change from submatch[...] to
8388 * funcrequest.C: include config.h
8390 * factory.C: include config.h
8392 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8394 * box.C: include config.h
8396 * LaTeX.C (scanAuxFile): change from submatch[...] to
8400 2002-10-25 Angus Leeming <leeming@lyx.org>
8402 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8404 * ispell.[Ch] (setError): new method.
8405 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8406 Use setError() insetead of goto END.
8408 * lyx_cb.C (AutoSave): move out child process into new class
8411 2002-10-30 John Levon <levon@movementarian.org>
8413 * text3.C: make start appendix undoable
8415 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8417 * lyxlength.C (inPixels): Fix returned value.
8419 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8422 2002-10-24 Angus Leeming <leeming@lyx.org>
8424 * lyxgluelength.h: no need to forward declare BufferParams
8425 or BufferView, so don't.
8427 2002-10-21 John Levon <levon@movementarian.org>
8429 * BufferView.C: menuUndo ->undo, redo
8431 * BufferView.h: document, remove dead, make some methods private
8433 * paragraph_funcs.h:
8434 * paragraph_funcs.C:
8435 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8440 * sgml.C: move sgml open/close tag into sgml.C
8442 * bufferview_funcs.h: unused prototype
8445 * lyxfunc.C: remove unused
8448 * text.C: remove unused
8450 2002-10-21 John Levon <levon@movementarian.org>
8454 * BufferView_pimpl.h:
8455 * BufferView_pimpl.C: fix mouse wheel handling based on
8456 patch from Darren Freeman
8458 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8460 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8462 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8464 * lyxlength.C (inPixels): Fix hanfling of negative length.
8465 Fix LyXLength::MU case.
8467 2002-10-16 John Levon <levon@movementarian.org>
8469 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8471 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8473 * converter.C (view): add support for $$i (file name) and $$p
8474 (file path) for the viewer command. If $$i is not specified, then
8475 it is appended to the command (for compatibility with old syntax)
8477 2002-10-14 Juergen Vigna <jug@sad.it>
8479 * undo_funcs.C (textHandleUndo): alter the order in which the
8480 new undopar is added to the LyXText, as we have to set first
8481 the right prev/next and then add it as otherwise the rebuild of
8482 LyXText is not correct. Also reset the cursor to the right paragraph,
8483 with this IMO we could remove the hack in "redoParagraphs()".
8485 2002-10-09 Angus Leeming <leeming@lyx.org>
8487 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8488 to turn off an optimisation if a new inset is to be inserted.
8490 2002-10-11 André Pönitz <poenitz@gmx.net>
8492 * lyxtext.h: make some functions public to allow access
8493 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8495 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8497 * text3.C (dispatch): when changing layout, avoid an infinite loop
8500 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8502 * lyxrc.C (read): treat a viewer or converter command of "none" as
8505 * MenuBackend.C (expandFormats): for an update, also allow the
8506 formats that are not viewable
8508 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8509 script if it is newer than the lyxrc.defaults in user directory
8511 2002-10-07 André Pönitz <poenitz@gmx.net>
8513 * text.C: Vitaly Lipatov's small i18n fix
8515 2002-09-25 Angus Leeming <leeming@lyx.org>
8517 * ispell.h: doxygen fix.
8519 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8521 * buffer.h (readFile): Add a new argument to the method, to allow
8522 reading of old-format templates.
8524 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8526 * toc.C (getTocList): Get TOC from InsetWrap.
8528 2002-09-16 John Levon <levon@movementarian.org>
8530 * lyxfunc.C: check tabular for cut/copy too
8532 2002-09-12 John Levon <levon@movementarian.org>
8537 * factory.C: add header
8539 * paragraph_funcs.h:
8540 * paragraph_funcs.C: cleanup
8542 2002-09-11 John Levon <levon@movementarian.org>
8544 * PrinterParams.h: odd/even default to true
8546 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8548 * PrinterParams.h: update printer parameters for new xforms dialog
8550 2002-09-11 Angus Leeming <leeming@lyx.org>
8552 * lyxserver.C (read_ready): re-write to make it more transparent
8553 and to make it work in coherent fashion under Tru64 Unix.
8555 2002-09-11 André Pönitz <poenitz@gmx.net>
8559 * text3.C: implement LFUN_WORDSEL
8561 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8563 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8564 make floatlist_ a boost::shared_ptr<FloatList>
8566 * lyxtextclass.C: include FloatList.h
8567 (LyXTextClass): initialize floatlist_
8568 (TextClassTags): add TC_NOFLOAT
8569 (Read): match "nofloat" to TC_NOFLOAT and use it.
8570 (readFloat): modify call to floatlist_
8574 * FloatList.[Ch] (FloatList): remove commented out float
8576 (erase): new function
8578 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8580 * MenuBackend.C (expandToc): fix crash when there is no document
8583 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8585 * many files: Add insetwrap.
8587 2002-09-09 John Levon <levon@movementarian.org>
8589 * text2.C: remove confusing and awkward depth wraparound
8591 2002-09-09 John Levon <levon@movementarian.org>
8593 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8596 * buffer.C: remove getIncludeonlyList()
8599 * lyxfunc.C: remove headers
8601 2002-09-09 Juergen Vigna <jug@sad.it>
8603 * text.C (getColumnNearX): fix form Michael this is most
8604 probably a cut&paste bug.
8606 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8608 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8610 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8611 references, ws changes.
8613 * text2.C (init): update counters after init
8614 (insertParagraph): no need to set counter on idividual paragraphs.
8615 (setCounter): access the counters object in the textclass object
8616 on in the buffer object.
8617 (updateCounters): ditto
8619 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8620 shared_ptr<Counters> to avoid loading counters.h in all
8622 (LyXTextClass): initialize ctrs_
8623 (TextClassTags): add TC_COUNTER, and ...
8624 (Read): use it here.
8625 (CounterTags): new tags
8626 (readCounter): new function
8627 (counters): new funtion
8628 (defaultLayoutName): return a const reference
8630 * counters.C (Counters): remove contructor
8631 (newCounter): remove a couple of unneeded statements.
8632 (newCounter): simplify a bit.
8633 (numberLabel): some small formatting changes.
8635 * buffer.[Ch]: remove all traces of counters, move the Counters
8636 object to the LyXTextClass.
8638 2002-09-06 Alain Castera <castera@in2p3.fr>
8640 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8641 package to set the horizontal alignment on fixed width columns.
8644 * lyx_sty.h: added tabularnewline macro def.
8646 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8648 2002-09-06 John Levon <levon@movementarian.org>
8650 * LyXAction.C: tooltips for sub/superscript
8652 * MenuBackend.C: a bit more verbose
8654 * lyxfunc.C: tiny clean
8656 * undo_funcs.C: document undo_frozen
8658 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8660 * counters.C (Counters): add missing algorithm counter.
8662 * text2.C (setCounter): lookup the counter with layouts latexname
8663 instead of by section number.
8664 (setCounter): use a hackish way to lookup the correct enum
8666 a float name->type change
8667 reset enum couners with counter name directly instead of depth value.
8669 * counters.C (Counters): remove the push_backs, change to use the
8670 float type not the float name.
8671 (labelItem): remove unused string, float name->type change
8673 * counters.h: don't include vector, loose the enums and sects vectors
8675 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8677 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8678 (Read): add float->TC_FLOAT to textclassTags
8679 (Read): and handle it in the switch
8680 (readFloat): new function
8682 * FloatList.C (FloatList): comment out the hardcoded float
8685 * lyxlayout.h: ws change.
8687 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8689 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8691 2002-09-03 Angus Leeming <leeming@lyx.org>
8693 * BufferView_pimpl.h: qualified name is not allowed in member
8694 declaration: WorkArea & Pimpl::workarea() const;
8696 * factory.C: added using std::endl directive.
8698 * text3.C: added using std::find and std::vector directives.
8700 2002-08-29 André Pönitz <poenitz@gmx.net>
8703 * text2.C: remove unused member number_of_rows
8706 * BufferView2.C: remove file, move contents to...
8707 * BufferView.C: ... here
8709 * BufferView_pimpl.C:
8710 * factory.C: move more inset creation to factory
8712 * vspace.C: avoid direct usage of LyXText, ws changes
8715 don't provide direct access to WorkArea, use two simple
8716 acessors haveSelction() and workHeight() instead
8719 2002-08-29 John Levon <levon@movementarian.org>
8721 * BufferView_pimpl.C (dispatch): do not continue when
8724 2002-08-28 André Pönitz <poenitz@gmx.net>
8726 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8729 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8731 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8733 * buffer.C: increment LYX_FORMAT to 221
8735 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8736 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8738 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8740 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8742 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8744 * factory.C (createInset): use LyXTextClass::floats
8746 * MenuBackend.C (expandFloatListInsert):
8747 (expandFloatInsert):
8750 * text2.C (setCounter):
8752 * LaTeXFeatures.C (useFloat):
8753 (getFloatDefinitions):
8755 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8757 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8758 floatlist_, with accessor floats().
8760 * FloatList.h: remove global FloatList
8762 2002-08-26 André Pönitz <poenitz@gmx.net>
8764 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8768 * BufferView_pimpl.C:
8769 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8771 2002-08-25 John Levon <levon@movementarian.org>
8773 * LyXAction.C: fix margin note description
8775 2002-08-24 John Levon <levon@movementarian.org>
8779 * bufferview_funcs.C:
8781 * undo_funcs.C: cleanups
8783 * lyxfunc.C: disable CUT/COPY when no selection
8785 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8787 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8788 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8790 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8791 Add backward compatibility to "mono", "gray" and "no".
8793 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8795 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8796 (and file_format >= 200).
8798 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8800 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8802 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8804 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8806 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8808 * BufferView_pimpl.C:
8815 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8816 inset and code to make it work with the paragraph code. The inset
8817 can be anywhere in the paragraph, but will only do the expected
8818 thing in LaTeX if the layout file contains the parameter line
8820 (or more generally, a nonzero value) for that layout.
8822 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8824 * paragraph.h: remove the declaration of undefined counters class
8827 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8829 * text2.C (setCounter): fixed enumeration mis-count as reported by
8830 Dr. Richard Hawkins.
8832 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8834 * paragraph_funcs.h: remove some unneeded includes
8836 * text.C (backspace): pasteParagraph now in global scipe
8838 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8839 (pasteSelection): ditto
8841 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8842 * paragraph_funcs.C (pasteParagraph): ... here
8844 2002-08-20 André Pönitz <poenitz@gmx.net>
8846 * commandtags.h: new LFUNs for swapping/copying table row/colums
8849 * lyxfunc.C: support for new lfuns
8851 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8854 * buffer.[Ch]: remove NO_COMPABILITY stuff
8856 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8858 * boost.C (throw_exception): new file, with helper function for
8859 boost compiled without exceptions.
8864 * ParameterStruct.h:
8865 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8867 * bufferlist.C (emergencyWriteAll): use boost bind
8869 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8871 * text.C: include paragraph_funcs.h
8872 (breakParagraph): breakParagraph is now in global scope
8874 * paragraph_funcs.[Ch]: new files
8876 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8879 * buffer.C: include paragraph_funcs.h
8880 (insertStringAsLines): breakParagraph is now in global scope
8882 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8885 * CutAndPaste.C: include paragraph_funcs.h
8886 (cutSelection): breakParagraphConservative is now in global scope
8887 (pasteSelection): ditto
8889 * buffer.h: declare oprator== and operator!= for
8890 Buffer::inset_iterator
8892 * bufferlist.C (emergencyWrite): don't use fmt(...)
8894 * text3.C: add using std::endl
8896 * BufferView.C (moveCursorUpdate): remove default arg
8898 2002-08-20 André Pönitz <poenitz@gmx.net>
8900 * buffer.[Ch]: move inline functions to .C
8903 * BufferView_pimpl.C:
8905 * buffer.[Ch]: use improved inset_iterator
8908 * paragraph.[Ch]: write one paragraph at a time
8910 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8912 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8913 style if style is not specified.
8915 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8917 * text2.C (setCounter): when searching for right label for a
8918 caption, make sure to recurse to parent insets (so that a caption
8919 in a minipage in a figure float works) (bug #568)
8921 2002-08-20 André Pönitz <poenitz@gmx.net>
8923 * text3.C: new file for LyXText::dispatch() and helpers
8925 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8927 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8929 2002-08-19 André Pönitz <poenitz@gmx.net>
8932 * text.C: new LyXText::dispatch()
8934 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8936 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8938 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8940 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8943 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8945 * Makefile.am: use $(variables) instead of @substitutions@
8947 2002-08-15 André Pönitz <poenitz@gmx.net>
8950 * BufferView_pimpl.C: streamlining mathed <-> outer world
8954 * LyXAction.C: remove unused LFUN_MATH
8956 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8958 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8960 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8962 * paragraph.C (Paragraph): reformat a bit
8963 (cutIntoMinibuffer): use builtin InsetList function instad of
8967 * buffer.C: include boost/bind.hpp, add using std::for_each
8968 (writeFileAscii): use ParagraphList iterators
8969 (validate): use for_each for validate traversal of paragraphs
8970 (getBibkeyList): use ParagraphList iterators
8971 (resizeInsets): use for_each to resizeInsetsLyXText for all
8973 (getParFromID): use ParagraphList iterators
8975 * BufferView2.C (lockInset): use paragraph list and iterators
8977 2002-08-14 John Levon <levon@movementarian.org>
8979 * lyxserver.C: remove spurious xforms include
8981 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8983 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8985 2002-08-13 André Pönitz <poenitz@gmx.net>
8988 * lyxfunc.C: further cleaning
8990 2002-08-13 André Pönitz <poenitz@gmx.net>
8992 * funcrequest.h: new constructor
8994 * funcrequest.C: move stuff here from .h
8997 * BufferView_pimpl.C:
9000 * lyxfunc.C: subsequent changes
9002 * lyxfunc.h: new view() member function
9004 * lyxfunc.C: subsequent changes
9006 2002-08-13 Angus Leeming <leeming@lyx.org>
9009 * BufferView_pimpl.C:
9017 changes due to the changed LyXView interface that now returns references
9018 to member variables not pointers.
9020 2002-08-13 Angus Leeming <leeming@lyx.org>
9022 * WordLangTuple (word, lang_code): return references to strings,
9027 * lyxtext.h: forward-declare WordLangTuple.
9032 * text.C: #include "WordLangTuple.h".
9035 * text.C: (selectNextWordToSpellcheck): constify return type.
9037 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9043 * paragraph_pimpl.h:
9046 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9048 Made updateCounter always count from start of buffer, and removed
9049 second argument (par).
9050 Reverted floats number display to '#'. Perhaps I'll try again when the
9051 code base is sanitized a bit.
9053 2002-08-12 Angus Leeming <leeming@lyx.org>
9055 * buffer.[Ch] (getLabelList): constify.
9057 2002-08-07 André Pönitz <poenitz@gmx.net>
9059 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9061 * funcrequest.h: extension to keep mouse (x,y) position
9063 2002-08-12 Juergen Vigna <jug@sad.it>
9065 * BufferView2.C (insertErrors): forbid undo when inserting error
9068 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9070 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9072 * ParagraphList.[Ch]: new files
9074 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9076 * BufferView2.C (lockInset): ParagraphList changes
9079 * bufferlist.C: ditto
9083 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9085 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9086 unused class variable counter_,
9088 * paragraph.[Ch] (getFirstCounter): delete unused function
9090 * counters.C: include LAssert.h
9091 (reset): add a new function with no arg, change other version to
9092 not have def. arg and to not allow empty arg.
9094 * text2.C (setCounter): remove empty arg from call to Counters::reset
9096 2002-08-11 John Levon <levon@movementarian.org>
9098 * Makefile.am: add WordLangTuple.h
9100 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9102 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9103 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9105 * insets/insettext.C: InsetList changes
9107 * graphics/GraphicsSupport.C (operator()): InsetList changes
9109 * toc.C (getTocList): InsetList changes
9111 * paragraph_pimpl.[Ch]: InsetList changes
9113 * paragraph.[Ch]: InsetList changes
9115 * buffer.C (inset_iterator): InsetList changes
9116 (setParagraph): ditto
9117 * buffer.h (inset_iterator): ditto
9118 * iterators.C (operator++): ditto
9119 * iterators.h: ditto
9121 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9123 * InsetList.[Ch]: new files, most InsetList handling moved out of
9126 * BufferView2.C (removeAutoInsets): InsetList changes
9128 (ChangeInsets): ditto
9130 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9132 * paragraph_pimpl.h (empty): new function
9134 * paragraph.[Ch] (empty): new function
9136 * other files: use the new Paragraph::empty function
9138 2002-08-09 John Levon <levon@movementarian.org>
9140 * lyxtext.h: remove unused refresh_height
9142 2002-08-09 John Levon <levon@movementarian.org>
9149 * paragraph.C: move sgml char escaping out of paragraph
9152 * paragraph.C: remove id setter
9156 * paragraph_pimpl.C: remove dead tex_code_break_column
9158 * bufferview_funcs.C: small cleanup
9160 * lyxfunc.C: remove dead proto
9162 * lyxtext.h: make some stuff private. Remove some dead stuff.
9164 * lyxgluelength.C: make as[LyX]String() readable
9166 2002-08-08 John Levon <levon@movementarian.org>
9171 * ToolbarDefaults.C:
9174 * toc.C: lyxaction cleanup
9176 2002-08-08 John Levon <levon@movementarian.org>
9178 * BufferView2.C: small cleanup
9181 * lyxfind.C: move unnecessary header into the .C
9183 2002-08-08 John Levon <levon@movementarian.org>
9185 * funcrequest.h: just tedious nonsense
9188 * lyx_main.C: cleanups
9191 * vspace.C: remove dead header lyx_main.h
9193 2002-08-07 Angus Leeming <leeming@lyx.org>
9196 * paragraph_pimpl.h:
9197 Forward declare class Counters in paragraph.h by moving the ctrs member
9198 variable into Paragraph::Pimpl.
9199 (counters): new method, returning a reference to pimpl_->ctrs.
9201 * text2.C: ensuing changes.
9203 2002-08-07 John Levon <levon@movementarian.org>
9205 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9207 * BufferView_pimpl.C: announce X selection on double/triple
9210 * lyx_main.C: use correct bool in batch dispatch
9212 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9214 2002-08-07 André Pönitz <poenitz@gmx.net>
9216 * funcrequest.h: new class to wrap a kb_action and its argument
9219 * BufferView_pimpl[Ch]:
9223 * lyxrc.C: subsequent changes
9226 2002-08-07 John Levon <levon@movementarian.org>
9228 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9229 document options change.
9231 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9236 * makefile.am: move counters functionality over from
9237 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9239 2002-08-06 John Levon <levon@movementarian.org>
9241 * WordLangTuple.h: new file for word + language code tuple
9252 * BufferView2.C: use WordLangTuple
9255 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9257 2002-08-06 John Levon <levon@movementarian.org>
9259 * lyx_main.C: fix cmdline batch handling
9261 2002-08-06 André Pönitz <poenitz@gmx.net>
9263 * lyxrc.C: set default for show_banner to true
9265 2002-08-06 John Levon <levon@movementarian.org>
9267 * pspell.C: fix a crash, and allow new aspell to work
9269 2002-08-06 John Levon <levon@movementarian.org>
9272 * kbmap.C: small cleanup
9275 * vspace.C: add const
9277 2002-08-05 John Levon <levon@movementarian.org>
9279 * LyXAction.C: back to tabular-insert
9281 2002-08-04 John Levon <levon@movementarian.org>
9284 * BufferView.C: cosmetic change
9286 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9296 * BufferView2.C: purge all "Lyx" not "LyX" strings
9299 * lyxcursor.C: attempt to add some documentation
9304 * ToolbarDefaults.C:
9305 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9306 merge with LFUN_TABULAR_INSERT
9313 * pspell.C: split up i/pspell implementations into separate
9314 files, many cleanups
9316 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9318 * text2.C: some cleanup
9320 * lyxfunc.C: don't check for isp_command == "none" any more, it
9321 didn't make any sense
9323 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9328 * makefile.am: move counters functionality over
9329 from text2.C/paragraph.[Ch] to counters.[Ch], and
9331 2002-08-02 John Levon <levon@movementarian.org>
9333 * buffer.C: s/lyxconvert/lyx2lyx/
9335 2002-08-02 Angus Leeming <leeming@lyx.org>
9337 * lyxlex.C: revert John's change as it breaks reading of the user
9340 2002-08-02 Angus Leeming <leeming@lyx.org>
9342 * importer.C (Import):
9343 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9344 changes due to LyXView::view() now returning a boost::shared_ptr.
9346 2002-08-02 John Levon <levon@movementarian.org>
9348 * lyxlex.C: small cleanup
9350 2002-08-02 John Levon <levon@movementarian.org>
9352 * text2.C (status): small cleanup, no logic change
9354 2002-08-01 John Levon <levon@movementarian.org>
9357 * buffer.C (writeFile): don't output alerts, caller
9361 * lyx_cb.C: from above
9363 * lyxfunc.C: allow to open non-existent files
9365 2002-07-31 John Levon <levon@movementarian.org>
9367 * lyxserver.C: don't let incidental errors get
9370 2002-07-30 John Levon <levon@movementarian.org>
9372 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9374 2002-07-30 John Levon <levon@movementarian.org>
9377 * lyxserver.C: remove I/O callback too
9379 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9381 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9384 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9386 * many files: strip,frontStrip -> trim,ltrim,rtrim
9388 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9390 * PrinterParams.h: remove extern containsOnly, and include
9391 support/lstrings.h instead.
9393 * LaTeX.C (scanAuxFile): modify because of strip changes
9395 * buffer.C (makeLaTeXFile): ditto
9396 * bufferparams.C (writeFile): ditt
9397 * lyxfont.C (stateText): ditto
9398 * lyxserver.C (read_ready): ditto
9399 * vc-backend.C (scanMaster): ditto
9401 * BufferView_pimpl.h: ws changes
9403 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9405 2002-07-26 André Pönitz <poenitz@gmx.net>
9407 * kb_sequence.C: remove unnedred usings
9409 2002-07-26 Juergen Vigna <jug@sad.it>
9411 * lyxfind.C (LyXReplace): we have to check better if the returned
9412 text is not of theLockingInset()->getLockingInset().
9414 2002-07-25 Juergen Vigna <jug@sad.it>
9416 * lyxfind.C (LyXReplace): don't replace if we don't get the
9419 * undo_funcs.C (createUndo): remove debugging code.
9421 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9423 * buffer.C (parseSingleLyXformat2Token): Use default placement
9424 when reading old floats.
9426 * FloatList.C (FloatList): Change the default placement of figure
9427 and tables to "tbp".
9429 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9431 * MenuBackend.C: using std::max
9433 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9435 * MenuBackend.C (expandToc):
9436 (expandToc2): code moved from xforms menu frontend. It is now
9437 generic and TOCs are transparent to menu frontends.
9439 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9441 * toc.C (getTocList): protect against buf=0
9443 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9444 Menu as first parameter. Now, this calls itself recursively to
9445 expand a whole tree (this will be useful for TOC handling)
9446 (expandFloatInsert): remove 'wide' version of floats
9448 * MenuBackend.h (submenuname): returns the name of the submenu.
9449 (submenu): returns the submenu itself, provided it has been
9450 created by MenuBackend::expand
9452 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9454 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9455 insets which have noFontChange == true. (bug #172)
9457 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9459 * BufferView_pimpl.C: add connection objects and use them...
9462 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9464 * MenuBackend.C (expandLastfiles):
9467 (expandFloatListInsert):
9468 (expandFloatInsert):
9469 (expand): split expand in parts
9471 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9473 * lyx_gui.C: use lyx_gui::exit()
9475 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9477 * LyXAction.C: show the failing pseudo action
9479 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9481 * buffer.C (readFile): Run the lyxconvert script in order to read
9484 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9488 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9490 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9494 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9496 2002-07-22 Herbert Voss <voss@lyx.org>
9499 * lyxlength.[Ch]: add support for the vertical lengths
9501 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9503 * toc.[Ch]: std:: fixes
9505 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9507 * lyxrc.C: do not include lyx_main.h
9509 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9515 * BufferView2.C: include "lyxlex.h"
9518 * bufferparams.h: do not #include "lyxlex.h"
9520 * lyxtextclasslist.C (Add): remove method
9521 (classlist): renamed to classlist_
9523 * paragraph_pimpl.C:
9527 * bufferview_funcs.C:
9532 * toc.C (getTocList): use BufferParams::getLyXTextClass
9534 * toc.C (getTocList): use InsetFloat::addToToc
9536 * toc.[Ch]: new files, containing helper functions to handle table
9539 * lyxfunc.C (dispatch): no need to remove spaces around command
9541 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9542 first command of the sequence; it is not very clever, but I do not
9543 have a better idea, actually
9545 * LyXAction.C (LookupFunc): make sure to remove space at the
9546 beginning and end of the command
9548 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9550 * MenuBackend.C (getMenubar): new method: return the menubar of
9552 (read): treat differently reading of menu and menubar (in
9553 particular, the menubar has no name now)
9554 (Menu::menubar): remove
9556 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9559 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9561 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9562 a bibitem inset in a RTL paragraph.
9564 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9566 * paragraph_pimpl.C: constify
9568 * BufferView_pimpl.C:
9570 * lyxfunc.C: fix dispatch in a nicer way
9572 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9574 * lyxfunc.C (dispatch):
9575 * BufferView_pimpl.C:
9576 * BufferView_pimpl.h:
9578 * BufferView.h: rename Dispatch() to dispatch()
9580 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9582 * lyxlayout.C (Read): honor DependsOn tag
9584 * lyxlayout.[Ch] (depends_on): new method
9586 * version.C.in: update lyx_docversion
9588 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9590 * paragraph.C (validate): remove from here...
9591 * paragraph_pimpl.C (validate): ... and move here
9592 (isTextAt): make it const
9594 * buffer.C (getLists): ws cleanup
9596 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9598 * language.C (read): Use iso8859-1 encoding in latex_lang
9599 (this prevents LyX from crashing when using iso10646-1 encoding).
9601 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9603 * text2.C (toggleInset): if cursor is inside an inset, close the
9604 inset and leave cursor _after_ it
9606 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9608 * lyxfunc.C: move minibuffer completion handling out of here
9610 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9612 * BufferView_pimpl.C:
9613 * LaTeX.C: fix dispatch calls
9615 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9617 * text.C (drawChars): Fix Arabic text rendering.
9619 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9623 * lyxfunc.C: remove message-push/pop
9627 * lyxfunc.C: rationalise some code by removing verboseDispatch
9628 in favour of a bool argument to dispatch()
9630 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9632 * lyx_main.C (init): make sure to read symlinks as absolute paths
9634 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9637 * lyxfunc.C: no need for commandshortcut to be a member
9639 2002-07-15 André Pönitz <poenitz@gmx.net>
9641 * converter.C: add support for $$s (scripts from lib/scripts dir)
9642 * lyx_main.C: white space
9644 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9648 * lyxrc.C: remove second exit confirmation
9650 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9655 * BufferView_pimpl.h:
9656 * BufferView_pimpl.C:
9657 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9659 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9661 * MenuBackend.C (expand): add numeric shortcuts to document menu
9663 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9665 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9667 * lyxfont.C (setLyXFamily):
9674 * buffer.C (asciiParagraph): use ascii_lowercase
9676 2002-07-15 Mike Fabian <mfabian@suse.de>
9678 * lyxlex_pimpl.C (search_kw):
9679 * lyxlex.C (getLongString):
9680 * converter.h (operator<):
9681 * converter.C (operator<):
9682 * buffer.C (parseSingleLyXformat2Token):
9684 * ToolbarDefaults.C (read):
9685 * MenuBackend.C (checkShortcuts):
9687 * LColor.C (getFromGUIName):
9688 (getFromLyXName): use the compare_ascii_no_case instead of
9689 compare_no_case, because in turkish, 'i' is not the lowercase
9690 version of 'I', and thus turkish locale breaks parsing of tags.
9692 2002-07-16 Angus Leeming <leeming@lyx.org>
9694 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9695 now takes a Buffer const & argument.
9697 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9699 * BufferView.C (resize): check there's a buffer to resize
9701 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9703 * lyxfunc.C: remove dead code
9706 * lyxserver.C: use lyx_guii::set_read_callback
9708 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9710 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9711 an inset in a RTL paragraph.
9713 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9715 * lyxfunc.C: repaint after a font size update
9717 2002-07-15 André Pönitz <poenitz@gmx.net>
9719 * lyxlength.C: inBP should be able to return negative values
9721 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9723 * lyxfunc.C: use lyx_gui::update_fonts()
9725 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9727 * lyxfunc.C: use lyx_gui::update_color()
9729 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9735 * lyxrc.C: remove file->new asks for name option, and let
9736 buffer-new take an argument
9738 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9740 * BufferView_pimpl.C: remove unneeded extra repaint()
9742 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9744 * LyXAction.C: allow command-sequence with NoBuffer
9746 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9748 2002-07-10 Angus Leeming <leeming@lyx.org>
9750 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9752 2002-07-09 Angus Leeming <leeming@lyx.org>
9754 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9756 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9758 * lengthcommon.h: whitespace
9760 * lyxfunc.C: update scrollbar after goto paragraph
9762 * lyxtext.h: factor out page break drawing, and fix it so
9763 page break/added space paints as selected nicely
9765 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9767 * BufferView_pimpl.C: add FIXMEs, clean up a little
9769 2002-07-09 André Pönitz <poenitz@gmx.net>
9771 * lyxfont.[Ch]: support for wasy symbols
9773 2002-07-08 André Pönitz <poenitz@gmx.net>
9775 * BufferView_pimpl.C: apply John's patch for #93.
9777 2002-07-05 Angus Leeming <leeming@lyx.org>
9779 * BufferView_pimpl.C (buffer): generate previews if desired.
9781 * LColor.h: add "preview" to the color enum.
9783 * LColor.C (LColor): add a corresponding entry to the items array.
9785 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9788 2002-07-05 Angus Leeming <leeming@lyx.org>
9790 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9791 The body of the code is now in the method that is passed an ostream &
9792 rather than a file name.
9793 Pass an additional only_preamble parameter, useful for the forthcoming
9796 2002-07-03 André Pönitz <poenitz@gmx.net>
9798 * lyxfunc.C: simplify getStatus() a bit for math stuff
9800 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9802 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9804 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9806 * text.C (changeRegionCase): do not change case of all the
9807 document when region ends at paragraph end (bug #461)
9809 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9811 * paragraph.C (startTeXParParams):
9812 (endTeXParParams): add \protect when necessary
9814 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9816 * BufferView_pimpl.C (workAreaExpose): remove warning
9818 2002-06-27 Angus Leeming <leeming@lyx.org>
9820 * Makefile.am: add lyxlayout_ptr_fwd.h.
9822 2002-06-26 André Pönitz <poenitz@gmx.net>
9824 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9826 2002-06-25 Angus Leeming <leeming@lyx.org>
9828 * lyxfunc.C (dispatch): Comment out the call to
9829 grfx::GCache::changeDisplay. The method no longer exists now that the
9830 pixmap generation part of the graphics loader has been moved into
9833 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9835 * text2.C: layout as layout
9837 * text.C: layout as layout
9839 * tabular.C (OldFormatRead): layout as layout
9841 * paragraph_pimpl.C (TeXDeeper): layout as layout
9842 (realizeFont): layout as layout
9844 * paragraph.C (writeFile): layout as layout
9845 (validate): layout as layout
9846 (getFont): layout as layout
9847 (getLabelFont): layout as layout
9848 (getLayoutFont): layout as layout
9849 (breakParagraph): layout as layout
9850 (stripLeadingSpaces): layout as layout
9851 (getEndLabel): layout as layout
9852 (getMaxDepthAfter): layout as layout
9853 (applyLayout): layout as layout
9854 (TeXOnePar): layout as layout
9855 (simpleTeXOnePar): layout as layout
9856 (TeXEnvironment): layout as layout
9857 (layout): layout as layout
9858 (layout): layout as layout
9860 * lyxtextclass.C (compare_name): new functor to work with
9861 shared_ptr, layout as layout
9862 (Read): layout as layout
9863 (hasLayout): layout as layout
9864 (operator): layout as layout
9865 (delete_layout): layout as layout
9866 (defaultLayout): layout as layout
9868 * lyxlayout_ptr_fwd.h: new file
9870 * lyxlayout.C (Read): layout as layout
9872 * lyx_cb.C (MenuInsertLabel): layout as layout
9874 * bufferlist.C (newFile): layout as layout
9876 * buffer.C (readLyXformat2): layout as layout
9877 (parseSingleLyXformat2Token): layout as layout
9878 (insertStringAsLines): layout as layout
9879 (asciiParagraph): layout as layout
9880 (latexParagraphs): layout as layout
9881 (makeLinuxDocFile): layout as layout
9882 (simpleLinuxDocOnePar): layout as layout
9883 (makeDocBookFile): layout as layout
9884 (simpleDocBookOnePar): layout as layout
9885 (getLists): layout as layout
9887 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9889 * CutAndPaste.C (cutSelection): layout as layout
9890 (pasteSelection): layout as layout
9891 (SwitchLayoutsBetweenClasses): layout as layout
9893 * BufferView_pimpl.C (Dispatch): layout as layout
9894 (smartQuote): layout as layout
9896 * BufferView2.C (unlockInset): layout as layout
9898 2002-06-24 André Pönitz <poenitz@gmx.net>
9900 * lyxfunc.C: fix #487
9902 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9906 * lyxfunc.C: remove display_shortcuts, show_banner
9908 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9910 * Buffer_pimpl.C: oops, update on resize
9912 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9919 * BufferView.C: use repaint()
9921 * BufferView_pimpl.h:
9922 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9923 as it's a clearer description. Remove superfluous
9926 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9928 * text.C: fix bug 488. Not ideal, but getting
9929 getWord() to work properly for the insets that
9930 matter is more difficult ...
9932 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9934 * BufferView_pimpl.C:
9937 * lyxfunc.C: remove the six million index lyxfuncs to just
9938 one, and DTRT (bug 458)
9940 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9944 * BufferView_pimpl.h:
9945 * BufferView_pimpl.C: clean up resize() stuff,
9946 and unnecessary updateScreen()s
9948 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9952 * BufferView_pimpl.h:
9953 * BufferView_pimpl.C:
9956 * minibuffer.C: remove focus management of workarea,
9957 not needed. Use screen's greyOut()
9959 2002-06-17 Herbert Voss <voss@lyx.org>
9961 * converter.C: (convert) do not post a message, when converting
9962 fails, let the calling function decide what to do in this case
9964 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9966 * lyxfunc.C: tidy up a little
9968 2002-06-16 <alstrup@diku.dk>
9970 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9971 Got rid of FORMS_H_LOCATION include. Now we are
9974 2002-06-15 LyX Development team <lyx@rilke>
9976 * buffer.[Ch] (sgmlOpenTag):
9977 (sgmlCloseTag): Added support for avoiding pernicious mixed
9978 content. Return number of lines written.
9981 (makeDocBookFile): Fixed calls to sgml*Tag.
9982 Simple white space clean.
9984 (simpleDocBookOnePar): Simple white space clean.
9986 * tabular.[Ch] (docBook): Renamed to docbook and got another
9987 argument to related with the pernicious mixed content.
9989 (docbookRow): Fixed calls for docbook inset method.
9991 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9993 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9994 so it's X11 independent.
9998 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10000 2002-06-15 Lyx Development team <lyx@electronia>
10002 * intl.h: Renamed getTrans to getTransManager.
10004 2002-06-14 Angus Leeming <leeming@lyx.org>
10006 * Makefile.am: nuke forgotten stl_string_fwd.h.
10008 2002-06-12 Angus Leeming <leeming@lyx.org>
10010 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10012 2002-06-13 Angus Leeming <leeming@lyx.org>
10015 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10017 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10019 * kbmap.C (getiso): add support for cyrillic and greek
10021 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10025 * BufferView_pimpl.h:
10026 * BufferView_pimpl.C: move bogus scrolling logic
10029 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10032 * BufferView_pimpl.C: view->resize() change
10034 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10036 * BufferView_pimpl.C: topCursorVisible
10039 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10043 * lyx_gui.C: move to frontends/
10047 * lyx_main.C: changes from above
10049 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10056 * lyx_main.C: minor tidy
10058 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10060 * BufferView_pimpl.h:
10061 * BufferView_pimpl.C:
10063 * BufferView.C: make painter() const,
10066 * BufferView2.C: use screen() accessor
10069 * lyx_main.C: some minor cleanup
10071 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10073 * BufferView_pimpl.h:
10074 * BufferView_pimpl.C: remove enter/leaveView,
10077 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10082 * BufferView_pimpl.h:
10083 * BufferView_pimpl.C: only construct screen once,
10086 * lyxrc.C: remove pointless comment
10088 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10091 * BufferView.C: remove active() and belowMouse()
10093 * BufferView_pimpl.h:
10094 * BufferView_pimpl.C: use workarea() not workarea_,
10095 and make it use a scoped_ptr instead
10097 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10099 * lyx_gui.C: add debug message on BadWindow
10101 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10103 * sp_spell.C: fdopen is not part of the C++ standard.
10105 * paragraph.C (InsetIterator): use >= instead of ==
10107 2002-06-07 Angus Leeming <leeming@lyx.org>
10109 Fixes needed to compile with Compaq cxx 6.5.
10110 * BufferView_pimpl.C:
10117 * lyxtextclasslist.C:
10122 all c-library variables have been moved into namespace std. Wrap
10123 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10128 Add a using std::abs declaration.
10130 * kbmap.h (modifier_pair):
10131 * paragraph.h (InsetTable, InsetList):
10132 * lyxfont.h (FontBits):
10133 type definition made public.
10135 * bufferlist.C (emergencyWriteAll): the compiler complains that
10136 there is more than one possible lyx::class_fun template to choose from.
10137 I re-named the void specialisation as lyx::void_class_fun.
10139 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10141 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10142 the compiler is is unable to find tostr in write_attribute.
10144 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10146 * buffer.C (sgmlError): hide #warning
10148 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10150 * xtl/*: get rid of xtl, which is not in use anyway
10152 * LyXAction.C (init):
10153 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10154 were unimplemented xtl experimentation
10156 2002-06-04 André Pönitz <poenitz@gmx.net>
10158 * lyxfunc.C: disable array operation on simple formulae
10160 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10162 * converter.C: constify a bit
10164 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10166 * lyx_gui.C: check xforms version correctly
10168 2002-04-30 Herbert Voss <voss@lyx.org>
10170 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10173 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10175 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10176 attempt to register it with a VCS)
10178 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10180 * lyx_main.C (init): honor variables LYX_DIR_13x and
10183 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10187 * lyx_main.C: fix a crash on bad command line,
10188 and give a useful exit status on error
10190 * lyxfunc.C (doImport): allow -i lyx to work
10192 2002-03-30 André Pönitz <poenitz@gmx.net>
10194 * lyxfunc.C: mathed font changes
10196 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10211 * trans_mgr.h: srcdocs, and some minor cleanups
10213 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10215 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10216 call getFont all the time)
10218 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10220 * switch from SigC signals to boost::signals
10222 2002-05-29 André Pönitz <poenitz@gmx.net>
10224 * paragraph_pimpl.C (getChar): don't call size() too often...
10226 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10228 * paragraph_pimpl.C (insertChar): do not try to update tables when
10229 appending (pos == size())
10231 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10232 in order to reduce drastically the number of comparisons needed to
10233 parse a large document
10235 2002-05-29 André Pönitz <poenitz@gmx.net>
10241 * textclasslist.[Ch]:
10242 * sp_ispell.h: whitespace change
10244 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10246 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10247 lyxaction directly now.
10249 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10253 * lyxvc.C: remove unused headers
10255 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10262 * undo_funcs.C: some cleanups. Use shared_ptr
10263 and a template for the undo stacks.
10265 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10267 * BufferView_pimpl.h:
10268 * BufferView_pimpl.C:
10275 * text2.C: use key_state/mouse_state
10277 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10279 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10282 * chset.C: change include order
10283 (loadFile): use boost regex and get rid of LRegex and LSubstring
10285 * Makefile.am (BOOST_LIBS): new variable
10286 (lyx_LDADD): use it
10288 * LaTeX.C: change include order.
10289 (scanAuxFile): use boost regex and get rid of LRegex and
10293 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10298 * FontInfo.C: moved to frontends/xforms/
10301 * FontLoader.C: moved into frontends for GUIIzation
10306 * lyxfunc.C: changes from above
10308 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10310 * LColor.C: remove spurious X include
10312 * BufferView_pimpl.C:
10317 * text2.C: move font metrics to frontends/
10319 2002-05-24 Juergen Vigna <jug@sad.it>
10321 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10322 setting the undo_cursor.
10324 * ParagraphParameters.h: include local includes first.
10326 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10328 * BufferView_pimpl.C:
10329 * BufferView_pimpl.h:
10333 * screen.C: move WorkArea into frontends/
10339 * BufferView2.C: move LyXScreen into frontends/
10343 * lyx_gui.C: move lyxlookup into frontends/xforms/
10345 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10348 * BufferView_pimpl.C:
10358 * bufferview_funcs.C:
10371 * vc-backend.C: move LyX/XFormsView into frontends/
10373 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10385 * text2.C: move Painter to frontends/
10387 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10389 * buffer.C: comment out some some code that depend upon lyx_format
10392 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10393 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10395 * buffer.h (NO_COMPABILITY): turn off compability
10397 * ColorHandler.C: include scoped_array.hpp
10399 * font.C: Use more specific smart_ptr header.
10402 * ShareContainer.h: ditto
10403 * lyx_main.h: ditto
10405 * FontInfo.h: ditto
10406 * BufferView_pimpl.h: ditto
10407 * ColorHandler.h: ditto
10409 * kbmap.C (defkey): change call to shared_ptr::reset
10411 2002-05-21 Juergen Vigna <jug@sad.it>
10413 * buffer.C (insertErtContents): fix to insert ert asis if it is
10414 non empty. Skip it completely if it contains only whitespaces.
10416 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10418 * BufferView_pimpl.C:
10419 * BufferView2.C: clear selection on paste (bug 393)
10421 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10423 * DepTable.C: include ctime
10425 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10427 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10429 2002-05-14 Juergen Vigna <jug@sad.it>
10431 * text.C (breakParagraph): fixed function to honor the keepempty
10432 layout in the right maner and also to permit the right breaking
10433 algorithm on empty or non empyt keepempty paragraphs.
10435 * paragraph.C (breakParagraph): we have to check also if the par
10436 is really empty (!size()) for isempty otherwise we do the wrong
10439 2002-05-10 Juergen Vigna <jug@sad.it>
10441 * buffer.[Ch] : The following are only changes to the ert
10442 compatibility read reading old LaTeX layout and font stuff and
10443 convert it to ERTInsets.
10445 * buffer.h: added isErtInset().
10447 * buffer.C (struct ErtComp): add a fromlayout bool to check
10448 if we're inside a LaTeX layout.
10449 (isErtInset): new helper function.
10450 (insertErtContents): look for other ert insets before this one
10451 and insert the contents there, so that we don't have subsequent
10452 ERT insets with nothing between them. This way we create only one
10453 inset with multiple paragraphs. Also check if we don't insert only
10454 spaces ' ' as they are ignored anyway afterwards in the .tex file
10455 so if we have only spaces we will ignore this latex part in the
10457 (parseSingleLyXformat2Token \\layout): better compatibility when
10458 reading layout-latex stuff.
10459 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10461 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10462 stuff after reading the inset only get the information back from
10465 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10467 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10469 * LaTeXFeatures.C (getBabelOptions): New method.
10471 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10473 * BufferView_pimpl.C (Dispatch): work around missing argument for
10476 2002-05-08 Juergen Vigna <jug@sad.it>
10478 * text.C (leftMargin): handle paragraph leftindent.
10480 * paragraph.C (writeFile): write the new \\leftindent tag.
10481 (validate): handle leftindent code.
10482 (TeXEnvironment): handle paragraphleftindent code again.
10484 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10486 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10487 for paragrap_extra indent code and new token \\leftindent.
10488 (latexParagraphs): handle the leftindent as environment.
10490 * ParameterStruct.h: added leftindent support.
10492 * ParagraphParameters.C (leftIndent): added support functions for
10493 the paragraph left indent.
10495 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10498 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10500 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10503 * text.C (computeBidiTables): No bidi in insetERT.
10505 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10508 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10510 * version.C.in: pre 5
10512 2002-05-02 José Matos <jamatos@fep.up.pt>
10513 * buffer.C (makeDocBookFile): white space changes, add newline to
10515 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10517 * tabular.C (docBook): fix typo.
10519 2002-05-03 Juergen Vigna <jug@sad.it>
10521 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10522 change in LyXText as we can not be sure it was not freed.
10523 (drawOneRow): remove unused code.
10525 * text.C (drawInset): redo the calculation of the need_break_row as
10526 it could have a row which was already freed.
10527 (draw): look at the return value of drawInset and return false if
10528 it also returned false.
10529 (paintRowText): look at the return value of draw and return false if
10530 it also returned false.
10532 * lyxtext.h: added bool return type to drawInset() and draw() so that
10533 if we have a change in the row so that the rowbreak has to be redone
10534 we abort drawing as it will be called again.
10536 2002-05-02 Juergen Vigna <jug@sad.it>
10538 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10539 a change in the maintext also if we're inside an inset.
10540 (Dispatch): set the cursor again after a break line and after the
10541 screen has been updated as it could be we're in a different row.
10543 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10544 to set the cursor behind the pargraph with > size().
10545 (setCursor): check also for the same paragraph when checking where
10546 to put the cursor if we have a NFR inset.
10548 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10549 parts of layout read further up as it still was in the wrong
10552 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10554 * screen.C (drawFromTo): change sine fullRebreak always return
10557 * buffer.C (parseSingleLyXformat2Token): reindent some
10559 * BufferView_pimpl.C (update): change since fullRebreak always
10561 (Dispatch): git rid of the last hardcoded "Standard"s.
10563 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10565 * text2.[Ch] (fullRebreak): make it return void now that we always
10568 2002-04-30 Juergen Vigna <jug@sad.it>
10570 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10571 ert compatibility check for "latex" layout.
10573 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10575 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10576 minipages: use col% instead of p%, and also use the current font.
10577 (makeLaTeXFile): Fix use babel condition.
10578 (parseSingleLyXformat2Token): Correct font when reading old floats.
10580 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10582 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10583 inserting list of floats.
10585 2002-04-25 Herbert Voss <voss@lyx.org>
10587 * MenuBackend.C (expand): don't add the graphics extensions to the
10590 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10592 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10593 non-existing layout, do not complain if it was the default layout
10594 of the original class (bug #342)
10596 2002-04-24 Juergen Vigna <jug@sad.it>
10598 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10599 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10601 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10603 * buffer.C (getBibkeyList): If using \bibliography, return the
10604 option field with the reference itself. Enables us to provide natbib
10605 support when using \bibliography.
10607 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10609 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10611 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10612 natbib is provided by the LaTeX class.
10614 2002-04-23 Juergen Vigna <jug@sad.it>
10616 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10619 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10621 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10623 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10625 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10626 ensuremath around textordmasculine, textordfeminine and
10629 2002-04-19 Juergen Vigna <jug@sad.it>
10631 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10632 reinitializing the buffer otherwise row-dimensions may be wrong.
10633 (update): reset also the selection cursors if they do exits otherwise
10634 their x/y positions may be wrong.
10636 * text2.C (cursorDown): don't enter the inset if we came from a row
10637 above and are one row over the inset.
10639 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10640 really leaving an inset.
10642 2002-04-18 Juergen Vigna <jug@sad.it>
10644 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10645 of the selected paragraph does not have the selected layout also if
10648 * text2.C (setLayout): fixed bug which did not change last selected
10651 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10652 changed the read and substituted \\end_float with \\end_inset!
10654 * BufferView_pimpl.C (cursorPrevious):
10655 (cursorNext): fixed to make it work with rows heigher than the work
10656 area without moving the cursor only the draw of the row.
10657 (workAreaMotionNotify): fix jumping over high rows.
10659 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10661 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10664 2002-04-16 Juergen Vigna <jug@sad.it>
10666 * text2.C (setCursor): set also the irow().
10667 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10669 (cursorDown): support for locking an inset if the x_fix value goes
10670 inside it. That way I can transverse insets too with cursor up/down.
10672 * lyxrow.h: added irow helper function same as other (i) functions.
10674 * BufferView_pimpl.C (cursorPrevious):
10675 (cursorNext): fixed for insets!
10677 2002-04-15 Juergen Vigna <jug@sad.it>
10679 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10680 position otherwise it is wrong in some cases.
10682 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10683 inside the inset before the call.
10685 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10687 * buffer.[Ch] (getBibkeyList): make it const.
10689 2002-04-12 Juergen Vigna <jug@sad.it>
10691 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10693 * text2.C (getCursorX): new helper function
10694 (setCursor): compute also ix_
10695 (setCursorFromCoordinates): set also ix.
10697 * lyxcursor.h: added ix_ and helper functions.
10699 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10701 * buffer.C (insertStringAsLines): dont break paragraph if the this
10702 paragraph is inside an inset which does not permit it!
10704 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10705 also with no chars on this paragraph.
10706 (paintRowText): only paint stuff if it's inside the workarea!
10708 * paragraph.C (breakParagraph): honor keepempty flag and break the
10709 paragraph always below not above.
10711 * BufferView2.C (unlockInset): update the paragraph layout on inset
10712 unlock as we changed paragraph in such a case.
10714 * lyxfind.C (LyXFind): clear the former selection if not found!
10716 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10717 again called in insertChar().
10719 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10720 an inset which uses the whole row!
10721 (rightMargin): ditto.
10722 (insertChar): force a rebreak if we inserted an inset!
10724 2002-03-28 Herbert Voss <voss@lyx.org>
10726 * lyxlength.[Ch]: add inBP() to get the right PS-point
10727 units (BigPoint). With inPixels we have rounding errors
10729 2002-04-11 Juergen Vigna <jug@sad.it>
10731 * text2.C (setCursorFromCoordinates): set iy to the right value.
10732 (setCursor): add check if row->previous exists!
10734 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10735 an old float_type as this was the case in the old code!
10737 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10739 * BufferView2.C (showLockedInsetCursor): use iy
10740 (fitLockedInsetCursor): ditto
10742 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10743 locked insets as there we have the right value now.
10745 * lyxcursor.C: added iy_ variable and iy functions to set to the
10746 baseline of cursor-y of the locked inset.
10748 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10749 (setCursor): fixed for insets which need a full row.
10751 * text.C (rowLastPrintable): don't ignore the last space when before
10752 an inset which needs a full row.
10753 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10754 as last character of a row when before a inset which needs a full row.
10756 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10758 * version.C.in: update date
10760 * text2.C (fullRebreak): try to always return true and see what
10763 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10765 * MenuBackend.C (expand): use Floating::listName
10767 * FloatList.C (FloatList): add listName argument to the built-in
10770 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10771 text associated with the float.
10773 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10775 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10777 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10779 * ShareContainer.h: add a couple of missing typenames.
10781 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10783 * lyxrc.C (getDescription): use _() correctly rather than N_().
10785 2002-03-28 Herbert Voss <voss@lyx.org>
10787 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10788 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10790 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10792 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10793 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10795 2002-03-29 Juergen Vigna <jug@sad.it>
10797 * lyxfunc.C (dispatch): add a missing fitCursor call.
10799 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10800 it was scrolled by a cursor move, so return the bool status.
10802 * BufferView.C (fitCursor): return the bool flag also to the outside
10803 world as this is needed.
10805 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10807 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10808 call the edit() as it is not needed (and wrong) IMO.
10809 (workAreaButtonPress): set the screen_first variable before evt.
10810 unlock the inset as this may change screen_first and then we have
10811 a wrong y position for the click!
10813 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10815 * MenuBackend.C (expand): another translation that I missed
10817 2002-03-28 Juergen Vigna <jug@sad.it>
10819 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10821 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10823 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10825 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10827 * MenuBackend.C (expand): fix export/view/update when there is no
10830 2002-03-27 Herbert Voss <voss@lyx.org>
10832 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10835 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10837 * bufferview_funcs.C (currentState): only show paragraph number
10838 for is DEVEL_VERSION is set.
10840 * lyxfunc.C (dispatch): put warning in INFO channel
10842 * MenuBackend.C (expand): translate the name of floats
10844 * FloatList.C (FloatList): mark the float names for translation
10846 * converter.C (convert): use LibScriptSearch
10848 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10850 * MenuBackend.C (defaults): fix default menu (we might as well get
10853 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10855 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10858 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10860 * lyxvc.C: reorder includes.
10862 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10864 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10867 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10869 * CutAndPaste.C: change layouts earlier on paste
10870 to avoid crashing when calling getFont()
10872 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10874 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10877 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10879 * WorkArea.C: remove 'Pending' debug message.
10881 * most files: ws cleanup
10883 * buffer.[Ch]: ws changes
10885 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10887 2002-03-21 Juergen Vigna <jug@sad.it>
10889 * tabular.C (SetMultiColumn): collapse also the contents of the
10890 cells and set the last border right. Added a Buffer const * param.
10892 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10894 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10897 2002-03-19 Juergen Vigna <jug@sad.it>
10899 * text2.C (clearSelection): reset also xsel_cache.
10901 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10902 where it needs to be called (John tells us to do so too :)
10903 (selectionLost): reset sel_cache.
10905 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10907 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10909 * text2.C (setCursorIntern): put debuging code in INSETS channel
10911 2002-03-19 André Pönitz <poenitz@gmx.net>
10913 * lyxfunc.C: tiny whitespace change
10915 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10917 * ToolbarDefaults.C (init):
10918 * LyXAction.C (init):
10920 * BufferView_pimpl.C (Dispatch):
10921 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10923 2002-03-19 Allan Rae <rae@lyx.org>
10925 * exporter.C (Export): removeAutoInsets before doing anything else.
10926 While I've just introduced a dependency on BufferView this really is
10927 the best place to clean the buffer otherwise you need to cleanup in
10928 a dozen places before calling export or cleanup in a dozen functions
10931 * converter.C (runLaTeX):
10932 (scanLog): Better handling of removeAutoInsets and screen updates.
10934 * lyxfunc.C (dispatch): small whitespace changes
10936 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10938 * WorkArea.C (C_WorkAreaEvent): return a value.
10939 (event_cb): return 1 if we handled the event, 0 otherwise.
10941 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10943 2002-03-18 Juergen Vigna <jug@sad.it>
10945 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10946 (GetAdditionalWidth): ditto.
10947 (RightLine): ditto.
10950 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10951 inset if we're there actually (probably not used right now but this
10952 is the direction to go for unifying code).
10953 (paste): disable code to clear the selection.
10955 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10956 inside an InsetText and move the check further up as it is in the
10959 * text2.C (pasteSelection): set a selection over the pasted text.
10961 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10963 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10964 and libgraphics to build on Cygwin.
10966 2002-03-15 Juergen Vigna <jug@sad.it>
10968 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10969 inserting an Inset into the paragraph. I know this is not the best
10970 fix but we already use current_view in CutAndPaste so we will remove
10971 all of it's using at the same time.
10973 * buffer.C (sgmlError): deactivated function till it is rewritten in
10974 the right mode, now it can create problems.
10976 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10977 before accessing it.
10979 2002-03-14 Juergen Vigna <jug@sad.it>
10981 * undo_funcs.C (textHandleUndo): do the right thing when updating
10982 the inset after the undo/redo.
10984 * text2.C (setCursor): just some testcode for #44 not ready yet.
10986 * undo_funcs.C (textHandleUndo): set the next() and previous()
10987 pointers of the paragraph to 0 before deleting otherwise we have
10988 problems with the Paragraph::[destructor].
10990 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10991 on a paragraph insertion.
10993 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10995 * buffer.C (asciiParagraph): use += operator for char append to
10998 * paragraph.C (getFontSettings): compare >= not just >
10999 (highestFontInRange): ditto
11002 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11004 * paragraph.C: change several algorithm to be more appripriate for
11005 the problem domain. This is lookip in FontList and in the InsetList.
11007 2002-03-13 André Pönitz <poenitz@gmx.net>
11010 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11012 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11017 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11019 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11021 * Painter.C (display): anon helper function, adjust code for this
11023 (pixmap): remove function.
11025 * Painter.h: remove private display variable.
11027 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11029 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11031 * WorkArea.[Ch]: remove figinset_canvas cruft.
11033 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11035 * lyxtextclass.C (operator): add one item cache optimization.
11037 * bufferlist.h: doxy changes
11039 * bufferlist.C: ws changes
11041 * DepTable.[Ch] (ext_exist): place const in the right spot.
11043 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11045 (workAreaExpose): call resizeInsets when the with BufferView changes.
11046 (Dispatch): adjust for protectedBlank removal
11047 (specialChar): call updateInset if the insert went ok.
11049 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11050 specialChar instead.
11052 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11054 * BufferView.h: doxy change
11056 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11058 * lyxtextclass.C (operator[]): remove non-const version
11059 (defaultLayout): remove non-const version
11061 2002-03-12 Juergen Vigna <jug@sad.it>
11063 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11064 did resize the LyXText too.
11066 * buffer.C (readLyXformat2): set layout information on newly allocated
11069 * tabular.C (OldFormatRead): set layout information on the paragraph.
11071 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11073 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11075 2002-03-11 Juergen Vigna <jug@sad.it>
11077 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11079 (resizeCurrentBuffer): force also the insets to resize themselfes.
11080 (moveCursorUpdate): fixed up for InsetText.
11082 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11085 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11086 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11087 value of Dialogs::tooltipsEnabled().
11088 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11090 2002-03-08 Juergen Vigna <jug@sad.it>
11092 * BufferView_pimpl.C (updateInset): update inset inside inset also
11093 if it isn't inside theLockingInset().
11095 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11097 * buffer.C (asciiParagraph): redo some of the word and line length
11099 (getLists): look for Caption instead of caption.
11101 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11103 * buffer.C (Buffer): initialize niceFile to true
11105 (makeLinuxDocFile):
11106 (makeDocBookFile): make sure niceFile is true on exit
11108 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11110 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11112 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11114 * LyXSendto.C: remove.
11115 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11116 * lyx_gui.C: remove now-redundant comment.
11117 * ColorHandler.h: remove forward declaration of class WorkArea.
11118 * lyxfunc.C: remove #include "WorkArea.h".
11120 2002-03-07 Juergen Vigna <jug@sad.it>
11122 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11123 got moved away with the DEPM and also set the inset_owner always
11124 right which before could have been omitted.
11126 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11128 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11129 wanted layout is not found.
11131 2002-03-07 Juergen Vigna <jug@sad.it>
11133 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11135 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11137 * paragraph.C (breakParagraph): use default layout not layout of
11139 (Paragraph): clear ParagraphParameters.
11141 2002-03-06 Juergen Vigna <jug@sad.it>
11143 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11144 otherwise it would not be a valid lenght. Fixed a special case in
11145 the minipage compatibility read where we end the document with a
11148 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11149 was set as it could be 0 for InsetTexts first entry.
11151 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11153 * paragraph.C (writeFile): if layout is empty write out
11154 defaultLayoutName().
11156 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11157 file without named layout we set layout to defaultLayoutName().
11159 2002-03-06 Juergen Vigna <jug@sad.it>
11161 * CutAndPaste.C (copySelection): set layout for new paragraph.
11163 * text.C (prepareToPrint): leave ERT inset left aligned
11164 (leftMargin): don't indent paragraphs inside ERT insets
11166 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11168 * paragraph.C (breakParagraph): dont call clear do the work manually
11170 * paragraph.[Ch] (clear): remove function
11172 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11174 * paragraph.C (Paragraph): dont call clear, the work has already
11177 * lyxtextclass.C (operator): assert if n is empty
11179 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11180 work manually instead.
11182 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11184 * BufferView_pimpl.C: protect selectionLost against text == 0
11186 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11188 * text.C (breakParagraph): fix a setting layout to '0' problem.
11190 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11192 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11193 final location of file, for the included files, and graphics.
11195 2002-03-05 Juergen Vigna <jug@sad.it>
11197 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11199 2002-03-04 Juergen Vigna <jug@sad.it>
11201 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11203 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11204 last column of multicolumn cells.
11205 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11207 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11209 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11210 file if it doesn't go to a temporary file.
11212 * buffer.C (sgmlOpenTag):
11213 (sgmlCloseTag): remove extra newline insertion.
11215 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11217 * text.C (getRowNearY): comment out debug msg
11219 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11221 * text2.C: first -> first_y
11223 * text.C (getRowNearY): add some attemts at a possible
11224 optimization, not working.
11226 * tabular.[Ch]: add BufferParams to several function so that newly
11227 created paragraph can be initialized to he default layotu for the
11230 * tabular-old.C (ReadOld): add buf->params to call of Init
11232 * screen.C: rename text->first to text->first_y
11234 * paragraph.C (breakParagraph): always set layout in the broken
11237 * lyxtextclass.C (Read): remove lowercase
11240 (delete_layout): ditto
11242 * lyxtext.h: rename first -> first_y
11244 * lyxlayout.C (Read): remove lowercase
11247 (obsoleted_by): ditto
11249 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11251 * buffer.C (insertErtContents): add params are to InsetERT
11252 (parseSingleLyXformat2Token): add code to check if a paragraphs
11253 layout really exist.
11254 (parseSingleLyXformat2Token): add params to several inset
11256 (asciiParagraph): remove lowercase, do the layout comparisons with
11259 * BufferView_pimpl.C (cursorNext): first -> first_y
11260 (resizeCurrentBuffer): first -> first_y
11261 (updateScrollbar): first -> first_y
11262 (scrollCB): first -> first_y
11263 (workAreaMotionNotify): first -> first_y
11264 (workAreaButtonPress): first -> first_y
11265 (checkInsetHit): first -> first_y
11266 (cursorPrevious): first -> first_y
11267 (cursorNext): first -> first_y
11268 (Dispatch): add buffer_->params to severl inset contructors
11270 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11272 * lyxlayout.C (Read): remove some debug info that I forgot.
11274 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11275 clean up the code slightly.
11276 (makeLinuxDocFile): ditto
11277 (makeDocBookFile): ditto
11279 * text2.C: layout as string
11281 * text.C: layout as string
11283 * paragraph_pimpl.C: layout as string
11285 * paragraph.[Ch]: layout as string
11287 * lyxtextclasslist.[Ch]: layout as string
11289 * lyxtextclass.[Ch]: layout as string
11291 * lyxtext.h: layout as string
11293 * lyxlayout.[Ch]: layout as string
11295 * lyx_cb.C: layout as string
11297 * bufferview_funcs.C: layout as string
11299 * bufferparams.C: layout as string
11301 * buffer.C: layout as string
11303 * LyXView.[Ch]: layout as string
11305 * LaTeXFeatures.[Ch]: layout as string
11307 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11309 * BufferView_pimpl.C: change current_layout to string, remove
11314 (workAreaButtonRelease): layout as string
11316 * BufferView2.C (unlockInset): adjust
11318 * vspace.C (asLatexCommand): use an explict temp variable.
11320 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11322 * Makefile.am: use FRONTEND_*
11324 2002-03-01 Juergen Vigna <jug@sad.it>
11326 * tabular.C (SetWidthOfMulticolCell): changed to something better
11327 I hope but still work in progress.
11328 (recalculateMulticolumnsOfColumn): renamed function from
11329 recalculateMulticolCells as it is more appropriate now.
11330 (SetWidthOfCell): calculate multicols better.
11332 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11334 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11336 * lyxfunc.C (processKeySym): print sequence also if it is
11337 `deleted' (complete)
11339 * kbsequence.C (print): print sequence even if it is deleted
11340 (complete would be a better word, actually).
11342 * lyxfunc.C (dispatch): print complete options after a prefix key
11344 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11346 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11348 * text2.C (setCharFont): eliminate setCharFont code duplication.
11350 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11352 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11353 LFUN_TABULAR_FEATURE (bug #177)
11355 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11357 * Makefile.am: remove figure.h
11359 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11361 * Bufferview_pimpl.C:
11373 * text2.C: remove #include "lyx_gui_misc.h".
11375 * LaTeX.C: added #include <cstdio>
11377 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11379 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11380 that the paragraph following this one can have.
11382 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11384 * vspace.C (asLatexCommand): fix bogus gcc warning
11386 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11388 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11390 * text2.C (setLayout): get rid of redundant code
11392 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11394 * text2.C (incDepth): make sure depth cannot be increased beyond
11397 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11399 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11400 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11402 * PainterBase.h (image):
11403 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11404 a LyXImage const *.
11406 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11410 * BufferView_pimpl.C:
11411 * BufferView_pimpl.h:
11431 * sp_spell.C: remove fig inset, and the crap house of
11432 cards that follows it
11434 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11439 * os2_errortable.h:
11440 * nt_defines.h: move .h into support/
11442 * vms_defines.h: remove
11444 * WorkArea.C: add space in debug output
11448 * buffer.C: add WITH_WARNINGS
11452 * bufferlist.C: s/retrive/retrieve/, add docs
11461 * chset.C: add docs
11463 * lyxgui.C: add ID to X error handler
11465 * lyxtestclass.c: fix typo
11467 2002-02-26 Juergen Vigna <jug@sad.it>
11469 * tabular_funcs.C (write_attribute): changed so that some default
11470 attributes are not written at all.
11471 (getTokenValue): set default values before trying to read the
11472 value so we have the return value always set as default if we don't
11473 find the token we search for.
11475 * tabular.C (Write): write bools as bools not as strings!
11477 2002-02-22 Juergen Vigna <jug@sad.it>
11479 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11480 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11482 * text.C (leftMargin): don't add an indent for paragraphs inside
11483 tabular cells (fix #208).
11485 2002-02-21 José Matos <jamatos@fep.up.pt>
11487 * tabular.C (docBook): fixed support for long tables.
11489 2002-02-20 Juergen Vigna <jug@sad.it>
11491 * text2.C (getFont): get the drawing font of the Inset if this
11492 paragraph is inside an inset (only important for InsetERT for now).
11494 * buffer.C (insertErtContents): use new lanugage params in ERT
11497 * CutAndPaste.C: commenting out seemingly uneeded code.
11499 2002-02-19 Allan Rae <rae@lyx.org>
11501 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11502 Iterators might be simple to use but they also get invalidated.
11503 (removeAutoInsets): renamed saved cursor tracking variables and added
11504 some comments to clarify what everything does.
11506 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11513 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11514 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11517 * vc-backend.h: remove #include "support/syscall.h"
11521 * converter.C: rearrange #includes in Lars' approved fashion.
11523 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11524 forward declare class Timeout in the header file.
11526 * XFormsView.C: changes due to the above.
11528 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11529 similar to LyXView.
11531 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11532 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11534 2002-02-18 José Matos <jamatos@fep.up.pt>
11536 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11539 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11541 * a lot of small ws changes
11542 * add a lot of using std::XXX
11543 * use std construcs some places where approp.
11544 * use some exisint stuff from lyxfunctional where approp.
11545 * Make file changes to use partial linking (lets test this now...)
11547 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11551 remove #include "support/syscontr.h" as it's redundant. Always has been.
11559 change Systemcalls::System to Systemcalls::Wait and
11560 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11561 No change of functionality, just reflects the stripped down Systemcalls
11564 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11566 * debug.[Ch]: add a GRAPHICS type to the enum.
11568 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11570 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11572 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11575 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11577 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11578 match the changes below.
11580 * text2.C (toggleInset): if there is not editable inset at cursor
11581 position, try to see if cursor is _inside_ a collapsable inset
11584 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11586 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11587 document menu has a nice checkbox
11589 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11591 * lyxlength.C (asLatexString): change PW to output as percent of
11594 * lengthcommon.C: change '%' to 't%'
11596 * lyxfunc.C (dispatch): a few comments from Martin
11598 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11602 * BufferView_pimpl.h:
11603 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11606 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11608 * vspace.C (inPixels): fix compiler warning
11610 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11612 * lyxfunc.C (getStatus): fix status message for disabled commands.
11614 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11616 * BufferView_pimpl.C: fix crash on close buffer
11617 during selection (#227)
11619 2002-01-27 Herbert Voss <voss@lyx.org>
11621 * buffer.C: link old Figure to new graphic inset
11623 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11625 * FontLoader.C (getFontinfo): Change the latex font names in order
11626 to match the names of type1inst.
11628 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11630 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11632 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11633 (extchanged): ditto
11635 (remove_files_with_extension): ditto
11636 (remove_file): ditto
11639 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11640 document is smaller than the work area height. Do not initialize
11641 static variables to 0.
11643 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11645 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11647 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11648 LFUN_LAYOUT_PARAGRAPHS.
11650 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11651 tabular. It is possible to provide a possible cell, which will
11652 typically be the actcell from the corresponding insettabular
11654 * lyxfunc.C (getStatus): small cleanup; disable
11655 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11658 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11660 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11662 * paragraph.C (startTeXParParams):
11663 (endTeXParParams): new methods. The LaTeX code to
11664 start/end paragraph formatting
11665 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11666 empty (fixes bug #200)
11668 * vspace.C (inPixels): adapt to the change below
11669 (inPixels): [later] more cleanups (remove unused variables)
11671 * lyxlength.C (inPixels): change to use a width and a height as
11674 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11676 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11677 Replaced with \paperwidth
11679 * DepTable.C (insert): add std:: qualifier
11681 2002-01-18 Allan Rae <rae@lyx.org>
11683 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11686 * text.C (drawInset): Turned out I didn't know enough about how
11687 rebreaking worked. This fixes most of the redraw problems. I see
11688 an occasional cursor trail when a line is broken now and the cursor
11689 placement can seem out by a few pixels also after a rebreak.
11691 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11693 * buffer.C (parseSingleLyXformat2Token): update because minipage
11694 width is now a LyXLength
11696 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11698 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11701 2002-01-17 Juergen Vigna <jug@sad.it>
11703 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11705 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11706 is set correctly and the inset is updated correctly.
11708 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11710 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11711 the beginning of the loop.
11713 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11715 * lyxrc.C: improve help for use_scalable_fonts
11717 2002-01-17 Allan Rae <rae@lyx.org>
11719 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11721 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11723 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11724 make sure to set their inset_owner to the right value (bug #171)
11726 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11729 * DepTable.C: Implement mtime checking to reduce time spent doing
11732 2002-01-16 Juergen Vigna <jug@sad.it>
11734 * tabular.C (GetAdditionalHeight): one of error fixed.
11736 * lyxrc.C (output): small fix in writing use_pspell.
11738 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11740 * sp_base.h: #include LString.h
11742 2002-01-16 Allan Rae <rae@lyx.org>
11744 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11745 Can someone check this please?
11747 * text.C (drawInset): It was possible that p.row would be removed by
11748 breakAgainOneRow upsetting a few other settings. There may be another
11749 small tweak possible by setting need_break_row = 0 when p.row has been
11750 removed but I don't know enough about the logic here.
11752 2002-01-15 Allan Rae <rae@lyx.org>
11754 * text.C (insertChar): removed conditional truism.
11756 * BufferView2.C (removeAutoInsets): More tweaks.
11757 cur_par_prev could be a stray pointer. Check for trailing empty line
11758 in case last line was cur_par and only had an error inset on it.
11760 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11762 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11765 * vc-backend.C (most methods):
11766 * exporter.C (Export):
11767 * converter.C (convert):
11769 * LyXSendto.C (SendtoApplyCB):
11770 * lyxfunc.C (dispatch):
11774 * lyx_cb.C (AutoSave):
11776 * BufferView_pimpl.C (MenuInsertLyXFile):
11777 * buffer.C (runChktex): use Buffer::filePath().
11779 * buffer.h: rename filename to filename_; rename filepath to
11780 filepath_ and make it private
11781 (filePath): new method
11783 * buffer.C (writeFile): use fileName()
11786 * lyx_main.C (init): fix starting of LyX when the binary is a
11787 link from so,ewhere else.
11789 * minibuffer.C: include <cctype> for isprint
11791 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11793 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11794 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11795 name clash with InsetCollapsable's width function.
11797 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11799 * lastfiles.C: include <iterator>
11801 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11803 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11806 * buffer.C (makeLaTeXFile): ditto.
11807 Also make loop operation more transparent.
11809 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11811 * ToolbarDefaults.C: remove trailing comma closing namespace.
11813 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11815 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11818 * trans.C (Load): comment out unused variable, allowed.
11820 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11822 * minibuffer.[Ch] (append_char): new method to recieve input from the
11823 drop-down completion browser. If a key was pressed, then recieve this
11824 char and append it to the existing string.
11825 (peek_event): modify the positioning data passed to the completion
11826 browser so that it can be placed above the minibuffer rather than below.
11827 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11829 * LyXAction.C (init): alloe error-next for readonly documents.
11831 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11834 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11836 * bufferlist.C (readFile): create the buffer _after_ checking that
11839 * lyxfunc.C (verboseDispatch): fix handling of arguments
11841 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11843 * lyxrc.C: use string::erase() instead of initializing to "".
11846 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11848 * BufferView_pimpl.h:
11849 * BufferView_pimpl.C:
11852 * text2.C: tell X when we have made a selection for copying
11854 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11856 * BufferView_pimpl.C (MenuInsertLyXFile):
11857 * lyxfunc.C (menuNew):
11859 (doImport): add shortcuts to directory buttons
11861 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11864 * lyxfunc.C (setStatusMessage):
11865 (getStatusMessage): new methods
11866 (getStatus):use setStatusMessage instead of setErrorMessage
11867 (dispatch): when function is disabled, set error message here
11868 [instead of in getStatus previously]
11870 * BufferView_pimpl.C (workAreaButtonRelease): update
11871 toolbar/menubar here too.
11873 2002-01-13 Allan Rae <rae@lyx.org>
11875 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11876 Now seems indestructible. Remaining task is to audit all other
11877 code affected by deleteEmptyParagraphMechanism. One small quirk
11878 left is that an empty document with an error in the preamble can
11879 be made to report an error but no error box appears. I don't know
11881 (removeAutoInsets): Improved comments.
11883 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11886 * Thesaurus.C: update for Aiksaurus 0.14
11888 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11890 * text2.C (firstParagraph): removed member function, all uses
11891 replaces with ownerParagraph
11892 (redoParagraphs): here
11893 (updateInset): here
11894 (toggleAppendix): here
11895 * BufferView2.C (insertErrors): here
11896 (setCursorFromRow): here
11898 2002-01-13 Allan Rae <rae@lyx.org>
11900 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11901 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11902 There is still a way to segfault this although you may have to do this
11903 multiple times: Have an InsetERT with an unknown command in it.
11904 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11905 <down-arrow>, <Enter> again, View->DVI, BANG!
11907 * text2.C (setCursor):
11908 (deleteEmptyParagraphMechanism):
11909 * lyxtext.h (setCursor):
11910 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11911 Making use of the return value may help fix other bugs.
11913 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11915 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11917 * LyXView.C (updateMenubar): call MenuBar::update here
11918 (updateToolbar): but not here
11919 (showState): do not update toolbar/menubar
11921 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11922 should need to care about that.
11924 * lyxfunc.C (verboseDispatch): simplify a bit
11925 (getStatus): have a version which takes a pseudoaction, and
11926 another which requires a (kb_action,string).
11928 * LyXAction.C (retrieveActionArg): make it work also when action
11929 is not a pseudo-action.
11930 (getActionName): simplify a bit
11933 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11935 * lyxfunc.C (verboseDispatch): new families of methods with
11936 several ways to specify a command and a bool to indicate whether
11937 the command name and shortcut should be displayed in minibuffer
11938 (eventually, we could extend that to a finer bitmask like
11939 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11940 (dispatch): the pristine dispatch command which just, well,
11941 dispatchs! Note it still sets its result to minibuffer; I'm not
11944 * lyxfunc.h: remove setHintMessage
11946 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11948 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11950 * BufferView_pimpl.C (specialChar): delete new inset if we have
11951 not been able to insert it.
11953 * kbmap.C: revert to using int instead of kb_action, since all we
11954 are dealing with is pseudo-actions.
11956 * LyXAction.C (searchActionArg): change to return int instead of
11957 kb_action, since the result is a pseudoaction.
11959 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11961 * buffer.C (insertErtContents): Fix (partially) the font bug.
11963 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11965 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11966 as the other one is broken on my machine!
11968 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11971 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11973 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11975 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11976 reflect their actual use. Provide compatibility code for older lyxrc
11979 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11981 change names of popup font variables in line with the changes to lyxrc.C
11983 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11985 * buffer.C (asciiParagraph): avoid outputing a word twice after
11988 * lyxrc.C (getDescription): document that document_path and
11989 template_path can be empty.
11991 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11993 * LaTeXFeatures.C (getMacros):
11994 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11996 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11998 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12000 (getPackages): rename feature "floats" to "float". Use an array to
12001 iterate over 'simple' features (i.e. just a \usepackage). Add
12002 handling of "amsmath" (renamed from "amsstyle").
12004 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12006 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12009 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12011 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12012 FuncStaus::FuncStatus & FuncStaus::some_method().
12014 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12016 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12017 of the func_satus stuff. Edited and massaged in various ways by
12020 * lyxfunc.C (getStatus): use FuncStatus
12022 2002-01-08 Juergen Vigna <jug@sad.it>
12024 * text.C (nextBreakPoint): use function Inset::isChar().
12026 * paragraph.C (TeXOnePar): use function
12027 Inset::forceDefaultParagraphs.
12029 * buffer.C (latexParagraphs): use function
12030 Inset::forceDefaultParagraphs.
12032 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12034 * lyx_gui.C (init): set the style of the menu popups to
12035 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12037 2002-01-07 Juergen Vigna <jug@sad.it>
12039 * text.C (setHeightOfRow): small fix
12040 (prepareToPrint): don't look at alignment if we don't have the place
12043 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12045 * box.C: New file. Move the Box methods and functions out of box.h,
12046 following Lars' suggestion.
12048 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12050 * box.h: #include "support/LOstream.h", needed for inlined function.
12053 * lyxtextclasslist.C: added some using std declarations.
12055 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12057 * box.h: make signed dimensions to allow insets wider than
12058 the screen (bug #162)
12060 * BufferView_pimpl.C: add some insetHit debug
12062 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12064 * vc-backend.C: add FIXME
12066 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12068 * lyxfunc.C (getStatus): enable code for showing math font status
12071 2002-01-07 Juergen Vigna <jug@sad.it>
12073 * text.C (nextBreakPoint): removed debug output not needed anymore.
12075 2002-01-06 Juergen Vigna <jug@sad.it>
12077 * text.C (nextBreakPoint): fixed up this function we had this bug
12078 since ever but now hopefully we break row better.
12079 (insertChar): we have to check if an inset is the next char as it
12080 could now happen that a large inset is causing a break.
12082 2002-01-05 Juergen Vigna <jug@sad.it>
12084 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12085 if it doesn't like to be drawed.
12087 2002-01-04 Juergen Vigna <jug@sad.it>
12089 * BufferView2.C (lockInset): forgot to set a cursor.
12091 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12093 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12095 * FormMathsPanel.C:
12098 * form_maths_panel.C:
12099 * form_maths_panel.h:
12100 * form_maths_panel.fd: implemented sub- and super- buttons in math
12103 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12104 (or ^ space) to be used as in TeX (req'd by André).
12106 * lyxfunc.C: Allow ^ and _ again to be used both as
12107 super/subscript (mathed) and as themselves (in text).
12109 2002-01-03 Allan Rae <rae@lyx.org>
12111 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12112 "LyX" or the filename of the current buffer if it has one. This is a
12113 modified form of John Levon's patch.
12115 * XFormsView.C (setWindowTitle): also set icon title.
12117 * LyXView.h (setWindowTitle): signature changed.
12118 * XFormsView.h (setWindowTitle): ditto.
12120 2002-01-02 Juergen Vigna <jug@sad.it>
12122 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12124 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12126 * screen.C (topCursorVisible): introduce a temp var for
12127 text->cursor.row(), handle the case where this row is null. (kindo
12130 * text2.C (setCursor): add a couple of asserts.
12132 * paragraph.h (inset_iterator): add -> operator
12134 * paragraph.[Ch] (autoDeleteInsets): remove member function
12136 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12137 cursor pos correctly and handle inset deletion by itself.
12138 (insertErrors): move iterator declaration out of for expression
12140 * lyxtextclass.C: add <algorithm>
12142 * Makefile.am: added the new files to sources, removed layout.C
12144 * layout.C: removed file
12146 * layout.h: remove LYX_DUMMY_LAYOUT
12148 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12152 * lyxtextclass.[Ch]:
12153 * lyxtextclasslist.[Ch]: new files
12155 * include order changes to a lot of files, also changes because of
12158 2001-12-27 Juergen Vigna <jug@sad.it>
12160 * buffer.C (asciiParagraph): more fixes.
12162 * tabular.C (ascii): make ascii export support export of only the
12163 data separated by a column-delimiter.
12164 (ascii): better support for ascii export.
12166 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12168 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12170 * tabular_funcs.C: use a "using std::getline" instead of the
12171 previous fix from Angus (necessary for cxx + lyxstring)
12173 2001-12-24 Juergen Vigna <jug@sad.it>
12175 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12177 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12178 problems. First check a minipage also if we have some ert-contents
12179 (not only on par->size(), second set the right depth of the paragraph
12180 on the relink to the root-paragraph-list!
12182 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12183 which then did not anymore update the main paragraphs on undo/redo!
12185 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12187 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12188 code. Support all font-changing funcs (even those which are not in
12189 menu currently). Support for reporting font settings in
12190 mathed (disabled until Andre provides a function on mathed's side).
12192 * func_status.h (toggle): small helper function to set toggle
12195 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12197 * tabular_funcs.C: getline -> std::getline
12199 2001-12-21 Juergen Vigna <jug@sad.it>
12201 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12202 accessed and could be 0 (I couldn't generate this but it seems
12205 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12207 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12208 * tabular_funcs.h: here and include iosfwd
12210 2001-12-20 Juergen Vigna <jug@sad.it>
12212 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12213 inside inset but undo_par was.
12215 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12217 * Thesaurus.C: always include <config.h> in sources.
12221 * box.h: do not include <config.h> in header files
12223 * text.C (paintLastRow): remove unused variable
12225 * text.C (transformChar):
12227 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12229 * Painter.C (text):
12230 * font.C (width): rewrite to use uppercase() instead of
12233 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12235 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12237 * lyxfind.C: clean up of find failure position change
12239 2001-12-20 Juergen Vigna <jug@sad.it>
12241 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12243 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12244 (TeXRow): added to LaTeX a single tabular row.
12245 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12246 (Latex): simplified and finally good LT-h/f support.
12247 (various_functions): just small adaptions for LT-h/f support.
12249 * tabular_funcs.[hC]: added and moved here all not classfunctions
12252 2001-12-19 Juergen Vigna <jug@sad.it>
12254 * tabular.[Ch]: better support for longtabular options (not finished
12257 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12259 * text.C (paintLastRow): use the label font instead of the font of
12260 the last character to compute the size of *_BOX. This makes more
12261 sense and avoids a crash with empty paragraphs.
12262 Use Painter::rectangle to draw EMPTY_BOX.
12264 2001-12-19 Juergen Vigna <jug@sad.it>
12266 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12267 the paragraphs if the replaced paragraph is not the first one!
12268 Tried to delete not used paragraphs but does not work yet so for
12269 now it's inside #ifdef's and by default off!
12271 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12273 * MenuBackend.C: include "lyx_main.h" instead of declaring
12274 lastfiles (actually was declared as LastFiles* instead of a
12277 2001-12-17 Juergen Vigna <jug@sad.it>
12279 * tabular.C (AppendColumn): applied John's fix
12281 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12285 * BufferView_pimpl.h:
12286 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12289 * box.h: new start of class for above
12291 * lyxfunc.C: ignore space-only minibuffer dispatches.
12292 Show the command name when it doesn't exist
12294 * minibuffer.C: don't add empty lines to the history
12296 * minibuffer.C: add a space on dropdown completion
12298 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12300 * text.C: fix line above/below drawing in insets
12302 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12304 * lyxlength.C (LyXLength): Initialize private variables.
12306 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12308 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12309 when inserting error insets.
12311 2001-12-13 Juergen Vigna <jug@sad.it>
12313 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12314 actually sometimes the before-paragraph.
12315 (setUndo): don't clear the redostack if we're not actually undoing!
12317 2001-12-06 Juergen Vigna <jug@sad.it>
12319 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12320 and fixed redoing of main paragraph, so we can use it now ;)
12322 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12324 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12326 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12329 2001-12-13 André Pönitz <poenitz@gmx.net>
12332 * undo_func.C: minor cleanup
12334 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12336 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12337 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12338 font in urw-fonts package which is marked as -urw-fontspecific and
12339 does not work (incidentally, changing the encoding in the
12340 fonts.dir of this package to -adobe-fontspecific fixes the
12343 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12344 is a crash when undoing first paragraph (Juergen, please take a
12345 look). THis does not mean the undo fix is wrong, just that it
12348 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12349 the (Paragraph*) version when needed instead of duplicating the
12352 * text.C (workWidth): use Inset::parOwner to find out where the
12353 inset has been inserted. This is a huge performance gain for large
12354 documents with lots of insets. If Inset::parOwner is not set, fall
12355 back on the brute force method
12357 * paragraph_pimpl.C (insertInset):
12358 * paragraph.C (Paragraph):
12359 (cutIntoMinibuffer): set parOwner of insets when
12360 inserting/removing them
12362 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12364 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12370 * mathed/formulabase.C:
12371 * mathed/math_cursor.[Ch]:
12372 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12375 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12377 * lyxlength.[Ch] (operator!=): new function
12379 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12381 * text.C (workWidth): use Inset::parOwner to find out where the
12382 inset has been inserted. This is a huge performance gain for large
12383 documents with lots of insets. If Inset::parOwner is not set, fall
12384 back on the brute force method
12386 * paragraph_pimpl.C (insertInset):
12387 * paragraph.C (Paragraph):
12388 (cutIntoMinibuffer): set parOwner of insets when
12389 inserting/removing them
12391 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12393 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12395 * tabular-old.C (getTokenValue):
12396 * tabular.C (getTokenValue):
12397 (write_attribute): new versions for LyXLength
12398 (everywhere): adjust the use of widths
12400 * tabular.h: change the type of widths from string to LyXLength
12402 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12404 * paragraph.C: fixed missing line number count when exporting
12405 Environments to LaTeX file
12407 * buffer.C: added informational message for checking line numbers.
12409 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12411 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12412 paragraph, do the 'double space' part, but not the 'empty
12415 * text.C (workWidth): small optimization
12416 (getLengthMarkerHeight): use minimal size for negative lengths.
12418 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12420 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12422 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12424 2001-12-11 André Pönitz <poenitz@gmx.net>
12427 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12429 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12431 * text2.C: keep selection on a setFont()
12433 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12435 * lyx_cb.C: another bv->text misuse, from insert label
12437 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12440 * kbsequence.C: re-instate nmodifier mask
12442 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12444 * lyx_main.h: make lyxGUI private.
12446 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12448 * lyxfind.C: place the cursor correctly on failed search
12450 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12452 * text.C (getLengthMarkerHeight): for small heights, the arrows
12453 are not always on top/bottom of the text
12454 (drawLengthMarker): smaller arrows; take the left margin in
12455 account; draw also vfills.
12457 (paintLastRow): remove special code for vfill and standard spaces,
12458 since everything is handled in drawLengthMarker now.
12460 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12462 * buffer.C (insertErtContents): try to handle font and language
12463 interaction a bit better.g
12465 * ColorHandler.C (updateColor): change the hash to cover the whole
12466 LColor enum, ws cleanup
12467 (getGCLinepars): ditto
12468 (getGCLinepars): only lookup in the linecache once.
12470 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12472 * iterators.C (operator++): Make the iterator more robust
12474 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12476 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12478 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12481 * text.C: better added space drawing
12483 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12486 * BufferView2.C: fix layout combo update on inset unlock
12488 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12490 * Makefile.am: don't compile unused files
12492 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12496 * LyXAction.C: remove old LFUN_LAYOUTNO
12498 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12500 * paragraph_pimpl.h:
12501 * paragraph_pimpl.C: isTextAt() doesn't need font param
12503 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12506 * lyxlex.C: little cleanup
12508 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12510 * BufferView_pimpl.C: fix insertAscii for insets
12512 2001-12-05 Juergen Vigna <jug@sad.it>
12514 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12515 set the right font on the "multi" paragraph paste!
12517 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * lyxlength.C: remove out-commented code.
12525 * BufferView_pimpl:
12539 * vc-backend.C: change "while(" to "while ("
12541 * lyxlength.[Ch]: add zero function to check if length is zero or
12543 * lyxgluelength.C: use it
12545 2001-12-05 Allan Rae <rae@lyx.org>
12547 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12548 Works for 2.95.3, from what I understand of Garst's reports this should
12549 work for other g++ versions. We're screwed if the abs(int) definition
12550 changed between bugfix releases of gcc.
12552 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12554 * text.C: fix chapter label offset !
12556 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12559 * text.C: fix hfill at end of line, clean up
12561 2001-12-04 Juergen Vigna <jug@sad.it>
12563 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12564 that we force an update of the inset and it's owners if neccessary.
12566 2001-12-03 Juergen Vigna <jug@sad.it>
12568 * text.C (rowLast): simplified code
12570 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12572 * lyxfunc.C: fix show options on timeout
12574 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12576 * screen.C (topCursorVisible): scroll half a page when the cursor
12577 reached top of bottom of screen
12579 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12581 * minibuffer.C: deactivate on loss of focus
12583 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12585 * vspace.[Ch] (operator!=): add operator.
12587 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12589 * BufferView_pimpl.C: refuse to open an inset when
12590 there's a selection.
12592 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12594 * BufferView_pimpl.C: allow to click on RHS of full row insets
12596 2001-11-30 Juergen Vigna <jug@sad.it>
12598 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12599 insets for undo reasons.
12601 2001-11-28 André Pönitz <poenitz@gmx.net>
12603 * vspace.[Ch]: cosmetical changes
12605 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12615 * kbsequence.C: part re-write of old kb code
12618 * WorkArea.C: remove Lgb_bug_find_hack
12620 2001-11-30 José Matos <jamatos@fep.up.pt>
12622 * buffer.C (makeDocBookFile): add a comment to point a hack.
12623 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12624 Fixed a double write of labels.
12626 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12629 * LaTeX.h Fixed bug in LaTeX class where it would not
12630 re-run latex if no depfiles were changed, but the .dvi was removed.
12632 2001-11-28 André Pönitz <poenitz@gmx.net>
12634 * all the files from the change on 2001/11/26:
12635 use lyx::layout_type instead of LyXTextClass::size_type
12636 use lyx::textclass_type instead of LyXTextClassList::size_type
12638 2001-11-29 Juergen Vigna <jug@sad.it>
12640 * text.C: added support for paragraph::isFreeSpacing()
12642 * buffer.C: same as above
12644 * paragraph.h: inserted isFreeSpacing() function to enable
12645 FreeSpacing inside InsetERT.
12647 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12648 of the paragraph's in the cut/copy buffer to 0!
12650 * text2.C (removeRow): remove the assert as it can!
12652 * lyxtext.h: added helper function firstRow returning firstrow and
12653 made firstrow private again.
12655 * BufferView2.C (lockInset): don't relock if we're already locked!
12657 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12658 the only paragraph.
12659 (removeRow): added Assert::(firstrow)
12661 * debug.C: forgot to add INSETTEXT here.
12663 2001-11-28 Juergen Vigna <jug@sad.it>
12665 * sp_spell.C (initialize): changed error text to more general
12666 spellchecker command use (not only ispell!)
12668 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12670 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12672 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12674 * vspace.C: initialise lyxgluelength on failure
12676 2001-11-28 Allan Rae <rae@lyx.org>
12678 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12679 declaration & definition that looks like a function declaration.
12681 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12683 * BufferView2.C (copy):
12684 (copyEnvironment): do not clear the selection when doing a copy.
12686 * text.C (paintFirstRow): compilation fix
12688 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12690 * tabular.C (Latex): correct line count when writing latex.
12692 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12694 * paragraph_pimpl.h:
12695 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12698 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12702 * LColor.C: change vfillline->added_space
12704 * text.C: add markers and text for added space
12706 * vspace.C: fix comment
12708 2001-11-28 André Pönitz <poenitz@gmx.net>
12710 * paragraph.C: whitespace changes
12711 * all the other files from the change on 2001/11/26:
12712 change *::pos_type into lyx::pos_type
12714 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12716 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12717 language of the document when inserting error insets.
12719 2001-11-26 André Pönitz <poenitz@gmx.net>
12721 * BufferView_pimpl.[Ch]:
12729 * paragraph_pimpl.[Ch]:
12732 * text2.C: reduce header dependencies, introduce type for positions
12734 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12736 * <various>: change to use Alert.h
12738 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12740 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12741 when encountering an unknown token.
12742 (readLyXformat2): Show an error message if there were unknown tokens.
12744 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12747 * BufferView_pimpl.C:
12751 * text2.C: use par->isInset()
12753 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12755 * paragraph_pimpl.h:
12756 * paragraph_pimpl.C: cleanup
12758 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12760 * text2.C (removeRow):
12761 * text.C (setHeightOfRow): remove useless (and costly) call to
12764 2001-11-20 Allan Rae <rae@lyx.org>
12766 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12767 Now need Inset*::checkInsertChar() to return true for appropriate
12768 cases so that the characters in the minibuffer will actually be
12771 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12773 * text.C: change the order of the includes.
12774 (workWidth): initialize it at once.
12775 (workWidth): make maxw unsigned
12776 (setHeightOfRow): remove unused variable (inset)
12777 (selectSelectedWord): remove unused variable (inset)
12778 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12780 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12782 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12783 server is not running.
12785 (closeConnection): add debug info when server is disabled.
12787 * ColorHandler.C (getGCForeground): send debug message to GUI
12790 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12792 * kbmap.C (bind): modify because return conventions of
12793 kb_sequence::parse have changed.
12795 * kbsequence.C (parse): only ignore spaces and not any stupid
12796 control character. This avoids tests like s[i] <= ' ', which are
12797 guaranteed to fail with 8bit characters and signed chars.
12798 Change return code to string::npos when there have been no error
12799 (0 was a bad idea when error is at first character)
12801 2001-11-14 José Matos <jamatos@fep.up.pt>
12804 * buffer.C (simpleDocBookOnePar): removed unused argument.
12806 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12808 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12809 insets which are part of a word. Paragraph::isLetter takes care of
12810 that now. Use Paragraph::isInset to identify insets.
12811 (selectSelectedWord): do not test for hyphenation break.
12813 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12814 that protected spaces are considered as spaces.
12816 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12819 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12822 * lyxserver.C: fix it. and small cleanup.
12824 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12826 * BufferView_pimpl.C: use inline helpers
12829 * LaTeXFeatures.C: fix typos
12832 * Spacing.C: move spacing_string into class
12834 * ToolbarDefaults.C: move stuff into namespace anon
12836 * layout.h: update enum
12838 * lyxfunc.C: use better debug
12840 * minibuffer.h: fix typo
12844 * WorkArea.C: add and use Debug::WORKAREA
12848 * text2.C: code re-organisation, inline helpers
12850 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12852 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12853 std::vector.empty().
12855 2001-11-09 Allan Rae <rae@lyx.org>
12857 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12858 '\n's after tables. Tabular and ERT inset work now makes this no
12861 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12864 * minibuffer.C: fix crash, improve drop-down completion
12866 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12869 * lyxserver.C: invalidate fd's when doing endPipe()
12871 2001-11-08 José Matos <jamatos@fep.up.pt>
12873 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12874 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12877 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12879 2001-11-07 José Matos <jamatos@fep.up.pt>
12882 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12885 * buffer.C (sgmlOpenTag):
12886 * buffer.C (sgmlCloseTag): removed debug info.
12888 * buffer.h (sgmlOpenTag):
12889 * buffer.h (sgmlCloseTag): made public.
12891 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12893 * buffer.C (saveParamsAsDefaults):
12894 * lyx_cb.C (MenuLayoutSave): remove
12896 * LyXAction.C (init):
12898 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12900 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12902 * buffer.C (setPaperStuff): removed from here...
12904 * bufferparams.C (setPaperStuff): ... and moved there.
12906 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12910 * XFormsView.C: add support for drop-down completion
12912 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12914 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12917 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12919 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12922 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12924 * lyx_main.C: change ref to known bugs
12926 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12928 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12929 to work around older babel problems.
12931 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12933 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12935 2001-10-24 Juergen Vigna <jug@sad.it>
12937 * tabular-old.C (ReadOld): below variable changes reflected.
12939 * tabular.[Ch]: added ltType struct for longtable header/footer
12940 defines and changed all instances where they are used. Added
12941 future support for double top/bottom rows.
12943 2001-10-24 José Matos <jamatos@fep.up.pt>
12945 * buffer.h (docbookHandleCaption):
12946 * buffer.C (docbookHandleCaption): removed unused function.
12947 (makeDocBookFile): moved docbook supported version to v4.1.
12949 2001-10-24 José Matos <jamatos@fep.up.pt>
12952 * tabular.C (docbookRow): new function to export docbook code of a row.
12953 (DocBook): now honors the longtable flags.
12955 2001-10-23 José Matos <jamatos@fep.up.pt>
12958 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12959 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12961 * buffer.C (makeLinuxDocFile):
12962 (makeDocBookFile): reworked the preamble, more clean, and with
12963 support for lyx defined entities. Changed the document declaration
12964 to be more XML friendly.
12966 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12967 if we need to output XML that should be done with a filter.
12969 2001-10-22 Juergen Vigna <jug@sad.it>
12971 * sp_pspell.h (class PSpell): add alive function needed in the
12972 controller to see if the spellchecker could be started.
12974 2001-10-22 Juergen Vigna <jug@sad.it>
12976 * buffer.C (insertStringAsLines): modify the font for inserting
12977 chars in certain conditions by calling checkInsertChar(font).
12979 2001-10-19 Juergen Vigna <jug@sad.it>
12981 * text.C (workWidth): use getRow instead of wrong algorithm.
12982 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12984 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12989 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12991 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12993 * text.C (workWidth): do not search for the exact row when
12994 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12995 optimization for big documents.
12997 2001-10-18 Juergen Vigna <jug@sad.it>
12999 * text.C (workWidth): new function with added Inset * parameter.
13001 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13003 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13005 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13006 change return type of getColumnNearX.
13009 * text.C (changeRegionCase): use uppercase/lowercase instead of
13012 (rightMargin): simplify code by factoring out the uses of
13017 (appendParagraph): use Paragraph::size_type
13019 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13021 * vspace.C (asLatexString): add a missing break
13023 2001-10-15 Herbert Voss <voss@perce.de>
13025 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13027 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13029 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13032 2001-10-10 André Pönitz <poenitz@gmx.net>
13034 * lyxfunc.C: removed greek_kb_flag.
13036 2001-10-10 Herbert Voss <voss@perce.de>
13038 * lyx_main.C: delete global string help_lyxdir.
13040 2001-10-09 Herbert Voss <voss@perce.de>
13042 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13044 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13046 * lyx_main.C: added global string help_lyxdir.
13048 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13050 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13052 * lyxrc.C (set_font_norm_type): support iso8859-4
13054 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13056 * LaTeX.C (deplog): add another regex for MikTeX
13058 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13060 * lyxrc.C (set_font_norm_type): support iso8859-3
13062 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13064 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13066 * LaTeXFeatures.C: remove special case of french and index
13068 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13069 before \begin{document}). This solves several incompatibilities.
13071 2001-10-03 Garst Reese <reese@isn.net>
13073 * lyx_cb.C: change CheckTex error msg.
13075 2001-10-03 José Matos <jamatos@fep.up.pt>
13077 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13079 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13081 * .cvsignore: update
13083 * lyx_main.C (commandLineVersionInfo): use new style version info.
13085 * buffer.C (writeFile):
13087 (makeLinuxDocFile):
13088 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13090 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13092 * version.h: update to use stuff in version.C
13094 * version.C.in: new file. Contains version information determined
13095 at compile time. This is a merging of version.h and
13098 2001-10-03 Juergen Vigna <jug@sad.it>
13100 * BufferView_pimpl.C (update): don't change "dirty" status in
13103 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13105 * WorkArea.C (c-tor): re-position version string slightly.
13107 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13109 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13110 revert to previous code.
13112 WorkArea.[Ch]: (show, destroySplash): methods removed.
13114 WorkArea.C: rework code so that it's an amalgam of the codes before and
13115 after the splash screen was moved to WorkArea.
13117 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13120 * vspace.C (inPixels):
13123 * buffer.C (insertStringAsLines):
13124 (asciiParagraph): fix types to be large enough
13126 * lyxlex_pimpl.h: change member status from short to int
13128 * layout.h: fix type of endlabeltype
13131 * kbsequence.C (parse): change return type to string::size_type
13133 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13136 * Bullet.C (bulletSize):
13137 (bulletEntry): do not use short ints as parameters
13139 * BufferView2.C (insertLyXFile): change a char to an int.
13141 * WorkArea.C (WorkArea): remove unneeded floats in computation
13143 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13145 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13147 * paragraph.C (asString): Do not ignore newline/hfill chars when
13148 copying to the clipboard.
13150 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13152 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13153 after a multi-line inset.
13155 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13157 * paragraph.C (validate): Set NeedLyXFootnoteCode
13159 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13161 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13162 and decrease-error to decrease.
13164 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13166 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13167 it more readable (should be equivalent)
13169 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13171 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13173 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13175 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13176 of a cursor (row, etc.) after a character has been deleted
13177 (deleteEmptyParagraphMechanism): call the method above on _all_
13178 cursors held by the LyXText when a double space has been
13181 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13183 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13185 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13187 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13188 background. Use greyOut() and the new show() methods to toggle between
13189 the foreground and background. Add code to remove the splash after
13190 its initial showing.
13192 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13193 (create_forms): no longer call Dialogs::showSplash.
13195 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13197 * .cvsignore: add version_info.h
13199 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13201 * version_info.h.in: new file
13203 * Makefile.am: add version_info.h.in
13205 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13206 version_info.h instead of VERSION_INFO
13208 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13210 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13211 The ERT inset now returns string().
13213 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13215 * lyxtext.h, text.C (selectNextWord): renamed as
13216 selectNextWordToSpellcheck.
13218 * text.C (selectNextWordToSpellcheck): Modified to not select
13219 words inside an ERT inset.
13221 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13223 * lyx_cb.C (MenuLayoutSave): change a bit the question
13225 * sp_base.h: include <sys/types.h>
13227 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13229 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13231 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13233 * several files: fix typos in user-visible strings
13235 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13237 * text2.C (pasteSelection): do not set the selection, since it
13238 will be cleared later. Actually, the intent was to fix the way the
13239 selection was set, but I figured rmoving the code was just as good.
13241 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13243 * FontLoader.C (available): Check if font is available without
13246 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13248 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13250 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13252 * lyxrc.[Ch]: added display_graphics variable and associated code.
13254 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13256 * bufferparams.C (hasClassDefaults): new method. Returns true if
13257 the buffer parameters correspond to known class defaults
13259 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13261 * XFormsView.C (show): set minimum size to the main window.
13263 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13265 * text2.C (copySelection):
13267 * lyxfind.C (LyXReplace):
13268 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13269 LyXText::selectionAsString.
13271 * paragraph.C (asString): add "label" argument to the second form
13273 * text2.C (selectionAsString): add "label" argument and pass it to
13274 Paragraph::asString.
13276 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * lyx_main.C (commandLineHelp): remove version information
13280 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13282 * lyx_main.C: add -version commandline option
13284 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13286 * paragraph.h: make the optional constructor arg required instead.
13287 some modifications to other files because of this.
13289 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13291 * lyxserver.C (C_LyXComm_callback): make it static
13293 * lyx_main.C (error_handler): make it static
13295 * lyx_gui.C (LyX_XErrHandler): make it static
13297 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13299 * WorkArea.C: make the extern "C" methods static.
13301 * Makefile.am (lyx_LDADD): simplify
13303 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13305 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13306 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13308 * LyXAction.C (init):
13309 * lyxfunc.C (dispatch): associated code removal.
13311 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13313 * lyxfont.h (isSymbolFont): shut off warning
13315 * text.C (setHeightOfRow):
13316 (getVisibleRow): fix crash with empty paragraphs which have a
13319 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13321 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13324 2001-09-04 José Matos <jamatos@fep.up.pt>
13327 * tabular.C (docbook): rename docBook method to docbook.
13329 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13331 * Makefile.am: add dependencies to main.o.
13333 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13335 * FontLoader.C (available): Return false if !lyxrc.use_gui
13337 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13339 * FontInfo.C (query):
13340 * converter.C (view):
13341 * importer.C (Import):
13342 * exporter.C (Export): Can not -> cannot.
13344 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13346 * BufferView_pimpl.C: allow to create index inset even if
13349 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13351 * buffer.C (getLists): replace boost::tie code with an explicit pair
13352 as boost::tie can break some compilers.
13354 * iterators.h: Added a std:: declaration to the return type of
13357 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13359 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13362 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13364 * iterators.[Ch]: New files. Provide paragraph iterators.
13366 * buffer.C (changeLanguage): Use paragraph iterators.
13367 (isMultiLingual): ditto
13369 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13371 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13373 * FontLoader.C: Support for cmr font.
13375 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13377 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13378 (available): New method.
13380 * FontInfo.C (getFontname): Use scalable fonts even when
13381 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13384 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13386 * converter.C (Formats::view): reverted! Incorrect fix.
13388 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13390 * converter.C (Formats::view): only output the -paper option
13391 if the dvi viewer is xdvi, thereby fixing bug #233429.
13393 2001-08-23 Herbert Voss <voss@perce>
13395 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13397 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13399 * Spacing.h (Spacing): Set space to Default on in the default
13402 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13404 * vc-backend.h (RCS::versionString): add RCS to version
13405 (CVS::versionString): add CVS to version
13407 * vc-backend.C (scanMaster): do not add CVS to version.
13408 (scanMaster): do not add RCS to version
13410 * lyxvc.C (versionString): new method
13412 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13414 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13416 * Spacing.C (set): initialize fval
13418 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13420 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13423 2001-08-16 Juergen Vigna <jug@sad.it>
13425 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13427 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13429 * BufferView_pimpl.C:
13432 * text2.C: setParagraph takes linespacing now
13434 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13436 * LyxAction.C: add internal LFUN_CITATION_INSERT
13438 * LyXView.C: actually apply fix
13440 * bufferlist.C: fix open non-existent file
13442 * lyxfind.C: fix indentation
13444 * lyxfunc.C: remove unneeded assert, fix typo
13446 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13448 * MenuBackend.C: use "Floatname List"
13450 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13452 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13453 when converting LaTeX layout to insetERT.
13454 Generate a non-collapsed float when reading old float
13456 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13458 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13461 2001-08-13 Juergen Vigna <jug@sad.it>
13463 * text.C (fill): return 0 instead of 20 as this seems to be the more
13466 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13468 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13471 2001-08-13 Juergen Vigna <jug@sad.it>
13473 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13475 (SearchBackward): comment out the unlocking of the inset_owner this
13476 should not be needed!
13478 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13480 * Many files: Remove inherit_language, and add latex_language
13482 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13483 collapsible insets.
13485 2001-08-10 Juergen Vigna <jug@sad.it>
13487 * text.C (prepareToPrint): fixed hfill-width in draw!
13489 * BufferView2.C (selectLastWord): save the selection cursor as this
13490 now is cleared in the function LyXText::clearSelection!
13492 2001-08-08 Juergen Vigna <jug@sad.it>
13494 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13495 BACKSPACE type functions.
13497 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13498 is only cutted from the document but not put in the cut-buffer, where
13499 still the old stuff should be.
13501 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13503 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13505 * tabular.C (SetWidthOfCell): fixed special case where the width
13507 (LeftLine): handle '|' in align_special.
13509 (LeftAlreadyDrawed): ditto
13510 (SetWidthOfCell): ditto
13512 2001-08-07 Juergen Vigna <jug@sad.it>
13514 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13516 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13518 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13519 * lyxlex.[hC]: ditto
13521 2001-08-06 Juergen Vigna <jug@sad.it>
13523 * text.C (getVisibleRow): fix up row clearing a bit.
13525 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13527 * minibuffer.C: make sure the X server sees the changes in the input.
13529 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13531 * paragraph.C (getFont): split into...
13532 (getLabelFont): this
13533 (getLayoutFont): and this
13534 * paragraph_pimpl.C (realizeFont): calling this
13536 * text2.C (getFont): split into...
13537 (getLayoutFont): this
13538 (getLabelFont): and this
13539 (realizeFont): all three calling this
13541 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13544 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13546 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13548 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13550 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13551 layouts from the Quote inset insertion.
13553 2001-08-03 Juergen Vigna <jug@sad.it>
13555 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13557 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13558 only if status not is already CHANGED_IN_DRAW (second level).
13560 * text.C (draw): don't set the need_break_row when inside an
13563 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13565 * buffer.C (parseSingleLyXformat2Token): handle more latex
13568 * bufferview_funcs.[hC]: change function names to
13569 begin with small char, adjust other files.
13571 2001-08-02 André Pönitz <poenitz@gmx.net>
13574 BufferView_pimpl.C: remove broken special code for math-greek
13576 2001-08-02 Juergen Vigna <jug@sad.it>
13578 * BufferView_pimpl.C (update): redone this function so that we
13579 update the text again if there was a CHANGE_IN_DRAW.
13581 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13582 (drawFromTo): added a new internal bool which is used by draw() and
13584 (general): some cursor drawing problems fixed.
13586 2001-08-01 Juergen Vigna <jug@sad.it>
13588 * lyxfind.C (LyXFind): fixed
13589 (SearchForward): ditto
13590 (SearchBackward): ditto
13592 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13593 spurius drawing of the cursor in the main area.
13595 * text2.C (status): small fix which could lead to a segfault!
13596 (clearSelection): remove unneeded BufferView param.
13598 2001-08-01 André Pönitz <poenitz@gmx.net>
13600 * lyxfunc.C: small change due to changed mathed interface
13602 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13604 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13606 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13608 * lyxfunc.c: fail gracefully if file doesn't exist
13613 * BufferView_pimpl.C: IsDirWriteable() proto changed
13615 * LyXView.C: fix updateWindowTitle() to store the last title
13617 2001-07-31 Juergen Vigna <jug@sad.it>
13619 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13620 the font (wrong since using of Paragraph::highestFontInRange).
13622 * paragraph.C (highestFontInRange): added a default_size parameter.
13624 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13625 (setHeightOfRow): reformat
13627 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13629 * converter.[hC] + affected files: move to (inital-char)lowercase
13632 * ParagraphParameters.C (ParagraphParameters): remove commented code
13634 * PainterBase.[Ch]: remove commented code
13636 * LaTeXFeatures.h: add "bool floats" for float.sty
13638 * LaTeXFeatures.C (LaTeXFeatures): init floats
13639 (require): handle float
13640 (getPackages): do it with floats
13642 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13644 * BufferView_pimpl.C (Dispatch): improve handling of
13645 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13647 * commandtags.h: #include lyxfont.h here temporarily to avoid
13650 * bufferlist.h: include LString.h here.
13652 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13654 * text2.C (getStringToIndex): new method.
13656 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13658 * *: Reduced header file dependencies all over.
13660 2001-07-30 Baruch Even <baruch@lyx.org>
13662 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13664 2001-07-29 Baruch Even <baruch@lyx.org>
13666 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13668 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13670 * ParameterStruct.h (endif): add a default constructor to make
13671 sure that all variables is initialized.
13673 * ParagraphParameters.C (ParagraphParameters): adjust
13675 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13677 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13678 index; also, check that there is something to index, and that it
13679 does not span over several paragraphs.
13680 (doubleClick): use WHOLE_WORD_STRICT for double click.
13682 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13684 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13687 2001-07-26 Baruch Even <baruch@lyx.org>
13689 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13690 an InsetFig figure, backwards compatible reading of old figure code.
13692 2001-07-27 Juergen Vigna <jug@sad.it>
13694 * text2.C: font.realize function adaption.
13696 * text.C (draw): add a warnings lyxerr text if needed.
13698 * layout.C: font.realize function adaption.
13700 * language.C: add inherit_language and implement it's handlings
13702 * bufferview_funcs.C (StyleReset): remove language parameter from
13703 font creation (should be language_inherit now).
13705 * bufferparams.C (writeFile): handle ignore_language.
13707 * paragraph.C (getFontSettings): the language has to be resolved
13708 otherwise we have problems in LyXFont!
13710 * lyxfont.C (lyxWriteChanges): added document_language parameter
13711 (update): removed unneeded language parameter
13713 * paragraph.C (validate): fixed wrong output of color-package when
13714 using interface colors for certain fonts in certain environments,
13715 which should not seen as that on the final output.
13717 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13719 * BufferView_pimpl.C:
13724 * LyXAction.C: add thesaurus support
13727 * lyxfind.C: add "once" parameter, for thesaurus, to not
13728 move to the next match
13730 2001-07-26 Juergen Vigna <jug@sad.it>
13732 * lyxfont.C (realize): honor ignore_language too!
13735 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13737 * text.C (draw): one place more for ignore_language to not draw
13740 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13742 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13744 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13746 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13747 the minipage conversion problem.
13749 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13751 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13754 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13756 * BufferView.h: don't forward declare WorkArea
13758 * BufferView.C: don't include WorkArea.h
13760 2001-07-25 André Pönitz <poenitz@gmx.net>
13764 * lyxfunc.C: new LFUN 'math-space'
13766 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13768 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13770 * text2.C (toggleInset): call open/close
13772 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13774 * lyxfunc.C (dispatch): add debug for the disabled case
13776 * font.C (buttonText): make similar to rectText
13778 * buffer.C (readInset): comment out parsing of insetlist and
13781 * PainterBase.C (rectText): small correction
13783 * BufferView_pimpl.C: comment out insettheorem and insetlist
13784 * LyXAction.C: ditto
13785 * commandtags.h: ditto
13787 2001-07-24 Juergen Vigna <jug@sad.it>
13789 * text.C (draw): honor the ignore_language.
13791 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13793 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13795 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13798 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13800 * lyxtext.h: remove unused (and unimplemented) methods
13802 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13804 * text.C (getVisibleRow): honor background color
13807 * Painter.h: remove default color argument for fillRectangle
13809 * text.C (backgroundColor): new method
13811 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13813 * text.C (getVisibleRow): adjust
13815 * font.[Ch] (rectText): new method, metrics
13816 (buttonText): new method, metrics
13818 * PainterBase.[hC]: make rectText and buttonText always draw and take
13821 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13823 * ToolbarDefaults.C (read):
13824 * MenuBackend.C (read): allow escaping in all strings
13826 * BufferView_pimpl.C (insertAndEditInset): new method.
13827 (Dispatch): use insertAndEditInset whenever appropriate.
13829 * BufferView_pimpl.C (insertNote): removed
13831 * BufferView_pimpl.C (smartQuote): new method, moved from
13832 BufferView; if an insetquote cannot be inserted, insert a '"'
13835 * BufferView2.C: remove insertCorrectQuote();
13837 * lyxfunc.C (getStatus): Add support for all remaingin
13838 inset-insert lfuns.
13840 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13842 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13843 command (necessary to pass " as parameter of self-insert.
13845 * text.C (selectWordWhenUnderCursor):
13846 (selectWord): add word_location parameter
13847 (selectWordWhenUnderCursor): same + remove special code for word
13849 (selectNextWord): use kind() to guess type of insetspecialchar,
13852 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13853 (insertErtContents): create ert insets as collapsed.
13854 (readInset): better compatibility code for Info inset.
13856 2001-07-20 Juergen Vigna <jug@sad.it>
13858 * lyxfunc.C (dispatch): use always LyXFind now!
13860 * text2.C (init): add a reinit flag so that the LyXText can be
13861 reinited instead of deleted and reallocated (used in InsetText).
13863 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13869 2001-07-18 Juergen Vigna <jug@sad.it>
13871 * text.C (selectNextWord): handle insets inside inset by calling
13872 always the bv->text functions so that we can go up the_locking_inset!
13874 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13875 in strange locations when inside an inset!
13877 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13878 handling to include insets.
13880 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13882 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13884 * LyXAction.C (init):
13886 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13887 LIGATURE_BREAK, since the name is so stupid.
13889 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13891 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13894 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13896 * sp_form.[Ch]: remove.
13898 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13900 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13903 * src/buffer.C (readInset): ditto.
13905 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13907 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13908 menuSeparator(), endOfSentenceDot(), ldots() and
13909 hyphenationPoint(), which are therefore removed.
13910 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13912 * LyXAction.C (init):
13913 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13915 * paragraph.C (getWord): removed.
13917 * BufferView_pimpl.C (Dispatch): use last word or selection for
13918 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13920 * lyx_main.C (queryUserLyXDir): do not ask before creating
13921 user_dir, except if it has been named explicitely.
13923 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13925 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13926 a document of zero size.
13928 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13930 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13931 approriately in the c-tor and in require().
13932 (getPackages): output the appropriate LaTeX for natbib support.
13934 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13935 variables "use_natbib" and "use_numerical_citations" when reading the
13937 (readInset): read the various natbib cite commands.
13938 (validate): white-space change.
13940 * bufferparams.[Ch]: new variables "bool use_natbib" and
13941 "bool use_numerical_citations".
13942 (writeFile): output them in the LyX file.
13944 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13946 * lyxfunc.C (getStatus): add support for all the inset insertion
13949 * text2.C (insertInset):
13950 * paragraph.C (insetAllowed):
13951 * BufferView_pimpl.C (insertInset): update to take in account the
13952 renaming of insertInsetAllowed
13954 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13956 * text2.C (getInset): new method. returns inset at cursor position.
13958 * BufferView_pimpl.C (Dispatch): changes because of this.
13960 * LyXAction.C (init): rename open-stuff to inset-toggle.
13962 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13964 * text2.C (toggleInset): renamed from openStuff; use
13967 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13969 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13971 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13973 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13975 * buffer.C (readLyXformat2): Add filename to the error dialog
13977 2001-07-18 Juergen Vigna <jug@sad.it>
13979 * tabular.C (GetCellNumber): put an assert here instead of the check!
13981 2001-07-17 Juergen Vigna <jug@sad.it>
13983 * BufferView_pimpl.C (toggleSelection): adapted too.
13985 * text.C (selectNextWord): adapted for use with insets.
13986 (selectSelectedWord): ditto
13988 2001-07-17 Juergen Vigna <jug@sad.it>
13990 * sp_spell.C (PSpell): fix initialitation order.
13992 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13994 * paragraph.C: spacing
13996 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13998 * sp_spell.C: repair language selection for pspell
14000 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14002 * lyxfunc.h: change more methods to begin with lower char.
14004 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14006 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14007 for unknown layouts.
14009 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14011 * buffer.C (readLyXformat2): Generate an error dialog if there are
14014 2001-07-16 Juergen Vigna <jug@sad.it>
14016 * sp_spell.C: always compile ISpell part.
14018 * lyxrc.C: added use_pspell entry and it's handling.
14020 2001-07-13 Juergen Vigna <jug@sad.it>
14022 * sp_spell.C: removed double includes.
14024 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14026 Consistent use of Lsstream.h:
14027 * Lsstream.h: added using std::stringstream for consistencies sake.
14029 * buffer.C: removed using std::stringstream
14031 * lyxfont.C (stateText):
14032 * paragraph.C (asString):
14033 * text.C (selectNextWord, selectSelectedWord):
14034 * text2.C (setCounter):
14035 * vspace.C (asString, asLatexString):
14036 std::ostringstream -> ostringstream.
14038 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14040 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14041 * commandtags.h: add LFUN_HELP_ABOUTLYX
14042 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14044 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14046 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14048 * lyx_gui_misc.C: remove spellchecker
14049 * lyxfunc.C: showSpellchecker
14051 * sp_ispell.h: added
14052 * sp_pspell.h: added
14053 * sp_spell.C: added
14054 * sp_form.[Ch]: removed
14055 * spellchecker.[Ch]: removed
14057 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14059 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14061 (simpleTeXSpecialChars): Simply print the input character without
14062 any special translation if pass_thru is set.
14064 * layout.h: Added bool pass_thru to layout class for being able to
14065 implement pass through of a paragraph for Literate Programming.
14067 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14068 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14069 * layout.C (Read): add "passthru" to list of layout tags and add
14070 code to set the pass_thru boolean when it is read.
14072 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14074 * trans_decl.h: remove allowed from KmodInfo
14076 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14077 remove allowed code
14080 * paragraph_pimpl.C (erase): use boost::prior
14082 * Painter.C (text): use data() instead of c_str() when length is
14084 * WorkArea.C (putClipboard): ditto
14085 * font.h (width): ditto
14087 * BufferView2.C: use it-> instead of (*it). for iterators
14089 * paragraph_pimpl.C: ditto
14090 * paragraph.C: ditto
14091 * minibuffer.C: ditto
14092 * language.C: ditto
14094 * encoding.C: ditto
14095 * counters.C: ditto
14096 * converter.C: ditto
14098 * Variables.C: ditto
14099 * TextCache.C: ditto
14100 * MenuBackend.C: ditto
14101 * LyXAction.C: ditto
14103 * FloatList.C: ditto
14104 * DepTable.C: ditto
14105 * ColorHandler.C (LyXColorHandler): ditto
14107 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14109 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14111 * text2.C (openStuff): reintroduce this method (which had been
14112 nuked in NEW_INSETS frenzy).
14114 * lyxfunc.C (Dispatch): when an action has not been handled, use
14115 its name in the error message, not its number.
14117 * paragraph.C (inInset): change method name to begin with lowercase.
14120 * text2.C: updates because of this.
14122 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14124 * ToolbarDefaults.C (add): add spaces in error message
14126 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14128 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14129 (readLyXformat2): rename return_par to first_par, use lyxlex's
14130 pushToken and remove the manual push handling.
14131 (parseSingleLyXformat2Token): add another ert comp. variable:
14132 in_tabular, rename return_par to first_par. handle newlines better
14134 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14136 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14138 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14140 * text2.C (getParFromID): removed
14142 * buffer.C (getParFromID): new method moved form lyxtext.
14143 * BufferView2.C (insertErrors): adjust
14144 (setCursorFromRow): adjust
14145 * BufferView_pimpl.C (restorePosition): adjust
14146 * lyxfunc.C (Dispatch): adjust
14147 * undo_funcs.C (textUndo): adjust
14149 (textHandleUndo): adjust
14150 (textHandleUndo): adjust
14152 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14154 * buffer.C: up' the LYX_FORMAT
14156 * lyxfont.h: turn NO_LATEX on as default
14158 * buffer.C (insertErtContents): new methods of tex style compability.
14159 (parseSingleLyXformat2Token): use it several places.
14160 * tabular.C (OldFormatRead): and here
14162 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14164 * text2.C: remove some commented code.
14167 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14168 * trans.C: changes because of the above.
14170 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14172 * text2.C (setCounter): Fix counters bug with bibliography layout.
14174 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14176 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14177 own member functions
14178 (simpleTeXSpecialChars): ditto
14180 2001-07-06 Juergen Vigna <jug@sad.it>
14182 * a lot of files: changed the access to LyXText::status and the
14183 call of undo-functions.
14185 * undo.[Ch]: added a inset_id to the undo informations.
14187 * undo_funcs.[Ch]: added and moved here all undo functions.
14189 * lyxtext.h: give the status enum a weight, made status_ a private
14190 variable and made accessor functions for it, removed the whole bunch
14191 of undo-functions as they are now in their own file, make some
14192 functions publically available. Added function ownerParagraph with
14195 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14196 made InInset() a const function, added getParFromID() function.
14198 * buffer.[Ch]: added const version for inset_iterator functions,
14199 added getInsetFromID() function.
14201 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14202 changed undo functions for new version.
14204 2001-07-05 Juergen Vigna <jug@sad.it>
14206 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14207 unknow mechanism does not call the proper constructor but only this
14208 one also if I request the other!?
14210 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14212 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14214 * text2.C (LyXText): use initialization lists.
14216 * lyxtext.h (Selection): initialize set_ and mark_
14217 (init): remove method
14219 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14221 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14223 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14225 * screen.[Ch]: change method names to begin with lowercase
14227 * BufferView_pimpl.C (updateScrollbar): simplify further and
14228 hopefully make it a bit faster.
14230 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14232 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14233 calling directly xforms functions.
14235 * Painter.C (Painter):
14236 * lyx_cb.C (MenuWrite):
14237 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14240 * lyx_gui.C: remove bogus guiruntime extern declaration.
14242 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14244 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14246 (redoDrawingOfParagraph): ditto
14247 (redoParagraphs): ditto
14248 (cutSelection): don't create a object for CutAndPaste use the
14249 static method directly
14250 (pasteSelection): ditto
14252 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14255 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14257 * modifications to some other files because of this.
14259 * Makefile.am (lyx_SOURCES): add XFormsView
14261 * XFormsView.[Ch]: new files
14263 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14264 the main window. Move the gui dependent stuff to XFormsView
14266 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14268 * tabular.C (GetCellInset): update cur_cell also in the row/col
14269 version of this function.
14271 * lyxfunc.C: no need to include figure_form.h here.
14277 * lyxvc.C: no need to include forms.h here.
14279 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14281 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14283 * lyxfunc.C (Dispatch):
14285 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14286 constructor argument.
14288 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14290 * paragraph.C (Paragraph): dont't clear, and just set layout.
14291 (makeSameLayout): use params's copy contructor.
14293 * ParagraphParameters.[Ch] (makeSame): delete method
14295 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14297 * Variables.[Ch]: fix indentation, rename set to isSet
14299 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14301 * lyxfunc.C (Dispatch): fix typo
14303 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14305 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14308 * bufferlist.C: include assert.h for emergencyWrite().
14310 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14312 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14313 give up at last (bug #425202) !
14315 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14321 * spellchecker.C: strip spellchecker options and bring up
14322 preferences tab instead
14324 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14326 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14327 the istringstream constructor
14329 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * paragraph.C (getLayout): fix return value
14333 * paragraph.h: do not declare getLayout as inline.
14335 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14337 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14339 * lyxcursor.h (operator<): new func
14340 (operator>): new func
14341 (operator>=): new func
14342 (operator<=): new func
14344 * text.C (changeCase): use selection.start and selection.end
14345 (changeRegionCase): require from to be <= to. Require par to be a
14348 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14350 2001-06-27 Juergen Vigna <jug@sad.it>
14352 * text.C (cursorLeftOneWord): changed to return the cursor and added
14353 overlay with BufferView * parameter which calls this one.
14355 (selectWord): use new getWord function.
14356 (changeCase): renamed from changeWordCase as and extended to work
14357 also on selections.
14359 * lyxtext.h: added enum word_location
14361 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14362 changeCase as this operates now also on selections.
14364 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14366 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14368 * many files: send debug output to Debug::INFO instead of
14371 * converter.C (View):
14373 (Move): send debug output to Debug::FILES instead of console.
14375 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14377 * lyxfunc.C (getStatus): use func_status
14379 * func_status.h: new header, describing the results of
14380 LyXFunc::getStatus;
14382 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14385 2001-06-25 The LyX Project <jug@sad.it>
14387 * buffer.C (sgmlOpenTag):
14389 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14391 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14393 * text2.C: remove some dead code
14395 * tabular.C (GetCellInset): store the last cell checked (gotten)
14397 * tabular.h: add the helper for the speedup
14399 * lyxtext.h: remove some dead code
14401 2001-06-26 The LyX Project <Asger>
14403 * paragraph.C: Change export to LaTeX of alignment to
14404 \begin{center} and family for better roundtrip work with reLyX.
14406 * Tune the math drawing a bit.
14408 2001-06-25 The LyX Project <Asger>
14410 * LColor.C (LColor): New color for math background. New color
14413 2001-06-25 The LyX Project <jug@sad.it>
14415 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14417 * lyxfunc.C (Open):
14418 * bufferlist.C (newFile): do not restrict to files ending with
14421 * BufferView_pimpl.C (MenuInsertLyXFile):
14423 2001-06-24 The LyX Project <jug@sad.it>
14425 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14428 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14430 * lyxtext.h: rename most methods to begin with a small char.
14431 Lots of changes because of this.
14433 * paragraph.C (Paragraph): do not call fitToSize
14434 (erase): call Pimpl::erase
14435 (insertChar): call Pimpl::insertChar
14436 (insertInset): call Pipl::insertInset
14437 (breakParagraph): do not call fitToSize
14438 (breakParagraphConservative): do not call fitToSize
14439 (fitToSize): remove method
14441 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14443 2001-06-24 The LyX Project <Asger>
14445 * Fix Qt compilation^2
14447 2001-06-24 The LyX Project <jug@sad.it>
14449 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14450 depthHook(getDepth()-1).
14453 * ParagraphParameters.h:
14454 * ParameterStruct.h: change type of depth to unsigned int ==
14455 depth_type. Many adaptations to other files before of that.
14457 2001-06-24 The LyX Project <Asger>
14459 * Fix Qt compilation.
14461 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14463 * paragraph.h: renamed several methods to begin with small letter.
14464 several changes to many parts of the code because of this.
14466 2001-06-23 The LyX Project <jug@sad.it>
14468 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14469 rewritten to discard all double spaces when KeepEmpty is off
14470 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14471 to only handle newlines but not fiddle with spaces and friends.
14473 * lyxfunc.C (MenuNew): when doing 'new from template', use
14474 template_path as default directory
14476 2001-06-23 The LyX Project <Asger>
14478 * Clean-up of header file includes all over
14479 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14481 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14483 * paragraph.h: renamed from lyxparagraph.h
14485 2001-06-23 Asger <lyx@violet.home.sad.it>
14487 * Buffer.h: Removed Buffer::resize
14488 * BufferList.h: Removed BufferList::resize
14489 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14490 the document lazily when we change the width, or the font settings.
14492 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14494 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14496 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14498 * buffer.h: remove out of date comment
14500 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14503 * screen.C: fix "theoretical" GC leak
14505 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14507 * LaTeX.C (scanAuxFile):
14508 (deplog): remove trailing \r when reading stream (useful under
14511 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14513 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14514 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14515 and BufferView::theLockingInset(Inset*), so should use them and not
14516 access bv_->text->the_locking_inset directly.
14518 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14520 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14523 * tex-defs.h: remove old unused file
14525 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14527 * BufferView_pimpl.C: fix typo, remove minibuffer message
14528 when buffer has loaded
14530 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14532 * lyxfunc.C (Dispatch): use stringstream
14533 (MenuNew): use stringstream
14534 (Open): use stringstream
14536 * importer.C (Import): use stringstream
14538 * bufferview_funcs.C (CurrentState): use stringstream
14540 * LaTeX.C (run): use stringstream
14542 * BufferView_pimpl.C (savePosition): use stringstream
14543 (restorePosition): use stringstream
14544 (MenuInsertLyXFile): use stringstream
14546 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14559 * vspace.C: removed // -*- C++ -*- as first line.
14562 * version.h: added // -*- C++ -*- as first line.
14564 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14566 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14568 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14571 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14573 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14576 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14578 * gettext.C: include LString.h even when --disable-nls is on.
14580 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14582 * converter.h (Get): changed argument type from int to
14583 FormatList::size_type to avoid unnecessary conversion.
14585 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14588 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14590 * gettext.h: include LString.h even when --disable-nls is on.
14592 2001-06-07 Juergen Vigna <jug@sad.it>
14594 * text.C (BreakAgain): subst spaces with tabs.
14596 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14597 (resizeInsetsLyXText): set force on resizeLyXText.
14599 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14601 * gettext.h (gettext_init):
14602 (locale_init): use a real definition instead of a macro
14604 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14606 * Bufferview_pimpl.C:
14608 * LColor.C: further lcolor tidies
14610 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14612 * BufferView_pimpl.C (updateScrollbar): simplify.
14614 * BufferView2.C: don't include insets/insetinfo.h, change
14615 prototype for insertInset and call the Pimpl version. let
14616 updateInset call Pimpl version.
14618 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14619 gotoInset to BufferView::Pimpl
14621 2001-06-01 Juergen Vigna <jug@sad.it>
14623 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14624 inside a LockingInset (is the update needed at all?).
14626 2001-05-31 Juergen Vigna <jug@sad.it>
14628 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14629 here not the old one otherwise how should we compare it afterwards
14632 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14637 * FontInfo.C: bring C functions into global namespace when
14640 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14642 * LString.h: make sure config.h has been loaded before LString.h.
14644 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14645 (one for each char read by EatLine!).
14647 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14650 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14652 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14653 to the same as the par we break from
14655 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14657 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14659 * MenuBackend.C (expand): also create menu entries for wide
14660 versions of the floats.
14662 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14664 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14666 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14667 frontends/Makefile.am
14673 * tabular.C (getTokenValue): add std::
14675 * tabular-old.C (getTokenValue): add std::
14676 (getTokenValue): ditto
14677 (getTokenValue): ditto
14679 * screen.C (ToggleSelection): adjust
14681 * lyxtext.h: put selection cursors inside a Selection struct.
14683 * lyxfunc.C (moveCursorUpdate): adjust
14685 * lyxfont.C (latexWriteStartChanges): add std::
14687 * lyxfind.C: adjust
14689 * font.h: delete with(char const *, LyXFont const &)
14691 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14693 * FontInfo.C (getFontname): add std::
14695 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14696 (workAreaButtonPress): adjust
14697 (tripleClick): adjust
14699 (moveCursorUpdate): adjust
14702 * BufferView2.C (gotoInset): adjust
14704 2001-05-30 Juergen Vigna <jug@sad.it>
14706 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14707 to check pspell I add this as default as I now have new pspell
14708 libraries and they seem to use this.
14710 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14712 * text2.C (CutSelection): make the cursor valid before the call to
14715 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14717 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14718 relied on 0 terminated strings and other horrors. Bug found due to
14719 the new assert in lyxstring!
14721 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14724 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14726 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14729 * lyxfunc.C (processKeySym): change method of getting to the
14732 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14733 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14734 * BufferView_pimpl.[Ch]: here as private methods.
14736 2001-05-28 Juergen Vigna <jug@sad.it>
14738 * text.C (SetHeightOfRow): added the update() call again as it is
14739 needed to initialize inset dimensions!
14741 2001-05-16 Juergen Vigna <jug@sad.it>
14743 * text2.C (SetCharFont): Add new function with BufferView * and
14744 bool toggleall parameters for setting insets internal fonts.
14745 (SetFont): Freeze the undo as we may change fonts in Insets and
14746 all this change should be inside only one Undo!
14748 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14749 setting font's in insets as for them we have the SetFont function!
14751 2001-05-15 Juergen Vigna <jug@sad.it>
14753 * text2.C (ClearSelection): to be sure we REALLY don't have any
14756 * tabular.C (TeXCellPreamble): fixed the left border problem for
14759 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14761 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14764 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14766 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14767 LFUN_BREAKPARAGRAPH.
14769 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14770 help test to "internal only", similar for LFUN_INSERT_URL
14772 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14773 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14774 auto_region_delete and deadkeys.
14776 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14779 * LColor.C: remove some dead entries, tidy a little
14781 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14783 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14785 (Dispatch): implement LFUN_ESCAPE
14787 * commandtags.h: add LFUN_ESCAPE
14789 * LyXAction.C (init): add entry for LFUN_ESCAPE
14791 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14792 Remove commented code.
14793 (insertNote): moved here
14794 (open_new_inset): moved here
14796 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14799 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14801 * kbmap.C (findbinding): clean it up and make it work correctly.
14803 * lyx_main.C (init): do not pass argc and argv as parameters
14805 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14807 * buffer.C: fix path for OS/2 & Win32
14811 * lyx_main.C: Added os:: class.
14813 * os2_defines.h: update
14815 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14817 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14818 better by trying again with reduced state.
14820 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * lyxrc.C (read): print error about invalid key sequence only when
14823 debugging (because not all latinX keysyms are known to some X
14826 * kbsequence.C (getiso): add a few std:: qualifiers
14827 (getiso): comment out extra return statement.
14829 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14831 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14833 (Dispatch): enhance the accent inset a bit. (not perfect)
14835 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14837 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14839 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14841 * bufferlist.C (emergencyWrite): fix assert() call
14843 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14845 * text.C (InsertChar): Added trivial patch to only send the "you
14846 can not do multiple spaces this way" message once during a
14849 2001-05-08 Baruch Even <baruch@lyx.org>
14851 * Makefile.am: Changed order of libraries to get LyX to link properly
14852 with the gnome frontend.
14854 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14856 * LaTeXFeatures.h: add a std:: qualifier
14858 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14860 * paragraph.C (String): use stringstream
14862 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14864 * paragraph.C (writeFile): remove footflag arg
14866 * buffer.C (makeLaTeXFile): use stringstream
14867 (latexParagraphs): remove footnot gurba
14869 * LaTeXFeatures.C (getPackages): use stringstream
14870 (getMacros): likewise
14871 (getTClassPreamble): likewise
14872 (getFloatDefinitions): new method
14874 * paragraph.C (writeFile): reindent
14877 * WorkArea.h: revert the xpos + etc changes.
14879 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14881 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14883 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14884 (pasteSelection): likewise
14885 * text2.C (CreateUndo): likewise
14887 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14889 * minibuffer.C (peek_event): temporarily reduce the functionality
14890 of the minibuffer (to allow args on lfuns)
14892 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14893 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14895 * buffer.C (readInset): add compability reading of old float
14896 lists, add reading of new style float list.
14897 (readInset): avoid reevaluation of inscmd.getCmdName()
14898 (getLists): reindent
14900 * MenuBackend.C (MenuItem): implement parsing of
14901 md_floatlistinsert and md_floatinsert.
14902 (expand::LastFiles): move initalizaton of iterators out of loop,
14903 avoid reevaluation.
14904 (expand::Documents): introduce typdedef vector<string> Strings,
14906 (expand::ExportFormats): introduce typedef vector<Format const *>
14907 Formats, and use it.
14908 (expand): implement FloatListInsert and FloatInsert.
14910 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14911 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14912 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14914 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14916 (Dispatch::LFUN_FLOAT_LIST): implement
14918 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14920 * LaTeX.C (run): Fix problem with --export code.
14922 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14924 * BufferView.[Ch] (workarea): removed.
14925 (getClipboard) new method; wrapper for workarea()->getClipboard()
14927 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14930 * WorkArea.h (width, height, xpos, ypos): These methods all
14931 returned the dimensions of the work_area sub-area of WorkArea,
14932 resulting in a position error if the WorkArea were resized. Now
14933 return the dimensions of the entire WorkArea.
14935 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14937 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14939 * LaTeX.C (deplog): correct the syntax of regex reg1
14941 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14943 * undo.C: remove !NEW_INSETS cruft
14945 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14947 * text2.C: remove !NEW_INSETS cruft
14949 * text.C: remove !NEW_INSETS cruft
14951 * tabular.C: remove !NEW_INSETS cruft
14953 * spellchecker.C: remove !NEW_INSETS cruft
14955 * lyxtext.h: remove !NEW_INSETS cruft
14957 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14959 * lyxfunc.C: remove !NEW_INSETS cruft
14961 * lyxfind.C: remove !NEW_INSETS cruft
14963 * lyx_cb.C: remove !NEW_INSETS cruft
14965 * figureForm.C: remove !NEW_INSETS cruft
14967 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14969 * buffer.[Ch]: remove !NEW_INSETS cruft
14971 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14973 * CutAndPaste.C: remove !NEW_INSETS cruft
14975 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14977 * BufferView2.C: remove !NEW_INSETS cruft
14979 * BufferView.h: remove !NEW_INSETS cruft
14981 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14983 * Lsstream.h: include LString.h before the sstream headers to
14984 fix problem with gcc 2.95.3 and lyxstring
14986 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14988 * lyx_main.C: add using directives when needed for C functions
14989 declared in std:: namespace.
14991 2001-04-27 Juergen Vigna <jug@sad.it>
14993 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14994 (SetHeightOfRow): comment out the update call should not be needed!
14996 2001-04-13 Juergen Vigna <jug@sad.it>
14998 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14999 (LyXTabular): tried to minimize operator= operations (and realized
15000 hopfully Lars wish).
15002 2001-04-27 Juergen Vigna <jug@sad.it>
15004 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15006 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15008 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15010 * buffer.C (readInset): hack to make listof algorithm work
15012 * BufferView_pimpl.C: hack to make listof algorithm work
15014 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15016 * LyXAction.C: removed all !NEW_INSETS cruft
15017 (init): moved lfun_item in method
15019 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15021 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15023 * BufferView2.C (theLockingInset): white space.
15025 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15027 * minibuffer.C: include <iostream>
15029 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15031 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15033 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15035 * text.[Ch] (TransposeChars): new method
15037 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15039 * call message directly through LyXView instead of through LyXFunc
15040 * BufferView2.C: adjust
15041 * BufferView_pimpl.C: adjust
15042 * FontLoader.C: adjust
15044 * bufferview_funcs.C: adjust
15045 * converter.C: adjust
15046 * figureForm.C: adjust
15047 * importer.C: adjust
15049 * lyx_gui_misc.C: adjust
15050 * lyxfunc.C: adjust
15053 + more files in subdirs
15055 * lyxparagraph.h (size): move up int file
15058 * adjust all uses of Assert to lyx::Assert.
15060 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15061 lyxfunctional in namespace lyx
15062 * layout.C (hasLayout): ditto
15065 (delete_layout): ditto
15066 (NumberOfClass): ditto
15067 * converter.C (GetFormat): ditto
15072 * bufferlist.C (getFileNames): ditto
15073 (emergencyWriteAll): ditto
15076 * MenuBackend.C (hasSubmenu): ditto
15079 * BufferView_pimpl.C (getInsetByCode): ditto
15081 2001-04-18 Juergen Vigna <jug@sad.it>
15083 * vspace.C (asLatexString): fixed the 100% problem.
15085 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15087 * lyxfunc.C (Dispatch):
15089 * minibuffer.h: add a few std:: qualifiers
15091 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15093 * minibuffer.[Ch]: reimplement so that commands is initiated and
15094 run from lyxfunc, simplified som handling, and made the completion
15095 and history code for complete. wip.
15097 * lyxfunc.C (processKeySym): call message
15098 (miniDispatch): new temporary method
15099 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15100 (LFUN_MESSAGE): implement
15101 (LFUN_MESSAGE_PUSH): implement
15102 (LFUN_MESSAGE_POP): implement
15103 (initMiniBuffer): the initial/defualt minibuffer message.
15105 * lyxfont.[Ch]: inline some more getters
15107 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15109 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15111 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15112 (AutoSave): use LFUN_MESSAGE
15113 (Reconfigure): ditto
15115 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15117 * figureForm.C: use LFUN_MESSAGE
15119 * converter.C (runLaTeX): use LFUN_MESSAGE
15121 * bufferview_funcs.C: use LFUN_MESSAGE
15123 (changeDepth): ditto
15125 * bufferparams.h: use boost::
15127 * bufferlist.h: inherit privately from noncopyable
15129 * bufferlist.C (loadLyXFile): remove some commented code.
15131 * buffer.C (runChktex): use LFUN_MESSAGE
15133 * ShareContainer.h: inherit privately from noncopyable
15135 * ParagraphParameters.[hC] (depth): inline it.
15137 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15139 (message): new method
15140 (messagePush): ditto
15141 (messagePop): ditto
15142 (show): init minibuffer
15143 (showState): direct call
15145 * LaTeX.[Ch]: inherit privately from noncopyable
15146 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15147 instead of WriteStatus.
15149 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15151 * BufferView_pimpl.C (buffer): don't init minibuffer
15152 (workAreaButtonPress): use LFUN_MESSAGE
15153 (workAreaButtonRelease): ditto
15154 (savePosition): ditto
15155 (restorePosition): ditto
15156 (MenuInsertLyXFile): ditto
15157 (workAreaExpose): don't init minibuffer
15158 (update): remove commented code, simplify
15160 * BufferView2.C (openStuff): use LFUN_MESSAGE
15161 (toggleFloat): ditto
15164 (copyEnvironment): ditto
15165 (pasteEnvironment): ditto
15170 (updateInset): remove some commented code
15172 * lastfiles.h: inherit privately from noncopyable
15175 * lyx_main.h: ditto
15177 * lyxlex_pimpl.h: ditto
15179 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15180 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15181 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15183 * LyXAction.h: inherit privately from noncopyable, add methods
15184 func_begin, func_end, returning iterators to the func map.
15186 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15187 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15188 (func_begin): new method
15189 (func_end): new method
15191 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15193 (copySelection): ditto
15194 (pasteSelection): ditto
15196 * BufferView.C: whitespace change
15197 * BufferView.h: inherit privately from noncopyable
15199 2001-04-16 Allan Rae <rae@lyx.org>
15201 * tabular-old.C (l_getline):
15202 * spellchecker.C (sc_check_word):
15203 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15204 an unrecognised preprocessor directive. So ensure they're wrapped.
15206 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15208 * src/exporter.C (Export): Give an error message when path to file
15211 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15213 * LaTeX.C (deplog): Always check that foundfile exists.
15215 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15218 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15220 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15222 * tabular.[Ch] (getLabelList): implement new method
15224 * minibuffer.h: comment ouf setTiimer
15226 * minibuffer.C (ExecutingCB): constify res
15227 (peek_event): constify s
15228 (Set): constify ntext
15229 (Init): constify nicename
15231 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15233 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15234 (savePosition): use two params to Minibuffer::Set
15235 (restorePosition): ditto
15237 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15239 * lyx_main.C: include language.h
15241 * Makefile.am (lyx_main.o): add language.h
15243 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15249 * CutAndPaste.C: include gettext.h
15251 * lyxfont.h: remove old hack with ON and OFF.
15254 * lyxfont.h: do not include language.h...
15259 * bufferview_funcs.C:
15265 * paragraph.C: ... but do it here instead
15267 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15269 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15271 * tabular.C: small reformat
15273 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15276 (BreakParagraph): ditto
15277 (SetOnlyLayout): ditto
15280 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15283 * lastfiles.C: removed most using decl, add std:: where needed
15285 * buffer.C: ws changes
15287 * MenuBackend.C (class compare_format): put into anon namespace
15288 (expand): constify label, names, action, action2
15291 * text.C (SingleWidth): constify font
15292 (IsBoundary): constify rtl2
15293 (GetVisibleRow): constify ww
15295 * LaTeX.C (deplog): constify logfile
15297 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15299 (workAreaExpose): constify widthChange, heightChange
15301 * lyxrow.C (par): moved
15304 * lyxrow.h: as inlines here
15306 * lyxfont.h (shape): moved from lyxfont.C
15307 (emph): moved from lyxfont.C
15309 * lyxfont.C (LyXFont): use initialization list for all
15311 (shape): move to lyxfont.h as inline
15312 (emph): move to lyxfont.h as inline
15315 2001-04-04 Juergen Vigna <jug@sad.it>
15317 * vspace.C: had to include stdio.h for use of sscanf
15319 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15322 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15323 independent of xforms.
15325 2001-04-02 Juergen Vigna <jug@sad.it>
15327 * spellchecker.C: fixed namespace placing!
15329 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15331 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15332 the LyXParagraph * is 0.
15334 2001-03-29 Juergen Vigna <jug@sad.it>
15336 * vspace.C: added support for %, c%, p%, l%.
15337 (stringFromUnit): added helper function.
15338 (asLatexString): changed to give right results for the %-values.
15340 * buffer.C: convert the widthp in a width%.
15342 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15344 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15347 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15348 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15350 * lyx_cb.[Ch]: see above.
15352 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15356 * lyx.[Ch]: replaced by figure_form.[Ch].
15360 * lyxfunc.C: changed headers associated with above changes.
15362 2001-03-27 Juergen Vigna <jug@sad.it>
15364 * BufferView_pimpl.C: set the temporary cursor right!
15366 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15368 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15370 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15372 * LString.h: removed "using std::getline"!
15374 * BufferView_pimpl.C (Dispatch): changes due to changes in
15375 InsetInclude::Params.
15377 * buffer.C (tag_name): removed redundant break statements as they were
15378 producing lots of warnings with my compiler.
15380 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15382 * LString.h: add "using std::getline" when using the real <string>.
15384 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15386 * buffer.C: removed bitset usage.
15387 PAR_TAG moved to an anonymous name space.
15388 (tag_name): new funtion, also in the anonymous namespace.
15389 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15390 (makeDocBookFile): clean code. Completed transition from string arrays
15392 (SimpleDocBookOnePar): code clean.
15394 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15396 * tabular.C: add some comments.
15398 2001-03-22 Juergen Vigna <jug@sad.it>
15400 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15401 compatibility read a bit and fixed bug with minipage in different
15404 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15406 * buffer.C (pop_tag): removed.
15407 (push_tag): removed.
15408 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15409 array replaced with vector. Added support for CDATA sections.
15410 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15412 (makeDocBookFile): XML conformant declaration of CDATA section,
15413 fixed bug related to <emphasis> in the first paragraph char.
15414 (sgmlOpenTag): exclude empty tags.
15415 (sgmlCloseTag): ditto.
15417 * buffer.h (pop_tag): removed.
15418 (push_tag): removed.
15420 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15422 * language.h (Languages): added size_type and size().
15424 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15426 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15427 response on compability reading of minipages. One probliem is that
15428 the old usage of minipages was «flertydig»
15430 * several files here and in subdirs: don't use static at file
15431 scope use anon namespaces instead.
15433 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15435 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15436 LaTeX output. This is necessary for Literate document
15439 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15441 * buffer.C: insert hfill when needed.
15443 * tabular.C (l_getline): use string::erase, small whitespace change.
15445 * BufferView_pimpl.C: try the anon namespace.
15446 * WorkArea.C: ditto
15448 2001-03-16 Juergen Vigna <jug@sad.it>
15450 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15451 otherwise it won't open options-dialogs.
15453 * buffer.C: honor pextraWidth(p) on converting minipages.
15455 * tabular.C (l_getline): changed the functions to strip trailing \r.
15457 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15459 * BufferView_pimpl.C:
15460 * minibuffer..C: added "using SigC::slot" declaration.
15462 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15464 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15470 * paragraph.C: ditto
15472 * lyxtext.h: NO_PEXTRA
15474 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15476 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15477 * ParameterStruct.h: ditto
15478 * ParagraphParameters.h: ditto
15479 * lyxparagraph.h: ditto
15481 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15483 * buffer.C: add compability for minipage alignment.
15484 (latexParagraphs): remove unwanted pextra check.
15486 * several files: remove CXX_WORKING_NAMESPACES
15488 * buffer.C (pop_tag): tie is in namespace boost
15490 * BufferView.h: noncopyable is in namespace boost
15492 * lyx_main.h: ditto
15495 * lastfiles.h: ditto
15496 * bufferlist.h: ditto
15497 * ShareContainer.h: ditto
15499 * LyXAction.h: ditto
15502 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15504 * Merging changes from BRANCH_MVC back into HEAD.
15506 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15508 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15510 * BufferView_pimpl.C: change from intl.C
15514 * Makefile.am: move combox.*
15520 * intl.C: remove dialog (covered by prefs)
15522 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15524 * lyxfunc.C (Dispatch): removed redundant break statement.
15526 2001-03-14 Juergen Vigna <jug@sad.it>
15528 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15530 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15532 * buffer.C: add hack to fix compability reading of minipages.
15534 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15536 * buffer.C (getLists): Cleanup.
15538 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15540 * lyxfont.C (update): don't honor toggleall on font size.
15542 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15546 * Makefile.am: moved to frontends/xforms/
15550 * BufferView_pimpl.C: changes for moved mathpanel
15552 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15554 * gettext.h: fix gettext_init() in --disable-nls
15556 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15558 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15560 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15563 * lyx.h: strip external form
15565 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15567 * BufferView_pimpl.C: add comment, destroySplash()
15569 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15571 * BufferView_pimpl.C:
15575 * lyxfunc.C: use re-worked insetinclude
15577 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15579 * buffer.C: add using std::stringstream.
15581 * lyx_cb.C: readd using std::ios.
15583 * buffer.C: add using std::map.
15585 * BufferView_pimpl.C: add using std::vector.
15587 * ShareContainer.h: add std:: to swap.
15589 * buffer.h: add some typedefs
15590 * buffer.C (getLists): use them
15591 (getLists): renamed from getTocList.
15592 add a counter for the different float types and use it in the
15594 (getLists): use the same counter for the NEW_INSETS and the "non"
15597 * lyx_cb.h: remove unused items, includes, using etc.
15599 * ShareContainer.h: remove some commented code, add more comments
15600 and "documentation".
15602 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15604 * buffer.C (getTocList): make the list also when NEW_INSETS is
15607 * buffer.h: remove TocType
15609 * buffer.C (getTocList): change to return a map<string,
15610 vector<TocItem> >, implement for dynamic number of list.
15612 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15613 * text2.C (PasteSelection): adjust
15614 * CutAndPaste.C (pasteSelection): adjust
15616 * FloatList.C (FloatList): update from the new_insets branch.
15617 * Floating.[Ch]: ditto
15618 * LaTeXFeatures.C: ditto
15620 * lyxlex_pimpl.C: ditto
15622 * paragraph.C (Last): remove when NEW_INSETS is defined.
15624 * other file: changes because of the above.
15626 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15628 * lyxparagraph.h: rename next to next_, previous to previous_,
15629 make them private for NEW_INSETS. Rename Next() to next(),
15630 Previous() to previous().
15632 * other files: changes because of the above.
15634 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15637 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15640 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15642 * main.C (main): pass lyx_localedir to gettext_init().
15644 * gettext.h: remove locale_init and gettext_init macros
15646 * gettext.C (locale_init): new function
15647 (gettext_init): new function
15649 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15652 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15654 * Moved credits to frontends:
15655 * credits.[Ch]: removed
15656 * credits_form.[Ch]: removed
15657 * lyx_gui_misc.C: remove credits stuff
15660 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15662 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15664 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15665 unneeded destructor.
15667 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15668 a standalone pointer again.
15670 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15672 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15678 * ToolbarDefaults.C:
15687 * BufferView_pimpl.C: use new file dialog in GUII
15690 * lyx_cb.C: remove LayoutsCB to Toolbar
15692 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15694 * ShareContainer.h (get): add std:: qualifier
15696 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15698 * ShareContainer.h: define a proper ShareContainer::value_type
15699 type (and use typename to please compaq cxx)
15701 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15703 * lyxparagraph.h: move serveral local vars to
15704 ParameterStruct/ParagraphParameters., use ShareContainer in
15705 FontTable., make vars in FontTable private and add getter and
15708 * paragraph.C: changes because of the above.
15710 * lyxfont.h: remove copy constructor and copy assignment. (the
15711 default ones is ok), move number inside FontBits. move inlines to
15714 * lyxfont.C: add number to initializaton of statics, move several
15715 inlines here. constify several local vars. some whitespace
15716 cleanup. Dont hide outerscope variables.
15718 * Spacing.h: add two new constructors to match the set methods.
15720 * ShareContainer.h: new file, will perhaps be moved to support
15722 * ParameterStruct.h: new file
15724 * ParagraphParameters.h: new file
15726 * ParagraphParameters.C: new file
15728 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15729 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15731 * BufferView_pimpl.C: ParagraphParameter changes.
15732 * buffer.C: Likewise.
15733 * bufferview_funcs.C: Likewise.
15734 * text.C: Likewise.
15735 * text2.C: Likewise.
15737 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15739 * lyxfind.C (LyXReplace): do not redefine default argument in
15741 (IsStringInText): ditto
15742 (SearchForward): ditto
15743 (SearchBackward): ditto
15745 2001-03-06 Juergen Vigna <jug@sad.it>
15747 * lyxfind.C (IsStringInText): put parentes around expressions.
15749 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15751 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15753 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15755 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15757 * stl_string_fwd.h: add comment
15759 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15762 * tabular.C: remove unused DocBook methods
15768 killed DO_USE_DEFAULT_LANGUAGE
15770 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15772 * lyx_gui.C: do not include language.h.
15774 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15775 arguments in function implementation.
15777 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15779 * BufferView_pimpl.C: add <ctime>
15781 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15783 * BufferView_pimpl.C: add using std::find_if
15785 2001-02-27 José Matos <jamatos@fep.up.pt>
15787 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15790 2001-02-11 José Matos <jamatos@fep.up.pt>
15792 * buffer.C (makeDocBookFile): command styles now have a parameter as
15793 "title" by default.
15795 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15797 * layout_forms.[Ch]: removed
15798 * lyx_cb.[Ch]: out character
15799 * lyx_gui.C: out character
15800 * lyx_gui_misc.C: out character
15801 * bufferview_funcs.C: : out character,
15802 added toggleall as parameter in ToggleAndShow
15804 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15806 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15808 * text2.C (SetCurrentFont): Disable number property at boundary.
15810 2001-02-26 Juergen Vigna <jug@sad.it>
15812 * lyxfunc.C (getStatus): added a string argument override function so
15813 that this is correctly called from LyXFunc::Dispatch if it contains a
15814 do_not_use_argument which is used!
15815 (Dispatch): added check for "custom" export and call appropriate func.
15817 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15819 * lyxrc.C: Add language_command_local, language_use_babel and
15820 language_global_options.
15822 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15824 * buffer.C (makeLaTeXFile): Use language_use_babel and
15825 language_global_options.
15827 2001-02-23 Juergen Vigna <jug@sad.it>
15829 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15830 which works with LyXText and putted it inside BufferView. Here now we
15831 only call for that part the BufferView::Dispatch() function.
15833 * BufferView.C (Dispatch): added.
15835 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15836 functions which needs to use a LyXText over from LyXFunc.
15837 (MenuInsertLyXFile): added
15838 (getInsetByCode): added
15839 (moveCursorUpdate): added
15840 (static TEXT): added
15842 2001-02-22 Juergen Vigna <jug@sad.it>
15844 * BufferView_pimpl.C (update): call a status update to see if LyXText
15847 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15849 * vc-backend.C (revert): implement for CVS
15850 (getLog): implement for CVS
15852 2001-02-20 Juergen Vigna <jug@sad.it>
15854 * text2.C (ClearSelection): added BufferView param for inset_owner call
15856 * lyxfunc.C (TEXT): added this function and use it instead of
15857 directly owner->view()-text of getLyXText().
15859 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15861 * src/layout_forms.C: out preamble
15862 * src/layout_forms.h: out preamble
15863 * src/lyx_cb.C: out preamble
15864 * src/lyx_cb.h: out preamble
15865 * src/lyx_gui.C: out preamble
15866 * src/lyx_gui_misc.C: out preamble
15867 * src/lyxfunc.C: connect with guii preamble
15869 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15871 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15873 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15875 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15876 whether to run bibtex.
15878 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15880 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15882 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15884 * Makefile.am (lyx_SOURCES): removed bibforms.h
15886 * vspace.h: doxygen
15888 * text.C (GetVisibleRow): make several local vars const
15890 * tabular.C: small cleanup.
15892 * lyxserver.C (callback): use compare instead of strncmp
15894 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15895 inlines to after class or to paragraph.C
15897 * lyxfont.h: remove friend operator!=
15899 * converter.h: move friend bool operator< to non friend and after
15902 * combox.h: small cleanup
15904 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15905 to inlines after class def.
15907 * buffer.C (pop_tag): use string operations instead of strcmp
15909 * bmtable.c: doxygen, small cleanup
15911 * LaTeX.h: remove friend operator==
15913 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15925 * BufferView_pimpl.C:
15926 * BufferView.[Ch]: remove cruft
15928 2001-02-14 Juergen Vigna <jug@sad.it>
15930 * lyxfunc.C: removed #if 0 unused code
15932 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15934 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15936 * text2.C (SetSelection): added a BufferView * parameter
15938 2001-02-13 Juergen Vigna <jug@sad.it>
15940 * lyxfunc.C (Dispatch): fixed protected blank problem.
15941 * BufferView2.C (protectedBlank): added LyxText * parameter.
15943 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15944 (AppendColumn): same as above for column_info.
15946 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15947 (moveCursorUpdate): use a LyXText param for support of InsetText.
15949 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15950 (tripleClick): ditto
15952 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15954 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15956 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15958 * text2.C (SetSelection): set correct update status if inset_owner
15959 (ToggleFree): ditto
15961 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15963 * tabular.C: remove some commented code.
15965 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15967 * BufferView_pimpl.C: call hideSplash()
15969 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15972 * bibforms.h: remove
15975 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15976 add LFUN_CHILD_CREATE
15978 * counters.h: fix tiny typo
15983 * lyx.C: move splash to frontends/xforms/
15985 * lyx_gui_misc.C: move Include and Bibform to frontends
15987 * lyxvc.h: clarify comment
15989 * vspace.C: tiny housekeeping
15991 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15993 * text.C (PrepareToPrint): RTL Fix.
15995 * paragraph.C (GetUChar): New method.
15996 (String): Use GetUChar.
15998 * buffer.C (asciiParagraph): Use GetUChar.
16000 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16002 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16004 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16007 * buffer.C: rename to getLogName(), handle
16008 build log / latex log nicely
16010 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16013 * MenuBackend.h: remove support for reference menuitem type.
16015 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16017 * BufferView_pimpl.C: housekeeping
16018 * BufferView_pimpl.h:
16023 * minibuffer.h: move Timeout GUI-I
16025 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16027 * lyxrc.C (read): Update converters data-structures.
16029 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16031 * LaTeX.h (operator!=): add operator != for Aux_Info
16033 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16035 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16037 * LaTeXLog.C: deleted, useful code moved to Buffer
16040 * buffer.C: new function getLatexLogName()
16046 * lyxfunc.C: use frontends for LaTeX and VC logs
16048 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16050 * LaTeX.h: yet another std:: that Allan forgot.
16052 * Variables.C (set): renamed from isset(), because this clashes
16053 with some HP-UX macros (grr).
16055 2001-02-06 Allan Rae <rae@lyx.org>
16057 * LaTeX.h: Another bug fix. Missing std:: this time.
16059 2001-02-04 Allan Rae <rae@lyx.org>
16061 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16062 floats problem. I've left it commented out because it's not quite
16063 correct. It should also test that the current object is a table or
16064 figure inset. But I haven't gotten around to figuring out how to do
16065 that. I *think* it'll be something like: "table" == inset.type()
16067 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16070 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16072 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16073 all the citation/databases/styles in the auxilary file.
16074 (run): Rerun latex if there was a babel language error.
16076 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16078 * text.C (Backspace): Preserve the font when changing newline char
16080 (BreakParagraph): If the cursor is before a space, delete the space.
16082 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16084 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16086 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16087 new argument (code).
16088 (ChangeCitationsIfUnique): New method.
16090 * paragraph.C (GetPositionOfInset): Handle bibkey.
16092 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16094 * BufferView_pimpl.h: change type of Position::par_pos to
16095 LyXParagraph::size_type.
16097 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16099 * BufferView_pimpl.C (savePosition, restorePosition): Write
16100 messages to minibuffer.
16102 2001-01-28 José Matos <jamatos@fep.up.pt>
16104 * buffer.C (makeDocBookFile): adds support for document language.
16105 A silly restriction on the name of LatexCommand types where removed.
16106 Added support for CDATA sections, allows to chars unescaped, used
16107 among others in code, to avoid escape < and >.
16109 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16111 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16112 saved positions instrad of a stack. Furthermore, a position is
16113 stored using paragraph id/paragraph position.
16115 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16116 Remove LFUN_REF_BACK.
16118 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16120 * converter.C (dvipdfm_options): New method.
16122 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16124 * vspace.C (isValidLength): Fix for empty input string.
16126 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16128 * LyXAction.C (init): change description of LFUN_FIGURE to
16131 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16133 * LaTeX.C: add using directive
16135 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16137 * MenuBackend.C (expand): Fix the sorting of the formats.
16139 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16141 * lyx_main.C: tiny error message fix
16143 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16145 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16146 calling fl_initialize(). This fixes the problem with ',' as
16147 decimal separator in text files.
16149 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16151 * trans.C (process): Fix the keymap bug.
16153 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16155 * LaTeX.C (scanAuxFiles): New method. Provides support for
16156 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16157 (scanLogFile) Scan for "run BibTeX" messages.
16159 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16160 OT1 font encoding. Also, load the aecompl package if the ae
16163 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16165 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16167 * texrow.C (increasePos): turn two error messages into debug
16170 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16172 * LaTeX.C (scanAux): Handle the \@input macro.
16173 (runBibTeX): Use scanAux().
16175 * language.C (latex_options_): New field.
16177 * LaTeXFeatures.C (getMacros): Add language macros.
16179 * buffer.C (makeLaTeXFile): Small fix.
16181 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16183 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16185 * text2.C: add a using directive.
16187 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16192 * lyxfunc.C: kill LyXBell.
16194 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16196 * text.C (IsBoundary): Remove the error message
16198 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16200 * lyxrc.C (setDefaults): Correct initialization value for
16203 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16205 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16208 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16209 and GotoNextNote().
16211 * src/LyXAction.C: Added reference-next.
16213 * text.C (InsertChar): Use contains instead of strchr.
16215 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16217 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16219 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16220 alignment commands (when needed).
16222 * text.C (InsertChar): Add ':' to number separator chars.