1 2004-10-30 José Matos <jamatos@lyx.org>
3 * output_docbook.C (makeParagraphs):
4 * paragraph.[Ch] (emptyTag): for docbook and company, if the
5 standard paragraph has only a given type of content drop the wrapper.
7 2004-10-29 José Matos <jamatos@lyx.org>
9 * output_docbook.C (makeEnvironment):
11 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
13 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
15 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
16 (cleanID): sanitize any id.
18 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
20 * buffer.C, lyxlex_pimpl.C:
21 * lyxlex_pimpl.C (setFile):
22 s/getExtFromContents/getFormatFromContents/
24 2004-10-28 José Matos <jamatos@lyx.org>
26 * output_docbook.C (makeEnvironment): move id to broadest possible scope.
28 * sgml.C (openTag): apply substitution of <> for all attribuites.
30 2004-10-28 José Matos <jamatos@lyx.org>
32 * buffer.C (makeLinuxDocFile, makeDocBookFile):
33 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
34 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
36 * sgml.[Ch]: new version for open and closeTag for paragraph and
37 for strings. Now they handle the ids of paragraphs.
39 2004-10-26 Angus Leeming <leeming@lyx.org>
41 * Makefile.am: add mover.[Ch].
43 * converter.C (convert, move): use the new Movers to move external
44 files to the temp directory.
46 * lyx_main.C (init): ensure that the global system_movers data
49 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
52 * mover.[Ch]: new files, defining a Mover as a utility to move an
53 external file between directories and, if necessary, manipulate this
54 file using a helper script.
56 2004-10-25 José Matos <jamatos@lyx.org>
58 * output_docbook.C (makeCommand): merge two if's that tested the same condition.
60 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
62 * sgml.C (escapeString): fix warning in a better way
64 2004-10-25 José Matos <jamatos@lyx.org>
66 * sgml.C (escapeString): import the require boosts header file for
67 tie, and avoid a signed unsigned comparison.
69 2004-10-25 José Matos <jamatos@lyx.org>
71 * sgml.h: add #include <string>
73 2004-10-25 José Matos <jamatos@lyx.org>
75 * sgml.[Ch] (escapeString): new function to escape all the string.
77 2004-10-24 José Matos <jamatos@lyx.org>
79 * paragraph.[Ch] (getFirstWord): new function to get the first
80 word. Useful for description.
81 (simpleDocBookOnePar): remove depth argument, add another that
82 says where to start the paragraph.
84 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
85 use the new functions to fix cleanly the support for descriptions.
87 2004-10-24 José Matos <jamatos@lyx.org>
89 * buffer.C (makeLinuxDocFile, makeDocBookFile):
90 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
91 * output_linuxdoc.C (linuxdocParagraphs):
92 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
93 add buffer as argument.
95 2004-10-24 José Matos <jamatos@lyx.org>
97 * output_docbook.C (makeEnvironment, searchEnvironment): place
98 CDATA inside paragraphs and fix scope for listitems.
100 2004-10-24 José Matos <jamatos@lyx.org>
102 * output_docbook.C: remove using statement for stack.
104 2004-10-23 José Matos <jamatos@lyx.org>
106 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
107 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
108 docbook. The new scheme is recursive and makes use of iterators, the
109 same as latex export works.
110 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
111 directly with the paragraph contents. This code was moved up to
112 output_docbook.C (docbookParagraphs).
113 * sgml.C (openTag, closeTag): removed unneeded newlines.
114 (closeEnvTags) removed.
116 2003-10-23 André Pönitz <poenitz@gmx.net>
118 * undo.C (textUndoOrRedo):
119 * dociterator.C (asDocIterator): work around crash
121 * cursor.C (getStatus): replace ASSERT by more verbose error message
122 and manual correction of the problem. Should increase stability
123 while providing more sensible information.
125 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
127 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
129 * bufferlist.C (previous, next): new methods
132 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
134 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
136 * buffer.C (makeDocBookFile): add dsssl stylesheet control
137 entities to preamble.
139 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
141 * messages.C (Pimpl): strip off translation context information
143 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
146 the cursor is correct (bug 1694)
148 2004-10-13 José Matos <jamatos@lyx.org>
150 * output_docbook.C (docbookParagraphs): fix closing tags in the
153 2004-10-09 José Matos <jamatos@lyx.org>
155 * buffer.C: format up to 237.
156 * bufferparams.C (write): use tostr to convert booleans to strings.
158 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
160 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
162 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
164 * LaTeX.C: implement use of babel language in xindy.
166 2004-10-05 José Matos <jamatos@lyx.org>
168 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
169 Add new translators to help reading and writing the lyx file.
171 2004-10-05 José Matos <jamatos@lyx.org>
173 * ParagraphParameters.C (read):
174 * text.C (readParToken): replace nexToken by more appropriate lex
177 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
179 * LaTeX.C (runMakeIndex):
180 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
181 (usually 'makeindex') configurable.
183 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
184 with a variable rather than with a number.
186 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * output_latex.C (TeXOnePar): make sure font setting is the first
189 thing that gets output (and the last at the end). Should fix bug
192 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
194 * pch.h: use proper signal include
196 * LaTeX.h: Use preferred calling of Boost.Signal
199 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
201 * pch.h: dont include <boost/function/function0.hpp>
203 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
205 * paragraph_pimpl.h: remove usage of ShareContainer
207 * paragraph_pimpl.C: remove initialization of ShareContainer.
209 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * BufferView.C (putSelectionAt): change the semantics when
214 backwards == true: now, this just swaps cursor and anchor wrt the
217 * BufferView.h (putSelectionAt): add some documentation
219 * lyxfind.C (findBackwards): rewrite using while(). In particular,
220 make sure backwardChar is done at least once (to avoid getting
222 (findNextChange): use putSelectionAt in the forward direction
223 (operator()): use Paragraph::isWord
225 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
227 * Spacing.C (set): c_str fix
229 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
231 * lyx_cb.C (Reconfigure): quote the name of configure script in
232 case it contains spaces
234 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
238 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
239 (BOOST_LIBS): use top_buildir when looking for the file
241 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
243 * pch.h: do not use include boost/format.hpp, multiple symbols
244 will result (gcc bug)
247 2004-08-23 José Matos <jamatos@lyx.org>
249 * bufferparams.C (readToken): fix reading of the author field.
251 2004-08-20 José Matos <jamatos@lyx.org>
253 * lyxrc.C: remove support/translator.h inclusion since it is not used.
255 2004-08-20 José Matos <jamatos@lyx.org>
257 * lyxlex.[Ch] (findToken): remove function.
259 * ParagraphParameters.C (findToken):
260 * bufferparams.C (findToken): replace call for previous function
261 with local copy. This local function has one more argument, the
262 read string argument.
264 2004-08-16 José Matos <jamatos@lyx.org>
266 * ParagraphParameters.C (write):
267 * Spacing.C (writeFile):
268 * bufferparams.C (writeLaTeX):
269 * lyx_cb.C (Reconfigure):
270 * paragraph.C (write):
271 * tabular.C (write): remove unnecessary space at end of line.
274 2004-08-16 José Matos <jamatos@lyx.org>
276 * text.C (readParagraph): remove debug message.
278 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
283 * output_plaintext.C (asciiParagraph): set depth correctly
285 * outputparams.h: add member depth
287 * paragraph_funcs.C (ownerPar): remove.
289 * text2.C (setCounter): remove first_pit; comment out some
290 non-working code that uses ownerPar
292 * BufferView.C (getParentLanguage): remove. Not used anymore, and
295 2004-08-16 José Matos <jamatos@lyx.org>
297 * text.C (readParToken, readParagraph, read): report all unknown tokens.
298 For the same level of importance use the same chanel to report problems.
299 (read): add code to deal with \begin_body and \end_body.
302 2004-08-15 José Matos <jamatos@lyx.org>
304 * lyxlex.C (getString): fix comment, buffer::readBody is now
307 * tex-strings.C (string_papersize): Default -> default,
308 Custom -> custom, for consistency with other options.
310 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
314 * Makefile.am: support pch
316 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
318 * text.C (readParToken): remove the static LyXFont variable and
319 pass it as a parameter instead. This fixes a nasty bug where an
320 inset will be inserted with a bad font in some situations
321 (readParagraph): adapt
323 * text2.C (setCounter): reduce number of calls to pars_[pit]
325 * text.C (singleWidth): add an assert, fix a test
327 * rowpainter.C (paintText): reduce number of calls to singleWidth
329 * paragraph.C (isHfill):
332 2004-08-14 André Pönitz <poenitz@gmx.net>
337 * lyxtext.h (several functions): use a Paragraph & argument
340 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
342 * metricsinfo.h: add a new field ltr_pos to PainterInfo
344 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
346 * text.C (singleWidth): remove useless test
348 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
350 * tabular.h: remove bogus comments
352 * tabular.C (getDescentOfRow):
353 (isPartOfMultiColumn): add assertions
355 * lyxlength.C (inPixels): remove #warning
357 2004-08-14 André Pönitz <poenitz@gmx.net>
359 * paragraph.h: inline getChar()
361 * BufferView.h: remove unused declarations
363 2004-08-14 José Matos <jamatos@lyx.org>
365 * Buffer.[Ch] (readDocument): new name for old readBody.
366 * Buffer.C: new file format, new keywords: \begin_document,
367 \begin_header, \begin_body, \end_body.
369 * bufferparams.C (readToken): replace all calls to lex.nextToken
370 by lex.next(). Do the same to eatLine except where really needed.
372 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
373 line when writing to the lyx file.
375 * output_plaintext.C (asciiParagraph): fix Bibliography style
378 * text.C (read): fix end of file handling.
380 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
382 * MenuBackend.C (Menu::operator[]): new method to access
383 individual menu items
384 (Menu::hasFunc): new method. search for an item that corresponds
386 (MenuBackend::specialMenu): new method
387 (MenuBackend::expand): if a special menu has been set, skip
388 entries whose func() appears in this menu
390 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
392 * text3.C: use Debug::DEBUG a bit more
394 * text.C (leftMargin): try to simplify a tiny bit change var x to
395 l_margin. Dont output the wide margins always.
396 (rightMargin): no margin in inner texts
398 * rowpainter.h (nestMargin): new func
399 (changebarMargin): new func
400 (rightMargin): new func
402 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
406 * factory.C (createInset): modify setDrawFrame
408 * cursor.C: use Debug::DEBUG a bit more
410 2004-08-14 André Pönitz <poenitz@gmx.net>
413 * Makefile.am: new files to accomodate an 'external' (x,y)-position
414 cache for all insets in (at least partially) visible (top-level)
417 * BufferView_pimpl.C: reset external coord cache before every update.
418 This means the coord cache only contains valid entries.
420 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
423 * BufferView_pimpl.C (getInsetByCode): move function out of class
424 and change in to a template in anon namespace. Also fix to do what
427 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
430 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
432 (breakParagraph): rename par to par_offset and use a local
433 reference. Add code to keep the language over a rebreak.
434 (breakParagraphConservative): rename par to par_offset, use a
436 (mergeParagraph): ditto
438 (isFirstInSequence): ditto
439 (outerFont): rename pit to par_offset
441 * paragraph.C: ws change
446 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
448 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
451 * paragraph.C (simpleTeXOnePar): when we have a \item with
452 optional argument, enclose the argument with curly brackets (in
453 case it contains a closing square bracket)
457 * text3.C (checkInsetHit): constify
459 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
461 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
464 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
466 Fix toggling of collapsable insets with the mouse (bug 1558)
468 * lyxfunc.C (dispatch): adapt to LCursor changes
470 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
471 make sure that dispatch is not invoked twice
473 * cursor.C (needsUpdate): new method
474 (dispatch): return void
475 (result): new method, to access the DispatchResult of the cursor.
477 2004-08-13 José Matos <jamatos@lyx.org>
479 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
481 2004-08-13 André Pönitz <poenitz@gmx.net>
483 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
485 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
488 2004-08-12 André Pönitz <poenitz@gmx.net>
490 * text3.C: take out the 'cursor right' form insertInset and only
491 do it in those places when it is really needed. Fixes crash on
494 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
496 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
498 * BufferView_pimpl.C (setBuffer): initialize the current font of
499 the underlying LyXText
501 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
503 * kbsequence.C (print): use UI native formatting for menu
506 * text.C (insertChar): call Paragraph::insertChar with a font
509 * paragraph.C (insertInset, insertChar): the version that takes a
510 LyXFont argument is now a wrapper around the other one (the
511 opposite used to be true).
513 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
514 argument. Font setting is done in Paragraph now.
516 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
518 * outputparams.h: add new members intitle and lang.
520 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
521 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
523 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
525 * text3.C (dispatch): remove special handling of button 4 and 5,
526 it is now taken care of in the frontend code.
528 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
530 * Spacing.h: add <string> (STLPort compile fix)
532 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
534 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
536 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
538 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
541 * converter.C (showMessage): inherit from unary_function, make
544 * buffer.C (writeFile): initialize retval
546 * InsetList.h: rename private variable list to list_
547 * InsetList.[Ch]: adjust accordingly.
549 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
551 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
552 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
553 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
554 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
555 * ParagraphParameters.C, LaTeXFeatures.C: replace
556 "support/std_sstream.h" with <sstream>
558 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
560 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
561 * lyxsocket.C (LyXServerSocket): ditto
562 (serverCallback): ditto
564 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
566 * LaTeXFeatures.C: check release date when loading jurabib.
568 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
570 * lyxserver.C (startPipe): call register_socket_callback
571 (endPipe): call unregister_socket_callback
573 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
575 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
576 (LyXServerSocket): register the callback
577 (LyXServerSocket): unregister the callback
578 (fd): delete function
579 (serverCallback): improve error checking and setup the callbacks.
580 (dataCallback): change arg to fd.
581 (writeln): new func (copied fro the client socket) used for server
583 (LyXDataSocket): simplify
584 (~LyXDataSocket): close ann unregiser callback
585 (server): delete function
586 (fd): delete function
587 (readln): small changes, improve some std::string usage
588 (writeln): constify a bit
590 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
592 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
595 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
597 * BufferView_pimpl.C (setBuffer): set the layout combox value only
598 after it has been populated
600 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
602 * text2.C (insertInset): move cursor when inserting inset.
604 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
606 * kbmap.C (findbindings): a couple of new methods. returns a
607 container of kb_sequence objects. The real work is done by the
608 private recursive version
609 (printbindings): uses findbindings to print out a bracketed list
610 of bindings (renamed from findbinding).
612 * MenuBackend.C (binding): use kb_keymap::findbindings
614 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
616 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
618 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
620 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
622 * paragraph.C (isWord): return true on insets that report
625 * text.C (getWord): use Paragraph::isWord to decide what is in a
626 word and what is not; fix bug 1609.
628 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
630 * tex-strings.C: add "none" to string_paperpackages[], fixes
631 off-by-one-error in the paperpackage selection.
634 * tex-strings.[Ch]: char const * string[n]
635 -> char const * const string[]
637 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
639 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
640 command, return early.
642 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
644 * debug.h: add DEBUG to enum and fix size of ANY.
646 * debug.C: add support for Debug::DEBUG
647 (showTags): cast errorTags.level to unsigned int
649 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
650 (redoCurrentBuffer): ditto
651 (updateScrollbar): ditto
652 * cursor.C (dispatch): ditto
653 * text2.C (setLayout): ditto
655 (updateCounters): ditto
657 (deleteEmptyParagraphMechanism): ditto
659 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
661 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
662 annotations to cleanup the Makefile slightly.
664 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
666 * lyxrc.C: do not set user_email to a default value but use empty
667 instead. The entry used to be translated, which does not work
668 since at the point where lyxrc is constructed there is no
669 translation service available
671 * messages.C (getLocaleDir): remove and use directly
672 lyx_localedir() instead
674 2004-06-02 Angus Leeming <leeming@lyx.org>
676 Fix crash caused by dereferencing null pointer 'exportdata' in
677 OutputParams by creating a new ExportData variable on the heap,
678 storing it in a boost::shared_ptr.
679 The crash was triggered when generating an Instant Preview
680 of an external inset.
682 * Makefile.am: add outputparams.C
684 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
685 (c-tor): allocate memory to it.
687 * exporter.C (c-tor): associated changes.
689 2004-06-01 Angus Leeming <leeming@lyx.org>
691 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
692 contains data before calling isInset(0). (Bug 1513.)
694 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
696 * exporter.C (checkOverwrite): new method
697 * exporter.C (copyFile): new method
698 * exporter.C (Export): copy referenced files to the document dir
699 * exporter.[Ch]: new class ExportedFile
700 * exporter.[Ch]: new class ExportData. Contains currently the
701 names of referenced external files
702 * outputparams.h: add exportdata member.
704 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
706 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
709 2004-05-19 Angus Leeming <leeming@lyx.org>
714 * lyxfunc.C: small changes due to the introduction of namespace
715 lyx::frontend and the moving of namespace biblio to lyx::biblio.
717 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
719 * text3.C (dispatch): supress update when only moving the cursor
720 * cursor.C (selHandle): remove commented code
722 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
724 * paragraph.C (startTeXParParams): correct column count
725 * CutAndPaste.C (pasteSelection): remove const_cast
726 * output_docbook.C (docbookParagraphs): remove const_cast
727 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
728 const_cast and return ParagraphList::const_iterator
729 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
730 * output_plaintext.C (writeFileAscii): remove const_cast
731 * paragraph.[Ch] (simpleTeXOnePar): make const
732 * paragraph_funcs.C (outerPar): use const iterators
733 * paragraph_pimpl.C (validate): use const iterators
734 * text.C (setHeightOfRow): use const iterators
736 2004-05-17 Angus Leeming <leeming@lyx.org>
739 * LyXAction.C (init): new LFUN_INSET_REFRESH.
741 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
742 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
743 if the citation engine has changed.
745 2004-05-14 José Matos <jamatos@lyx.org>
747 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
748 if the textclass does not provide it. Have it different for sgml and
750 support the language of document.
751 * output_docbook.C (docbookParagraphs):
752 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
753 first anchor as the id of the paragraph, remove special case code.
754 * sgml.C (escapeChar): escape only < & >.
756 2004-05-14 Angus Leeming <leeming@lyx.org>
758 * bufferparams.h: move biblio::CiteEngine enum here to minimize
759 dependencies on src/frontends/controllers/biblio.h. Define a
760 CiteEngine_enum wrapper class to enable the enum to be forward
763 2004-05-12 Angus Leeming <leeming@lyx.org>
765 * buffer.C: up LYX_FORMAT to 234.
766 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
767 use_numerical_citations with a single biblio::CiteEngine cite_engine
769 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
771 2004-05-13 José Matos <jamatos@lyx.org>
774 * converter.C (Converter, readFlags): add xml member.
775 * outputparams.h: add XML flavor.
776 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
778 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
780 * lyxfunc.C (dispatch):
781 (getStatus): fix handling of LFUN_SEQUENCE
783 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
785 * debug.C (showLevel): do not forget the end-of-line marker
787 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
789 * kbmap.C (read): do not stop parsing a bind file when an error
792 2004-04-29 Angus Leeming <leeming@lyx.org>
797 * text2.C: wrap a bunch of #warning statements
798 inside #ifdef WITH_WARNINGS blocks.
800 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
802 * buffer.C: increment format to 233.
804 2004-04-28 Angus Leeming <leeming@lyx.org>
806 * BufferView_pimpl.C:
809 s/updateToolbar()/updateToolbars()/
810 s/Toolbar.h/Toolbars.h/
812 2004-04-28 Angus Leeming <leeming@lyx.org>
814 * BufferView.[Ch] (c-tor):
815 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
816 No longer passes these data to the WorkArea generator.
818 2004-04-28 Angus Leeming <leeming@lyx.org>
820 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
822 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
824 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
826 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
828 * output_latex.C (TeXEnvironment): make sure that there is a line
829 break before \end{foo} for the last paragraph of a document
830 (TeXOnePar): if the paragraph is at the end of the document (or
831 inset) and the language has to be reset, then make sure that the
832 line break is _before_ the language command, not after (fixes bug
833 1225); also make sure that the language reset command is the first
834 thing after the paragraph (to ensure proper nesting of
835 environments and thus fix bug 1404)
837 2004-04-21 John Levon <levon@movementarian.org>
840 * ToolbarBackend.C: make "name" be a programmatic name
841 and a gui_name field.
843 * lyxfunc.C: display the minibuffer on M-x
845 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
847 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
850 2004-04-19 Angus Leeming <leeming@lyx.org>
852 * BufferView_pimpl.C (setBuffer): changed preview interface.
854 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
857 2004-04-19 John Levon <levon@movementarian.org>
859 * BufferView_pimpl.C:
860 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
862 2004-04-05 Angus Leeming <leeming@lyx.org>
864 * text.C (redoParagraphs): add call to updateCounters(), thereby
865 fixing the missing "Figure #:" label from the caption of a
868 2004-04-13 Angus Leeming <leeming@lyx.org>
870 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
871 cursor is clicked out of an inset.
873 2004-04-13 Angus Leeming <leeming@lyx.org>
875 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
876 than an InsetOld one.
878 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
880 * format.[Ch]: add editor to Format
881 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
882 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
884 2004-04-08 André Pönitz <poenitz@gmx.net>
886 * metricsinfo.h: remove PainterInfo::width member
888 2004-04-08 Angus Leeming <leeming@lyx.org>
890 * lyx_sty.C (boldsymbol_def): modify so that it outputs
891 "\providecommand" rather than "\newcommand", thereby preventing
892 clashes with packages that define "\boldsymbol" themselves.
895 2004-04-08 Angus Leeming <leeming@lyx.org>
897 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
898 thereby squashing an unnecessary warning.
900 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
902 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
905 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
907 * BufferView.C (setCursor): call redoParagraph (some insets could
909 (putSelectionAt): remove the 'double update' trick
911 * BufferView_pimpl.C (fitCursor): call refreshPar
912 (workAreaDispatch): remove an uneeded update call
913 (dispatch): remove some manual update calls
915 * cursor.[Ch]: remove cached_y_, updatePos
916 (selHandle): set noUpdate when appropriate
918 * lyxfunc.C (dispatch): track if we need an update
920 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
922 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
923 (paintSelection): cheap optimization, do not call cursorX when not
925 (paintPars): change signature
928 (paintTextInset): adjust
932 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
934 * lengthcommon.C: compilation fix: remove explicit array size from
935 unit_name[] and friends
937 2004-04-05 Angus Leeming <leeming@lyx.org>
939 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
941 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
942 present only for the preferences dialog.
943 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
945 2004-04-05 Angus Leeming <leeming@lyx.org>
947 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
948 to enable the frontends to export changes to lyxrc correctly.
950 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
952 2004-04-07 André Pönitz <poenitz@gmx.net>
954 * cursor.[Ch] (selClear, adjust): remove math
956 * cursor_slice.C: more agressive assert
959 * BufferView_pimpl.C: rework mouse event dispatch
966 2004-04-05 André Pönitz <poenitz@gmx.net>
968 * cursor.[Ch] (valign, halign...): remove unneeded functions
970 2004-04-05 Angus Leeming <leeming@lyx.org>
972 * lyxlength.[Ch] (unit_name et al.): const-correct.
974 2004-04-05 Angus Leeming <leeming@lyx.org>
976 * BufferView_pimpl.C:
985 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
987 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
989 * text3.C (getStatus): add LFUN_BEGINNINGBUF
991 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
993 * lyxfind.C: add a couple of inTexted() tests + other small fixes
994 * BufferView_pimpl.[Ch] (getStatus)
995 * BufferView.[Ch] (getStatus): add
996 * lyxfunc.C (getStatus): move lfuns handled in
997 BufferView::dispatch to te function above
998 * Cursor.C (setSelection): set selection() = true
1000 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1002 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1004 2004-03-31 Angus Leeming <leeming@lyx.org>
1006 * lyxfunc.C (dispatch): Fall through to the generic
1007 Dialogs::show("preamble").
1009 2004-03-31 Angus Leeming <leeming@lyx.org>
1011 * lyxfunc.C (dispatch): Fall through to the generic
1012 Dialogs::show("spellchecker").
1014 2004-03-31 Angus Leeming <leeming@lyx.org>
1016 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1019 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1024 * insetiterator.[Ch]:
1029 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1031 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1033 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1034 insets where we are putting the cursor.
1036 2004-03-31 Angus Leeming <leeming@lyx.org>
1039 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1041 * lyxrc.[Ch] (read, write): overloaded member functions taking
1042 a std::[io]stream arguments.
1044 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1046 2004-03-31 Angus Leeming <leeming@lyx.org>
1048 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1049 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1051 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1052 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1054 2004-03-31 Angus Leeming <leeming@lyx.org>
1056 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1057 the LFUN_ALL_INSETS_TOGGLE code.
1059 2004-03-30 Angus Leeming <leeming@lyx.org>
1061 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1062 has died. Fall through to the generic Dialogs::show("document").
1064 2004-03-30 Angus Leeming <leeming@lyx.org>
1067 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1068 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1070 * lyxfunc.C (getStatus, dispatch): define the actions for these
1071 lfuns. Little more than a cut and pste job from ControlDocument.C
1073 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1075 2004-03-30 Angus Leeming <leeming@lyx.org>
1078 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1079 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1081 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1082 open/closed state of ollapsable insets. Usage:
1084 all-inset-toggle <state> <name>, where
1085 <state> == "open" || "closed" || "toggle" and
1086 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1088 * lyxtext.h, text2.C (toggleInset): removed.
1090 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1091 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1092 now passes LFUN_INSET_TOGGLE to the found inset.
1094 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1095 is now invoked as "all-insets-toggle toggle branch".
1097 2004-03-30 Angus Leeming <leeming@lyx.org>
1101 * pariterator.[Ch]: added/corrected header blurb.
1103 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1105 * dociterator.[Ch]: add an inset_ member
1106 (backwardPos): implemented
1107 (backwardPos, forwardPos): use inset_ when the stack is empty.
1108 (doc_iterator_begin, doc_iterator_end): implemented
1109 * pariterator.[Ch]: adjust, add begin, end
1110 * insetiterator.[Ch]: adjust, add begin, end
1114 * BufferView_pimpl.C:
1115 * CutAndPaste.C: adjust
1117 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1119 * buffer.C: increment file format to 232.
1120 * LaTeXFeatures.C: add bibtopic package.
1121 * bufferparams.[Ch]: param \use_bibtopic.
1123 * lyxrc.[Ch]: add lyxrc bibtex_command
1124 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1126 * buffer.C: increment file format to 231.
1128 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1130 * dociterator.C: implement forwardPar
1131 * iterators.[Ch]: remove, replaced by
1132 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1134 * BufferView_pimpl.C:
1137 * bufferview_funcs.C:
1143 * Makefile.am: adjust
1145 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1147 * CutAndPaste.C (pasteSelection): fix 2 crashes
1148 (eraseSelection): fix a crash
1149 * paragraph_funcs.C: remove a warning
1151 2004-03-28 Angus Leeming <leeming@lyx.org>
1154 * LyXAction.C (init): new LFUN_PRINT.
1156 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1158 2004-03-27 Angus Leeming <leeming@lyx.org>
1161 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1163 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1165 2004-03-27 Angus Leeming <leeming@lyx.org>
1167 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1168 insetlist always contains non-null pointers to insets.
1170 2004-03-26 Angus Leeming <leeming@lyx.org>
1172 * src/BufferView_pimpl.C:
1173 * src/CutAndPaste.C:
1176 * src/output_plaintext.C:
1177 * src/outputparams.h:
1178 * src/paragraph_funcs.C:
1182 * src/frontends/controllers/ControlErrorList.C:
1183 * src/frontends/gtk/FileDialogPrivate.C:
1184 * src/frontends/gtk/GPainter.C:
1185 * src/frontends/gtk/GToolbar.C:
1186 * src/frontends/qt2/QRef.C:
1187 * src/mathed/math_scriptinset.C: squash compiler warnings.
1189 2004-03-26 Angus Leeming <leeming@lyx.org>
1191 * ispell.C (LaunchIspell::start):
1192 * lyx_cb.C (AutoSaveBuffer::start):
1193 invoke run(DontWait) rather than runNonBlocking().
1195 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1197 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1199 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1201 * kbsequence.C (print): adjust
1203 * kbmap.C (printKeySym): rename and change signature
1204 (printKey): use LyXKeySym::print()
1206 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1208 * undo.C: add using std::advance to compile for stlport
1210 2004-03-24 Angus Leeming <leeming@lyx.org>
1212 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1213 it leads to a crash when no buffer is present.
1215 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1216 Martin Vermeer <martin.vermeer@hut.fi>
1218 * lyxfunc.C (dispatch):
1219 * bufferparams.C (readToken): use the new LColor::setColor
1221 * LColor.[Ch] (setColor): new version that takes two strings as
1222 argument and creates a new color entry if necessary
1224 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1226 * buffer.C (makeLaTeXFile): if the main latex file that is
1227 processed is usually a subdocument of some master, then pretend
1228 for a while that it is actually the master
1230 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1232 * buffer.C (getLabelList):
1233 (getBibkeyList): use getMasterBuffer()
1234 (getMasterBuffer): new method. Returns the main document in the
1235 case where one is using included documents.
1237 2004-03-25 André Pönitz <poenitz@gmx.net>
1241 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1243 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1245 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1246 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1248 * ParameterStruct.h: merge with ParagraphParameters
1250 * lyxtext.h: remove LyXText::parOffset() and getPar()
1252 * text3.C: Remove all 'manual' update calls. We do now one per user
1253 interaction which is completely sufficient.
1257 * BufferView_pimpl.C:
1258 * FontIterator.[Ch]:
1260 * ParagraphParameters.[Ch]:
1265 * cursor_slice.[Ch]:
1272 * output_docbook.[Ch]:
1273 * output_latex.[Ch]:
1274 * output_linuxdoc.[Ch]:
1275 * output_plaintext.[Ch]:
1277 * paragraph_funcs.[Ch]:
1278 * paragraph_pimpl.[Ch]:
1286 * frontends/controllers/ControlDocument.C:
1287 * frontends/controllers/ControlErrorList.C:
1288 * frontends/controllers/ControlSpellchecker.C:
1291 * insets/insetbase.h:
1292 * insets/insetbibitem.C:
1293 * insets/insetbox.C:
1294 * insets/insetbranch.C:
1295 * insets/insetcaption.C:
1296 * insets/insetcharstyle.C:
1297 * insets/insetcharstyle.h:
1298 * insets/insetcollapsable.C:
1299 * insets/insetcollapsable.h:
1300 * insets/insetert.C:
1301 * insets/insetfloat.C:
1302 * insets/insetfoot.C:
1303 * insets/insetmarginal.C:
1304 * insets/insetnote.C:
1305 * insets/insetoptarg.C:
1306 * insets/insettabular.C:
1307 * insets/insettext.C:
1308 * insets/insettext.h:
1309 * insets/insetwrap.C:
1310 * mathed/math_mboxinset.C:
1311 * mathed/math_nestinset.C:
1312 * mathed/math_scriptinset.C:
1313 * mathed/math_scriptinset.h:
1316 2004-03-24 Angus Leeming <leeming@lyx.org>
1318 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1319 deal with any child processes that have finished but are waiting to
1320 communicate this fact to the rest of LyX.
1322 2004-03-24 Angus Leeming <leeming@lyx.org>
1324 64-bit compile fixes.
1326 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1327 (c-tor): pass lyx::pos_types rather than ints.
1329 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1332 * text.C (Delete): compile fix.
1333 (getPar): ensure that function declaration is the same as that in
1336 2004-03-23 Angus Leeming <leeming@lyx.org>
1338 * ispell.C (LaunchIspell):
1339 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1340 a boost::shred_ptr rather than a std::auto_ptr.
1342 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1344 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1345 handle LFUN_FILE_INSERT_*
1347 * lyxrc.C (setDefaults, getDescription, output, read):
1348 * lyxrc.h: remove ps_command
1350 2004-03-22 Angus Leeming <leeming@lyx.org>
1352 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1353 Ensure that error_handler is processed once only and that all data
1354 is saved before attempting to output any warning messages.
1356 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1358 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1360 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1362 2004-03-19 André Pönitz <poenitz@gmx.net>
1364 * cursor.[Ch] (reset): take main text inset as argument
1366 * BufferView: adjust
1367 * BufferView_pimpl.C: adjust
1369 * paragraph.[Ch]: fix completely broken operator=()
1371 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1373 * LColor.C (getFromLyXName): make sure that the color name is used
1376 2004-03-17 Angus Leeming <leeming@lyx.org>
1379 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1381 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1382 dialog and to kill a forked process.
1384 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1386 * text2.C (setCursorFromCoordinates): fix font problem
1388 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1390 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1391 bogus "rebuild cursor" code
1393 2004-03-11 André Pönitz <poenitz@gmx.net>
1395 * buffer.[Ch]: use InsetText instead of LyXText as container for
1398 * dociterator.[Ch]: drop the BufferView * member which is not needed
1399 anymore after the change to buffer.C
1401 * paragraph_funcs.C:
1405 * BufferView_pimpl.[Ch]:
1407 * cursor_slice.[Ch]: adjust
1409 * text3.C: fix bug in mathDispatch
1411 2004-03-08 André Pönitz <poenitz@gmx.net>
1413 * undo.[Ch]: use 'StableDocumentIterator' as base for
1416 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1419 * bufferparams.[Ch]: add jurabib support and param.
1421 * LaTeX.C: add FIXME/comment.
1423 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1425 * buffer.C: increment file format to 230.
1427 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1429 * cursor.C (dispatch): avoid infinite loops
1431 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1433 * rowpainter.C (paintSelection): fix x coordinates
1435 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1437 * text.C (rowBreakPoint): fix breaking before displayed insets
1439 2004-03-01 André Pönitz <poenitz@gmx.net>
1441 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1443 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1447 * BufferView_pimpl.C:
1455 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1461 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1462 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1464 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1466 * Bidi.[Ch] (computeTables): const correctness
1467 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1468 fill_hfill, fill_label_hfill and x from Row
1469 * lyxtext.h: prepareToPrint returns a RowMetrics
1470 * rowPainter.C: adjust
1471 * text.C (prepareToPrint): use width, not textWidth. adjust
1472 (redoParagraphInternal, cursorX): adjust
1473 * text2.C (getColumnNearX): adjust
1474 (init): put a default value to the top LyXText::width
1476 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1478 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1480 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1482 * lyxtext.h: add FontIterator class
1484 * text.C (FontIterator, operator*, operator->, operator++): add
1485 (rowBreakPoint, setRowWidth): adjust (fixing a
1488 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1490 * BufferView_pimpl.C (workAreaDispatch): allow also
1491 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1493 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1495 * text.C (rowBreakPoint): fix a bug showing with very large insets
1497 2004-02-25 André Pönitz <poenitz@gmx.net>
1500 * cursor.[Ch]: move some mathed specific code to mathed
1502 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1504 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1505 use_tempdir in preferences
1506 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1508 * lyx_main.C: ensure that tempdir is valid
1509 * lyxlex.h: correct typo
1510 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1511 * paragraph.[Ch] (isMultiLingual): make const
1512 * cursor.[Ch] (openable): make const
1514 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1516 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1518 2004-02-20 André Pönitz <poenitz@gmx.net>
1520 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1522 * cursor.[Ch]: prepare for localized getStatus()
1528 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1530 2004-02-20 André Pönitz <poenitz@gmx.net>
1532 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1534 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1536 * text2.C (setCursorFromCoordinates): switch to absolute coords
1538 (cursorDown): adjust
1539 * text3.C (dispatch): adjust
1541 2004-02-16 André Pönitz <poenitz@gmx.net>
1543 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1546 * cursor_slice.[Ch]: remove unneeded acessor function
1548 * lyxtext.h: rename rtl() to isRTL()
1556 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1558 * rowpainter.C (paintSelection): coord fix
1560 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1562 * Spacing.C: compile fix
1564 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1566 * cursor.C (dispatch): restore current_ before returning
1568 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1570 * text2.C (cursorUp, cursorDown): fix coords
1573 2004-02-12 André Pönitz <poenitz@gmx.net>
1578 * text3.C: add LCursor & parameter to most cursor movement functions
1579 remove usage of LyXText::cursorRow() and cursorPar()
1581 * cursor.[Ch]: add textRow() needed members
1584 * BufferView_pimpl.C:
1587 * BufferView_pimpl.C: adjust
1589 2004-02-11 André Pönitz <poenitz@gmx.net>
1593 * BufferView_pimpl.C: shift undo/redo handling
1595 * cursor.[Ch]: fix mathed crash
1598 * lyxtext.h: move selectionAsText to LCursor
1606 * rowpainter.C: fix excessive drawing
1608 2004-02-06 André Pönitz <poenitz@gmx.net>
1611 * BufferView_pimpl.[Ch]:
1612 * text3.C: move some text specific LFUN handling
1614 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1616 * text3.C (checkInsetHit): adjust coords
1617 * text2.C (getColumnNearX): adjust coords
1618 (edit): adjust coords
1619 * text.C (getRowNearY): add two asserts
1621 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1624 * format.C: add using std::distance to compile on gcc 2.95/stlport
1626 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1628 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1630 2004-02-04 André Pönitz <poenitz@gmx.net>
1632 * BufferView.[Ch] (insertInset):
1633 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1638 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1640 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1641 on the default clause of the switch
1642 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1643 wasn't catched by LCursor::dispatch
1645 2004-02-03 André Pönitz <poenitz@gmx.net>
1648 * cursor.[Ch]: some additional asserts
1650 * undo.[Ch]: remove LyXText dependency in interface
1654 * lyxtext.h (firstPar, lastPar): remove dead functions
1659 * paragraph.[Ch]: adjust
1661 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1663 * lyxfind.C (find): fix argument order in call to ::find
1665 2004-02-02 André Pönitz <poenitz@gmx.net>
1667 * cursor.[Ch]: remove direct access to anchor
1669 * text.C: remove findText() hack
1671 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1673 * iterators.[Ch] (lockPath): remove in favour of...
1674 * BufferView.[Ch] (setCursor): this addition
1675 * BufferView.C (putSelectionAt): adjust
1676 * undo.C (performUndoOrRedo): adjust
1677 * lyxfunc.C (dispatch): adjust
1679 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1681 * iterators.C (lockPath): add a missing slice
1682 * undo.C (performUndoOrRedo): remove redundant positioning code
1684 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1686 * vc-backend.C (scanMaster): ";" -> ';'
1688 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1690 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1691 std::binary_function
1693 * lyxtextclass.C (compare_name): rename to...
1694 (LayoutNamesEqual): ...this
1696 * lyxlex_pimpl.C (compare_tags): inherit from
1697 std::binary_function, put back into anon namespace
1699 * lyxfind.C (MatchString): inherig from std::binary_function
1700 (findChange): use empty() istead of !size()
1702 * format.C (FormatNamesEqual): new functor
1709 * converter.C (compare_Converter): rename to...
1710 (ConverterEqual): ...this, and fixup a bit.
1711 (getConverter): use it, and make function const
1712 (getNumber): use it, and make function const
1716 * bufferlist.C: add using boost::bind
1718 * MenuBackend.C (MenuNamesEqual): new functor
1719 (hasMenu): use it, and make function const
1720 (hasSubmenu): use nested bind to get rid of compare_memfun.
1722 2004-01-30 André Pönitz <poenitz@gmx.net>
1724 * BufferView_pimpl.C:
1727 * cursor_slice.[Ch]:
1730 * paragraph_funcs.C:
1731 * paragraph_funcs.h:
1735 * text3.C: move some of the edit(x,y) handling to the insets
1736 some coordinate changes.
1738 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1740 * text.C: add using statements for std::advance and std::distance
1742 * paragraph.C: add using statement for std::distance
1744 * lyxfind.C: add using statement for std::advance
1746 * cursor.C (region): remove std:: from swap
1747 (openable): use nucleus in stead of operator->
1749 * BufferView.C: add using statements for std::distance and std::swap
1751 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1753 * iterators.C: Remove the pimple, move the needed structures to
1754 the header file. Create accessor for the positions stack.
1755 (asPosIterator): remove function
1757 * PosIterator.C (PosIterator): move constructors to top of file
1758 (PosIterator): reimplement the constructor taking a ParIterator in
1760 (setFrom): new function
1761 (operator!=): inline it
1763 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1765 * lyxfind.C (replaceAll): use std::advance
1767 * iterators.h: inherit from std::iterator.
1769 * PosIterator.C (advance, distance): remove
1770 * PosIterator.h: interit from std::iterator.
1772 2004-01-26 André Pönitz <poenitz@gmx.net>
1775 * BufferView_pimpl.[Ch]:
1779 * bufferview_funcs.C:
1789 * output_linuxdoc.C:
1790 * output_plaintext.C:
1792 * paragraph_funcs.[Ch]:
1793 * paragraph_pimpl.[Ch]:
1799 * text3.C: more IU: dumps most of the rest of the mathcursor
1800 implementation into cursor.[Ch]; "globalize" a bit of it.
1802 2004-01-25 Angus Leeming <leeming@lyx.org>
1804 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1806 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1808 * LaTeXFeatures.h: add nice_ and nice() const
1809 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1811 2004-01-20 André Pönitz <poenitz@gmx.net>
1814 * BufferView_pimpl.C:
1816 * bufferview_funcs.C:
1818 * cursor_slice.[Ch]:
1829 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1830 LCursor and mathcursor parts to LCursor and InsetBase.
1832 2004-01-15 André Pönitz <poenitz@gmx.net>
1834 * cursor_slice.[Ch]: add a few covienience functions
1836 * funcrequest.[Ch]: remove BufferView * member
1838 * BufferView_pimpl.C:
1845 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1847 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1849 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1850 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1852 2004-01-13 André Pönitz <poenitz@gmx.net>
1855 * lyxtext.h: hide cursor and selection anchor behind accessor function
1858 * BufferView_pimpl.[Ch]:
1860 * bufferview_funcs.C:
1870 * cursor_slice.[Ch]: some integer type changes for inset unification
1872 * lyxcursor.[hC]: remove, it's CursorSlice now.
1875 * BufferView_pimpl.[Ch]:
1876 * bufferview_funcs.C:
1882 * textcursor.[Ch]: adjust
1884 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1886 * text2.C (undoSpan): add and use
1887 * text.C (breakParagraph): use undoSpan (fix bug 578)
1890 2004-01-08 Angus Leeming <leeming@lyx.org>
1892 * BufferView_pimpl.C (MenuInsertLyXFile):
1893 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1894 * lyxfunc.C (menuNew, open, doImport):
1895 FileFilterList change to the FileDialog open and save functions.
1897 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1899 * ShareContainer.h: make isEqual and isUnique adaptable
1901 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1903 2004-01-07 Angus Leeming <leeming@lyx.org>
1906 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1908 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1910 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1911 functions replacing find, replace and replaceAll.
1913 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1914 LFUN_WORDFIND(FORWARD|BACKWARD).
1916 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1918 * text.C (breakParagraph): remove an outdated #warning
1920 2004-01-07 André Pönitz <poenitz@gmx.net>
1922 * lyxfind.C: somewhat clearer logic
1924 * text.C: prevent crash in cursorX on unitialized row cache
1926 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1928 * lyxcursor.[Ch] (operator>): add
1929 * textcursor.C (selStart, selEnd): use std::min and std::max
1931 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1933 * Chktex.C: include boost/format.hpp
1935 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1937 * InsetList.C: replace functor MathcIt with adaptable functor
1939 (insetIterator): modify accordingly
1941 * BranchList.h: move the BranchNamesEqual functor here from...
1942 * BranchList.C: ... to here
1944 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1946 (add): replace a finding loop with std::find_if.
1948 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1950 * output_docbook.C: moving LatexParam functionality into
1953 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1955 * buffer.C: increment format to 229.
1957 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1960 * lyx_sty.[Ch]: remove minipageindent_def
1966 * text3.C: remove LFUN_INSET_MINIPAGE
1968 2003-12-28 Angus Leeming <leeming@lyx.org>
1970 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1972 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1974 * text2.C (setParagraph): fix off-by-one crash
1976 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1978 * output_docbook.C: header stuff for AGU
1980 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1982 * text2.C (redoCursor): remove
1985 * BufferView_pimpl.C: remove calls to redoCursor and
1986 setCursor(cursor.par(), cursor.pos()) all around
1988 2003-12-15 Angus Leeming <leeming@lyx.org>
1990 * buffer.C: up the format to 228.
1992 2003-12-15 André Pönitz <poenitz@gmx.net>
1994 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1999 * BufferView_pimpl.C:
2008 2003-12-15 Angus Leeming <leeming@lyx.org>
2010 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2011 than getFromGUIName to manipulate the color.
2013 2003-12-14 Angus Leeming <leeming@lyx.org>
2015 * BranchList.[Ch]: minimize the API.
2016 (Branch::getBranch, getColor): now return a 'const &'.
2017 (Branch::setSelected) now returns a bool set to true if the
2018 selection status changes.
2019 (BranchList::clear, size, getColor, setColor, setSelected,
2020 allBranches, allSelected, separator): removed.
2021 (BranchList::find): new functions, returning the Branch with
2023 (BranchList::add, remove): return a bool indicating that
2024 the operation was successful.
2026 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2027 new InsetBranch::isBranchSlected member function.
2029 * LColor.[Ch]: mimimize the API.
2030 (fill): renamed as addColor and made private.
2031 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2032 versions of these functions taking a string arg have been removed.
2034 * bufferparams.C (readToken):
2035 * lyxfunc.C (dispatch):
2036 * lyxrc.C (read): changes due to the altered BranchList and
2039 * factory.C (createInset, readInset): changes due to altered
2042 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2045 * lyxfunc.C: remove insetminipage. "minipage-insert"
2046 now produces a frameless minipage box inset.
2048 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2050 * textcursor.[Ch] (selStart,selEnd): add new methods
2051 remove selection::start, end, use LyXCursor::operator<
2052 * lyxcursor.[Ch] (operator<): add
2053 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2054 * BufferView.[Ch] (unsetXSel): add
2055 * text2.C (clearSelection): use unsetXSel,adjust
2058 * rowpainter.C: adjust
2059 * bufferview_funcs.C (put_selection_at): adjust
2061 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2063 * BufferView_pimpl.C: small coord. correction
2065 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2067 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2068 dragging over the splash screen.
2070 2003-12-11 Angus Leeming <leeming@lyx.org>
2072 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2073 as it is now handled in LyXText::dispatch.
2075 * text3.C (doInsertInset): remove a level of nesting.
2077 2003-12-11 Angus Leeming <leeming@lyx.org>
2079 * factory.C (createInset): changes due to the changed interface to
2080 InsetCommandMailer::string2params.
2082 2003-12-10 Angus Leeming <leeming@lyx.org>
2084 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2085 'dialog-show-new-inset <inset name>'
2087 2003-12-10 Angus Leeming <leeming@lyx.org>
2089 * buffer.C: up the format to 227.
2091 * factory.C: the box inset is now identified simply by 'Box'.
2093 2003-12-10 Angus Leeming <leeming@lyx.org>
2095 * buffer.C: up the format to 226.
2097 * factory.C: the note inset is now identified simply by 'Note'.
2099 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2101 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2102 when a pit is enough. Standarize a couple of loops.
2104 2003-12-05 Angus Leeming <leeming@lyx.org>
2106 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2107 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2108 data to the re-worked "log" dialog.
2110 2003-12-03 André Pönitz <poenitz@gmx.net>
2116 * paragraph_funcs.C:
2118 * text2.C: use Inset::getText instead of Inset::getParagraph
2120 2003-12-03 André Pönitz <poenitz@gmx.net>
2124 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2125 InsetText::read() as LyXText::read()
2127 2003-12-02 Angus Leeming <leeming@lyx.org>
2129 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2130 type. Add a comment in the implementation that the function uses
2131 the stream's bad() function rather than fail() as the std::streams
2134 2003-12-02 André Pönitz <poenitz@gmx.net>
2136 * lyxlex.[Ch]: make interface more similar to std::stream
2138 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2140 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2142 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2144 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2146 * vspace.[Ch]: remove VSpace::NONE
2148 2003-12-01 André Pönitz <poenitz@gmx.net>
2151 * lyxtext.h: move ParagraphList member to LyXText
2152 rename LyXText::ownerParagraphs to LyXText::paragraph
2155 * bufferview_funcs.C:
2165 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2167 * undo.C: fix cursor positioning
2169 2003-12-01 John Levon <levon@movementarian.org>
2171 * BufferView_pimpl.C: fix a crash on exit with
2174 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2176 * BranchList.C: fix setSelected() method.
2178 2003-11-28 André Pönitz <poenitz@gmx.net>
2180 * ParagraphParameters.[Ch]:
2181 * ParameterStruct.h: remove space above/below from Paragraph to
2184 * BufferView_pimpl.C:
2190 * paragraph_funcs.C:
2196 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2198 * factory.C: Syntax change for CharStyles
2200 2003-11-28 André Pönitz <poenitz@gmx.net>
2205 * buffer.[Ch]: move LyXText member
2207 2003-11-28 André Pönitz <poenitz@gmx.net>
2209 * BufferView.[Ch]: make LyXText * text a private member
2211 * BufferView_pimpl.C:
2222 * output_plaintext.C: cleanup
2224 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2227 * lyxtextclass.[Ch]: parametrize SGML document header
2229 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2232 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2235 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2237 * text2.C (setFont): rework using PosIterator (no more recursive)
2238 (setCharFont): no more needed
2239 (setLayout): no more selection cursors fiddling (done by redoCursor)
2240 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2241 destroy remaining ones)
2243 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2245 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2247 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2250 * text3.C: adjust + re-allow multi par depth changes
2251 * textcursor.C: simplify a bit
2253 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2259 * src/output_docbook.C:
2260 * src/output_latex.C:
2265 * src/text2.C: Introducing a number of tags parametrizing various
2266 XML formats that we may want to support
2268 2003-11-25 André Pönitz <poenitz@gmx.net>
2270 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2272 * lyxtext.h (leftMargin/rightMargin): simplify interface
2279 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2281 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2282 master file to any child files. Fixes bug 546.
2284 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2286 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2288 2003-11-24 André Pönitz <poenitz@gmx.net>
2290 * rowpainter.C: simplification
2292 * text2.C (updateCounters): remove call to redoParagraph on
2293 changed labels as this is far too expensive.
2295 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2297 * converter.C (convert): fix a crash: this function gets
2298 called with buffer == 0 from importer code.
2300 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2302 * text3.C (cursorPrevious): make sure that we do not compare
2303 iterators form different containers.
2306 * rowpainter.C (paintSelection): make sure that we do not compare
2307 iterators from different containers.
2309 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2310 iterators from different ParagraphList containers.
2313 * text2.C (LyXText): change order of initialization slightly
2314 (operator=): new function. copy all variables except cache_par_
2315 (moveUp): make sure that we do not compare iterators from
2316 different ParagraphList constainers.
2319 * text.C (firstPar): new function
2320 (lastPar): new function
2321 (endPar): new function
2323 * lyxtext.h: move things around and group public functions, public
2324 variables, private functions, private variables
2326 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2328 * factory.C: change call to InsetERT constructor to avoid
2329 additional invocation of method status
2330 * text2.C (toggleInset): remove redundant update() call
2331 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2332 instead of a Bufferview pointer
2334 2003-11-21 André Pönitz <poenitz@gmx.net>
2336 * rowpainter.C: simplification
2338 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2340 * text3.C (dispatch): make possible to extend a word/row selection
2343 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2345 * lyxtext.h: x0_,y0_ -> xo_,yo_
2346 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2347 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2348 * rowpainter.C (paintRows): paint full paragraphs
2350 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2352 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2355 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2357 * lyxtext.h: add x0_, y0_
2358 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2359 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2361 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2363 * text2.C (setCursorIntern): move the x_target update here *
2364 * text3.C: change some bv() to true/false in calls to
2365 cursorUp/Down/Right/Left
2366 * cursor.C: use helper function.
2368 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2370 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2371 * paragraph_funcs.[Ch]: correct comment
2372 * rowpainter.C: do not paint selections away from bv->cursor()
2373 Fix a long standing selection painting bug.
2374 * text3.C: generalize mouse-selection code to LyXTexts other that
2376 * textcursor.C: do not use y coords if we can use par offsets
2378 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2380 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2381 cursor position after e.g. inset insert)
2383 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2385 * lyxfind.C (replace): adjust to locking removal + some
2388 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2390 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2393 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2396 * output_docbook.C: XML sanitation: new layout
2397 parameters InnerTag and CommandDepth
2399 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2401 * BufferView_pimpl.C:
2403 * text3.C: Fix the insertion and modification of button-style
2406 2003-11-13 André Pönitz <poenitz@gmx.net>
2408 * InsetList.[Ch]: remove deleteLyXText
2410 * paragraph.[Ch]: cache beginOfBody position
2415 * text3.C: remove superfluous update() calls
2419 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2421 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2422 * BufferView.C (fitLockedInsetCursor): remove
2423 * cursor.[Ch] (getDim): add
2424 * text.C (getRowNearY): add faster version
2425 * text3.C: remove some update calls
2427 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2439 * text3.C: The Character Style /XML short element patch.
2441 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2444 * factory.C: Small step to solving 'unable to insert some insets'
2447 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2449 * cursor.[Ch] (updatePos): new function for updating the y
2450 position of the tip inset
2451 * bufferview_funcs.C (put_selection_at):
2452 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2454 2003-11-11 André Pönitz <poenitz@gmx.net>
2456 * text.C: remove big comment on invalid Paragraph pointers as it is
2459 2003-11-11 André Pönitz <poenitz@gmx.net>
2461 * text_funcs.[Ch]: merge with ...
2469 * Makefile.am: remove text_funcs.[Ch]
2471 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2473 * cursor.C (getPos): return absolute cached y coord
2475 * BufferView_pimpl.C (fitCursor): new simplistic code
2476 (workAreaDispatch): add a fitCursor call
2478 2003-11-10 André Pönitz <poenitz@gmx.net>
2481 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2483 2003-11-10 André Pönitz <poenitz@gmx.net>
2485 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2486 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2487 indicate that the cursor needs to leave an inset
2489 * lyxtext.h: remove inset locking
2491 * cursor.[Ch]: re-implement functionality provided by inset locking
2494 * BufferView_pimpl.[Ch]:
2496 * bufferview_funcs.[Ch]:
2508 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2510 * PosIterator.[Ch]: replace the stack with a vector, add inset
2512 * iterators.[C]: adjust
2514 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2516 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2518 * paragraph_funcs.C (readParToken): put the correct id in the
2519 error item, not the id of the top paragraph
2521 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2523 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2524 * bufferview_funcs.C (put_selection_at): use the above
2526 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2528 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2530 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2532 * output_linuxdoc.h:
2533 * output_plaintext.h:
2535 * output_docbook.h: add #include statements
2537 2003-11-05 José Matos <jamatos@lyx.org>
2539 * output_docbook.[Ch]:
2540 * output_latex.[Ch]:
2541 * output_linuxdoc.[Ch]:
2542 * output_plaintext.[Ch]: New files for output formats.
2543 * output.[Ch]: New file for helper functions.
2546 * paragraph_funcs.[Ch]: output functions moved to new files.
2548 * outputparams.h: rename of latexrunparams.h
2556 * paragraph_funcs.[Ch]:
2557 * paragraph_pimpl.[Ch]:
2558 * tabular.[Ch]: rename ascii to plaintext
2559 and LatexRunParams to OutputParams.
2561 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2563 * iterators.[Ch] (text): require bv argument
2564 * undo.C (recordUndo):
2565 * lyxfunc.C (dispatch):
2566 * bufferview_funcs.C (put_selection_at): adjust
2568 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2570 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2572 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2574 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2577 2003-11-04 André Pönitz <poenitz@gmx.net>
2579 * cursor.[Ch]: restructure
2582 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2584 * iterators.[Ch] (asCursor): remove
2586 * lfuns.h: remove LFUN_INSET_EDIT
2592 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2594 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2596 * lyxfind.[Ch]: complete overhaul
2597 * BufferView_pimpl.C:
2599 * paragraph.[Ch] (insert): add
2601 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2605 * text.C: remove dead spellcheck code
2607 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2609 * dispatchresult.h: add a val setter
2611 * cursor.C (dispatch): use a tempvar for data_[i]
2613 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2615 * PosIterator.[Ch]: compile fix
2617 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2619 * text.C (cursorPar): deactivate the cursor cache
2621 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2623 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2625 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2627 * text3.C (dispatch): adjust for new DisptchResult semantics.
2629 * lyxfunc.C (dispatch): handle update when return from
2630 Cursor::dispatch, adjust for new DispatchResult semantics.
2632 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2633 DispatchResult(true) mean to not update. Add class functions for
2634 setting dispatched and update, as well as reading.
2636 * cursor.C (dispatch): don't handle update here
2638 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2640 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2641 * trans_mgr.C: adjust
2643 * paragraph_funcs.C (readParToken): exception safety
2645 * lyxvc.h: store the vcs pointer in a scoped_ptr
2648 * lyxsocket.C (serverCallback): exception safety
2650 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2652 * ispell.C (clone): make it return a auto_ptr
2654 * factory.C (createInset): exception safety
2655 (readInset): exception safety
2657 * bufferlist.C (newBuffer): exception safety
2659 * Thesaurus.C (Thesaurus): use initialization for aik_
2661 * MenuBackend.C (expandToc): exception safety.
2663 2003-11-03 André Pönitz <poenitz@gmx.net>
2667 * bufferview_funcs.C: remove getInsetFromId()
2670 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2676 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2678 * PosIterator.C (distance, advance): new
2679 * bufferview_funcs.[Ch] (put_selection_at): new
2680 * iterators.[Ch] (lockPath): new
2682 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2684 * iterators.[Ch] (asPosIterator): added
2685 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2686 * PosIterator.[Ch]: added
2688 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2692 * cursor.C (dispatch):
2693 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2695 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2696 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2697 contructor, add a class function dispatched. Remove operator>=
2699 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2701 * debug.C: only use the default constructor for debugstream
2704 * main.C (main): include debug.h and setup the lyxerr streambuf
2707 2003-10-31 José Matos <jamatos@lyx.org>
2709 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2711 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2712 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2713 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2714 * paragraph_pimpl.C (simpleTeXSpecialC):
2715 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2716 add LatexRunParams argument.
2718 * exporter.C (Export): change call accordingly.
2720 * latexrunparams.h: add new member to take care of the other backends.
2721 2003-10-30 José Matos <jamatos@lyx.org>
2723 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2724 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2725 factorise code for paragraph output.
2727 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2730 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2732 * text3.C (dispatch):
2733 * lyxfunc.C (dispatch):
2734 * cursor.C (dispatch):
2735 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2737 * dispatchresult.h: make the dispatch_result_t ctor explicit
2739 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2742 * buffer.C: small refactoring of docbook stuff
2744 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2746 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2749 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2751 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2752 operator dispatch_result_t, and operators for == != and >=
2754 * cursor.C (dispatch): adjust for operator dispatch_result_t
2755 removal. comment out call to update
2757 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2759 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2767 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2770 * dispatchresult.h: new file, DispatchResult broken out of
2773 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2775 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2777 * text.C (rowBreakPoint): put a hack inside #if 0
2779 2003-10-28 André Pönitz <poenitz@gmx.net>
2783 * paragraph_funcs.C:
2786 * text2.C: general cleanup (lots of small stuff)
2788 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2790 * text2.C (cursorEnd): simple fix to the "end key goes to one
2791 before the end on last row" bug
2793 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2795 * text.C (backspace): fix the "zombie characters"
2797 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2799 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2801 2003-10-27 André Pönitz <poenitz@gmx.net>
2803 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2805 * factory.C: handle new InsetPagebreak, InsetLine
2807 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2808 and move handling into new InsetPagebreak, InsetLine
2810 * BufferView_pimpl.C:
2812 * ParagraphParameters.C:
2813 * ParameterStruct.h:
2818 * paragraph_funcs.C:
2819 * paragraph_pimpl.C:
2825 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2828 * lyxrow_funcs.[Ch]:
2834 * text3.C: remove lastPos uses in favour of Row::endpos
2836 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2838 * undo.C (performUndoOrRedo): fix two crashes by setting a
2839 cursor by hand and reordering some calls. Use bv->lockInset instead
2840 of inset->edit because the latter loses cursor information
2842 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2844 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2846 (rowBreakPoint): fix width. change point to point + 1.
2847 Add a missing check.
2849 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2852 * lyxfunc.C: fix (at least partly) the problems
2853 with the Nav menu and headers inside branch insets
2856 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2858 * paragraph.C (getChar): add strong asserts
2860 * lyxrow_funcs.C (lastPos): remove hideous hack
2862 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2863 (fill): adjust to that (avoid an infinite loop)
2865 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2867 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2869 2003-10-23 André Pönitz <poenitz@gmx.net>
2871 * RowList_fwd.h: change list<> to vector<> to gain speed
2872 after suggestion from Alfredo
2874 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2876 * lyxtext.h: move the bidi stuff from here...
2879 * Bidi.[Ch]: ... to here
2881 2003-10-23 André Pönitz <poenitz@gmx.net>
2884 * text.C (isLastRow, isFirstRow): new functions
2886 * paragraph.h: new width cache member
2888 * rowpainter.C: replace RowList::iterator with Row & where possible
2890 * lyxfunc.C: replace several view()->text with a single call
2892 * toc.C: fix 'unused' warning
2894 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2896 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2897 when woring with stream::pos_type
2898 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2900 2003-10-22 André Pönitz <poenitz@gmx.net>
2903 * text.C: use Row & instead of RowList::iterator
2905 * lyxrow.h: rename end() to endpos()
2911 2003-10-22 Angus Leeming <leeming@lyx.org>
2913 * buffer.[Ch] (fully_loaded): new member function, returning true
2914 only when the file has been loaded fully.
2915 Used to prevent the premature generation of previews and by the
2916 citation inset to prevent computation of the natbib-style label.
2918 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2919 templates are all set up.
2921 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2923 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2925 * text.C: fixed an "oops" in the "is a bit silly"
2928 2003-10-21 André Pönitz <poenitz@gmx.net>
2930 * FuncStatus.[Ch]: small stuff, whitespace
2932 * lyxfont.[Ch]: operator<<() for debug reasons
2936 * lyxtext.h: whitespace, spelling
2938 * paragraph.C: naming of variables
2941 * text2.C: small stuff
2944 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2946 * text.C: (1) finish off the inset display() work;
2947 (2) fix the "is a bit silly" bug (accessing char
2950 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2952 * text.C: re-introduce display() for insets, fixing the
2953 various bugs (stretch of line above, math inset
2956 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2958 * text.C (rightMargin): remove spurious semicolon
2960 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2963 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2965 * text3.C: fix one crash due to wrong cursor def
2967 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2969 * vc-backend.C (scanMaster): make the regex static
2971 * LaTeX.C (scanAuxFile): make the regexs static
2973 * text3.C (doInsertInset, dispatch, dispatch):
2974 * text2.C (cursorUp, cursorDown):
2975 * text.C (selectNextWordToSpellcheck):
2976 * BufferView_pimpl.C (dispatch):
2977 * lyxfunc.C (dispatch): localDispatch -> dispatch
2979 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2981 * lyxsocket.C: include <cerrno>
2983 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2985 * lyxfunc.C (dispatch): remove textcache stuff
2987 * bufferlist.C (release): remove textcache stuff
2990 * TextCache.C: delete file
2991 * TextCache.h: delete file
2993 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2995 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2996 delete of the bv_->text.
2997 (resizeCurrentBuffer): remove texcache stuff
2998 (workAreaResize): ditto
3000 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3002 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3005 2003-10-16 André Pönitz <poenitz@gmx.net>
3012 * text3.C: speed up by storing y positions per paragraph plus per-row
3013 offset instead of having a 'full' y position in the row.
3015 2003-10-15 André Pönitz <poenitz@gmx.net>
3019 * undo.[Ch]: make undo aware of inner insets
3021 2003-10-14 Angus Leeming <leeming@lyx.org>
3023 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3024 static member functions LyX::ref() and LyX::cref.
3025 (lastfiles): new accessor functions for the new lastfiles_ member var.
3026 (addLyXView, views_): add a new LyXView to the list of views_.
3027 (updateInset): loop over all LyXViews to call their own updateInset
3028 member function, returning a pointer to the Buffer owning the inset.
3030 * BufferView_pimpl.C (loadLyXFile):
3031 * MenuBackend.C (expandLastfiles):
3032 * bufferlist.C (MenuWrite, QuitLyX):
3033 lastfiles is no longer a global variable.
3034 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3036 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3037 static function. Access through LyX::cref().emergencyCleanup().
3039 2003-10-14 André Pönitz <poenitz@gmx.net>
3041 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3043 * undo.[Ch]: restoring part of 'undo in insets'
3046 * undo_funcs.[Ch]: merge with undo.[Ch]
3048 * tabular.C: small cleansing stuff
3050 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3052 * paragraph_funcs.C (readParToken): report unknown insets as error
3053 boxes. Use the outer paragraph as location (also for unknown
3056 * factory.C (readInset): do not abort on reading an unknown inset.
3057 Eat it and return 0.
3059 2003-10-13 Angus Leeming <leeming@lyx.org>
3061 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3063 * lyxrc.C: displayTranslator is now a function,
3064 declared in GraphicsTypes.h.
3066 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3068 * format.C: new placeholder $$a to pass the socket address.
3070 * bufferlist.[Ch]: new function getBufferFromTmp.
3072 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3073 files in the temporary dir.
3075 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3077 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3079 * Makefile.am: add lyxsocket.[Ch].
3081 * lyx_main.C (error_handler): handle SIGPIPE.
3083 2003-10-13 André Pönitz <poenitz@gmx.net>
3085 * BufferView_pimpl.C:
3090 * undo_funcs.[Ch]: use paroffset_type instead of
3091 ParagraphList::iterators to prevent multiple conversion
3092 (and get a more robust interface)
3094 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3098 * text3.C (dispatch): ditto
3100 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3102 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3103 move the onlyfile, use onlyfile instead of foundfile in a couple
3106 * DepTable.C (update): flush the error stream a bit more
3108 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3110 * lyxserver.C (callback): adjust
3112 * lyxfunc.C (getStatus): add a missing brace in commented code
3113 (ensureBufferClean): reindent
3114 (dispatch): delete version taking a string
3116 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3118 * LaTeX.C (deplog): move found file handlig from here...
3119 (handleFoundFile): .. to new function here.
3120 (deplog): make sure to discover several files mentioned on the
3123 2003-10-10 André Pönitz <poenitz@gmx.net>
3130 * text3.C: fix some of the tabular crashes
3132 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3134 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3136 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3138 2003-10-09 André Pönitz <poenitz@gmx.net>
3140 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3143 * BufferView_pimpl.C:
3144 * bufferview_funcs.C:
3155 * undo_funcs.C: adjust
3157 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3159 * text2.C (incrementItemDepth): new function, use a backtracking
3160 algorithm to discover the correct item depth.
3161 (resetEnumCounterIfNeeded): new function, use a backtracking
3162 algorithm to discover if counter reset is needed.
3163 (setCounter): use them. Simplify a bit. Add different labels for
3164 different item depths for itemize.
3166 * paragraph.C (Paragraph): remove initialization of enumdepth
3169 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3170 enumerate and itemize. Change the type of itemdepth to signed char.
3172 2003-10-08 André Pönitz <poenitz@gmx.net>
3174 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3179 * tabular.[Ch]: fix crash after 'row-insert'
3181 2003-10-08 Angus Leeming <leeming@lyx.org>
3183 Fix doxygen warnings.
3185 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3186 Remove CutAndPaste:: prefix from header file declaration.
3188 * LColor.h (fill): remove LColor:: prefix from declaration.
3190 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3191 use lyx::depth_type rather than Paragraph::depth_type so that
3192 header file and .C file match.
3194 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3196 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3197 * aspell.C: \file aspell_local.C -> \file aspell.C
3198 * gettext.C: \file gettext.C -> \file src/gettext.C
3199 * gettext.h: \file gettext.h -> \file src/gettext.h
3200 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3201 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3202 * text.C: \file text.C -> \file src/text.C
3204 * toc.C: move comment so that doxygen is not confused.
3206 2003-10-07 Angus Leeming <leeming@lyx.org>
3208 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3210 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3213 * aspell_local.h: add forgotten std::string's.
3215 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3222 * text3.C: The Box patch. Fancybox support, minipage, parbox
3224 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3230 * ParagraphParameters.h:
3240 * lyxtextclasslist.h:
3243 * paragraph_pimpl.C:
3244 * textcursor.h: add <string> and other small fixes to make Lars'
3245 std::string patch compile with STLport.
3247 2003-10-06 Angus Leeming <leeming@lyx.org>
3249 * LColor.h: Add missing #include <string>.
3251 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3253 * All most all file in all subdirs: Make <string> be the prefered
3254 way of getting to std::string, add using declarations.
3256 2003-10-06 André Pönitz <poenitz@gmx.net>
3258 * metricsinfo.C: initialize LyXFont before changing attribute.
3259 (fixes the 'math in \emph is upright' bug)
3261 2003-10-06 André Pönitz <poenitz@gmx.net>
3263 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3265 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3268 * paragraph_pimpl.C: Small fixes to build using STLport
3270 2003-10-02 André Pönitz <poenitz@gmx.net>
3273 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3275 2003-10-01 André Pönitz <poenitz@gmx.net>
3277 * factory.C: assert early
3279 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3281 * lyx_main.C: remove the global debug object
3283 * debug.h: adjust for new debugstream
3285 * debug.C: adjust for new debugstream and keep the global debug
3288 2003-09-22 Angus Leeming <leeming@lyx.org>
3290 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3291 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3292 an incomplete class LyXFont.
3294 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3296 * factory.C: bug fix in branches
3298 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3300 * lyxfunc.C (processKeySym): adjust
3302 (dispatch): change arg name from ev to func, adjust
3303 (sendDispatchMessage): ditto
3305 * lyx_main.C (defaultKeyBindings): adjust keybindings
3306 (deadKeyBindings): ditto
3308 * kbsequence.C (addkey): return a FuncRequest
3310 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3312 * kbmap.C (bind): take a FuncRequest as arg, adjust
3315 (defkey): change to take a FuncRequest as arg, adjust
3316 (findbinding): take a FuncRequest as arg, adjust.
3318 * funcrequest.h (operator=): added
3320 * funcrequest.C (FuncRequest): default kb_action changed from
3321 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3323 * buffer.C (dispatch): simplify
3324 (dispatch): adjust to take a FuncRequest as arg, adjust
3326 * boost.C (assertion_failed): change assertion message slightly
3328 * ToolbarBackend.C (read): simplify
3330 * MenuBackend.C (binding): adjust call to findbinding, add a
3331 message if no binding is found.
3333 (expandToc): correct by adding a empty FuncRequest
3335 * LyXAction.C: include <boost/assert.hpp>
3336 (isPseudoAction): delete function
3337 (LookupFunc): change name to...
3338 (lookupFunc): this. change return type to FuncRequest.
3339 (getActionName): take kb_action as arg, simplify
3340 (funcHasFlag): add an assert, simplify.
3342 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3344 * toc.C (action): return a FuncRequest, simplify
3346 * lyxfunc.C (processKeySym): adjust
3347 (getStatus): delete version that takes an int.
3349 (dispatch): delete version that takes action as int
3351 (sendDispatchMessage): simplify and adjust
3353 * funcrequest.C (getArg): take unsigned int as arg
3355 * ToolbarBackend.C (read): adjust
3356 (add): delete version that takes func as a string.
3357 (getIton): take a FuncRequest as arg
3359 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3362 * MenuBackend.C (MenuItem): add a new construct that only takes a
3363 Kind, simplify the constructor use for submenus.
3365 (expandLastfiles): adjust
3366 (expandDocuments): adjust
3367 (expandFormats): adjust
3368 (expandFloatListInsert): adjust
3369 (expandFloatInsert): adjust
3370 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3372 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3373 Remove class variables lyx_pseudo_map and lyx_arg_map
3375 * LyXAction.C (searchActionArg): delete function
3376 (getPseudoAction): delete function
3377 (retrieveActionArg): delete function
3378 (LookupFunc): make it return kb_action, simplify.
3379 (getActionName): simplify
3381 * factory.C (createInset): fix new bug
3383 2003-09-19 Angus Leeming <leeming@lyx.org>
3385 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3386 masterFilename_ parameter in the include inset.
3388 * factory.C (createInset): changes due to the changes to InsetInclude.
3390 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3392 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3394 2003-09-18 Angus Leeming <leeming@lyx.org>
3397 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3398 Inset::fillWithBibKeys.
3399 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3401 2003-09-18 Angus Leeming <leeming@lyx.org>
3403 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3405 (ctor): pass and store a 'Buffer const &'
3406 (buffer): new member function.
3408 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3409 '*this' to the LaTeXFeatures ctor.
3411 2003-09-18 Angus Leeming <leeming@lyx.org>
3417 * text.C: rename EnumLColor as LColor_color.
3419 2003-09-18 Angus Leeming <leeming@lyx.org>
3421 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3422 remove #include "insets/insetbase.h" from cursor.h.
3424 2003-09-18 Angus Leeming <leeming@lyx.org>
3426 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3427 InsetOld_code to remove #include "inset.h".
3429 * iterators.C: add #include "insets/inset.h"
3431 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3433 * BufferView.C: remove more locking stuff that apparently doesn't
3434 do anything sensible.
3436 2003-09-16 André Pönitz <poenitz@gmx.net>
3439 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3442 2003-09-16 Angus Leeming <leeming@lyx.org>
3444 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3446 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3449 * paragraph.h: remove #include "lyxfont.h". Forward declare
3452 2003-09-16 Angus Leeming <leeming@lyx.org>
3454 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3455 of support/textutils.h.
3456 (isWord): move the contents of support/textutils.h's IsWordChar here.
3462 * text2.C: add #include "paragraph.h".
3465 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3467 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3473 * LaTeX.C: use namespace alias for lyx::support::os
3475 2003-09-16 Angus Leeming <leeming@lyx.org>
3478 * bufferview_funcs.C:
3481 * paragraph_pimpl.C:
3483 * text.C: add #include "LColor.h".
3485 2003-09-16 Angus Leeming <leeming@lyx.org>
3487 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3488 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3490 Store the FontBits::color variable as an int rather than as an
3491 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3494 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3495 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3496 string calls together.
3498 * lyxrc.C: add #include "LColor.h".
3500 2003-09-15 Angus Leeming <leeming@lyx.org>
3502 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3505 2003-09-15 Angus Leeming <leeming@lyx.org>
3507 * LColor.h: add an EnumLColor wrapper for LColor::color.
3509 * lyxfont.[Ch] (color, setColor, realColor):
3510 * lyxtext.h, text.C (backgroundColor):
3511 pass EnumLColor args to/from the functions, rather than LColor::color
3515 * lyxtext.h: forward declare EnumLColor.
3517 * lyx_main.C: add #include "LColor.h".
3519 2003-09-15 Angus Leeming <leeming@lyx.org>
3521 * .cvsignore: add lyx-gtk.
3523 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3528 * ParagraphParameters.C
3532 * bufferview_funcs.C
3542 * vc-backend.C: remove usage of STRCONV
3544 2003-09-15 Angus Leeming <leeming@lyx.org>
3546 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3547 explicitly define the color passed to the painter.
3549 2003-09-15 Angus Leeming <leeming@lyx.org>
3551 * bufferparams.C (BufferParams): reorder member initializers to avoid
3554 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3556 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3557 * text.C (updateRowPositions): remove an unusual nop
3559 2003-09-12 André Pönitz <poenitz@gmx.net>
3561 * BufferView_pimpl.C:
3570 * Counters.[Ch]: finish the 'automatic counters' job
3572 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3574 * aspell.C: include <boost/assert.cpp> (compile fix)
3576 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3578 * boost.C (assertion_failed): use lyx::support::abort instead of
3581 2003-09-10 Angus Leeming <leeming@lyx.org>
3583 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3584 with their _fwd progeny.
3586 2003-09-09 Angus Leeming <leeming@lyx.org>
3588 134 files throughtout the source tree: replace 'using namespace abc;'
3589 directives with the appropriate 'using abc::xyz;' declarations.
3591 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3593 * boost.C (emergencyCleanup): moved here from LAssert.c
3594 (assertion_failed): new function, called by BOOST_ASSERT
3596 * several files: change Assert to BOOST_ASSERT
3598 2003-09-09 Angus Leeming <leeming@lyx.org>
3600 * buffer.[Ch]: Add an Impl class and move Buffer's member
3601 variables into it. As a result move several header files out of
3604 Add header files to lots of .C files all over the tree as a result.
3606 2003-09-09 Angus Leeming <leeming@lyx.org>
3608 * buffer.[Ch]: make Buffer's member variables private. Add
3611 Lots of changes all over the tree as a result.
3613 2003-09-08 Angus Leeming <leeming@lyx.org>
3615 * graph.C: #include <config.h>.
3617 2003-09-08 Angus Leeming <leeming@lyx.org>
3621 * BufferView_pimpl.C:
3650 * toc.C: remove redundant using directives.
3652 2003-09-07 Angus Leeming <leeming@lyx.org>
3654 * LaTeXFeatures.h: remove #include "support/types.h".
3655 * ToolbarBackend.h: remove #include <algorithm>.
3656 * changes.h: remove #include <ctime>.
3657 * debug.h: remove #include <iosfwd>.
3658 * graph.h: remove #include "support/std_string.h".
3659 * lyx_main.h: remove #include <csignal>.
3660 * lyxlex_pimpl.h: remove #include <fstream>.
3661 * sgml.h: remove #include <algorithm>, <utility>.
3662 * toc.h: remove #include "support/std_ostream.h".
3663 Add #include <iosfwd>.
3665 2003-09-07 Angus Leeming <leeming@lyx.org>
3667 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3669 * converter.h: forward declare LatexRunParams.
3670 * encoding.h: remove #include "lyxrc.h".
3671 * lyxtext.h: remove #include "LColor.h".
3672 * lyxtextclass.h: remove #include "support/types.h".
3673 * trans.h: remove #include "tex-accent.h".
3674 * trans_mgr.h: remove #include "tex-accent.h".
3675 * insets/inset.h: remove #include "support/types.h", <vector>.
3676 * insets/insetcollapsable.h: remove #include "LColor.h".
3677 * insets/insetinclude.h: remove #include "dimension.h".
3678 * insets/insetlatexaccent.h: remove #include "dimension.h".
3679 * insets/insetoptarg.h:: remove #include "insettext.h".
3680 * insets/insettext.h: remove #include "dimension.h",
3681 <boost/shared_ptr.hpp>
3683 * insets/renderers.h: add #include "dimension.h".
3684 * insets/updatableinset.h: add #include "support/types.h".
3686 * many .C files: Associated changes.
3688 2003-09-06 Angus Leeming <leeming@lyx.org>
3690 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3691 one, inside testInvariant.
3693 * PrinterParams.C: new file.
3694 * PrinterParams.[Ch]: move the function bodies out of line.
3696 2003-09-06 Angus Leeming <leeming@lyx.org>
3698 * ParagraphParameters.h: forward declare ParameterStruct rather than
3699 including its header file.
3700 (depth): moved out-of-line.
3702 2003-09-06 Angus Leeming <leeming@lyx.org>
3704 * BufferView_pimpl.h:
3707 * lyxfunc.h: forward declare LyXKeySym rather than
3708 #include "frontends/LyXKeySym.h".
3710 * BufferView_pimpl.C:
3713 * lyxfunc.C: associated changes.
3715 2003-09-06 Angus Leeming <leeming@lyx.org>
3717 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3718 As a result, can remove the #include "insets/inset.h" from BufferView.h
3720 2003-09-06 Angus Leeming <leeming@lyx.org>
3722 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3723 As a result, can remove the #include "insets/inset.h" from BufferView.h
3725 2003-09-06 Angus Leeming <leeming@lyx.org>
3731 * bufferview_funcs.C:
3732 * BufferView_pimpl.C:
3737 * ParagraphParameters.C:
3742 * frontends/controllers/ControlDocument.C:
3743 * insets/insetcaption.C: rearrange the #includes into some sort of
3746 * buffer.h: remove #includes ErrorList.h, undo.h
3748 2003-09-06 Angus Leeming <leeming@lyx.org>
3750 * support/types.h: add a 'depth_type' typedef, used to store the
3751 nesting depth of a paragraph.
3754 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3755 defining explicitly.
3758 * paragraph_funcs.h:
3759 * ParagraphParameters.h:
3760 * sgml.h: use lyx::depth_type rather than Paragraph or
3761 ParameterStruct's depth_type.
3764 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3767 * BufferView_pimpl.C:
3769 * ParagraphParameters.C:
3772 * bufferview_funcs.C:
3779 * frontends/LyXView.C:
3780 * frontends/controllers/ControlDocument.C:
3781 * frontends/controllers/ControlErrorList.C:
3782 * insets/insetbibitem.C:
3783 * insets/insetbranch.C:
3784 * insets/insetcaption.C:
3785 * insets/insetcollapsable.C:
3786 * insets/insetenv.C:
3787 * insets/insetert.C:
3788 * insets/insetfloat.C:
3789 * insets/insetfoot.C:
3790 * insets/insetfootlike.C:
3791 * insets/insetnewline.C:
3792 * insets/insetquotes.C:
3793 * insets/insettabular.C:
3794 * insets/insettext.C:
3795 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3797 * frontends/controllers/ControlChanges.C: #include "changes.h".
3799 2003-09-06 Angus Leeming <leeming@lyx.org>
3801 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3802 than #including paragraph.h.
3805 * RowList.h: deleted. Superfluous.
3815 * insets/insettext.h: use ParagraphList_fwd.h rather than
3818 * paragraph.h: don't forward declare ParagraphList.
3821 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3822 rather than ParagraphList.h. paragraph.h is still needed for the
3823 Paragraph::depth_type parameters.
3825 * textcursor.h: enable it to compile stand-alone in light of the
3828 * bufferview_funcs.C:
3840 * frontends/controllers/ControlParagraph.C:
3841 * frontends/controllers/ControlTabular.C:
3842 * insets/insetmarginal.C:
3843 * insets/insetminipage.C:
3844 * insets/insetnote.C:
3845 * insets/insetoptarg.C: add header files needed to compile again.
3847 2003-09-06 Angus Leeming <leeming@lyx.org>
3849 * RowList_fwd.h: new file, forward-declaring Row rather than
3850 #including lyxrow.h.
3855 * insets/insettext.h: use it instead of RowList.h
3857 * bufferview_funcs.C:
3864 * text3.C: #include "RowList.h".
3866 2003-09-05 Angus Leeming <leeming@lyx.org>
3868 * factory.C (createInset):
3869 * vspace.C (c-tor): replace sscanf call with an istringstream.
3870 * ispell.C: re-add missing HP/UX headers.
3871 * lyxserver.C: re-add missing os2 headers.
3873 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3882 * text3.C: re-add missing system headers, needed for 2.95.2.
3884 2003-09-05 Angus Leeming <leeming@lyx.org>
3886 Changes most place everywhere due to the removal of using directives
3887 from support/std_sstream.h.
3889 2003-09-05 Angus Leeming <leeming@lyx.org>
3891 Replace LString.h with support/std_string.h,
3892 Lsstream.h with support/std_sstream.h,
3893 support/LIstream.h with support/std_istream.h,
3894 support/LOstream.h with support/std_ostream.h.
3896 Changes resulting throughout the tree.
3898 2003-09-05 Angus Leeming <leeming@lyx.org>
3900 * sgml.h: ensure that the header file can be compiled stand-alone.
3901 * *.C: strip out redundant #includes. (320 in total.)
3903 2003-09-04 Angus Leeming <leeming@lyx.org>
3905 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3906 here (from getPackages).
3908 * debug.[Ch]: add a new EXTERNAL tag.
3910 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3912 * text2.C (cursorEnd): simplify
3914 (getColumnNearX): adjust
3916 * text.C (computeBidiTables): adjust
3919 * rowpainter.C (paintChars): adjust
3920 (paintSelection): adjust
3921 (paintChangeBar): adjust
3924 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3926 (numberOfSeparators): adjust
3928 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3934 * text3.C: Restricts the mouse click functionality
3935 of insets like bibtex, include, toc and floatlist to the visible
3936 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3937 up the dialogs. Cursor has to be in front of the inset (i.e.
3938 start of row) for this to function.
3940 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3942 * bufferview_funcs.C (currentState): output row information
3944 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3946 * bufferview_funcs.C (currentState): output paragraph position
3948 2003-09-04 Angus Leeming <leeming@lyx.org>
3950 * FloatList.h: move out #include "Floating.h".
3951 * LaTeX.h: move out #include "DepTable.h".
3952 * LyXAction.h: move out #include "funcrequest.h".
3953 * buffer.h: move out #include "author.h", "iterators.h".
3954 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3955 * lyx_main.h: move out #include "errorlist.h".
3956 * lyxfunc.h: move out #include "FuncStatus.h".
3957 * lyxtext: move out #include "lyxcursor.h".
3958 * paragraph_pimpl.h: move out #include "counters.h".
3960 2003-09-03 Angus Leeming <leeming@lyx.org>
3962 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3963 preamble_snippets list, enabling us to add snippets to the preamble
3964 only if the snippet was not there already.
3966 2003-09-04 Angus Leeming <leeming@lyx.org>
3968 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3970 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3972 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3975 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3977 * BranchList.C: point fix, earlier forgotten
3979 2003-09-02 Angus Leeming <leeming@lyx.org>
3981 * box.C (contains): renamed from 'contained' after a fantastic
3984 2003-09-02 John Levon <levon@movementarian.org>
3990 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3992 2003-09-02 John Levon <levon@movementarian.org>
3994 * text2.C: simplification of cursorEnd(), including partial
3997 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3999 * buffer.C (readFile): add a space
4001 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4003 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4005 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4007 * buffer.C (readFile): new function, take a filename and a
4008 ParagraphList::iterator
4010 (readFile): adjust, make it private. don't use setStream, make
4011 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4012 always contain the filename.
4014 * BufferView.C (insertLyXFile): simplify and make it work for
4017 2003-08-30 John Levon <levon@movementarian.org>
4019 * Makefile.am: fix dist (from Kayvan)
4021 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4023 * most files: change to use const Buffer refs
4025 2003-08-27 André Pönitz <poenitz@gmx.net>
4027 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4028 on top of ownerPar().
4030 2003-08-27 John Levon <levon@movementarian.org>
4032 * funcrequest.C: properly initialise POD members
4034 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4036 * lyxtext.h (top_y): move top_y from here
4041 * BufferView_pimpl.[Ch]: to here
4042 * frontends/screen.C:
4043 * insets/insettabular.C:
4044 * insets/insettext.C: adjust
4045 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4047 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4050 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4052 2003-08-26 André Pönitz <poenitz@gmx.net>
4054 * paragraph_func.[Ch] (outerPar): new function
4057 * paragraph_funcs.C:
4058 * paragraph_funcs.h:
4059 * paragraph_pimpl.C:
4060 * text2.C: remove Inset::par_owner
4062 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4067 * text2.C: eliminates the needFullRow/display() stuff
4068 altogether, putting the logic in metrics/draw in the insets.
4070 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4072 * text2.C (redoParagraphInternal, redoParagraphs):
4073 * text.C (redoParagraph): add a call to updateRowPositions at the
4074 end of each 'metrics-like' call. Remove all others.
4075 (getRow): remove the 'y-computing' version.
4076 (getRowNearY): do not compute nor return the real y. Solve the
4077 'y < 0' problem and simplify.
4079 2003-08-22 Angus Leeming <leeming@lyx.org>
4081 * *.[Ch]: clean-up of licence and author blurbs.
4082 Also move config.h out of a few .h files and into a few .C files.
4084 2003-08-22 André Pönitz <poenitz@gmx.net>
4086 * lyxrow.[Ch]: add x_ and *fill_ members
4091 * text2.C: adjust/remove prepareToPrint() calls
4093 2003-08-22 André Pönitz <poenitz@gmx.net>
4095 * lyxrow.[Ch]: add end_ member
4097 * lyxrow_funcs.C: use LyXRow::end_
4099 * lyxtext.h (singleWidth): add LyXFont parameter
4102 * text2.C: adjust LyXText::singleWidth() calls
4104 * text.C (redoParagraph): simplify row breaking logic
4107 2003-08-19 André Pönitz <poenitz@gmx.net>
4109 * funcrequest.C: initialize button_ member
4112 * rowpainter.[Ch]: interface consolidation
4114 2003-08-18 André Pönitz <poenitz@gmx.net>
4117 * BufferView_pimpl.C:
4119 * paragraph_funcs.C:
4121 * text3.C: remove LyXScreen::draw() and fitCursor calls
4123 * BranchList.h: remove spurious semicolons
4125 * MenuBackend.C: fix branchlist related crash
4127 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4135 * bufferparams.[Ch]:
4139 * text3.C: implements the 'branch inset'
4140 idea. This allows the output of various versions of a document
4141 from a single source version, selectively outputing or suppressing
4142 output of parts of the text.
4143 This implementation contains a 'branch list editor' in a separate
4144 tab of the document settings dialog. Branches are user definable
4145 and have a "display colour" to distinguish them on-screen.
4147 ColorHandler was somewhat cleaned up.
4148 (1) make possible a dynamically growing LColor list by allowing
4149 the graphic context cache to grow along (vector);
4150 (2) eliminate an IMHO unnecessary step in colour allocation.
4152 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4154 * BufferView_pimpl.C: compile fix
4156 2003-08-15 André Pönitz <poenitz@gmx.net>
4158 * rowpainter.C: remove extra metrics calls
4160 * lyxtext.h: merge the two constructors into a single one,
4161 pass reference to owner's par list
4163 * BufferView_pimpl.C:
4167 2003-08-15 André Pönitz <poenitz@gmx.net>
4169 * lyxrow_funcs.[Ch]:
4172 * paragraph_funcs.C:
4177 * text_funcs.C: split LyXText::rowlist_ into individual
4178 Paragraph::rows_ chunks
4181 * BufferView_pimpl.[Ch]:
4184 * text3.C: remove toggleSelection()
4186 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4188 * bufferlist.C: beautify two alerts (shorter text of buttons)
4189 * buffer.C: Remove redundant ' ' from message
4191 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4192 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4193 rename VALIGN_CENTER to VALIGN_MIDDLE
4195 2003-08-11 André Pönitz <poenitz@gmx.net>
4197 * lyxtext.h (getPar):
4198 * text.C: new function
4200 2003-08-11 André Pönitz <poenitz@gmx.net>
4203 * tracer.[Ch]: remove unneeded files
4205 * InsetList.[Ch]: remove resizeInsetsLyXText()
4210 * text3.C: merge insertParagraphs() and appendParagraph()
4211 remove breakAgain(), update()
4213 * BufferView_pimpl.[Ch]:
4214 * bufferview_funcs.[Ch]:
4218 * tabular.C: adjust after text & InsetList changes.
4220 2003-08-08 André Pönitz <poenitz@gmx.net>
4222 * text.C (insertChar, backspace): replace rowlist fiddling
4223 with rebreak of full par
4226 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4227 checkParagraph, updateInset): removed
4229 2003-08-07 André Pönitz <poenitz@gmx.net>
4232 * text3.C: merge some LFUN handlers, remove dead code
4234 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4236 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4238 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4240 * text2.C (DEPM): fix part of bug 1255 and 1256
4242 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4244 * BufferView_pimpl.C (workAreaDispatch): change to use
4245 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4246 that are no mouse related.
4248 2003-08-05 André Pönitz <poenitz@gmx.net>
4251 * BufferView_pimpl.[Ch]:
4252 * bufferview_funcs.C:
4254 * text3.C: rip out "deep update"
4256 * textcursor.[Ch] (last_sel_cursor): remove unused member
4258 2003-08-04 André Pönitz <poenitz@gmx.net>
4261 * BufferView_pimpl.[Ch]:
4262 * ParagraphParameters.C:
4263 * bufferview_funcs.C:
4269 * text3.C: replace "complicated" BufferView::update(...) calls with
4272 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4274 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4276 * Makefile.am (lyx_SOURCES): add paper.h
4278 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4280 * Makefile.am: move things around so that both lyx-qt and
4281 lyx-xforms can be built (according to --with-frontend). Then lyx
4282 is a symbolic link to lyx-[firstfrontend]
4284 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4286 * Always use std::endl with lyxerr
4288 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4290 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4292 2003-08-01 André Pönitz <poenitz@gmx.net>
4295 * BufferView_pimpl.[Ch]:
4297 * text3.C: merge BufferView::repaint() and BufferView::update()
4299 2003-08-01 José Matos <jamatos@lyx.org>
4301 * buffer.[Ch]: file_format is no longer a buffer data element.
4303 2003-08-01 André Pönitz <poenitz@gmx.net>
4308 * text2.C: make redoParagraph more independent of current cursor
4310 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4312 * text2.C: remove unneeded members
4314 2003-07-30 André Pönitz <poenitz@gmx.net>
4316 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4318 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4319 create a single function...
4321 * paragraph_funcs.C (moveItem): ... here.
4324 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4326 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4328 * LColor.[Ch]: Add comment and greyedout logical colors.
4330 2003-07-30 André Pönitz <poenitz@gmx.net>
4332 * tabular.C: don't use Assert too heavily. This crashes where it
4335 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4337 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4338 is disabled (bug 1232)
4340 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4342 * factory.C: limited 'arg' scope
4344 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4346 * factory.C: fixed Note submenu issues
4348 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4350 * factory.C: submenu for Note/Comment/Greyedout
4352 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4355 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4357 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4360 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4361 greyedout. Patch provided by Jürgen Spitzmüller.
4363 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4365 * kbmap.C (read): fix error message when reading bind files
4367 2003-07-29 Angus Leeming <leeming@lyx.org>
4369 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4370 certainly does not do what it purports to do. I am doing it, and
4371 us, a favour by killing it.
4373 2003-07-28 José Matos <jamatos@lyx.org>
4375 * buffer.C (readBody, do_writeFile):
4376 * paragraph.C(readParagraph): \end_document replaces \the_end.
4378 2003-07-29 André Pönitz <poenitz@gmx.net>
4381 * BufferView_pimpl.[Ch]:
4385 * textcursor.[Ch]: remove toggleToggle & Co
4387 2003-07-28 José Matos <jamatos@fep.up.pt>
4389 * buffer.C (readParagraph):
4390 * params_func (readParToken, readParagraph):
4391 * paragraph.C (write): \layout -> \begin_layout.
4393 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4395 * lyxlex_pimpl.C (setFile): clean up slightly.
4397 * bufferparams.h: add compressed var
4399 * buffer_funcs.C (readFile): adjust for LyXLex change
4400 (newFile): ditto + simplify
4402 * buffer.C (writeFile): handle writing of compressed files
4404 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4405 Check if the file is compressed and set a bufferparm if so.
4407 * Makefile.am (lyx_LDADD): remove explicit -lz
4409 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4411 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4412 makeDocBookFile): put the real LyX version in the first line of
4416 * version.C.in: remove lyx_docversion
4418 * tabular.C (write_attribute): add a template-based version to
4419 write enums properly
4421 2003-07-28 André Pönitz <poenitz@gmx.net>
4426 * text3.C: use doubles again for x-coordinates. They are needed.
4428 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4430 * messages.C (getLocaleDir): use lyx_localedir()
4432 * lyxlex_pimpl.C (setFile): compress stuff
4434 * buffer.C (writeFile): add some compression stuff
4435 (do_writeFile): new func, dont call expliti close... will this
4438 * Makefile.am (lyx_LDADD): add -lz
4440 2003-07-28 José Matos <jamatos@fep.up.pt>
4442 * buffer.C: increment file format.
4443 * paragraph_funcs (readParagraph, readParToken):
4444 * paragraph.C (readParagraph): add \end_layout.
4446 2003-07-27 Angus Leeming <leeming@lyx.org>
4448 * Makefile.am: remove special casing for configure-time setting of
4449 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4451 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4452 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4454 2003-07-26 André Pönitz <poenitz@gmx.net>
4456 * paragraph_func.[Ch]:
4457 * paragraph.C (realizeFont): inline it whereever it is used
4462 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4465 2003-07-26 André Pönitz <poenitz@gmx.net>
4469 * text2.C: get rid of LyXText::need_break_row
4471 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4473 * toc.[Ch]: put namespace toc inside namespace lyx
4475 * MenuBackend.C (expandToc2): adjust for lyx::toc
4478 * lyxfunc.C (dispatch): adjust for lyx::find
4480 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4481 lyx::find instead. Reorganize a bit.
4482 (LyXReplace): rename to replace
4483 (LyXFind): rename to find
4485 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4488 2003-07-26 André Pönitz <poenitz@gmx.net>
4490 * text.C (setHeightOfRow): restrict scope of temporary variable
4492 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4493 code (never has been used?)
4495 2003-07-27 Asger Alstrup <alstrup@local>
4497 * text.C (fill): Optimise algorithm to exploit that we can reuse
4498 the LyXFont for many characters.
4499 (setHeightOfRow): Same thing.
4500 (rowBreakPoint): Same thing.
4502 2003-07-26 Asger Alstrup <alstrup@local>
4504 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4506 * text.C (singleWidth): Spurious font copying in hot-spot
4507 singleWidth avoided. Reorder tests for arabic for efficiency.
4509 * text.C (fill): handle empty paragraphs better.
4511 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4514 * encoding.h: add includes
4516 * lyxrc.C: remove reading of bind files
4518 * lyx_main.C (init): setup bindings and menus only if we have a
4521 * kbmap.C (read): new method. Do the actual reading of bind
4524 * converter.C (dvipdfm_options):
4527 (output): adapt PAPER_* enums.
4529 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4531 * bufferparams.h: remove paper-related enums from there
4533 * paper.h: New file. A trivial header file to hold paper-related
4534 enums. It should later expand to contain many paper-related
4537 * lyxrc.C: declare extern displayTranslator
4539 2003-07-27 José Matos <jamatos@fep.up.pt>
4541 * tabular.[Ch] (linuxdoc): add support for tables and figures
4544 2003-07-27 José Matos <jamatos@fep.up.pt>
4546 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4547 consistency in both functions.
4548 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4550 2003-07-26 Asger Alstrup <alstrup@local>
4552 * rowpainter.C (paintRows): Change algorithm to work directly on
4553 the insets rather than asking every character in the document
4554 whether its an inset.
4556 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4558 * buffer.C (openFileWrite): factorize some code
4560 2003-07-26 Angus Leeming <leeming@lyx.org>
4563 * lyx_main.[Ch]: replace occurances of system_tempdir with
4566 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4568 * rename Inset to InsetOld
4570 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4572 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4573 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4574 which I think is a bit clearer. EDIT is gone, since it was
4575 premature optimisation, and broken for mathed anyway.
4576 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4577 with cursor positioning in insets as well (math insets still do not
4578 work, but that's a different story anyway.) It mysteriously
4579 crashes sometimes with undo in the first paragraph, but I'm fairly
4580 confident that this is a compiler bug.
4582 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4584 * paragraph.C (Paragraph): adjust for new clone return type
4586 (copyIntoMinibuffer): ditto
4588 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4590 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4591 by not having a special case, and always doing a full rebreak of
4592 the document after undo.
4594 2003-07-23 Angus Leeming <leeming@lyx.org>
4596 * factory.C (createInset): InsetExternal::setParams now takes a
4599 2003-07-23 Angus Leeming <leeming@lyx.org>
4601 * factory.C (createInset): changed interface to the external and
4602 graphics mailers' string2params functions.
4604 2003-07-23 Angus Leeming <leeming@lyx.org>
4606 * factory.C (createInset): pass a
4607 Buffer const * parameter to InsetExternalMailer's string2params.
4609 2003-07-22 John Levon <levon@movementarian.org>
4611 * Thesaurus.h: include the right aiksaurus header
4613 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4615 * MenuBackend.C (expand): check menu shortcuts unconditionally
4617 2003-07-21 Angus Leeming <leeming@lyx.org>
4619 * factory.C (createInset): pass a
4620 buffer_path parameter to InsetGraphicsMailer's string2params.
4622 2003-07-21 Angus Leeming <leeming@lyx.org>
4624 * BufferView_pimpl.C (buffer):
4627 * lyxfunc.C (dispatch):
4628 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4629 rather than the grfx shortcut.
4631 2003-07-21 André Pönitz <poenitz@gmx.net>
4633 * rowpainter.C: remove unused variables
4636 * tabular_funcs.h: move to tabular.C
4637 * Makefile.am: adjust
4639 * tabular.[Ch]: basic optical cleaning
4641 * author.h: pass references, not values
4643 2003-07-18 André Pönitz <poenitz@gmx.net>
4651 * text3.C: two-phase drawing for InsetText and InsetTabular
4652 some float -> int changes.
4654 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4656 * lyx_main.C: fix the fix
4658 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4660 * lyx_main.C: fix a crash in batch mode if no files specified
4663 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4665 * format.[Ch] (papersize): moved to BufferParams
4666 * converter.[Ch] (dvips_options): moved to BufferParams
4667 (dvipdfm_options): moved to anon namespace
4668 * bufferparams.[Ch]: added above functions.
4670 2003-07-17 André Pönitz <poenitz@gmx.net>
4674 * text2.C: don't call inset->update() anymore
4676 * metricsinfo.[Ch]: add convenience constructor
4678 2003-07-16 André Pönitz <poenitz@gmx.net>
4683 * text2.C: replace the LyXCursor::irow_ member with
4684 on-demand computation of the value
4686 2003-07-16 John Levon <levon@movementarian.org>
4688 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4690 2003-07-15 André Pönitz <poenitz@gmx.net>
4693 * text2.C: remove no more needed refresh_row
4695 2003-07-15 André Pönitz <poenitz@gmx.net>
4700 * text3.C: refresh_status tristate -> need_update bool
4702 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4704 * lyxtext.h (init): remove reinit argument (act as if always true)
4705 * text2.C: adjust to that
4707 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4709 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4710 * text3.C: use it to delete selections in some cases
4711 (bugs 441, 673, 702, 954).
4713 2003-07-14 André Pönitz <poenitz@gmx.net>
4715 * rowpainter.[Ch]: reduce interface
4717 2003-07-14 André Pönitz <poenitz@gmx.net>
4719 * BufferView_pimpl.C:
4720 * text2.C: adjust after removing unused BufferView * argument
4722 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4724 * text2.C (init): fix a crash fired on resize
4726 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4728 * buffer.[Ch]: added new closing signal
4729 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4730 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4731 BufferView::Pimpl via the closing the signal
4733 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4735 * buffer.[Ch]: take out all bv-related from buffer
4737 * BufferView_pimpl.[Ch]: connect to new signals
4738 * CutAndPaste.C: removed useless asserts
4739 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4742 * lyxfunc.C: moved view-related funciontality from vc here
4743 * paragraph.C: removed outdated comments
4746 2003-07-10 André Pönitz <poenitz@gmx.net>
4748 * BufferView_pimpl.C:
4752 * text2.C: remove InsetText::InnerCache, clean up consequences
4754 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4756 * ispell.C: fix two typos in error messages
4758 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4760 * Extend Note inset to other forms of annotation like Comment
4761 and Greyedout. Right button click gives dialog.
4763 Files modified or added (+):
4767 * ControlNote.[Ch] +
4769 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4770 frontends/controllers
4774 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4776 * aspell.C: add missing namespace lyx::support
4778 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4780 * BufferView.[Ch] (newFile): Add
4781 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4782 * LaTeX.[Ch] (message): added this signal and use it
4783 * buffer.[Ch] (busy, message): added these signals and use them
4784 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4788 * importer.C: use buffer signals instead of direct bv calling
4789 * lyx_cb.[Ch] (ShowMessage): removed
4792 * paragraph_funcs.C:
4793 * text2.C: use buffer signals
4795 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4797 * introduce namespace lyx::graphics
4799 2003-07-02 André Pönitz <poenitz@gmx.net>
4801 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4803 2003-07-01 André Pönitz <poenitz@gmx.net>
4810 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4811 text*.C to text_func.C
4813 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4815 * introduce namespace lyx::support
4817 2003-06-30 André Pönitz <poenitz@gmx.net>
4822 * text.C: re-enable --with-included-string
4824 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4826 * textcursor.C: add <config.h>
4828 * text.C (getWord): remove const from word_location arg
4830 * lyxvc.C (getLogFile): fix const type order
4832 * lyxtext.h: remove const from word_location arg, add arg name
4834 * lyxlayout.h: currect type on labeltype.
4836 * importer.C: correct \file
4838 * converter.C (intToFormat): use std:: on ret val, ws changes
4840 * bufferlist.h: correct \file
4842 * buffer.C (makeLinuxDocFile): fix const type order
4843 (makeDocBookFile): ditto
4844 (fillWithBibKeys): use std:: on stdlib args.
4846 * CutAndPaste.C: fix authors.
4847 (availableSelections): use std:: on return vector
4849 2003-06-27 André Pönitz <poenitz@gmx.net>
4851 * BufferView_pimpl.C:
4852 * bufferview_funcs.C:
4860 * text3.C: remove LyXCursor::row_ member
4863 * text.C: rename fullRebreak() to partialRebreak() and implement
4864 a fullRebreak() that really bereks fully
4866 * textcursor.h: new struct for cursor-related data
4868 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4870 * lyx_main.C (LyX): get full path of document loaded on the
4873 2003-06-26 André Pönitz <poenitz@gmx.net>
4875 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4876 remove unused/broken operator>,<,>=.
4878 * text.C: remove only use of broken operator<= in an Assert().
4880 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4882 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4883 moved errorlist_.clear to showErrorList
4885 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4887 * converter.C (scanLog, runLaTeX):
4888 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4889 move the bv->showErrorList call to the callers
4890 * lyxfunc.C: i.e. here...
4892 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4893 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4894 namespace, the second to...
4895 * buffer_funcs (BufferFormat, parseErrors): added
4896 * errorlist.C (ErrorList(TeXErrors const &)): removed
4898 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4900 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4902 2003-06-24 "Garst R. Reese" <reese@isn.net>
4906 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4908 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4910 * version.C.in: change docversion to 1.4
4912 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4914 * buffer.C: fix a bug just introduced
4916 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4918 * buffer.[Ch]: added the parseError signal and use it, removed
4920 * BufferView.[Ch] (addError): moved to ...
4921 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4922 to the Buffer::parseError signal to catch (guess what) parse errors
4923 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4925 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4927 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4928 ability to create a buffer and to return an existing one from
4929 the list. Moved these functions to...
4930 * buffer_funcs.[Ch]: added
4931 * BufferView.[Ch] (loadLyXFile): added
4932 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4933 job removed from bufferlist::loadLyXFile.
4934 * buffer.C (setReadOnly): make it work without view
4935 (i.e added an if (users))
4937 2003-06-19 Angus Leeming <leeming@lyx.org>
4940 * LyXAction.C (init):
4941 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4942 with LFUN_DIALOG_SHOW <name> <data>.
4944 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4946 * CutAndPaste.C (availableSelections): small compilation fix for
4947 ancient (gcc 2.9x) compilers
4949 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4951 * text3.C (cursorNext): add tmp var
4953 * text2.C (updateCounters): for function calling out of for clause
4954 (replaceSelectionWithString): ditto
4955 (insertStringAsParagraphs): ditto
4956 (getColumnNearX): add tmp var
4957 (setCursorFromCoordinates): add tmp var
4958 (cursorDownParagraph): add tmp var
4959 (deleteEmptyParagraphMechanism): add tmp var
4961 * text.C (insertChar): add tmp var
4963 * rowpainter.C (paintDepthBar): add tmp var
4965 * CutAndPaste.C (availableSelections): potentially check all
4966 paragraphs in a cut to fill the shown strings.
4968 2003-06-18 André Pönitz <poenitz@gmx.net>
4970 * kbmap.[Ch]: use vector<> instead of list<>
4972 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4974 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4975 pasteSelection with index
4977 * text2.C (pasteSelection): modify, call pasteSelection with index
4979 * paragraph.C (asString): reimplement version with no interval to
4980 call the one with interval.
4982 * lyxtext.h: add index arg to pasteSelection
4984 * MenuBackend.C (MenuItem): handle PasteRecent
4985 (Menu::read::Menutags): add md_pasterecent
4987 (expandPasteRecent): new function
4990 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4992 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4994 (availableSelections): new function
4996 2003-06-17 Angus Leeming <leeming@lyx.org>
4998 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5000 2003-06-17 Angus Leeming <leeming@lyx.org>
5003 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5005 * lyxfunc.C (dispatch): invoke it.
5007 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5009 * iterators.C (operator++, ParPosition): reintroduce some
5010 const_cast for the benefit of older compilers.
5012 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5014 * text3.C (dispatch): do not modify clipboard when doing
5015 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5016 LFUN_DELETE_SKIP on a selection selection
5018 2003-06-16 André Pönitz <poenitz@gmx.net>
5024 * tabular.[Ch]: IU of clone() and getLabelList();
5026 2003-06-13 André Pönitz <poenitz@gmx.net>
5028 * tabular.h: compactification
5030 2003-06-12 André Pönitz <poenitz@gmx.net>
5034 * tabular_funcs.h: some renaming plus whitespace
5036 2003-06-12 André Pönitz <poenitz@gmx.net>
5039 * BufferView_pimpl.C:
5045 * toc.C: Return a Paragraph & for ParIterator::operator*()
5047 2003-06-11 John Levon <levon@movementarian.org>
5051 * ToolbarBackend.C: add "Toolbars" section and
5054 2003-06-10 Angus Leeming <leeming@lyx.org>
5057 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5059 * lyxfunc.C (dispatch): invoke it.
5061 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5063 * main.C: protect <ios> with HAVE_IOS
5064 (main): protect sync_with_stdio with HAVE_IOS
5066 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5068 * text2.C (cutSelection): adjust
5069 (pasteSelection): adjust
5071 * messages.C: handle get of empty string
5073 * main.C (main): use sync_with_stdio(false)
5075 * lyxfunc.C (dispatch): adjust
5077 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5078 (WriteAs): remove unneeded BufferView arg.
5080 * bufferparams.h: use correct types on papersize, papersize2 and
5083 * bufferparams.C (readToken): adjust for type
5084 (writeLaTeX): add missing cases to switch.
5086 * bufferlist.C (quitWriteBuffer): adjust
5089 * buffer.C (asciiParagraph): remove some commented code.
5091 * CutAndPaste.C: remove current_view extern variable.
5092 (cutSelection): add BufferParams arg.
5093 (eraseSelection): add BufferParams arg.
5094 (pasteSelection): add Buffer const & arg
5096 2003-06-07 John Levon <levon@movementarian.org>
5099 * paragraph_funcs.C:
5100 * paragraph_pimpl.C:
5104 * paragraph.C: allow InsetERT to freely space lines,
5105 and some consolidation of code
5107 2003-06-06 José Matos <jamatos@fep.up.pt>
5109 * buffer.C (makeDocBookFile): fix bug #821
5111 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5113 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5115 2003-06-04 Angus Leeming <leeming@lyx.org>
5117 * buffer.C: bump format to 224.
5119 2003-06-05 André Pönitz <poenitz@gmx.net>
5121 * text2.C (redoParagraphs): remove two const_cast<>
5123 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5125 * ParagraphList.h: remove last remnants of NO_STD_LIST
5127 2003-06-03 Angus Leeming <leeming@lyx.org>
5129 * factory.C (createInset): small change to the way InsetExternal's params
5132 2003-06-04 André Pönitz <poenitz@gmx.net>
5134 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5136 * paragraph_pimpl.h:
5137 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5139 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5141 * undo_funcs.C: make some simple cases of undo work again
5143 2003-06-03 John Levon <levon@movementarian.org>
5145 * ispell.C: HPUX doesn't have sys/select.h
5148 2003-06-03 John Levon <levon@movementarian.org>
5150 * CutAndPaste.C: update tabular and include inset
5155 * paragraph.C: remove owningBuffer(), don't pass Buffer
5158 * factory.C: insetGraphicsParams changed
5160 2003-06-02 John Levon <levon@movementarian.org>
5166 * text3.C: remove insetparent
5168 2003-06-02 John Levon <levon@movementarian.org>
5171 * buffer.C: fix inset_iterator.end(), move out of line
5174 2003-06-01 John Levon <levon@movementarian.org>
5176 * text3.C: use a proper cut/paste when doing inset
5177 insert (from Jürgen Spitzmüller)
5179 2003-06-01 John Levon <levon@movementarian.org>
5181 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5183 2003-05-30 André Pönitz <poenitz@gmx.net>
5185 * rowpainter.C: unify second drawing phase
5187 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * trans_mgr.C: remove one case of current_view
5191 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5193 * paragraph_funcs.h: remove paragraph.h include
5195 * paragraph.h: delete NO_STD_LIST stuff
5197 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5199 * buffer.h: remove paragraph.h include
5201 * ParagraphList.C: delete file
5203 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5205 * toc.C (getTocList): adjust
5207 * paragraph_pimpl.C (validate): adjust
5209 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5211 * paragraph.C (Paragraph): adjust
5212 (getPositionOfInset): use const_iterator, adjust
5213 (bibitem): use const_iterator, adjust
5214 (setInsetOwner): adjust
5216 * iterators.C (operator++): adjust
5218 * InsetList.[Ch]: Replace selfmade iterator with standard
5219 vector::iterator also introduce const_iterator. Remove getPos,
5220 getInset and setInset from InsetTable. Adjust accordingly.
5222 * BufferView.C (lockInset): adjust
5223 (ChangeInsets): adjust
5225 * tabular.[Ch]: delete commented same_id functions
5227 2003-05-28 John Levon <levon@movementarian.org>
5229 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5231 2003-05-28 André Pönitz <poenitz@gmx.net>
5233 * metricsinfo.[Ch]: remove 'fullredraw' member
5235 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5237 * lyxtextclass.C (operator): remove caching.
5239 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5243 * text2.C (cursorBottom): adjust
5244 (setCounter): use ParagraphList::find, adjust
5246 * text.C (workWidth): use ParagraphList::find, adjust
5248 * lyxcursor.C (LyXCursor): adjust
5250 * buffer.C (inset_iterator): adjust
5252 * ParagraphList.h: make iterator(value_type) private, make
5253 ParagraphList a friend of iterator.
5255 * ParagraphList.C (find): new function
5257 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5259 2003-05-27 André Pönitz <poenitz@gmx.net>
5261 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5263 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5265 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5267 2003-05-26 John Levon <levon@movementarian.org>
5269 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5271 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5273 * remove same_id from function signatures, adjust.
5275 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5277 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5279 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5281 * paragraph.C (Paragraph): get rid of same_ids parameter
5283 * ParagraphList.C (insert): adjust
5286 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5288 * paragraph_funcs.C (breakParagraph): adjust
5289 (breakParagraphConservative): adjust
5291 * buffer.C (readParagraph): adjust
5293 * ParagraphList.C (insert): take a reference instead of a pointer
5296 * paragraph.[Ch] (id): new function
5298 * bufferlist.C (newFile): adjust
5300 * ParagraphList.C (ParagraphList): adjust
5302 (push_back): take a reference instead of a pointer.
5304 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5306 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5309 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5310 set else use old code.
5312 * ParagraphList.C: remove all NO_NEXT code and only compile this
5313 code of NO_STD_LIST is set.
5315 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5317 * BufferView_pimpl.C:
5327 * graphics/GraphicsConverter.C:
5328 * graphics/PreviewLoader.C: header adjustment
5330 2003-05-23 Angus Leeming <leeming@lyx.org>
5332 * LaTeXFeatures.[Ch] (useBabel): new method.
5333 * bufferparams.C (writeLaTeX): use it.
5335 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5337 * ParagraphList.h (set): remove unused function.
5339 2003-05-23 André Pönitz <poenitz@gmx.net>
5342 * BufferView_pimpl.C:
5346 * undo_funcs.C: setUndo reworked
5348 * iterators.[Ch]: add access to topmost ParagraphList
5350 * lyxtext.[Ch] (workWidth): add a const
5352 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5354 * texrow.[Ch] (increasePos): remove function
5355 * exporter.C (export): removed unused var and outdated comment
5357 2003-05-23 Angus Leeming <leeming@lyx.org>
5359 * latexrunparams.h: rename fragile as moving_arg.
5360 * paragraph.C (simpleTeXOnePar): ditto.
5361 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5363 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5365 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5367 (textUndoOrRedo): comment out a currently unused var.
5369 * paragraph.h (NO_NEXT): enable NO_NEXT
5371 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5373 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5375 * exporter.C (Export): adjust for removeAutoInsets removal.
5377 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5379 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5381 * BufferView.[Ch] (removeAutoInsets): delete function
5383 2003-05-22 Angus Leeming <leeming@lyx.org>
5385 * latexrunparams.h: add a free_spacing variable.
5387 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5388 to pass moving_arg, as the data is stored in runparams.fragile.
5390 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5391 to Inset::latexOptional or to simpleTeXOnePar.
5393 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5394 free_spacing arg to Inset::latexOptional.
5396 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5399 2003-05-22 Angus Leeming <leeming@lyx.org>
5401 * latexrunparams.h: add fragile and use_babel variables.
5403 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5404 * buffer.C (makeLaTeXFile): store this returned value in
5405 runparams.use_babel, thus passing it to the inset::latex methods.
5407 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5408 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5410 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5411 longer has a fragile arg, as it is stored in runparams.fragile.
5413 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5414 moving_arg parameter as the data is stored in runparams.fragile.
5416 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5417 a fragile parameter as the data is stored in runparams.fragile.
5419 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5421 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5423 2003-05-22 Angus Leeming <leeming@lyx.org>
5425 * latexrunparams.h: add a 'bool nice' which defaults to false.
5427 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5428 now encapsulated within runparams.
5430 * bufferlist.C (updateIncludedTeXfiles):
5431 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5433 2003-05-22 Angus Leeming <leeming@lyx.org>
5435 * latexrunparams.h: new file containing struct LatexRunParams.
5436 * Makefile.am: add new file.
5438 * LaTeX.[Ch] (c-tor, run):
5439 * buffer.[Ch] (makeLaTeXFile):
5440 * bufferlist.[Ch] (updateIncludedTeXfiles):
5441 * converter.C (convert, scanLog):
5442 * converter.[Ch] (runLaTeX):
5443 * exporter.C (Export):
5444 * paragraph.[Ch] (simpleTeXOnePar):
5445 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5446 * paragraph_funcs.[Ch] (latexParagraphs):
5447 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5448 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5449 pass around a LatexRunParams parameter.
5451 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5453 * paragraph.[Ch]: remove unused constructor
5455 * ParagraphList.C (erase): new function, taking two iterators
5457 2003-05-22 André Pönitz <poenitz@gmx.net>
5459 * undo_funcs.C: remove duplicated code
5461 * iterator.[Ch]: operator=
5463 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5465 * tabular.C (SetMultiColumn): ws changes
5467 * rowpainter.C (paintFirst): get rid of a ->previous
5469 * lyx_cb.C (getPossibleLabel): parlist simplification
5471 * BufferView.C (ChangeInsets): simplify slightly.
5473 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5475 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5476 * lfuns.h: new LFUN_SPACE
5477 * lyxfunc.C: protected space has a new lfun
5478 * paragraph_funcs.C: read new space insets
5480 * factory.C: handle new space insets
5482 2003-05-22 André Pönitz <poenitz@gmx.net>
5485 * BufferView_pimpl.C:
5488 * undo_funcs.C: return a ParIterator from getParFromID.
5490 * iterators.[Ch]: add two const's
5492 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5494 * toc.C (getTocList): adjust
5496 * iterators.[Ch]: rework for parlist
5498 * buffer.C (par_iterator_begin): adjust
5499 (par_iterator_end): adjust
5501 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5503 * BufferView.C (removeAutoInsets): adjust
5504 (ChangeInsets): adjust
5506 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5508 * text.C (top_y): fix bug 1110
5510 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5512 * errorlist.[Ch]: added
5515 * BufferView_pimpl.C:
5516 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5519 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5521 * Makefile.am: ensure that lyx is relinked upon changes to the
5522 various "convenience" libs.
5524 2003-05-20 Angus Leeming <leeming@lyx.org>
5526 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5527 files are compiled in alphabetical order again.
5529 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5531 2003-05-19 Angus Leeming <leeming@lyx.org>
5533 * gettext.[Ch]: remove "char const * _(char const *)".
5535 2003-05-19 André Pönitz <poenitz@gmx.net>
5537 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5546 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5548 2003-05-19 André Pönitz <poenitz@gmx.net>
5552 * lyxtextclass.[Ch]:
5554 * paragraph_funcs.[Ch]:
5556 * text3.C: more insetenv work
5558 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5560 * ParagraphParameters.C (params2string): small bug fixed
5562 2003-05-16 André Pönitz <poenitz@gmx.net>
5565 * bufferview_funcs.C: patch from Kornel Benko to prevent
5566 crash when _(...) is called twice in a statement
5568 2003-05-16 André Pönitz <poenitz@gmx.net>
5575 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5577 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5579 * lyx_main.C (init): remove spurious static_cast
5581 2003-05-14 André Pönitz <poenitz@gmx.net>
5583 * BufferView.C: fix format string
5585 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5587 * BufferView.[Ch] (insertErrors): removed
5588 * BufferView.[Ch] (showErrorList): added
5589 * buffer.C (runChkTeX):
5590 * converter.C (scanLog): call showErrorList instead of inserterrors
5592 2003-05-13 André Pönitz <poenitz@gmx.net>
5594 * BufferView_pimpl.C:
5596 * bufferview_func.C:
5603 * tabular_funcs.h: tostr() from its own header
5605 * ParagraphParameters.C:
5610 * text3.C: STRCONV()
5612 2003-05-12 André Pönitz <poenitz@gmx.net>
5615 * BufferView_pimpl.C:
5619 * ParagraphParameters.C:
5623 * bufferview_funcs.C:
5636 * paragraph_funcs.C:
5640 * text3.C: boost::format -> bformat all over the place
5643 2003-05-09 André Pönitz <poenitz@gmx.net>
5645 * LColor.[Ch]: Pimpl the #include <map> away
5647 2003-05-09 John Levon <levon@movementarian.org>
5649 * bufferlist.C: never remove emergency saves
5651 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5653 * Makefile.am: better lib building
5655 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5657 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5659 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5660 (simpleTeXSpecialChars): adjust
5661 (simpleTeXSpecialChars): adjust
5662 * paragraph.C (simpleTeXOnePar): adjust
5663 * buffer.C (makeLaTeXFile): adjust
5665 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5667 * text2.C (changeDepth): parlist cleanup
5668 (getColumnNearX): ditto
5670 * rowpainter.C (getLabelFont): parlist cleanup
5672 * bufferlist.C (newFile): parlist cleanup
5674 * CutAndPaste.C (eraseSelection): parlist cleanup
5676 * BufferView_pimpl.C (trackChanges): parlist cleanup
5679 * BufferView.C (lockInset): parlist cleanup.
5680 (ChangeInsets): ditto
5682 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5684 * CutAndPaste.h: Update file header.
5686 * CutAndPaste.C: Update file header.
5687 Store the parts cut out of the Document in a limited_stack.
5688 (copySelection): adjust
5689 (pasteSelection): new function, takes the index in the limited stack.
5690 (nrOfParagraphs): adjust
5691 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5692 simplify error inset insertion.
5693 (checkPastePossible): adjust
5695 2003-05-06 John Levon <levon@movementarian.org>
5697 * text2.C: don't cast wrap inset to float
5699 2003-05-05 André Pönitz <poenitz@gmx.net>
5702 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5704 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5705 few naked Paragraph *.
5707 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5709 * bufferparams.C: Output warning if a document with missing
5710 TeX document class is loaded
5711 * exporter.C: Disable TeX exports if the document class is missing
5714 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5715 isTeXClassAvailable()
5717 2003-05-03 John Levon <levon@movementarian.org>
5720 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5721 explicit cursor show/hide
5723 * BufferView_pimpl.h:
5724 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5725 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5727 * lyxfunc.C: hide cursor before dispatching.
5732 * text3.C: remove explicit cursor hides
5734 2003-05-02 André Pönitz <poenitz@gmx.net>
5736 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5739 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5742 * text2.C: tiny whitespace
5744 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5746 * undo_funcs.C: almost only ws changes.
5748 * ParagraphList.C (splice): just return if pl is empty.
5750 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5752 * ParagraphList.C (splice): new function.
5754 * CutAndPaste.C (pasteSelection): use it
5756 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5758 * CutAndPaste.C (pasteSelection): remove the last next and
5759 previous from this file.
5761 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5763 * CutAndPaste.C (pasteSelection): more clean up, user proper
5764 ParagraphList functions for pasteing.
5766 * ParagraphList.C (insert): new function, three arg insert
5768 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5770 * ParagraphList.C (insert): new function, three arg insert
5772 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5775 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5777 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5779 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5781 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5783 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5785 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5786 (copySelection): clean up a bit.
5787 (pasteSelection): use make_pair
5789 * ParagraphList.C (ParagraphList): implement copy constructor
5790 (operator=): implement, base on copy constructor.
5793 * paragraph.C (erase): return a bool
5795 * paragraph_pimpl.C (erasePos): remove function, move contents...
5796 (erase): ... here. Return a bool.
5797 (erase): call erase instead of erasePos.
5799 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5801 * ParagraphList.h: define PitPosPair
5802 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5803 ParagraphList, fix a bug on pasting multiple pars
5804 * text2.C: change interface to C&P
5806 2003-04-30 André Pönitz <poenitz@gmx.net>
5808 * undo_func.C: revert part of yesterday's patch 2
5810 2003-04-30 John Levon <levon@movementarian.org>
5812 * LColor.C: s/tabular/table/
5814 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5816 * text3.C (dispatch): do not convert iterator -> pointer
5817 * undo_funcs.C (setCursorParUndo): ditto
5818 * text_funcs.C (transposeChars): ditto
5820 * text2.C (setLayout): ws changes only
5822 * text.C (breakParagraph): do not convert iterator -> pointer
5824 (acceptChange): ditto
5825 (rejectChange): ditto
5830 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5833 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5835 * text3.C (gotoInset): YABG (yet another bad getChar)
5837 2003-04-29 André Pönitz <poenitz@gmx.net>
5839 * paragraph.h: make operator= private unimplemented as long as
5842 * ParagraphList.C: whitespace
5845 * paragraph_pimpl.[Ch]:
5846 * paragraph_funcs.C:
5848 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5851 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5853 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5855 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5856 * paragraph.[Ch] (erase):
5857 * paragraph_pimpl.[Ch] (erase): change return type and value
5858 * text2.C (cutSelection): some rework
5860 2003-04-28 John Levon <levon@movementarian.org>
5862 * bufferlist.C: changes for unsaved changes dialog
5864 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5866 * bufferlist.C (newFile): set language (messages_) for new
5869 * buffer.C (readFile): ws changes only.
5871 2003-04-28 André Pönitz <poenitz@gmx.net>
5876 * BufferView_pimpl.C:
5877 * BufferView.C: getParFromID related ParagraphList::iterator changes
5879 2003-04-28 André Pönitz <poenitz@gmx.net>
5881 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5884 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5886 * messages.C: remove one more localedir class variable.
5888 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5890 * messages.C (getLocaleDir): singleton generation function
5892 (Messages): add a default constructor.
5894 * main.C (main): do not setup localedir here, do not call
5897 * gettext.C (_): use it.
5898 (gettext_init): delete funciton
5900 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5902 * gettext.C (getLyXMessages): new singleton generating function.
5904 * buffer.C (updateDocLang): adjust
5906 * Makefile.am (messages.o): add target
5907 (main.o): remove target
5909 2003-04-27 John Levon <levon@movementarian.org>
5914 * lyxvc.C: specify cancel button in Alert::prompt
5916 2003-04-26 John Levon <levon@movementarian.org>
5921 * LyXAction.C: add LFUN_INSET_SETTINGS
5923 * lyxfunc.C: don't enable tabular-feature when there's
5924 just any locking inset
5926 2003-04-26 John Levon <levon@movementarian.org>
5928 * bufferlist.C: re-add Cancel to buffer close question
5930 * lyxfunc.C: fix import UI a bit
5932 2003-04-25 John Levon <levon@movementarian.org>
5934 * gettext.C: remove the broken asserts for now
5936 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5938 * messages.C: make case where setlocale cannot comply work better.
5940 * buffer.C (updateDocLang): new function
5941 (changeLanguage): use it
5944 * text2.C (setCounter): use B_ a bit.
5946 * lyxlayout.C (Read): be sure to trim the label strings.
5948 * messages.C (Messages): fix typo in comment
5950 * buffer.C (readFile): set message_ after file is loaded.
5951 (makeDocBookFile): remove double return
5952 (changeLanguage): reset message_ upon language change.
5953 (B_): new func, use this to get translated buffer strings.
5955 * main.C: add myself and Jean Marc as authors.
5957 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5959 * messages.[hC]: pimplify Messages, and three different pimpls to be
5960 used in different circumstances.
5962 * gettext.[Ch]: change for use with new message code.
5964 2003-04-24 André Pönitz <poenitz@gmx.net>
5966 * factory.C: support for eqref
5968 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5970 * messages.[Ch]: add missing char
5972 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5974 * messages.[Ch]: New files
5976 2003-04-18 John Levon <levon@movementarian.org>
5980 * BufferView_pimpl.C:
5984 * text2.C: remove layout-copy/paste (bug 778)
5986 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5988 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5990 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5992 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5993 if they succeed. Act accordingly.
5995 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5997 * text2.C (setCharFont): adjust
5998 (setCounter): adjust
5999 (insertStringAsLines): adjust
6001 * text.C (leftMargin): adjust
6002 (setHeightOfRow): adjust
6004 * rowpainter.C (paintFirst): adjust
6007 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6009 (isFirstInSequence): ditto
6010 (getEndLabel): ditto
6013 * paragraph.C (getParLanguage): comment out some hard stuff.
6015 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6017 (simpleDocBookOnePar): ditto
6018 (makeDocBookFile): use ParagraphList::iterator
6020 * CutAndPaste.C (pasteSelection): adjust
6022 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * text2.C (getFont): adjust
6025 (getLayoutFont): adjust
6026 (getLabelFont): adjust
6028 * paragraph_funcs.C (TeXOnePar): adjust
6030 * buffer.C (simpleLinuxDocOnePar): adjust
6031 (simpleDocBookOnePar): adjust
6033 * CutAndPaste.C (pasteSelection): adjust
6035 * BufferView.C (getEncoding): adjust
6037 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6039 2003-04-16 John Levon <levon@movementarian.org>
6041 * lyxfind.C: use parlist stuff for search/changes
6043 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6045 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6047 * text2.C (deleteEmptyParagraphMechanism): adjust
6049 * text2.[Ch] (ownerParagraph): delete func (both of them
6051 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6053 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6055 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6057 * ParagraphList.C: prepare for NO_NEXT
6059 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6061 * text2.C (getFont): adjust
6062 (getLayoutFont): adjust
6063 (getLabelFont): adjust
6065 * paragraph.C (getFont): adjust
6066 (getLabelFont): adjust
6067 (getLayoutFont): adjust
6069 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6071 2003-04-15 John Levon <levon@movementarian.org>
6075 * lyx_main.C: handle Include in .ui files
6077 2003-04-15 John Levon <levon@movementarian.org>
6079 * MenuBackend.C: make the doc files length shorter
6082 * ToolbarBackend.C: handle toolbar placement flags,
6085 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6087 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6090 * paragraph_funcs.C (TeXOnePar): adjust
6092 * paragraph.C (getLabelFont): add outerfont arg, adjust
6093 (getLayoutFont): ditto
6094 (simpleTeXOnePar): adjust
6096 * paragraph_pimpl.C (realizeFont): delete func
6098 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6100 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6101 row argument, constify cur argument.
6103 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6105 * text2.C (getFont): adjust
6106 (getLayoutFont): adjust
6107 (getLabelFont): adjust
6109 * paragraph_funcs.C (TeXOnePar): adjust
6110 (outerFont): new func...
6111 (realizeFont): ...moved out from here, changed this to facilitate
6114 * paragraph.C (getFont): take outerfont as arg, adjust
6115 (simpleTeXOnePar): add outerfont arg, adjust
6117 * buffer.C (simpleLinuxDocOnePar): adjust
6118 (simpleDocBookOnePar): adjust
6120 * CutAndPaste.C (pasteSelection): adjust
6122 * BufferView.C (getEncoding): adjust
6124 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6126 * text2.C (setCharFont): adjust
6127 (setCounter): adjust
6129 * text.C (leftMargin): adjust
6130 (setHeightOfRow): adjust
6132 * rowpainter.C (paintFirst): adjust
6135 * paragraph_pimpl.C (realizeFont): adjust
6137 * paragraph.C (isFirstInSequence): move from here...
6138 * paragraph_funcs.C (isFirstInSequence): ...to here
6140 * paragraph.C (outerHook): move from here...
6141 * paragraph_funcs.C (outerHook): ...to here
6143 * paragraph.C (depthHook): move from here...
6144 * paragraph_funcs.C (depthHook): ...to here
6146 * paragraph.C (getEndLabel): move from here...
6147 * paragraph_funcs.C (getEndLabel): ...to here
6149 * text2.C (realizeFont): move from here...
6150 * paragraph_funcs.C (realizeFont): ...to here
6152 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6154 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6156 2003-04-14 Angus Leeming <leeming@lyx.org>
6158 * LColor.[Ch]: scrap LColor mathcursor.
6160 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6162 * lyxlex.[Ch] (text): delete function
6163 * trans.C (Load): adjust
6164 * paragraph_funcs.C (readParToken): adjust
6166 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6168 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6169 vector<char> instead of a char[].
6171 * lyxlex_pimpl.C (getString): adjust
6173 (lex): use getString
6177 * lyxlex.C (text): use pimpl_->getString()
6181 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6183 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6184 (makeFontEntriesLayoutSpecific): temp var for par.size()
6185 (setLayout): temp var for ownerParagraphs().end()
6186 (fullRebreak): temp var for rows().end()
6187 (selectionAsString): temp var for boost::next(startpit), realize
6188 that the while really is a regular for loop.
6189 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6190 setCursor in one place.
6191 (setParagraph): temp vr for ownerParagraphs().end()
6192 (updateCounters): make the while loop a for loop
6193 (cutSelection): temp var for ownerParagraphs().end()
6194 (updateInset): make the do {} while() a regular for loop
6195 (getCursorX): use temp vars
6196 (setCurrentFont): use temp vars
6197 (getColumnNearX): use temp vars
6199 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6201 * text.C (transformChar): use temp var for getChar
6202 (computeBidiTables): use temp var for row->par()
6203 (fill): move temp vars for row->par() and pit->layout() earlier in
6205 (labelFill): use temp var for row->par()
6206 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6207 asc and desc, realize that pit never changes and that firstpit is
6208 just a duplicate and not needed. Exchange rit->par() with pit in a
6210 (breakAgain): use a temp var for boost::next(rit)
6211 (breakAgainOneRow): ditto
6212 (breakParagraph): use a temp var for rows().begin()
6213 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6214 (cursorRightOneWord): use temp var for cursor.par() and
6215 cursor.pos(), remove usage of tmpcursor.
6216 (cursorLeftOneWord): use temp var for cursor.par() and
6217 cursor.pos() only set cur at end of function.
6219 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6221 * text.C, text2.C: exchange all usage of Paragraph::next with
6222 boost::next(ParagraphList::iterator)
6224 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6226 * text2.C (cursorTop): simplify implementation
6227 (cursorBottom): ditto
6228 (setParagraph): use ParagraphList::iterator
6229 (setCurrentFont): adjust
6230 (getColumnNearX): adjust
6231 (cursorRight): adjust
6232 (cursorLeft): remove usage of Paragraph::previous
6233 (cursorUpParagraph): ditto
6234 (deleteEmptyParagraphMechanism): slight cleanup
6236 * text.C (isBoundary): take a Paragraph const & instead of a
6238 (addressBreakPoint): ditto
6239 (leftMargin): remove usage of Paragraph::previous.
6240 (setHeightOfRow): ditto
6241 (cursorLeftOneWord): ditto
6242 (selectNextWordToSpellcheck): ditto
6245 (breakParagraph): remove one usage of Paragraph::next
6246 (redoParagraph): ditto
6247 (acceptChange): ditto
6248 (insertChar): adjust
6249 (rowBreakPoint): adjust
6251 * bufferview_funcs.C (toggleAndShow): adjust
6253 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6255 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6256 methods to access it.
6258 * text.C: Added updateRowPositions to compute all row positions.
6259 Make top_y and getRowNearY() to use the cached y position
6261 2003-04-11 John Levon <levon@movementarian.org>
6263 * text.C (rowBreakPoint): reintroduce the labelEnd
6264 checks, code copied from the row fill stuff. Deep voodoo.
6266 * text.C (fill): add a comment and debugging for the
6269 2003-04-11 John Levon <levon@movementarian.org>
6271 * text.C: make sure fullrow insets get wrapped to the next line,
6272 even when they're in a manual label
6274 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6276 * text2.C (insertParagraph): make it take ParagraphList::iterator
6278 (setLayout): make it return ParagraphList::iterator
6279 (redoParagraphs): ditto
6281 (checkParagraph): ditto
6283 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6285 * text2.C: adjust several funcs.
6286 (realizeFont): take a ParagraphList::iterator as arg.
6287 (getLayoutFont): ditto
6288 (getLabelFont): ditto
6289 (setCharFont): ditto
6291 * text.C: adjust several funcs.
6293 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6295 * text.C (selectNextWordToSpellcheck): don't accidentally
6298 2003-04-10 John Levon <levon@movementarian.org>
6300 * ToolbarBackend.C (getIcon): special handling for
6303 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6305 * text2.C (cursorRight): a getChar assert fixed
6307 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6309 * text2.C (getFont): change to take a ParagraphList::iterator
6310 instead of Paragraph*
6311 Adjust several functions.
6313 * text.C (transformChar): change to take a ParagraphList::iterator
6314 instead of Paragraph*
6315 (singleWidth): ditto
6316 Adjust several functions.
6318 * rowpainter.C: adjust several functions
6319 * rowpainter.h:store a ParagraphList::iterator and not a
6323 2003-04-09 John Levon <levon@movementarian.org>
6328 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6329 and the "help" bits as well
6331 2003-04-09 John Levon <levon@movementarian.org>
6334 * ToolbarBackend.C: allow multiple toolbars
6336 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6338 * undo_funcs.C (setCursorParUndo): adjust
6340 * text_funcs.C (transposeChars): adjust
6342 * text3.C (gotoNextInset): adjust
6345 * text2.C (setLayout): adjust
6346 (changeDepth): adjust
6348 (redoParagraphs): adjust
6349 (selectionAsString): adjust
6350 (setParagraph): adjust
6351 (insertInset): adjust
6352 (cutSelection): adjust
6353 (copySelection): adjust
6354 (pasteSelection): adjust
6355 (insertStringAsLines): adjust
6356 (updateInset): adjust
6357 (setCursor): change to take a ParagraphList::iterator parameter
6358 (setCursorIntern): change to take a ParagraphList::iterator parameter
6359 (setCurrentFont): adjust
6360 (cursorLeft): adjust
6361 (cursorRight): adjust
6362 (deleteEmptyParagraphMechanism): adjust
6364 * text.C (breakParagraph): adjust
6365 (insertChar): adjust
6366 (acceptChange): adjust
6367 (rejectChange): adjust
6368 (selectNextWordToSpellcheck): adjust
6369 (changeCase): adjust
6373 * lyxfind.C (SearchForward): adjust
6374 (SearchBackward): adjust
6375 (nextChange): adjust
6377 * lyxcursor.C (par): adjust
6379 * lyxcursor.h: store a ParagraphList::iterator instead of a
6382 * lyx_cb.C (getPossibleLabel): adjust
6384 * bufferview_funcs.C (toggleAndShow): adjust
6386 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6389 * BufferView.C (removeAutoInsets): adjust
6390 (lockedInsetStoreUndo): adjust
6392 2003-04-09 John Levon <levon@movementarian.org>
6394 * ToolbarBackend.C: try icon without argument
6395 if with argument fails
6397 2003-04-08 John Levon <levon@movementarian.org>
6400 * ToolbarBackend.C: add getIcon(), handle tooltip,
6401 and change from "Icon" to "Item".
6403 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6405 * BufferView.C (lockInset): another bad getchar crunched
6407 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6409 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6412 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6414 * lyxfind.C (searchForward, searchBackwards): bug 782
6416 2003-04-07 John Levon <levon@movementarian.org>
6418 * paragraph.C: remove dead comment
6420 * text.C: remove troublesome depth-fiddling code
6421 in leftMargin() and rightMargin() (bug 1017)
6423 * text.C: fix breaking of rows in nested lists
6426 * text2.C (updateCounters): fix up depth values
6429 2003-04-07 John Levon <levon@movementarian.org>
6431 * BufferView_pimpl.C: clear message when doc finishes resizing,
6432 and after a mouse event
6434 * lyxfunc.C: clear message after exiting inset
6436 2003-04-07 John Levon <levon@movementarian.org>
6438 * bufferview_funcs.C: show math status not outside
6439 status in the statusbar
6441 2003-04-07 John Levon <levon@movementarian.org>
6443 * lyxfunc.C: note status changed after a depth change
6445 2003-04-04 Angus Leeming <leeming@lyx.org>
6447 * LaTeX.h: move AuxInfo operator==, != out of line.
6448 Remove LaTeX virtual destructor; nothing derives from it.
6449 Move operator()() out of public area and rename it startscript().
6450 Change protected for private.
6452 2003-04-04 Angus Leeming <leeming@lyx.org>
6455 * text2.C: remove unneeded #includes.
6457 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6459 * text2.C (dEPM): fix the heigth of the next row
6461 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6463 * text.C: squashed an invalid getChar requester + some ws changes
6465 2003-04-03 John Levon <levon@movementarian.org>
6467 * bufferview_funcs.h:
6468 * bufferview_funcs.C:
6471 * text2.C: make getStatus work for the env depth lfuns
6473 2003-04-03 John Levon <levon@movementarian.org>
6475 * bufferview_funcs.h:
6476 * bufferview_funcs.C:
6479 * text2.C: parlistize decDepth(), by merging it with incDepth()
6481 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * lyxrow.h: store a ParagraphList::iterator instead of a
6484 Paragraph* and adjust other class functions to suit.
6486 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6489 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6491 * text2.C (setCursor): do not anchor to cursor row for the time being
6493 2003-04-02 John Levon <levon@movementarian.org>
6500 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6502 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6504 * paragraph.h: make ParagraphList and ParagraphList::iterator
6505 friends of Paragraph.
6507 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6509 * ParagraphList.C: Use the private next_ and previous_ from
6512 2003-04-01 John Levon <levon@movementarian.org>
6516 * Makefile.am: rename, remove defaults gunk
6519 * MenuBackend.C: remove defaults gunk
6522 * Languages.C: remove defaults gunk
6525 * lyx_main.C: error out if files couldn't be found.
6527 2003-04-02 John Levon <levon@movementarian.org>
6529 * text2.C: make incDepth() use parlist
6531 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6533 * undo_funcs.C (firstUndoParagraph): adjust
6535 * text3.C (gotoInset): adjust
6536 (dispatch): adjust, and rewrite loop.
6538 * text2.C (init): adjust, and rewrite loop.
6539 (redoParagraphs): adjust
6540 (updateInset): adjust, and rewrite loop.
6541 (deleteEmptyParagraphMechanism): adjust
6543 * tabular.C (LyXTabular): adjust
6544 (SetMultiColumn): adjust
6547 * lyxtext.[Ch] (ownerParagraph): delete function
6548 (ownerParagraphs): new function returns a ParagraphList.
6550 * BufferView.C (removeAutoInsets): adjust
6551 (insertErrors): adjust
6552 (setCursorFromRow): adjust
6554 2003-04-01 Angus Leeming <leeming@lyx.org>
6556 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6559 2003-04-02 John Levon <levon@movementarian.org>
6565 * text_funcs.C: make transposeChars a free function
6567 * lyxrow_funcs.C: remove wrong comment
6569 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6572 * rowpainter.C: adjust
6577 * lyxrow_funcs. [Ch]: new files
6579 * lyxrow.[Ch]: remove next and previous pointers
6580 (next,previous): remove accessor functions
6581 (isParEnd): move to lyxrow_funcs
6582 (lastPos): move to lyxrow_funcs
6583 (nextRowIsAllInset): move to lyxrow_funcs
6584 (lastPrintablePos): move to lyxrow_funcs
6585 (numberOfSeparators): move to lyxrow_funcs
6586 (numberOfHfills): move to lyxrow_funcs
6587 (numberOfLabelHfills): move to lyxrow_funcs
6588 (hfillExpansion): move to lyxrow_funcs
6592 * bufferview_funcs.C (toggleAndShow): adjust
6594 * RowList.h: Remove class RowList from file leave just a
6597 * RowList.C: delete file
6599 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6602 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6604 * text3.C (cursorPrevious): adjust
6605 (cursorNext): adjust
6608 * text2.C (redoHeightOfParagraph): adjust
6609 (redoDrawingOfParagraph): adjust
6612 * text.C (breakParagraph): adjust
6613 (insertChar): adjust
6616 * rowpainter.C (RowPainter): adjust
6617 (leftMargin): simplify and adjust
6618 (most rowpainter functions): adjust.
6620 * rowpainter.h: store the row as RowList::iterator not as Row*
6622 * lyxcursor.C (row): taka RowList::iterator as arg
6625 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6628 2003-04-01 Angus Leeming <leeming@lyx.org>
6630 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6631 stuff like bool Bool.
6633 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6635 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6638 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6640 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6643 * lyxtext.h (rows): drop one version and leve a const variant that
6644 returns a RowList::iterator.
6646 2003-03-31 Angus Leeming <leeming@lyx.org>
6648 * text.C (fill): ensure that the signature is the same as that in the
6651 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6653 * text2.C (redoParagraphs): adjust
6654 (updateCounters): adjust
6655 (checkParagraph): adjust
6656 (getColumnNearX): adjust and reformat a bit.
6658 * text.C (top_y): adjust
6660 (leftMargin): adjust
6661 (prepareToPrint): adjust
6663 (getRowNearY): adjust
6665 * lyxtext.h: make rowlist_ mutable.
6667 * RowList.h: add const_iterator
6668 * RowList.C: adjust for RowList::const_iterator.
6670 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6673 2003-03-31 John Levon <levon@movementarian.org>
6676 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6678 * lyx_main.C: set default fonts from using lyx_gui funcs
6680 * exporter.C: pdf_mode moved from lyxrc
6683 * lyxfunc.C: changes from above
6685 2003-03-31 John Levon <levon@movementarian.org>
6687 * lyx_main.C: fix to the last fix
6689 2003-03-31 John Levon <levon@movementarian.org>
6691 * bufferlist.C: "Load original" -> "Load Original"
6697 * format.C: more Alert cleanups
6699 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6701 * text2.C (removeParagraph): make it take a RowList::iterator as
6703 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6704 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6706 * text.C (anchor_row): make it take a RowList::iterator as arg,
6708 (computeBidiTables): make it take a const reference to Row instead
6709 of Row pointer, adjust.
6710 (leftMargin): make it take a RowList::iterator as arg, adjust.
6711 (rowBreakPoint): adjust
6712 (breakAgainOneRow): make it take a RowList::iterator as arg,
6714 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6716 * bufferview_funcs.C (toggleAndShow): adjust
6718 2003-03-30 John Levon <levon@movementarian.org>
6722 * boost-inst.C: moved to support
6724 * several files: changes as a result
6726 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6728 * text2.C (LyXText): adjust.
6730 (removeRow): make it take a RowList::iterator as arg, adjust.
6731 (fullRebreak): adjust
6732 (deleteEmptyParagraphMechanism): adjust
6733 (clearPaint): adjust
6736 * text.C (top_y): adjust
6737 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6738 (breakAgain): make it take a RowList::iterator as arg, adjust.
6739 (breakParagraph): adjust
6740 (insertChar): adjust
6743 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6744 need_break_row, and refresh_row.
6746 * text3.C (dispatch): adjust
6748 * text2.C (checkParagraph): adjust
6750 (setCursorFromCoordinates): adjust
6752 * text.C (top_y): adjust
6754 (getRow): make it return a RowList::iterator, adjust
6755 (getRowNearY): make it return a RowList::iterator, adjust
6757 * text2.C (init): adjust
6758 (insertRow): remove function
6759 (insertParagraph): adjust
6760 (redoParagraphs): adjust
6761 (fullRebreak): adjust
6762 (updateCounters): adjust
6764 * text.C (top_y): rewrite to use RowList iterators.
6766 (setHeightOfRow): rewrite to sue RowList iterators.
6767 (appendParagraph): adjust
6768 (breakAgain): adjust
6769 (breakAgainOneRow): adjust
6770 (breakParagraph): adjust
6772 (getRowNearY): adjust, and remove commented code.
6774 * lyxtext.h (firstRow): delete function
6775 (lastRow): delete function
6776 (rows): new function (const and non-const versions.)
6777 (insertRow): delete function
6779 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6781 2003-03-29 John Levon <levon@movementarian.org>
6783 * BufferView_pimpl.C: always update scrollbar top
6784 because pasting text when we're anchored could mean we
6785 miss an update altogether
6787 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6789 * text2.C (init): use rowlist_.end() and not 0.
6790 (insertRow): change to take a RowList::iterator as arg, adjust
6792 (insertParagraph): change to take a RowList::iterator as arg,
6794 (redoParagraphs): remove some debug msgs.
6796 * text.C (appendParagraph): change to take a RowList::iterator
6797 arg, adjust for this.
6798 (breakAgain): add an assert
6799 (breakAgainOneRow): ditto
6801 2003-03-29 John Levon <levon@movementarian.org>
6803 * text2.C: do not clear selection after inc/decDepth
6806 2003-03-29 John Levon <levon@movementarian.org>
6809 * buffer.C: fix broken strerrors according to Lars
6811 2003-03-29 John Levon <levon@movementarian.org>
6813 * converters.C: more Alert cleanups
6815 2003-03-29 John Levon <levon@movementarian.org>
6817 * bufferview_funcs.C: remove pointless Alert
6819 * buffer.C: fix confusing error message when
6820 a template is chmoded 000
6822 2003-03-29 John Levon <levon@movementarian.org>
6826 * BufferView_pimpl.C: Alert fixes
6830 * tabular-old.C: remove unused table compat reading
6832 2003-03-29 John Levon <levon@movementarian.org>
6837 * lyx_cb.C: more Alert cleanups
6839 * lyxfunc.C: don't allow chktex if not latex document
6841 2003-03-29 John Levon <levon@movementarian.org>
6845 * buffer.C: warnings pushed down from support/,
6848 2003-03-29 John Levon <levon@movementarian.org>
6850 * lyxfunc.C: safety check for C-r (revert)
6852 2003-03-29 John Levon <levon@movementarian.org>
6855 * bufferlist.C: several UI fixes using Alert::prompt.
6856 Fix the pointless looping quit code. Fix stupid revert
6861 * lyx_cb.C: use Alert::prompt
6863 * lyx_main.C: remove a silly question
6865 * lyxfunc.C: remove a couple of silly questions,
6868 2003-03-28 John Levon <levon@movementarian.org>
6870 * text2.C: fix bug 974 (End on empty par)
6872 2003-03-28 John Levon <levon@movementarian.org>
6874 * BufferView_pimpl.C:
6876 * lfuns.h: remove do-nothing math greek lfuns
6878 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6880 * lyxgluelength.h (isValidGlueLength): add default arg on
6881 parameter 2. Remove default arg from friend in class.
6883 * lyxlength.h (isValidLength): add default arg on parameter 2.
6884 Remove default arg from friend in class.
6886 * text2.C (LyXText): adjust, initialize refresh_row.
6890 (insertParagraph): adjst
6891 (redoParagraphs): adjust
6892 (fullRebreak): adjust
6893 (updateCounters): adjust
6894 (deleteEmptyParagraphMechanism): first attempt at fixing a
6897 * text.C (top_y): adjust
6898 (setHeightOfRow): adjust
6900 (getRowNearY): adjust
6902 * lyxtext.h: include RowList.h
6903 (~LyXText): not needed anymore, deleted.
6904 (firstRow): modify for RowList
6905 (lastRow): new function
6906 Delete firstrow and lastrow class variables, add a Rowlist
6907 rowlist_ class variable.
6909 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6912 * RowList.C (insert): fix case where it == begin().
6914 2003-03-26 Angus Leeming <leeming@lyx.org>
6916 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6917 the thesaurus dialog.
6919 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6921 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6923 * RowList.[Ch]: new files
6925 * ParagraphList.C (erase): handle the case where it == begin
6928 2003-03-25 John Levon <levon@movementarian.org>
6932 * aspell.C: add new aspell support
6935 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6938 2003-03-25 Angus Leeming <leeming@lyx.org>
6941 * LyXAction.C (init): new LFUN_INSET_INSERT.
6943 * BufferView_pimpl.C (dispatch): split out part of the
6944 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6946 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6949 2003-03-25 Angus Leeming <leeming@lyx.org>
6951 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6953 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6956 * text3.C: remove useless row->height(0)
6958 2003-03-25 John Levon <levon@movementarian.org>
6962 * text3.C: rename the refreshing stuff to better names
6964 2003-03-24 John Levon <levon@movementarian.org>
6966 * BufferView_pimpl.h:
6967 * BufferView_pimpl.C: update layout choice on a mouse
6970 2003-03-23 John Levon <levon@movementarian.org>
6972 * Makefile.am: fix commandtags.h reference
6974 2003-03-22 John Levon <levon@movementarian.org>
6976 * BufferView_pimpl.C:
6981 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6983 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6986 * text.C: take the rtl methods out of line
6988 2003-03-21 André Pönitz <poenitz@gmx.net>
6990 * metricsinfo.[Ch]: new files containing structures to be passed around
6991 during the two-phase-drawing...
6993 2003-03-21 André Pönitz <poenitz@gmx.net>
6995 * lyxtextclass.C: read 'environment' tag.
6997 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6999 * text2.C (removeRow): fix bug 964
7001 2003-03-20 John Levon <levon@movementarian.org>
7005 * text2.C: paint cleanups. Inset::update() dropped font
7008 2003-03-19 John Levon <levon@movementarian.org>
7010 * lyxfunc.C: only fitcursor/markDirty if available()
7012 2003-03-19 John Levon <levon@movementarian.org>
7014 * commandtags.h: rename to ...
7016 * lfuns.h: ... this, and renumber / cleanup
7018 2003-03-19 John Levon <levon@movementarian.org>
7020 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7021 fit the cursor after an lfun
7025 * BufferView_pimpl.h:
7026 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7028 * LyXAction.C: layout-character should have ReadOnly
7030 * ParagraphParameters.C:
7032 * bufferview_funcs.C:
7039 * undo_funcs.C: changes from above
7041 2003-03-18 John Levon <levon@movementarian.org>
7043 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7044 remove it from update()
7046 * lyxfunc.C: update layout choice after an lfun
7048 * text3.C: remove extra updateLayoutChoice()s
7050 2003-03-18 John Levon <levon@movementarian.org>
7052 * text.C: top_y change means full repaint, fix
7053 a drawing bug with cursor movement
7055 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7059 * text2.C: anchor row on setCursor
7061 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7063 * lyxtext.h: remove almost all mutable keywords
7066 * text3.C: remove const keywords accordingly
7068 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7070 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7072 (TeXEnvironment): ditto
7075 2003-03-17 John Levon <levon@movementarian.org>
7077 * text.C (rowBreakPoint): remove attempt to fix displayed
7078 math insets inside a manual label
7080 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7082 * lyxtext.h: remove BufferView* as first arg from almost all class
7084 * other files: adjust.
7086 2003-03-17 John Levon <levon@movementarian.org>
7090 * text2.C: more paint cleanups
7092 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7095 * rowpainter.C: remove "smart" background painting code
7097 2003-03-16 John Levon <levon@movementarian.org>
7102 * text3.C: add helper functions for setting refresh_row/y
7104 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7106 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7107 newline inset which *can* get inserted in the pass_thru layouts.
7108 This is primarily for literate documents.
7110 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7112 * buffer.C: increment LYX_FORMAT to 223
7114 2003-03-14 André Pönitz <poenitz@gmx.net>
7116 * textclass.h: prepare for environment handling, ws changes
7117 * lyxlayout.C: read latexheader and latexfooter tags
7119 2003-03-14 John Levon <levon@movementarian.org>
7121 * text2.C: rewrite ::status() a bit
7123 2003-03-13 John Levon <levon@movementarian.org>
7125 * lyxtext.h: add some docs
7127 2003-03-13 John Levon <levon@movementarian.org>
7132 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7134 2003-03-13 John Levon <levon@movementarian.org>
7136 * text3.C: fix appendix redrawing
7138 2003-03-13 John Levon <levon@movementarian.org>
7140 * text.C (setHeightOfRow):
7142 * rowpainter.C: make appendix mark have the text
7143 "Appendix" so the user knows what it is
7146 * LColor.C: s/appendixline/appendix/ from above
7148 2003-03-13 John Levon <levon@movementarian.org>
7150 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7152 * text.C: fix a getChar(pos) bug properly
7154 2003-03-13 Angus Leeming <leeming@lyx.org>
7157 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7158 Probably only temporary. Let's see how things pan out.
7160 * BufferView.C (unlockInset):
7161 * BufferView_pimpl.C (fitCursor):
7162 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7164 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7165 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7167 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7168 new functions that convert ParagraphParameters to and from a string.
7170 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7171 BufferView::Pimpl's dispatch.
7172 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7174 2003-03-13 André Pönitz <poenitz@gmx.net>
7178 * factory.C: make it aware of InsetEnv
7180 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7182 * text2.C (setCursor): never ask for one past last
7183 (setCursor): add some debugging messages.
7185 * text.C (singleWidth): never ask for one past last
7186 (singleWidth): ditto
7188 (rightMargin): ditto
7189 (rowBreakPoint): ditto
7190 (setHeightOfRow): ditto
7191 (prepareToPrint): ditto
7193 * rowpainter.C (paintBackground): never ask for one past last
7194 (paintText): never ask for one past last
7196 * paragraph_pimpl.C (getChar): make the assert stricter, never
7197 allow the one past last pos to be taken
7199 * paragraph.C (getChar): ws changes only
7201 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7202 (numberOfSeparators): ditto
7203 (numberOfHfills): ditto
7205 2003-03-12 John Levon <levon@movementarian.org>
7211 * paragraph_funcs.C: fix per-buffer authorlists
7213 2003-03-12 John Levon <levon@movementarian.org>
7215 * text.C: fix newline in right address
7217 2003-03-12 Angus Leeming <leeming@lyx.org>
7219 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7220 duplicate those in LyXFunc::dispatch.
7224 * ToolbarDefaults.C:
7225 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7226 Add LFUN_FONTFREE_UPDATE.
7228 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7229 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7231 * bufferview_func.[Ch]: several new functions to facilliate
7232 transfer of data to and from the character dialog.
7234 2003-03-12 John Levon <levon@movementarian.org>
7239 * paragraph_funcs.C:
7240 * paragraph_pimpl.C:
7244 * text3.C: remove META_NEWLINE in favour of an inset
7247 * rowpainter.C: remove paintNewline (done by inset)
7249 2003-03-12 John Levon <levon@movementarian.org>
7251 * paragraph_pimpl.C: complain about bad getChar()s
7252 for a while at least
7254 2003-03-12 John Levon <levon@movementarian.org>
7257 * buffer.C: move paragraph read into a separate function,
7258 a little renaming to reflect that.
7261 * bufferparams.C: remove the author_ids map, not necessary now
7264 * factory.C: moved Buffer::readInset to here
7266 * paragraph_funcs.h:
7267 * paragraph_funcs.C: readParagraph free function moved from
7270 * tabular.C: name change
7272 2003-03-12 John Levon <levon@movementarian.org>
7275 * ParagraphParameters.C: move par params input to
7278 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7279 behave like a normal read from the stream wrt reading
7280 a line vs. a \\token
7282 2003-03-12 John Levon <levon@movementarian.org>
7285 * ParagraphParameters.h:
7286 * ParagraphParameters.C: move output code to a
7289 2003-03-12 John Levon <levon@movementarian.org>
7291 * BufferView.C (insertLyXFile):
7294 * tabular.C: use a parlist iterator for creating the
7297 2003-03-12 John Levon <levon@movementarian.org>
7299 * buffer.C: make current_change static local not
7302 2003-03-12 John Levon <levon@movementarian.org>
7304 * buffer.C: fix insertStringAsLines for change tracking
7306 2003-03-12 John Levon <levon@movementarian.org>
7313 * bufferparams.C: move author list into params. Rename some
7314 functions. Move the header reading into a separate token
7315 loop. Move the header token reading into BufferParams.
7317 2003-03-12 John Levon <levon@movementarian.org>
7319 * changes.C: put debug inside lyxerr.debugging() checks
7321 2003-03-11 André Pönitz <poenitz@gmx.net>
7323 * factory.C: make it aware of InsetHFill
7325 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7327 * buffer.C (latexParagraphs): move function from here...
7328 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7331 2003-03-10 Angus Leeming <leeming@lyx.org>
7333 * LyXAction.C (init): fix bug in poplating array with multiple entries
7334 with the same LFUN (spotted by JMarc).
7336 2003-03-10 John Levon <levon@movementarian.org>
7339 * text2.C: move getColumnNearX() near its
7342 2003-03-10 John Levon <levon@movementarian.org>
7344 * text.C: fix break before a minipage
7346 2003-03-10 John Levon <levon@movementarian.org>
7348 * text.C: fix the last commit
7350 2003-03-09 John Levon <levon@movementarian.org>
7354 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7355 bug 365 (don't break before insets unless needed). Don't
7356 return a value > last under any circumstances.
7358 2003-03-09 Angus Leeming <leeming@lyx.org>
7360 * BufferView_pimpl.C (trackChanges, dispatch): call
7361 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7363 2003-03-09 Angus Leeming <leeming@lyx.org>
7365 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7366 than Dialogs::showAboutlyx().
7368 2003-03-09 Angus Leeming <leeming@lyx.org>
7370 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7371 than Dialogs::showTabularCreate().
7373 2003-03-09 John Levon <levon@movementarian.org>
7377 * text2.C: 3rd arg to nextBreakPoint was always the same.
7380 2003-03-08 John Levon <levon@movementarian.org>
7387 * text2.C: Remove the "main" bit from the "main body"
7390 2003-03-08 John Levon <levon@movementarian.org>
7392 * text.C (leftMargin): The left margin of an empty
7393 manual label paragraph should not include the label width
7396 * text.C (prepareToPrint): don't attempt to measure hfills
7397 for empty manual label paragraphs - the answer should be 0
7399 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7401 * CutAndPaste.C: remove commented code and reindent.
7403 2003-03-08 John Levon <levon@movementarian.org>
7406 * lyxfunc.C: move reloadBuffer()
7409 * BufferView.C: to here
7411 * lyxvc.C: add comment
7414 * vc-backend.C: call bv->reload() to avoid
7415 getStatus() check on MENURELOAD
7417 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7419 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7420 to an old format .dep file.
7422 2003-03-07 Angus Leeming <leeming@lyx.org>
7424 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7425 when the LFUN_MOUSE_RELEASE should have been handled by
7426 inset->localDispatch.
7428 2003-03-07 Angus Leeming <leeming@lyx.org>
7430 * BufferView_pimpl.C (dispatch):
7431 * LyXAction.C (init):
7432 * ToolbarDefaults.C (init):
7434 * lyxfunc.C (getStatus):
7435 remove LFUN_INSET_GRAPHICS.
7437 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7439 2003-03-07 Angus Leeming <leeming@lyx.org>
7442 * LyXAction.C (init):
7443 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7445 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7448 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7450 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7451 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7453 2003-03-07 Angus Leeming <leeming@lyx.org>
7455 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7458 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7460 * ParagraphList.C (front): new function
7463 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7465 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7466 and top_row_offset_. removed var first_y.
7468 * text2.C (LyXText, removeRow):
7470 * BufferView_pimpl.C:
7471 use these methods instead of using first_y
7473 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7475 * text2.C (pasteSelection): adjust for checkPastePossible
7477 * CutAndPaste.C: remove Paragraph * buf and replace with
7478 ParagraphList paragraphs.
7479 (DeleteBuffer): delete
7480 (cutSelection): change the tc type to textclass_type
7481 (copySelection): change the tc type to textclass_type
7482 (copySelection): adjust for ParagraphList
7483 (pasteSelection): change the tc type to textclass_type
7484 (pasteSelection): adjust for Paragraphlist
7485 (nrOfParagraphs): simplify for ParagraphList
7486 (checkPastePossible): simplify for ParagraphList
7487 (checkPastePossible): remove unused arg
7489 * ParagraphList.C (insert): handle the case where there are no
7492 * CutAndPaste.h: make CutAndPaste a namespace.
7494 * text3.C (dispatch): adjust
7496 * text.C (breakParagraph): add a ParagraphList as arg
7498 * paragraph_funcs.C (breakParagraph): change to take a
7499 BufferParams and a ParagraphList as args.
7500 (breakParagraphConservative): ditto
7501 (mergeParagraph): ditto
7502 (TeXDeeper): add a ParagraphList arg
7503 (TeXEnvironment): ditto
7506 * buffer.C (readLyXformat2): adjust
7507 (insertStringAsLines): adjust
7508 (latexParagraphs): adjust
7510 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7511 (cutSelection): adjust
7512 (pasteSelection): adjust
7514 * BufferView_pimpl.C (insertInset): adjust
7516 2003-03-05 Angus Leeming <leeming@lyx.org>
7519 * LyXAction.C (init):
7520 * BufferView_pimpl.C (dispatch):
7521 * lyxfunc.C (getStatus):
7522 remove LFUN_CHILD_INSERT.
7524 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7526 2003-03-05 Angus Leeming <leeming@lyx.org>
7529 * LyXAction.C (init):
7530 * src/factory.C (createInset):
7531 * lyxfunc.C (getStatus):
7532 * text3.C (dispatch):
7533 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7535 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7537 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7539 * ParagraphList.C (insert): handle insert right before end()
7540 (erase): fix cases where it can be first or last paragraph.
7542 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7544 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7545 Paragraph::next and Paragraph::previous
7548 * text.C (breakParagraph): adjust
7550 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7551 BufferParams& as arg.
7552 (breakParagraph): use ParagraphList::insert
7553 (breakParagraphConservative): take a Buffer* instead of a
7554 BufferParams& as arg.
7555 (breakParagraphConservative): use ParagraphList::insert.
7557 * buffer.C (insertStringAsLines): un-const it
7558 (insertStringAsLines): adjust
7560 * ParagraphList.C (insert): new function
7562 * CutAndPaste.C (pasteSelection): adjust
7564 * text.C (backspace): adjust
7566 * tabular.C (SetMultiColumn): adjust
7568 * CutAndPaste.C (cutSelection): adjust
7569 (pasteSelection): adjust
7571 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7572 Buffer const * as arg
7574 * ParagraphList.C (erase): new function
7575 * paragraph_funcs.C (mergeParagraph): use it
7576 (mergeParagraph): make it take a Buffer* instead of a
7577 BufferParams* as arg
7579 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7581 (breakParagraphConservative): ditto
7583 * paragraph.h: remove the breakParagraph friend
7585 * paragraph.C (eraseIntern): new function
7586 (setChange): new function
7588 * paragraph_funcs.C (mergeParagraph): make it take a
7589 ParagraphList::iterator instead of a Paragraph *, adjust
7592 * paragraph.h: move an #endif so that the change tracking stuff
7593 also works in the NO_NEXT case.
7595 2003-03-04 Angus Leeming <leeming@lyx.org>
7598 * LyXAction.C: new LFUN_INSET_MODIFY.
7600 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7601 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7603 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7605 * several files: ws changes only
7607 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7608 (TeXEnvironment): ditto
7611 * buffer.C (makeLaTeXFile): adjust
7612 (latexParagraphs): make it take ParagraphList::iterator as args
7614 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * buffer.C (latexParagraphs): adjust
7618 * paragraph.C (TeXOnePar): move function...
7619 (optArgInset): move function...
7620 (TeXEnvironment): move function...
7621 * paragraph_pimpl.C (TeXDeeper): move function...
7622 * paragraph_funcs.C: ...here
7624 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7626 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7628 * buffer.C (readInset): remove compability code for old Figure and
7631 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7633 * buffer.C: ws changes
7636 * BufferView_pimpl.C: ditto
7639 * bufferlist.h: ditto
7643 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7645 * converter.[Ch]: split into itself +
7648 * Makefile.am: += graph.[Ch] + format.[Ch]
7655 * lyxrc.C: added #include "format.h"
7657 2003-02-27 Angus Leeming <leeming@lyx.org>
7659 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7662 * factory.C (createInset): add "label" to the factory.
7664 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7665 string and do no more.
7667 2003-02-27 Angus Leeming <leeming@lyx.org>
7670 * LyXAction.C (init):
7671 * factory.C (createInset):
7672 * BufferView_pimpl.C (dispatch):
7673 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7675 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7677 * lyxfunc.C (dispatch):
7678 * text3.C (dispatch): pass name to params2string.
7680 2003-02-26 Angus Leeming <leeming@lyx.org>
7682 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7684 Rearrange the ~includes. Strip out the unnecessary ones.
7686 * factory.C (createInset): reformat.
7687 create new insets for the various LFUN_XYZ_APPLY lfuns.
7689 2003-02-26 John Levon <levon@movementarian.org>
7692 * lyxrow.C: add isParStart,isParEnd helpers
7694 * paragraph.h: make isInserted/DeletedText take refs
7696 * paragraph_funcs.h:
7697 * paragraph_funcs.C: remove #if 0'd code
7702 * text.C: use lyxrow helpers above.
7703 Move draw and paint routines to RowPainter.
7704 Make several methods use refs not pointers.
7705 Make backgroundColor() const.
7706 Add markChangeInDraw(), isInInset().
7707 Merge changeRegionCase into changeCase.
7708 Make workWidth() shouldn't-happen code into an Assert.
7711 * rowpainter.C: new class for painting a row.
7714 * vspace.C: make inPixels take a ref
7716 2003-02-26 Angus Leeming <leeming@lyx.org>
7718 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7721 2003-02-25 John Levon <levon@movementarian.org>
7723 * ispell.C: give the forked command a more accurate name
7725 2003-02-22 John Levon <levon@movementarian.org>
7728 * toc.C: make TocItem store an id not a Paragraph *
7731 2003-02-21 Angus Leeming <leeming@lyx.org>
7733 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7734 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7735 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7736 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7737 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7738 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7740 * BufferView_pimpl.C (dispatch):
7741 * LyXAction.C (init):
7742 * factory.C (createInset):
7743 * lyxfunc.C (getStatus, dispatch):
7744 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7746 2003-02-21 Angus Leeming <leeming@lyx.org>
7748 * BufferView_pimpl.C (MenuInsertLyXFile):
7749 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7750 * lyxfunc.C (menuNew, open, doImport):
7751 no longer pass a LyXView & to fileDlg.
7753 2003-02-21 Angus Leeming <leeming@lyx.org>
7755 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7756 * LyXAction.C: change, BIBKEY to BIBITEM.
7757 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7758 Change InsetBibKey to InsetBibitem.
7759 Change BIBKEY_CODE to BIBITEM_CODE.
7760 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7761 * factory.C: replace insetbib.h with insetbibitem.h.
7762 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7763 * paragraph.C: replace insetbib.h with insetbibitem.h.
7764 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7765 Change bibkey() to bibitem().
7766 * text.C: remove insetbib.h.
7767 * text2.C: replace insetbib.h with insetbibitem.h.
7768 change bibkey() to bibitem().
7769 * text3.C: remove insetbib.h.
7770 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7772 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7774 * lyxrc.C (output): enclose user email in quotes (in case there are
7777 2003-02-18 John Levon <levon@movementarian.org>
7779 * buffer.h: add std::
7781 2003-02-17 John Levon <levon@movementarian.org>
7787 * pspell.C: reworking. Especially in ispell, a large
7788 number of clean ups and bug fixes.
7790 * lyxfunc.C: fix revert to behave sensibly
7792 2003-02-17 André Pönitz <poenitz@gmx.net>
7795 * commandtags.h: new LFUN_INSERT_BIBKEY
7805 * paragraph_func.C: remove special bibkey handling
7807 2003-02-17 John Levon <levon@movementarian.org>
7809 * text.C (Delete): fix case where delete at the end of
7810 the very first paragraph would not merge the pars
7812 2003-02-17 John Levon <levon@movementarian.org>
7814 * lyxrow.C: fix lastPrintablePos()
7816 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7818 * bufferparams.C (writeLaTeX): add a std:here
7820 * buffer.C: and remove a using directive there
7822 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7824 * buffer.C (makeLaTeXFile): move the code that generates the
7827 * bufferparams.C (writeLaTeX): ... in this new method
7829 * LaTeXFeatures.C (getEncodingSet): make const
7830 (getLanguages): make const
7832 * MenuBackend.C (binding): returns the binding associated to this
7834 (add): sets the status of each item by calling getStatus. Adds
7836 (read): add support for OptSubMenu
7837 (expand): remove extra separator at the end of expanded menu
7839 2003-02-15 John Levon <levon@movementarian.org>
7842 * BufferView_pimpl.C:
7844 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7845 inset code that had no actual effect. Remove unneeded status
7848 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7850 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7853 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7855 * text.C (drawLengthMarker): also draw an arrow marker for
7856 symbolic lengths (medskip...)
7858 2003-02-14 John Levon <levon@movementarian.org>
7861 * tabular.C: better method names
7863 2003-02-14 John Levon <levon@movementarian.org>
7865 * BufferView_pimpl.C:
7870 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7871 it's a more accurate name. Remove some pointless uses.
7873 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7875 * text2.C (LyXText): change order of initilizers to shut off
7878 2003-02-14 John Levon <levon@movementarian.org>
7880 * buffer.C: use ParIterator for getParFromID()
7884 * paragraph_pimpl.h:
7885 * paragraph_pimpl.C: remove unused getParFromID()
7887 2003-02-14 John Levon <levon@movementarian.org>
7889 * buffer.C: remove some very old #if 0'd parse code
7891 2003-02-13 John Levon <levon@movementarian.org>
7895 * text2.C: move hfillExpansion(), numberOfSeparators(),
7896 rowLast(), rowLastPrintable(), numberofHfills(),
7897 numberOfLabelHfills() ...
7900 * lyxrow.C: ... to member functions here.
7905 * text.C: remove LyXText::beginningOfMainBody(), and call
7906 p->beginningOfMainBody() directly. Move the check for
7907 LABEL_MANUAL into the latter.
7914 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7920 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7921 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7923 2003-02-13 John Levon <levon@movementarian.org>
7925 * CutAndPaste.C: remove debug
7927 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7929 * paragraph.C (asString): remove two unused variables
7931 * lyxtextclass.C (readTitleType):
7933 (LyXTextClass): handle new members titletype_ and titlename_
7935 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7937 2003-02-09 John Levon <levon@movementarian.org>
7940 * buffer.C: replace hand-coded list with a map for the dep clean
7942 2003-02-08 John Levon <levon@movementarian.org>
7944 * LaTeX.C: consolidate code into showRunMessage() helper
7946 2003-02-08 John Levon <levon@movementarian.org>
7951 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7952 and pass the size in explicitly
7954 * BufferView_pimpl.h:
7955 * BufferView_pimpl.C:
7957 * BufferView.C: add getCurrentChange()
7959 * BufferView_pimpl.h:
7960 * BufferView_pimpl.C: handle change lfuns
7962 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7963 for changes. Mark pasted paragraphs as new.
7965 * support/lyxtime.h:
7966 * support/lyxtime.C:
7967 * DepTable.C: abstract time_t as lyx::time_type
7970 * LColor.C: add colours for new text, deleted text, changebars
7972 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7973 package use "usenames" option.
7977 * LyXAction.C: add change lfuns
7981 * author.C: author handling
7984 * buffer.C: add a per-buffer author list, with first entry as
7985 current author. Handle new .lyx tokens for change tracking. Output
7986 author list to .lyx file. Output dvipost stuff to .tex preamble.
7987 Bump lyx format to 222.
7990 * bufferlist.C: add setCurrentAuthor() to reset current author details
7994 * bufferparams.C: add param for tracking
7996 * bufferview_funcs.C: output change info in minibuffer
8000 * changes.C: add change-tracking structure
8003 * debug.C: add CHANGES debug flag
8006 * lyxfind.C: add code for finding the next change piece
8009 * lyxrc.C: add user_name and user_email
8012 * lyxrow.C: add a metric for the top of the text line
8015 * text.C: implement accept/rejectChange()
8018 * text.C: paint changebars. Paint new/deleted text in the chosen
8019 colours. Strike through deleted text.
8023 * paragraph_pimpl.h:
8024 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8025 in the current change to the insert functions. Rework erase to
8026 mark text as deleted, adding an eraseIntern() and a range-based
8027 erase(). Implement per-paragraph change lookup and
8030 * paragraph_funcs.C: Fixup paste for change tracking.
8032 * tabular.C: mark added row/columns as new.
8034 * text.C: fix rowLast() to never return -1. Don't allow
8035 spellchecking of deleted text. Track transpose changes. Don't
8036 allow paragraph break or merge where appropriate.
8038 * text2.C: leave cursor at end of selection after a cut.
8040 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8042 * text.C (getLengthMarkerHeight):
8043 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8044 visible on screen too.
8046 2003-02-07 John Levon <levon@movementarian.org>
8048 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8050 2003-02-05 Angus Leeming <leeming@lyx.org>
8052 * lyxserver.C (read_ready): revert my patch of 11 September last year
8053 as it sends PC cpu through the roof. Presumably this means that
8054 the lyxserver will no longer run on an Alpha...
8056 2003-01-30 Angus Leeming <leeming@lyx.org>
8058 * factory.C (createInset): create an InsetCommandParam of type "index"
8059 and use it to 'do the right thing'.
8061 * text2.C (getStringToIndex): ensure that cursor position is always
8062 reset to the reset_cursor position.
8064 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8066 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8069 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8073 * lyxfunc.C: Output messages with identical spelling, punctuation,
8076 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8078 * MenuBackend.C (expandFormats): List only viewable export formats
8081 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8084 * lyxfunc.C (getStatus): Make sure that formats other than
8085 "fax" can also be disabled
8087 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8089 * text3.C (dispatch): put the lfuns that insert insets in 3
8090 groups, and call doInsertInset with appropriate arguments.
8091 (doInsertInset): new function, that creates an inset and inserts
8092 it according to some boolean parameters.
8094 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8096 * buffer.C (readFile): remember to pass on 'par' when calling
8097 readFile recursively.
8099 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8101 * MenuBackend.C (expandFormats): add "..." to import formats.
8103 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8105 * paragraph.C (asString): Remove XForms RTL hacks.
8107 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8108 * buffer.C: fix typo
8110 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8112 * Makefile.am (LIBS): delete var
8113 (lyx_LDADD): add @LIBS@ here instead.
8115 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8117 * Clarify the meaning of "wheel mouse jump"
8119 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8121 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8124 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8126 * importer.C (Loaders): do not preallocate 3 elements in the
8127 vector, since one ends up with 6 elements otherwise
8129 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8131 * DepTable.C (write): write the file name as last element of the
8132 .dep file (because it may contain spaces)
8133 (read): read info in the right order
8135 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8137 * paragraph_pimpl.C (simpleTeXBlanks):
8138 (simpleTeXSpecialChars):
8139 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8141 * tabular.C (latex): add some missing case statements. Reindent.
8143 * MenuBackend.C (expandToc): remove unused variable.
8145 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8154 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8157 2003-01-05 John Levon <levon@movementarian.org>
8160 * BufferView.C: add getEncoding()
8163 * kbsequence.C: do not store last keypress
8166 * lyxfunc.C: store last keypress here instead. Pass encoding
8169 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8171 * lyx_main.C (init): remove annoying error message when following
8172 symbolic links (bug #780)
8174 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8176 * text.C (insertChar):
8177 * lyxrc.C (getDescription): remove extra spaces
8179 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8181 * lyxrc.C (getDescription): remove extra spaces
8183 2002-12-20 John Levon <levon@movementarian.org>
8185 * text3.C: hack fix for page up/down across tall rows
8187 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8189 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8192 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8194 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8195 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8196 thesaurus is not compiled in
8198 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8200 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8202 2002-12-16 Angus Leeming <leeming@lyx.org>
8205 * lyx_main.C (init): remove override_x_deadkeys stuff.
8207 2002-12-12 John Levon <levon@movementarian.org>
8209 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8210 insert. Only remove shift modifier under strict
8213 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8215 * MenuBackend.C (expandToc): fix crash.
8217 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8219 * MenuBackend.C (expandToc): gettext on float names.
8221 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8223 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8224 implement bool empty() [bug 490]
8226 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8228 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8230 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8232 * several files: ws changes
8234 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8236 * text2.C (setCounter): clean up a bit, use boost.format.
8237 (updateCounters): initialize par upon declaration.
8239 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8240 if the layout exists. We do not just store the layout any more.
8241 (SwitchLayoutsBetweenClasses): use boost.format
8243 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8245 * converter.C (convert): if from and to files are the same, use a
8246 temporary files as intermediary
8248 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8251 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8253 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8255 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8257 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8259 * tabular.C (asciiPrintCell): use string(size, char) instead of
8262 * sgml.C (openTag): fix order of arguments to string constructor
8265 * lyxfunc.C (dispatch): use boost.format
8267 * lots of files: change "c" -> 'c'
8269 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8271 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8273 2002-11-25 Angus Leeming <leeming@lyx.org>
8275 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8277 * lyx_main.C (init): compile fix.
8279 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8281 * lyx_cb.C (start): boost.formatify
8282 do not include <iostream>
8284 * lengthcommon.C: ws only
8286 * boost-inst.C,BoostFormat.h: add more explict instantations
8288 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8290 * lots of files: handle USE_BOOST_FORMAT
8292 2002-11-21 John Levon <levon@movementarian.org>
8294 * pspell.C: fix compile
8296 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8298 * lyxfunc.C (dispatch): use boost::format
8302 * lyxfont.C (stateText): use boost::format
8304 * lyx_main.C (LyX): use boost::format
8306 (queryUserLyXDir): ditto
8309 (typedef boost::function): use the recommened syntax.
8311 * importer.C (Import): use boost::format
8313 * debug.C (showLevel): use boost::format
8315 * converter.C (view): use boost::format
8320 * bufferview_funcs.C (currentState): use boost::format
8322 * bufferlist.C (emergencyWrite): use boost::format
8324 * buffer.C (readLyXformat2): use boost::format
8325 (parseSingleLyXformat2Token): ditto
8327 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8329 * LaTeX.C (run): use boost::format
8331 * Chktex.C (scanLogFile): use boost::format
8333 * BufferView_pimpl.C (savePosition): use boost::format
8334 (restorePosition): ditto
8335 (MenuInsertLyXFile): ditto
8337 * BoostFormat.h: help file for explicit instation.
8339 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8341 * tabular.C (latex): Support for block alignment in fixed width
8344 2002-11-17 John Levon <levon@movementarian.org>
8346 * BufferView_pimpl.C:
8348 * lyxfunc.C: split filedialog into open/save
8350 2002-11-08 Juergen Vigna <jug@sad.it>
8352 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8353 by my last patch (hopefully).
8355 2002-11-08 John Levon <levon@movementarian.org>
8364 * toc.C: ParConstIterator, and use it (from Lars)
8366 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8368 * lyxtextclass.[Ch]: revise and add doxygen comments
8370 2002-11-07 John Levon <levon@movementarian.org>
8372 * text.C: fix progress value for spellchecker
8374 * toc.C: fix navigate menu for insetwrap inside minipage
8376 * paragraph_funcs.C: added FIXME for suspect code
8378 2002-11-07 John Levon <levon@movementarian.org>
8380 * BufferView_pimpl.C: fix redrawing of insets
8383 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8385 * text2.C (updateCounters): fix bug 668
8387 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8389 * text3.C (dispatch): Do not make the buffer dirty when moving the
8392 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8394 * vc-backend.C: STRCONV
8397 * text2.C (setCounter): STRCONV
8399 * paragraph.C (asString): STRCONV
8401 * lyxlength.C (asString): STRCONV
8402 (asLatexString): ditto
8404 * lyxgluelength.C (asString): STRCONV
8405 (asLatexString): ditto
8407 * lyxfunc.C (dispatch): STRCONV
8410 * lyxfont.C (stateText): STRCONV
8412 * importer.C (Import): STRCONV
8414 * counters.C (labelItem): STRCONV
8415 (numberLabel): ditto
8416 (numberLabel): remove unused ostringstream o
8421 * bufferview_funcs.C (currentState): STRCONV
8423 * buffer.C (readFile): STRCONV
8424 (asciiParagraph): ditto
8425 (makeLaTeXFile): ditto
8427 * Spacing.C (writeEnvirBegin): STRCONV
8429 * LaTeXFeatures.C (getLanguages): STRCONV
8430 (getPackages): ditto
8432 (getBabelOptions): ditto
8433 (getTClassPreamble): ditto
8434 (getLyXSGMLEntities): ditto
8435 (getIncludedFiles): ditto
8439 (scanAuxFile): ditto
8442 * LString.h: add the STRCONV macros
8444 * BufferView_pimpl.C (savePosition): STRCONV
8445 (restorePosition): ditto
8446 (MenuInsertLyXFile): ditto
8448 * vc-backend.C (scanMaster): change from submatch[...] to
8451 * funcrequest.C: include config.h
8453 * factory.C: include config.h
8455 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8457 * box.C: include config.h
8459 * LaTeX.C (scanAuxFile): change from submatch[...] to
8463 2002-10-25 Angus Leeming <leeming@lyx.org>
8465 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8467 * ispell.[Ch] (setError): new method.
8468 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8469 Use setError() insetead of goto END.
8471 * lyx_cb.C (AutoSave): move out child process into new class
8474 2002-10-30 John Levon <levon@movementarian.org>
8476 * text3.C: make start appendix undoable
8478 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8480 * lyxlength.C (inPixels): Fix returned value.
8482 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8485 2002-10-24 Angus Leeming <leeming@lyx.org>
8487 * lyxgluelength.h: no need to forward declare BufferParams
8488 or BufferView, so don't.
8490 2002-10-21 John Levon <levon@movementarian.org>
8492 * BufferView.C: menuUndo ->undo, redo
8494 * BufferView.h: document, remove dead, make some methods private
8496 * paragraph_funcs.h:
8497 * paragraph_funcs.C:
8498 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8503 * sgml.C: move sgml open/close tag into sgml.C
8505 * bufferview_funcs.h: unused prototype
8508 * lyxfunc.C: remove unused
8511 * text.C: remove unused
8513 2002-10-21 John Levon <levon@movementarian.org>
8517 * BufferView_pimpl.h:
8518 * BufferView_pimpl.C: fix mouse wheel handling based on
8519 patch from Darren Freeman
8521 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8523 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8525 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8527 * lyxlength.C (inPixels): Fix hanfling of negative length.
8528 Fix LyXLength::MU case.
8530 2002-10-16 John Levon <levon@movementarian.org>
8532 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8534 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8536 * converter.C (view): add support for $$i (file name) and $$p
8537 (file path) for the viewer command. If $$i is not specified, then
8538 it is appended to the command (for compatibility with old syntax)
8540 2002-10-14 Juergen Vigna <jug@sad.it>
8542 * undo_funcs.C (textHandleUndo): alter the order in which the
8543 new undopar is added to the LyXText, as we have to set first
8544 the right prev/next and then add it as otherwise the rebuild of
8545 LyXText is not correct. Also reset the cursor to the right paragraph,
8546 with this IMO we could remove the hack in "redoParagraphs()".
8548 2002-10-09 Angus Leeming <leeming@lyx.org>
8550 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8551 to turn off an optimisation if a new inset is to be inserted.
8553 2002-10-11 André Pönitz <poenitz@gmx.net>
8555 * lyxtext.h: make some functions public to allow access
8556 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8558 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8560 * text3.C (dispatch): when changing layout, avoid an infinite loop
8563 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8565 * lyxrc.C (read): treat a viewer or converter command of "none" as
8568 * MenuBackend.C (expandFormats): for an update, also allow the
8569 formats that are not viewable
8571 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8572 script if it is newer than the lyxrc.defaults in user directory
8574 2002-10-07 André Pönitz <poenitz@gmx.net>
8576 * text.C: Vitaly Lipatov's small i18n fix
8578 2002-09-25 Angus Leeming <leeming@lyx.org>
8580 * ispell.h: doxygen fix.
8582 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8584 * buffer.h (readFile): Add a new argument to the method, to allow
8585 reading of old-format templates.
8587 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8589 * toc.C (getTocList): Get TOC from InsetWrap.
8591 2002-09-16 John Levon <levon@movementarian.org>
8593 * lyxfunc.C: check tabular for cut/copy too
8595 2002-09-12 John Levon <levon@movementarian.org>
8600 * factory.C: add header
8602 * paragraph_funcs.h:
8603 * paragraph_funcs.C: cleanup
8605 2002-09-11 John Levon <levon@movementarian.org>
8607 * PrinterParams.h: odd/even default to true
8609 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8611 * PrinterParams.h: update printer parameters for new xforms dialog
8613 2002-09-11 Angus Leeming <leeming@lyx.org>
8615 * lyxserver.C (read_ready): re-write to make it more transparent
8616 and to make it work in coherent fashion under Tru64 Unix.
8618 2002-09-11 André Pönitz <poenitz@gmx.net>
8622 * text3.C: implement LFUN_WORDSEL
8624 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8626 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8627 make floatlist_ a boost::shared_ptr<FloatList>
8629 * lyxtextclass.C: include FloatList.h
8630 (LyXTextClass): initialize floatlist_
8631 (TextClassTags): add TC_NOFLOAT
8632 (Read): match "nofloat" to TC_NOFLOAT and use it.
8633 (readFloat): modify call to floatlist_
8637 * FloatList.[Ch] (FloatList): remove commented out float
8639 (erase): new function
8641 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8643 * MenuBackend.C (expandToc): fix crash when there is no document
8646 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8648 * many files: Add insetwrap.
8650 2002-09-09 John Levon <levon@movementarian.org>
8652 * text2.C: remove confusing and awkward depth wraparound
8654 2002-09-09 John Levon <levon@movementarian.org>
8656 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8659 * buffer.C: remove getIncludeonlyList()
8662 * lyxfunc.C: remove headers
8664 2002-09-09 Juergen Vigna <jug@sad.it>
8666 * text.C (getColumnNearX): fix form Michael this is most
8667 probably a cut&paste bug.
8669 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8671 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8673 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8674 references, ws changes.
8676 * text2.C (init): update counters after init
8677 (insertParagraph): no need to set counter on idividual paragraphs.
8678 (setCounter): access the counters object in the textclass object
8679 on in the buffer object.
8680 (updateCounters): ditto
8682 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8683 shared_ptr<Counters> to avoid loading counters.h in all
8685 (LyXTextClass): initialize ctrs_
8686 (TextClassTags): add TC_COUNTER, and ...
8687 (Read): use it here.
8688 (CounterTags): new tags
8689 (readCounter): new function
8690 (counters): new funtion
8691 (defaultLayoutName): return a const reference
8693 * counters.C (Counters): remove contructor
8694 (newCounter): remove a couple of unneeded statements.
8695 (newCounter): simplify a bit.
8696 (numberLabel): some small formatting changes.
8698 * buffer.[Ch]: remove all traces of counters, move the Counters
8699 object to the LyXTextClass.
8701 2002-09-06 Alain Castera <castera@in2p3.fr>
8703 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8704 package to set the horizontal alignment on fixed width columns.
8707 * lyx_sty.h: added tabularnewline macro def.
8709 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8711 2002-09-06 John Levon <levon@movementarian.org>
8713 * LyXAction.C: tooltips for sub/superscript
8715 * MenuBackend.C: a bit more verbose
8717 * lyxfunc.C: tiny clean
8719 * undo_funcs.C: document undo_frozen
8721 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8723 * counters.C (Counters): add missing algorithm counter.
8725 * text2.C (setCounter): lookup the counter with layouts latexname
8726 instead of by section number.
8727 (setCounter): use a hackish way to lookup the correct enum
8729 a float name->type change
8730 reset enum couners with counter name directly instead of depth value.
8732 * counters.C (Counters): remove the push_backs, change to use the
8733 float type not the float name.
8734 (labelItem): remove unused string, float name->type change
8736 * counters.h: don't include vector, loose the enums and sects vectors
8738 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8740 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8741 (Read): add float->TC_FLOAT to textclassTags
8742 (Read): and handle it in the switch
8743 (readFloat): new function
8745 * FloatList.C (FloatList): comment out the hardcoded float
8748 * lyxlayout.h: ws change.
8750 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8752 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8754 2002-09-03 Angus Leeming <leeming@lyx.org>
8756 * BufferView_pimpl.h: qualified name is not allowed in member
8757 declaration: WorkArea & Pimpl::workarea() const;
8759 * factory.C: added using std::endl directive.
8761 * text3.C: added using std::find and std::vector directives.
8763 2002-08-29 André Pönitz <poenitz@gmx.net>
8766 * text2.C: remove unused member number_of_rows
8769 * BufferView2.C: remove file, move contents to...
8770 * BufferView.C: ... here
8772 * BufferView_pimpl.C:
8773 * factory.C: move more inset creation to factory
8775 * vspace.C: avoid direct usage of LyXText, ws changes
8778 don't provide direct access to WorkArea, use two simple
8779 acessors haveSelction() and workHeight() instead
8782 2002-08-29 John Levon <levon@movementarian.org>
8784 * BufferView_pimpl.C (dispatch): do not continue when
8787 2002-08-28 André Pönitz <poenitz@gmx.net>
8789 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8792 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8794 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8796 * buffer.C: increment LYX_FORMAT to 221
8798 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8799 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8801 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8803 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8805 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8807 * factory.C (createInset): use LyXTextClass::floats
8809 * MenuBackend.C (expandFloatListInsert):
8810 (expandFloatInsert):
8813 * text2.C (setCounter):
8815 * LaTeXFeatures.C (useFloat):
8816 (getFloatDefinitions):
8818 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8820 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8821 floatlist_, with accessor floats().
8823 * FloatList.h: remove global FloatList
8825 2002-08-26 André Pönitz <poenitz@gmx.net>
8827 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8831 * BufferView_pimpl.C:
8832 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8834 2002-08-25 John Levon <levon@movementarian.org>
8836 * LyXAction.C: fix margin note description
8838 2002-08-24 John Levon <levon@movementarian.org>
8842 * bufferview_funcs.C:
8844 * undo_funcs.C: cleanups
8846 * lyxfunc.C: disable CUT/COPY when no selection
8848 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8850 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8851 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8853 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8854 Add backward compatibility to "mono", "gray" and "no".
8856 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8858 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8859 (and file_format >= 200).
8861 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8863 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8865 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8867 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8869 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8871 * BufferView_pimpl.C:
8878 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8879 inset and code to make it work with the paragraph code. The inset
8880 can be anywhere in the paragraph, but will only do the expected
8881 thing in LaTeX if the layout file contains the parameter line
8883 (or more generally, a nonzero value) for that layout.
8885 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8887 * paragraph.h: remove the declaration of undefined counters class
8890 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8892 * text2.C (setCounter): fixed enumeration mis-count as reported by
8893 Dr. Richard Hawkins.
8895 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8897 * paragraph_funcs.h: remove some unneeded includes
8899 * text.C (backspace): pasteParagraph now in global scipe
8901 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8902 (pasteSelection): ditto
8904 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8905 * paragraph_funcs.C (pasteParagraph): ... here
8907 2002-08-20 André Pönitz <poenitz@gmx.net>
8909 * commandtags.h: new LFUNs for swapping/copying table row/colums
8912 * lyxfunc.C: support for new lfuns
8914 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8917 * buffer.[Ch]: remove NO_COMPABILITY stuff
8919 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8921 * boost.C (throw_exception): new file, with helper function for
8922 boost compiled without exceptions.
8927 * ParameterStruct.h:
8928 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8930 * bufferlist.C (emergencyWriteAll): use boost bind
8932 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8934 * text.C: include paragraph_funcs.h
8935 (breakParagraph): breakParagraph is now in global scope
8937 * paragraph_funcs.[Ch]: new files
8939 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8942 * buffer.C: include paragraph_funcs.h
8943 (insertStringAsLines): breakParagraph is now in global scope
8945 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8948 * CutAndPaste.C: include paragraph_funcs.h
8949 (cutSelection): breakParagraphConservative is now in global scope
8950 (pasteSelection): ditto
8952 * buffer.h: declare oprator== and operator!= for
8953 Buffer::inset_iterator
8955 * bufferlist.C (emergencyWrite): don't use fmt(...)
8957 * text3.C: add using std::endl
8959 * BufferView.C (moveCursorUpdate): remove default arg
8961 2002-08-20 André Pönitz <poenitz@gmx.net>
8963 * buffer.[Ch]: move inline functions to .C
8966 * BufferView_pimpl.C:
8968 * buffer.[Ch]: use improved inset_iterator
8971 * paragraph.[Ch]: write one paragraph at a time
8973 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8975 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8976 style if style is not specified.
8978 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8980 * text2.C (setCounter): when searching for right label for a
8981 caption, make sure to recurse to parent insets (so that a caption
8982 in a minipage in a figure float works) (bug #568)
8984 2002-08-20 André Pönitz <poenitz@gmx.net>
8986 * text3.C: new file for LyXText::dispatch() and helpers
8988 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8990 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8992 2002-08-19 André Pönitz <poenitz@gmx.net>
8995 * text.C: new LyXText::dispatch()
8997 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8999 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9001 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9003 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9006 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9008 * Makefile.am: use $(variables) instead of @substitutions@
9010 2002-08-15 André Pönitz <poenitz@gmx.net>
9013 * BufferView_pimpl.C: streamlining mathed <-> outer world
9017 * LyXAction.C: remove unused LFUN_MATH
9019 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9021 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9023 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9025 * paragraph.C (Paragraph): reformat a bit
9026 (cutIntoMinibuffer): use builtin InsetList function instad of
9030 * buffer.C: include boost/bind.hpp, add using std::for_each
9031 (writeFileAscii): use ParagraphList iterators
9032 (validate): use for_each for validate traversal of paragraphs
9033 (getBibkeyList): use ParagraphList iterators
9034 (resizeInsets): use for_each to resizeInsetsLyXText for all
9036 (getParFromID): use ParagraphList iterators
9038 * BufferView2.C (lockInset): use paragraph list and iterators
9040 2002-08-14 John Levon <levon@movementarian.org>
9042 * lyxserver.C: remove spurious xforms include
9044 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9046 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9048 2002-08-13 André Pönitz <poenitz@gmx.net>
9051 * lyxfunc.C: further cleaning
9053 2002-08-13 André Pönitz <poenitz@gmx.net>
9055 * funcrequest.h: new constructor
9057 * funcrequest.C: move stuff here from .h
9060 * BufferView_pimpl.C:
9063 * lyxfunc.C: subsequent changes
9065 * lyxfunc.h: new view() member function
9067 * lyxfunc.C: subsequent changes
9069 2002-08-13 Angus Leeming <leeming@lyx.org>
9072 * BufferView_pimpl.C:
9080 changes due to the changed LyXView interface that now returns references
9081 to member variables not pointers.
9083 2002-08-13 Angus Leeming <leeming@lyx.org>
9085 * WordLangTuple (word, lang_code): return references to strings,
9090 * lyxtext.h: forward-declare WordLangTuple.
9095 * text.C: #include "WordLangTuple.h".
9098 * text.C: (selectNextWordToSpellcheck): constify return type.
9100 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9106 * paragraph_pimpl.h:
9109 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9111 Made updateCounter always count from start of buffer, and removed
9112 second argument (par).
9113 Reverted floats number display to '#'. Perhaps I'll try again when the
9114 code base is sanitized a bit.
9116 2002-08-12 Angus Leeming <leeming@lyx.org>
9118 * buffer.[Ch] (getLabelList): constify.
9120 2002-08-07 André Pönitz <poenitz@gmx.net>
9122 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9124 * funcrequest.h: extension to keep mouse (x,y) position
9126 2002-08-12 Juergen Vigna <jug@sad.it>
9128 * BufferView2.C (insertErrors): forbid undo when inserting error
9131 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9133 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9135 * ParagraphList.[Ch]: new files
9137 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9139 * BufferView2.C (lockInset): ParagraphList changes
9142 * bufferlist.C: ditto
9146 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9148 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9149 unused class variable counter_,
9151 * paragraph.[Ch] (getFirstCounter): delete unused function
9153 * counters.C: include LAssert.h
9154 (reset): add a new function with no arg, change other version to
9155 not have def. arg and to not allow empty arg.
9157 * text2.C (setCounter): remove empty arg from call to Counters::reset
9159 2002-08-11 John Levon <levon@movementarian.org>
9161 * Makefile.am: add WordLangTuple.h
9163 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9165 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9166 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9168 * insets/insettext.C: InsetList changes
9170 * graphics/GraphicsSupport.C (operator()): InsetList changes
9172 * toc.C (getTocList): InsetList changes
9174 * paragraph_pimpl.[Ch]: InsetList changes
9176 * paragraph.[Ch]: InsetList changes
9178 * buffer.C (inset_iterator): InsetList changes
9179 (setParagraph): ditto
9180 * buffer.h (inset_iterator): ditto
9181 * iterators.C (operator++): ditto
9182 * iterators.h: ditto
9184 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9186 * InsetList.[Ch]: new files, most InsetList handling moved out of
9189 * BufferView2.C (removeAutoInsets): InsetList changes
9191 (ChangeInsets): ditto
9193 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9195 * paragraph_pimpl.h (empty): new function
9197 * paragraph.[Ch] (empty): new function
9199 * other files: use the new Paragraph::empty function
9201 2002-08-09 John Levon <levon@movementarian.org>
9203 * lyxtext.h: remove unused refresh_height
9205 2002-08-09 John Levon <levon@movementarian.org>
9212 * paragraph.C: move sgml char escaping out of paragraph
9215 * paragraph.C: remove id setter
9219 * paragraph_pimpl.C: remove dead tex_code_break_column
9221 * bufferview_funcs.C: small cleanup
9223 * lyxfunc.C: remove dead proto
9225 * lyxtext.h: make some stuff private. Remove some dead stuff.
9227 * lyxgluelength.C: make as[LyX]String() readable
9229 2002-08-08 John Levon <levon@movementarian.org>
9234 * ToolbarDefaults.C:
9237 * toc.C: lyxaction cleanup
9239 2002-08-08 John Levon <levon@movementarian.org>
9241 * BufferView2.C: small cleanup
9244 * lyxfind.C: move unnecessary header into the .C
9246 2002-08-08 John Levon <levon@movementarian.org>
9248 * funcrequest.h: just tedious nonsense
9251 * lyx_main.C: cleanups
9254 * vspace.C: remove dead header lyx_main.h
9256 2002-08-07 Angus Leeming <leeming@lyx.org>
9259 * paragraph_pimpl.h:
9260 Forward declare class Counters in paragraph.h by moving the ctrs member
9261 variable into Paragraph::Pimpl.
9262 (counters): new method, returning a reference to pimpl_->ctrs.
9264 * text2.C: ensuing changes.
9266 2002-08-07 John Levon <levon@movementarian.org>
9268 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9270 * BufferView_pimpl.C: announce X selection on double/triple
9273 * lyx_main.C: use correct bool in batch dispatch
9275 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9277 2002-08-07 André Pönitz <poenitz@gmx.net>
9279 * funcrequest.h: new class to wrap a kb_action and its argument
9282 * BufferView_pimpl[Ch]:
9286 * lyxrc.C: subsequent changes
9289 2002-08-07 John Levon <levon@movementarian.org>
9291 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9292 document options change.
9294 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9299 * makefile.am: move counters functionality over from
9300 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9302 2002-08-06 John Levon <levon@movementarian.org>
9304 * WordLangTuple.h: new file for word + language code tuple
9315 * BufferView2.C: use WordLangTuple
9318 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9320 2002-08-06 John Levon <levon@movementarian.org>
9322 * lyx_main.C: fix cmdline batch handling
9324 2002-08-06 André Pönitz <poenitz@gmx.net>
9326 * lyxrc.C: set default for show_banner to true
9328 2002-08-06 John Levon <levon@movementarian.org>
9330 * pspell.C: fix a crash, and allow new aspell to work
9332 2002-08-06 John Levon <levon@movementarian.org>
9335 * kbmap.C: small cleanup
9338 * vspace.C: add const
9340 2002-08-05 John Levon <levon@movementarian.org>
9342 * LyXAction.C: back to tabular-insert
9344 2002-08-04 John Levon <levon@movementarian.org>
9347 * BufferView.C: cosmetic change
9349 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9359 * BufferView2.C: purge all "Lyx" not "LyX" strings
9362 * lyxcursor.C: attempt to add some documentation
9367 * ToolbarDefaults.C:
9368 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9369 merge with LFUN_TABULAR_INSERT
9376 * pspell.C: split up i/pspell implementations into separate
9377 files, many cleanups
9379 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9381 * text2.C: some cleanup
9383 * lyxfunc.C: don't check for isp_command == "none" any more, it
9384 didn't make any sense
9386 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9391 * makefile.am: move counters functionality over
9392 from text2.C/paragraph.[Ch] to counters.[Ch], and
9394 2002-08-02 John Levon <levon@movementarian.org>
9396 * buffer.C: s/lyxconvert/lyx2lyx/
9398 2002-08-02 Angus Leeming <leeming@lyx.org>
9400 * lyxlex.C: revert John's change as it breaks reading of the user
9403 2002-08-02 Angus Leeming <leeming@lyx.org>
9405 * importer.C (Import):
9406 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9407 changes due to LyXView::view() now returning a boost::shared_ptr.
9409 2002-08-02 John Levon <levon@movementarian.org>
9411 * lyxlex.C: small cleanup
9413 2002-08-02 John Levon <levon@movementarian.org>
9415 * text2.C (status): small cleanup, no logic change
9417 2002-08-01 John Levon <levon@movementarian.org>
9420 * buffer.C (writeFile): don't output alerts, caller
9424 * lyx_cb.C: from above
9426 * lyxfunc.C: allow to open non-existent files
9428 2002-07-31 John Levon <levon@movementarian.org>
9430 * lyxserver.C: don't let incidental errors get
9433 2002-07-30 John Levon <levon@movementarian.org>
9435 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9437 2002-07-30 John Levon <levon@movementarian.org>
9440 * lyxserver.C: remove I/O callback too
9442 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9444 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9447 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9449 * many files: strip,frontStrip -> trim,ltrim,rtrim
9451 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9453 * PrinterParams.h: remove extern containsOnly, and include
9454 support/lstrings.h instead.
9456 * LaTeX.C (scanAuxFile): modify because of strip changes
9458 * buffer.C (makeLaTeXFile): ditto
9459 * bufferparams.C (writeFile): ditt
9460 * lyxfont.C (stateText): ditto
9461 * lyxserver.C (read_ready): ditto
9462 * vc-backend.C (scanMaster): ditto
9464 * BufferView_pimpl.h: ws changes
9466 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9468 2002-07-26 André Pönitz <poenitz@gmx.net>
9470 * kb_sequence.C: remove unnedred usings
9472 2002-07-26 Juergen Vigna <jug@sad.it>
9474 * lyxfind.C (LyXReplace): we have to check better if the returned
9475 text is not of theLockingInset()->getLockingInset().
9477 2002-07-25 Juergen Vigna <jug@sad.it>
9479 * lyxfind.C (LyXReplace): don't replace if we don't get the
9482 * undo_funcs.C (createUndo): remove debugging code.
9484 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9486 * buffer.C (parseSingleLyXformat2Token): Use default placement
9487 when reading old floats.
9489 * FloatList.C (FloatList): Change the default placement of figure
9490 and tables to "tbp".
9492 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9494 * MenuBackend.C: using std::max
9496 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9498 * MenuBackend.C (expandToc):
9499 (expandToc2): code moved from xforms menu frontend. It is now
9500 generic and TOCs are transparent to menu frontends.
9502 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9504 * toc.C (getTocList): protect against buf=0
9506 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9507 Menu as first parameter. Now, this calls itself recursively to
9508 expand a whole tree (this will be useful for TOC handling)
9509 (expandFloatInsert): remove 'wide' version of floats
9511 * MenuBackend.h (submenuname): returns the name of the submenu.
9512 (submenu): returns the submenu itself, provided it has been
9513 created by MenuBackend::expand
9515 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9517 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9518 insets which have noFontChange == true. (bug #172)
9520 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9522 * BufferView_pimpl.C: add connection objects and use them...
9525 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9527 * MenuBackend.C (expandLastfiles):
9530 (expandFloatListInsert):
9531 (expandFloatInsert):
9532 (expand): split expand in parts
9534 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9536 * lyx_gui.C: use lyx_gui::exit()
9538 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9540 * LyXAction.C: show the failing pseudo action
9542 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9544 * buffer.C (readFile): Run the lyxconvert script in order to read
9547 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9551 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9553 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9557 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9559 2002-07-22 Herbert Voss <voss@lyx.org>
9562 * lyxlength.[Ch]: add support for the vertical lengths
9564 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9566 * toc.[Ch]: std:: fixes
9568 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9570 * lyxrc.C: do not include lyx_main.h
9572 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9578 * BufferView2.C: include "lyxlex.h"
9581 * bufferparams.h: do not #include "lyxlex.h"
9583 * lyxtextclasslist.C (Add): remove method
9584 (classlist): renamed to classlist_
9586 * paragraph_pimpl.C:
9590 * bufferview_funcs.C:
9595 * toc.C (getTocList): use BufferParams::getLyXTextClass
9597 * toc.C (getTocList): use InsetFloat::addToToc
9599 * toc.[Ch]: new files, containing helper functions to handle table
9602 * lyxfunc.C (dispatch): no need to remove spaces around command
9604 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9605 first command of the sequence; it is not very clever, but I do not
9606 have a better idea, actually
9608 * LyXAction.C (LookupFunc): make sure to remove space at the
9609 beginning and end of the command
9611 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9613 * MenuBackend.C (getMenubar): new method: return the menubar of
9615 (read): treat differently reading of menu and menubar (in
9616 particular, the menubar has no name now)
9617 (Menu::menubar): remove
9619 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9622 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9624 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9625 a bibitem inset in a RTL paragraph.
9627 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9629 * paragraph_pimpl.C: constify
9631 * BufferView_pimpl.C:
9633 * lyxfunc.C: fix dispatch in a nicer way
9635 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9637 * lyxfunc.C (dispatch):
9638 * BufferView_pimpl.C:
9639 * BufferView_pimpl.h:
9641 * BufferView.h: rename Dispatch() to dispatch()
9643 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9645 * lyxlayout.C (Read): honor DependsOn tag
9647 * lyxlayout.[Ch] (depends_on): new method
9649 * version.C.in: update lyx_docversion
9651 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9653 * paragraph.C (validate): remove from here...
9654 * paragraph_pimpl.C (validate): ... and move here
9655 (isTextAt): make it const
9657 * buffer.C (getLists): ws cleanup
9659 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9661 * language.C (read): Use iso8859-1 encoding in latex_lang
9662 (this prevents LyX from crashing when using iso10646-1 encoding).
9664 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9666 * text2.C (toggleInset): if cursor is inside an inset, close the
9667 inset and leave cursor _after_ it
9669 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9671 * lyxfunc.C: move minibuffer completion handling out of here
9673 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9675 * BufferView_pimpl.C:
9676 * LaTeX.C: fix dispatch calls
9678 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9680 * text.C (drawChars): Fix Arabic text rendering.
9682 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9686 * lyxfunc.C: remove message-push/pop
9690 * lyxfunc.C: rationalise some code by removing verboseDispatch
9691 in favour of a bool argument to dispatch()
9693 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9695 * lyx_main.C (init): make sure to read symlinks as absolute paths
9697 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9700 * lyxfunc.C: no need for commandshortcut to be a member
9702 2002-07-15 André Pönitz <poenitz@gmx.net>
9704 * converter.C: add support for $$s (scripts from lib/scripts dir)
9705 * lyx_main.C: white space
9707 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9711 * lyxrc.C: remove second exit confirmation
9713 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9718 * BufferView_pimpl.h:
9719 * BufferView_pimpl.C:
9720 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9722 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9724 * MenuBackend.C (expand): add numeric shortcuts to document menu
9726 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9728 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9730 * lyxfont.C (setLyXFamily):
9737 * buffer.C (asciiParagraph): use ascii_lowercase
9739 2002-07-15 Mike Fabian <mfabian@suse.de>
9741 * lyxlex_pimpl.C (search_kw):
9742 * lyxlex.C (getLongString):
9743 * converter.h (operator<):
9744 * converter.C (operator<):
9745 * buffer.C (parseSingleLyXformat2Token):
9747 * ToolbarDefaults.C (read):
9748 * MenuBackend.C (checkShortcuts):
9750 * LColor.C (getFromGUIName):
9751 (getFromLyXName): use the compare_ascii_no_case instead of
9752 compare_no_case, because in turkish, 'i' is not the lowercase
9753 version of 'I', and thus turkish locale breaks parsing of tags.
9755 2002-07-16 Angus Leeming <leeming@lyx.org>
9757 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9758 now takes a Buffer const & argument.
9760 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9762 * BufferView.C (resize): check there's a buffer to resize
9764 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9766 * lyxfunc.C: remove dead code
9769 * lyxserver.C: use lyx_guii::set_read_callback
9771 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9773 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9774 an inset in a RTL paragraph.
9776 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9778 * lyxfunc.C: repaint after a font size update
9780 2002-07-15 André Pönitz <poenitz@gmx.net>
9782 * lyxlength.C: inBP should be able to return negative values
9784 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9786 * lyxfunc.C: use lyx_gui::update_fonts()
9788 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9790 * lyxfunc.C: use lyx_gui::update_color()
9792 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9798 * lyxrc.C: remove file->new asks for name option, and let
9799 buffer-new take an argument
9801 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9803 * BufferView_pimpl.C: remove unneeded extra repaint()
9805 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9807 * LyXAction.C: allow command-sequence with NoBuffer
9809 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9811 2002-07-10 Angus Leeming <leeming@lyx.org>
9813 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9815 2002-07-09 Angus Leeming <leeming@lyx.org>
9817 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9819 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9821 * lengthcommon.h: whitespace
9823 * lyxfunc.C: update scrollbar after goto paragraph
9825 * lyxtext.h: factor out page break drawing, and fix it so
9826 page break/added space paints as selected nicely
9828 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9830 * BufferView_pimpl.C: add FIXMEs, clean up a little
9832 2002-07-09 André Pönitz <poenitz@gmx.net>
9834 * lyxfont.[Ch]: support for wasy symbols
9836 2002-07-08 André Pönitz <poenitz@gmx.net>
9838 * BufferView_pimpl.C: apply John's patch for #93.
9840 2002-07-05 Angus Leeming <leeming@lyx.org>
9842 * BufferView_pimpl.C (buffer): generate previews if desired.
9844 * LColor.h: add "preview" to the color enum.
9846 * LColor.C (LColor): add a corresponding entry to the items array.
9848 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9851 2002-07-05 Angus Leeming <leeming@lyx.org>
9853 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9854 The body of the code is now in the method that is passed an ostream &
9855 rather than a file name.
9856 Pass an additional only_preamble parameter, useful for the forthcoming
9859 2002-07-03 André Pönitz <poenitz@gmx.net>
9861 * lyxfunc.C: simplify getStatus() a bit for math stuff
9863 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9865 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9867 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9869 * text.C (changeRegionCase): do not change case of all the
9870 document when region ends at paragraph end (bug #461)
9872 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9874 * paragraph.C (startTeXParParams):
9875 (endTeXParParams): add \protect when necessary
9877 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9879 * BufferView_pimpl.C (workAreaExpose): remove warning
9881 2002-06-27 Angus Leeming <leeming@lyx.org>
9883 * Makefile.am: add lyxlayout_ptr_fwd.h.
9885 2002-06-26 André Pönitz <poenitz@gmx.net>
9887 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9889 2002-06-25 Angus Leeming <leeming@lyx.org>
9891 * lyxfunc.C (dispatch): Comment out the call to
9892 grfx::GCache::changeDisplay. The method no longer exists now that the
9893 pixmap generation part of the graphics loader has been moved into
9896 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9898 * text2.C: layout as layout
9900 * text.C: layout as layout
9902 * tabular.C (OldFormatRead): layout as layout
9904 * paragraph_pimpl.C (TeXDeeper): layout as layout
9905 (realizeFont): layout as layout
9907 * paragraph.C (writeFile): layout as layout
9908 (validate): layout as layout
9909 (getFont): layout as layout
9910 (getLabelFont): layout as layout
9911 (getLayoutFont): layout as layout
9912 (breakParagraph): layout as layout
9913 (stripLeadingSpaces): layout as layout
9914 (getEndLabel): layout as layout
9915 (getMaxDepthAfter): layout as layout
9916 (applyLayout): layout as layout
9917 (TeXOnePar): layout as layout
9918 (simpleTeXOnePar): layout as layout
9919 (TeXEnvironment): layout as layout
9920 (layout): layout as layout
9921 (layout): layout as layout
9923 * lyxtextclass.C (compare_name): new functor to work with
9924 shared_ptr, layout as layout
9925 (Read): layout as layout
9926 (hasLayout): layout as layout
9927 (operator): layout as layout
9928 (delete_layout): layout as layout
9929 (defaultLayout): layout as layout
9931 * lyxlayout_ptr_fwd.h: new file
9933 * lyxlayout.C (Read): layout as layout
9935 * lyx_cb.C (MenuInsertLabel): layout as layout
9937 * bufferlist.C (newFile): layout as layout
9939 * buffer.C (readLyXformat2): layout as layout
9940 (parseSingleLyXformat2Token): layout as layout
9941 (insertStringAsLines): layout as layout
9942 (asciiParagraph): layout as layout
9943 (latexParagraphs): layout as layout
9944 (makeLinuxDocFile): layout as layout
9945 (simpleLinuxDocOnePar): layout as layout
9946 (makeDocBookFile): layout as layout
9947 (simpleDocBookOnePar): layout as layout
9948 (getLists): layout as layout
9950 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9952 * CutAndPaste.C (cutSelection): layout as layout
9953 (pasteSelection): layout as layout
9954 (SwitchLayoutsBetweenClasses): layout as layout
9956 * BufferView_pimpl.C (Dispatch): layout as layout
9957 (smartQuote): layout as layout
9959 * BufferView2.C (unlockInset): layout as layout
9961 2002-06-24 André Pönitz <poenitz@gmx.net>
9963 * lyxfunc.C: fix #487
9965 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9969 * lyxfunc.C: remove display_shortcuts, show_banner
9971 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9973 * Buffer_pimpl.C: oops, update on resize
9975 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9982 * BufferView.C: use repaint()
9984 * BufferView_pimpl.h:
9985 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9986 as it's a clearer description. Remove superfluous
9989 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9991 * text.C: fix bug 488. Not ideal, but getting
9992 getWord() to work properly for the insets that
9993 matter is more difficult ...
9995 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9997 * BufferView_pimpl.C:
10000 * lyxfunc.C: remove the six million index lyxfuncs to just
10001 one, and DTRT (bug 458)
10003 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10007 * BufferView_pimpl.h:
10008 * BufferView_pimpl.C: clean up resize() stuff,
10009 and unnecessary updateScreen()s
10011 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10015 * BufferView_pimpl.h:
10016 * BufferView_pimpl.C:
10019 * minibuffer.C: remove focus management of workarea,
10020 not needed. Use screen's greyOut()
10022 2002-06-17 Herbert Voss <voss@lyx.org>
10024 * converter.C: (convert) do not post a message, when converting
10025 fails, let the calling function decide what to do in this case
10027 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10029 * lyxfunc.C: tidy up a little
10031 2002-06-16 <alstrup@diku.dk>
10033 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10034 Got rid of FORMS_H_LOCATION include. Now we are
10037 2002-06-15 LyX Development team <lyx@rilke>
10039 * buffer.[Ch] (sgmlOpenTag):
10040 (sgmlCloseTag): Added support for avoiding pernicious mixed
10041 content. Return number of lines written.
10043 (makeLinuxDocFile):
10044 (makeDocBookFile): Fixed calls to sgml*Tag.
10045 Simple white space clean.
10047 (simpleDocBookOnePar): Simple white space clean.
10049 * tabular.[Ch] (docBook): Renamed to docbook and got another
10050 argument to related with the pernicious mixed content.
10052 (docbookRow): Fixed calls for docbook inset method.
10054 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10056 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10057 so it's X11 independent.
10061 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10063 2002-06-15 Lyx Development team <lyx@electronia>
10065 * intl.h: Renamed getTrans to getTransManager.
10067 2002-06-14 Angus Leeming <leeming@lyx.org>
10069 * Makefile.am: nuke forgotten stl_string_fwd.h.
10071 2002-06-12 Angus Leeming <leeming@lyx.org>
10073 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10075 2002-06-13 Angus Leeming <leeming@lyx.org>
10078 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10080 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10082 * kbmap.C (getiso): add support for cyrillic and greek
10084 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10088 * BufferView_pimpl.h:
10089 * BufferView_pimpl.C: move bogus scrolling logic
10092 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10095 * BufferView_pimpl.C: view->resize() change
10097 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10099 * BufferView_pimpl.C: topCursorVisible
10102 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10106 * lyx_gui.C: move to frontends/
10110 * lyx_main.C: changes from above
10112 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10119 * lyx_main.C: minor tidy
10121 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10123 * BufferView_pimpl.h:
10124 * BufferView_pimpl.C:
10126 * BufferView.C: make painter() const,
10129 * BufferView2.C: use screen() accessor
10132 * lyx_main.C: some minor cleanup
10134 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10136 * BufferView_pimpl.h:
10137 * BufferView_pimpl.C: remove enter/leaveView,
10140 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10145 * BufferView_pimpl.h:
10146 * BufferView_pimpl.C: only construct screen once,
10149 * lyxrc.C: remove pointless comment
10151 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10154 * BufferView.C: remove active() and belowMouse()
10156 * BufferView_pimpl.h:
10157 * BufferView_pimpl.C: use workarea() not workarea_,
10158 and make it use a scoped_ptr instead
10160 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10162 * lyx_gui.C: add debug message on BadWindow
10164 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10166 * sp_spell.C: fdopen is not part of the C++ standard.
10168 * paragraph.C (InsetIterator): use >= instead of ==
10170 2002-06-07 Angus Leeming <leeming@lyx.org>
10172 Fixes needed to compile with Compaq cxx 6.5.
10173 * BufferView_pimpl.C:
10180 * lyxtextclasslist.C:
10185 all c-library variables have been moved into namespace std. Wrap
10186 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10191 Add a using std::abs declaration.
10193 * kbmap.h (modifier_pair):
10194 * paragraph.h (InsetTable, InsetList):
10195 * lyxfont.h (FontBits):
10196 type definition made public.
10198 * bufferlist.C (emergencyWriteAll): the compiler complains that
10199 there is more than one possible lyx::class_fun template to choose from.
10200 I re-named the void specialisation as lyx::void_class_fun.
10202 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10204 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10205 the compiler is is unable to find tostr in write_attribute.
10207 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10209 * buffer.C (sgmlError): hide #warning
10211 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10213 * xtl/*: get rid of xtl, which is not in use anyway
10215 * LyXAction.C (init):
10216 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10217 were unimplemented xtl experimentation
10219 2002-06-04 André Pönitz <poenitz@gmx.net>
10221 * lyxfunc.C: disable array operation on simple formulae
10223 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10225 * converter.C: constify a bit
10227 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10229 * lyx_gui.C: check xforms version correctly
10231 2002-04-30 Herbert Voss <voss@lyx.org>
10233 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10236 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10238 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10239 attempt to register it with a VCS)
10241 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10243 * lyx_main.C (init): honor variables LYX_DIR_13x and
10246 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10250 * lyx_main.C: fix a crash on bad command line,
10251 and give a useful exit status on error
10253 * lyxfunc.C (doImport): allow -i lyx to work
10255 2002-03-30 André Pönitz <poenitz@gmx.net>
10257 * lyxfunc.C: mathed font changes
10259 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10274 * trans_mgr.h: srcdocs, and some minor cleanups
10276 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10278 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10279 call getFont all the time)
10281 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10283 * switch from SigC signals to boost::signals
10285 2002-05-29 André Pönitz <poenitz@gmx.net>
10287 * paragraph_pimpl.C (getChar): don't call size() too often...
10289 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10291 * paragraph_pimpl.C (insertChar): do not try to update tables when
10292 appending (pos == size())
10294 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10295 in order to reduce drastically the number of comparisons needed to
10296 parse a large document
10298 2002-05-29 André Pönitz <poenitz@gmx.net>
10304 * textclasslist.[Ch]:
10305 * sp_ispell.h: whitespace change
10307 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10309 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10310 lyxaction directly now.
10312 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10316 * lyxvc.C: remove unused headers
10318 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10325 * undo_funcs.C: some cleanups. Use shared_ptr
10326 and a template for the undo stacks.
10328 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10330 * BufferView_pimpl.h:
10331 * BufferView_pimpl.C:
10338 * text2.C: use key_state/mouse_state
10340 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10342 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10345 * chset.C: change include order
10346 (loadFile): use boost regex and get rid of LRegex and LSubstring
10348 * Makefile.am (BOOST_LIBS): new variable
10349 (lyx_LDADD): use it
10351 * LaTeX.C: change include order.
10352 (scanAuxFile): use boost regex and get rid of LRegex and
10356 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10361 * FontInfo.C: moved to frontends/xforms/
10364 * FontLoader.C: moved into frontends for GUIIzation
10369 * lyxfunc.C: changes from above
10371 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10373 * LColor.C: remove spurious X include
10375 * BufferView_pimpl.C:
10380 * text2.C: move font metrics to frontends/
10382 2002-05-24 Juergen Vigna <jug@sad.it>
10384 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10385 setting the undo_cursor.
10387 * ParagraphParameters.h: include local includes first.
10389 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10391 * BufferView_pimpl.C:
10392 * BufferView_pimpl.h:
10396 * screen.C: move WorkArea into frontends/
10402 * BufferView2.C: move LyXScreen into frontends/
10406 * lyx_gui.C: move lyxlookup into frontends/xforms/
10408 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10411 * BufferView_pimpl.C:
10421 * bufferview_funcs.C:
10434 * vc-backend.C: move LyX/XFormsView into frontends/
10436 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10448 * text2.C: move Painter to frontends/
10450 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10452 * buffer.C: comment out some some code that depend upon lyx_format
10455 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10456 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10458 * buffer.h (NO_COMPABILITY): turn off compability
10460 * ColorHandler.C: include scoped_array.hpp
10462 * font.C: Use more specific smart_ptr header.
10465 * ShareContainer.h: ditto
10466 * lyx_main.h: ditto
10468 * FontInfo.h: ditto
10469 * BufferView_pimpl.h: ditto
10470 * ColorHandler.h: ditto
10472 * kbmap.C (defkey): change call to shared_ptr::reset
10474 2002-05-21 Juergen Vigna <jug@sad.it>
10476 * buffer.C (insertErtContents): fix to insert ert asis if it is
10477 non empty. Skip it completely if it contains only whitespaces.
10479 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10481 * BufferView_pimpl.C:
10482 * BufferView2.C: clear selection on paste (bug 393)
10484 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10486 * DepTable.C: include ctime
10488 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10490 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10492 2002-05-14 Juergen Vigna <jug@sad.it>
10494 * text.C (breakParagraph): fixed function to honor the keepempty
10495 layout in the right maner and also to permit the right breaking
10496 algorithm on empty or non empyt keepempty paragraphs.
10498 * paragraph.C (breakParagraph): we have to check also if the par
10499 is really empty (!size()) for isempty otherwise we do the wrong
10502 2002-05-10 Juergen Vigna <jug@sad.it>
10504 * buffer.[Ch] : The following are only changes to the ert
10505 compatibility read reading old LaTeX layout and font stuff and
10506 convert it to ERTInsets.
10508 * buffer.h: added isErtInset().
10510 * buffer.C (struct ErtComp): add a fromlayout bool to check
10511 if we're inside a LaTeX layout.
10512 (isErtInset): new helper function.
10513 (insertErtContents): look for other ert insets before this one
10514 and insert the contents there, so that we don't have subsequent
10515 ERT insets with nothing between them. This way we create only one
10516 inset with multiple paragraphs. Also check if we don't insert only
10517 spaces ' ' as they are ignored anyway afterwards in the .tex file
10518 so if we have only spaces we will ignore this latex part in the
10520 (parseSingleLyXformat2Token \\layout): better compatibility when
10521 reading layout-latex stuff.
10522 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10524 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10525 stuff after reading the inset only get the information back from
10528 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10530 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10532 * LaTeXFeatures.C (getBabelOptions): New method.
10534 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10536 * BufferView_pimpl.C (Dispatch): work around missing argument for
10539 2002-05-08 Juergen Vigna <jug@sad.it>
10541 * text.C (leftMargin): handle paragraph leftindent.
10543 * paragraph.C (writeFile): write the new \\leftindent tag.
10544 (validate): handle leftindent code.
10545 (TeXEnvironment): handle paragraphleftindent code again.
10547 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10549 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10550 for paragrap_extra indent code and new token \\leftindent.
10551 (latexParagraphs): handle the leftindent as environment.
10553 * ParameterStruct.h: added leftindent support.
10555 * ParagraphParameters.C (leftIndent): added support functions for
10556 the paragraph left indent.
10558 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10561 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10563 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10566 * text.C (computeBidiTables): No bidi in insetERT.
10568 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10571 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10573 * version.C.in: pre 5
10575 2002-05-02 José Matos <jamatos@fep.up.pt>
10576 * buffer.C (makeDocBookFile): white space changes, add newline to
10578 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10580 * tabular.C (docBook): fix typo.
10582 2002-05-03 Juergen Vigna <jug@sad.it>
10584 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10585 change in LyXText as we can not be sure it was not freed.
10586 (drawOneRow): remove unused code.
10588 * text.C (drawInset): redo the calculation of the need_break_row as
10589 it could have a row which was already freed.
10590 (draw): look at the return value of drawInset and return false if
10591 it also returned false.
10592 (paintRowText): look at the return value of draw and return false if
10593 it also returned false.
10595 * lyxtext.h: added bool return type to drawInset() and draw() so that
10596 if we have a change in the row so that the rowbreak has to be redone
10597 we abort drawing as it will be called again.
10599 2002-05-02 Juergen Vigna <jug@sad.it>
10601 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10602 a change in the maintext also if we're inside an inset.
10603 (Dispatch): set the cursor again after a break line and after the
10604 screen has been updated as it could be we're in a different row.
10606 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10607 to set the cursor behind the pargraph with > size().
10608 (setCursor): check also for the same paragraph when checking where
10609 to put the cursor if we have a NFR inset.
10611 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10612 parts of layout read further up as it still was in the wrong
10615 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10617 * screen.C (drawFromTo): change sine fullRebreak always return
10620 * buffer.C (parseSingleLyXformat2Token): reindent some
10622 * BufferView_pimpl.C (update): change since fullRebreak always
10624 (Dispatch): git rid of the last hardcoded "Standard"s.
10626 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10628 * text2.[Ch] (fullRebreak): make it return void now that we always
10631 2002-04-30 Juergen Vigna <jug@sad.it>
10633 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10634 ert compatibility check for "latex" layout.
10636 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10638 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10639 minipages: use col% instead of p%, and also use the current font.
10640 (makeLaTeXFile): Fix use babel condition.
10641 (parseSingleLyXformat2Token): Correct font when reading old floats.
10643 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10645 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10646 inserting list of floats.
10648 2002-04-25 Herbert Voss <voss@lyx.org>
10650 * MenuBackend.C (expand): don't add the graphics extensions to the
10653 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10655 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10656 non-existing layout, do not complain if it was the default layout
10657 of the original class (bug #342)
10659 2002-04-24 Juergen Vigna <jug@sad.it>
10661 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10662 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10664 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10666 * buffer.C (getBibkeyList): If using \bibliography, return the
10667 option field with the reference itself. Enables us to provide natbib
10668 support when using \bibliography.
10670 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10672 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10674 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10675 natbib is provided by the LaTeX class.
10677 2002-04-23 Juergen Vigna <jug@sad.it>
10679 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10682 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10684 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10686 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10688 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10689 ensuremath around textordmasculine, textordfeminine and
10692 2002-04-19 Juergen Vigna <jug@sad.it>
10694 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10695 reinitializing the buffer otherwise row-dimensions may be wrong.
10696 (update): reset also the selection cursors if they do exits otherwise
10697 their x/y positions may be wrong.
10699 * text2.C (cursorDown): don't enter the inset if we came from a row
10700 above and are one row over the inset.
10702 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10703 really leaving an inset.
10705 2002-04-18 Juergen Vigna <jug@sad.it>
10707 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10708 of the selected paragraph does not have the selected layout also if
10711 * text2.C (setLayout): fixed bug which did not change last selected
10714 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10715 changed the read and substituted \\end_float with \\end_inset!
10717 * BufferView_pimpl.C (cursorPrevious):
10718 (cursorNext): fixed to make it work with rows heigher than the work
10719 area without moving the cursor only the draw of the row.
10720 (workAreaMotionNotify): fix jumping over high rows.
10722 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10724 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10727 2002-04-16 Juergen Vigna <jug@sad.it>
10729 * text2.C (setCursor): set also the irow().
10730 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10732 (cursorDown): support for locking an inset if the x_fix value goes
10733 inside it. That way I can transverse insets too with cursor up/down.
10735 * lyxrow.h: added irow helper function same as other (i) functions.
10737 * BufferView_pimpl.C (cursorPrevious):
10738 (cursorNext): fixed for insets!
10740 2002-04-15 Juergen Vigna <jug@sad.it>
10742 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10743 position otherwise it is wrong in some cases.
10745 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10746 inside the inset before the call.
10748 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10750 * buffer.[Ch] (getBibkeyList): make it const.
10752 2002-04-12 Juergen Vigna <jug@sad.it>
10754 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10756 * text2.C (getCursorX): new helper function
10757 (setCursor): compute also ix_
10758 (setCursorFromCoordinates): set also ix.
10760 * lyxcursor.h: added ix_ and helper functions.
10762 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10764 * buffer.C (insertStringAsLines): dont break paragraph if the this
10765 paragraph is inside an inset which does not permit it!
10767 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10768 also with no chars on this paragraph.
10769 (paintRowText): only paint stuff if it's inside the workarea!
10771 * paragraph.C (breakParagraph): honor keepempty flag and break the
10772 paragraph always below not above.
10774 * BufferView2.C (unlockInset): update the paragraph layout on inset
10775 unlock as we changed paragraph in such a case.
10777 * lyxfind.C (LyXFind): clear the former selection if not found!
10779 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10780 again called in insertChar().
10782 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10783 an inset which uses the whole row!
10784 (rightMargin): ditto.
10785 (insertChar): force a rebreak if we inserted an inset!
10787 2002-03-28 Herbert Voss <voss@lyx.org>
10789 * lyxlength.[Ch]: add inBP() to get the right PS-point
10790 units (BigPoint). With inPixels we have rounding errors
10792 2002-04-11 Juergen Vigna <jug@sad.it>
10794 * text2.C (setCursorFromCoordinates): set iy to the right value.
10795 (setCursor): add check if row->previous exists!
10797 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10798 an old float_type as this was the case in the old code!
10800 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10802 * BufferView2.C (showLockedInsetCursor): use iy
10803 (fitLockedInsetCursor): ditto
10805 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10806 locked insets as there we have the right value now.
10808 * lyxcursor.C: added iy_ variable and iy functions to set to the
10809 baseline of cursor-y of the locked inset.
10811 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10812 (setCursor): fixed for insets which need a full row.
10814 * text.C (rowLastPrintable): don't ignore the last space when before
10815 an inset which needs a full row.
10816 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10817 as last character of a row when before a inset which needs a full row.
10819 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10821 * version.C.in: update date
10823 * text2.C (fullRebreak): try to always return true and see what
10826 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10828 * MenuBackend.C (expand): use Floating::listName
10830 * FloatList.C (FloatList): add listName argument to the built-in
10833 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10834 text associated with the float.
10836 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10838 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10840 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10842 * ShareContainer.h: add a couple of missing typenames.
10844 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10846 * lyxrc.C (getDescription): use _() correctly rather than N_().
10848 2002-03-28 Herbert Voss <voss@lyx.org>
10850 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10851 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10853 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10855 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10856 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10858 2002-03-29 Juergen Vigna <jug@sad.it>
10860 * lyxfunc.C (dispatch): add a missing fitCursor call.
10862 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10863 it was scrolled by a cursor move, so return the bool status.
10865 * BufferView.C (fitCursor): return the bool flag also to the outside
10866 world as this is needed.
10868 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10870 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10871 call the edit() as it is not needed (and wrong) IMO.
10872 (workAreaButtonPress): set the screen_first variable before evt.
10873 unlock the inset as this may change screen_first and then we have
10874 a wrong y position for the click!
10876 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10878 * MenuBackend.C (expand): another translation that I missed
10880 2002-03-28 Juergen Vigna <jug@sad.it>
10882 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10884 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10886 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10888 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10890 * MenuBackend.C (expand): fix export/view/update when there is no
10893 2002-03-27 Herbert Voss <voss@lyx.org>
10895 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10898 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10900 * bufferview_funcs.C (currentState): only show paragraph number
10901 for is DEVEL_VERSION is set.
10903 * lyxfunc.C (dispatch): put warning in INFO channel
10905 * MenuBackend.C (expand): translate the name of floats
10907 * FloatList.C (FloatList): mark the float names for translation
10909 * converter.C (convert): use LibScriptSearch
10911 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10913 * MenuBackend.C (defaults): fix default menu (we might as well get
10916 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10918 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10921 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10923 * lyxvc.C: reorder includes.
10925 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10927 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10930 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10932 * CutAndPaste.C: change layouts earlier on paste
10933 to avoid crashing when calling getFont()
10935 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10937 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10940 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10942 * WorkArea.C: remove 'Pending' debug message.
10944 * most files: ws cleanup
10946 * buffer.[Ch]: ws changes
10948 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10950 2002-03-21 Juergen Vigna <jug@sad.it>
10952 * tabular.C (SetMultiColumn): collapse also the contents of the
10953 cells and set the last border right. Added a Buffer const * param.
10955 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10957 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10960 2002-03-19 Juergen Vigna <jug@sad.it>
10962 * text2.C (clearSelection): reset also xsel_cache.
10964 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10965 where it needs to be called (John tells us to do so too :)
10966 (selectionLost): reset sel_cache.
10968 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10970 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10972 * text2.C (setCursorIntern): put debuging code in INSETS channel
10974 2002-03-19 André Pönitz <poenitz@gmx.net>
10976 * lyxfunc.C: tiny whitespace change
10978 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10980 * ToolbarDefaults.C (init):
10981 * LyXAction.C (init):
10983 * BufferView_pimpl.C (Dispatch):
10984 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10986 2002-03-19 Allan Rae <rae@lyx.org>
10988 * exporter.C (Export): removeAutoInsets before doing anything else.
10989 While I've just introduced a dependency on BufferView this really is
10990 the best place to clean the buffer otherwise you need to cleanup in
10991 a dozen places before calling export or cleanup in a dozen functions
10994 * converter.C (runLaTeX):
10995 (scanLog): Better handling of removeAutoInsets and screen updates.
10997 * lyxfunc.C (dispatch): small whitespace changes
10999 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11001 * WorkArea.C (C_WorkAreaEvent): return a value.
11002 (event_cb): return 1 if we handled the event, 0 otherwise.
11004 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11006 2002-03-18 Juergen Vigna <jug@sad.it>
11008 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11009 (GetAdditionalWidth): ditto.
11010 (RightLine): ditto.
11013 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11014 inset if we're there actually (probably not used right now but this
11015 is the direction to go for unifying code).
11016 (paste): disable code to clear the selection.
11018 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11019 inside an InsetText and move the check further up as it is in the
11022 * text2.C (pasteSelection): set a selection over the pasted text.
11024 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11026 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11027 and libgraphics to build on Cygwin.
11029 2002-03-15 Juergen Vigna <jug@sad.it>
11031 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11032 inserting an Inset into the paragraph. I know this is not the best
11033 fix but we already use current_view in CutAndPaste so we will remove
11034 all of it's using at the same time.
11036 * buffer.C (sgmlError): deactivated function till it is rewritten in
11037 the right mode, now it can create problems.
11039 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11040 before accessing it.
11042 2002-03-14 Juergen Vigna <jug@sad.it>
11044 * undo_funcs.C (textHandleUndo): do the right thing when updating
11045 the inset after the undo/redo.
11047 * text2.C (setCursor): just some testcode for #44 not ready yet.
11049 * undo_funcs.C (textHandleUndo): set the next() and previous()
11050 pointers of the paragraph to 0 before deleting otherwise we have
11051 problems with the Paragraph::[destructor].
11053 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11054 on a paragraph insertion.
11056 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11058 * buffer.C (asciiParagraph): use += operator for char append to
11061 * paragraph.C (getFontSettings): compare >= not just >
11062 (highestFontInRange): ditto
11065 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11067 * paragraph.C: change several algorithm to be more appripriate for
11068 the problem domain. This is lookip in FontList and in the InsetList.
11070 2002-03-13 André Pönitz <poenitz@gmx.net>
11073 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11075 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11080 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11082 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11084 * Painter.C (display): anon helper function, adjust code for this
11086 (pixmap): remove function.
11088 * Painter.h: remove private display variable.
11090 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11092 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11094 * WorkArea.[Ch]: remove figinset_canvas cruft.
11096 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11098 * lyxtextclass.C (operator): add one item cache optimization.
11100 * bufferlist.h: doxy changes
11102 * bufferlist.C: ws changes
11104 * DepTable.[Ch] (ext_exist): place const in the right spot.
11106 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11108 (workAreaExpose): call resizeInsets when the with BufferView changes.
11109 (Dispatch): adjust for protectedBlank removal
11110 (specialChar): call updateInset if the insert went ok.
11112 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11113 specialChar instead.
11115 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11117 * BufferView.h: doxy change
11119 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11121 * lyxtextclass.C (operator[]): remove non-const version
11122 (defaultLayout): remove non-const version
11124 2002-03-12 Juergen Vigna <jug@sad.it>
11126 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11127 did resize the LyXText too.
11129 * buffer.C (readLyXformat2): set layout information on newly allocated
11132 * tabular.C (OldFormatRead): set layout information on the paragraph.
11134 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11136 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11138 2002-03-11 Juergen Vigna <jug@sad.it>
11140 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11142 (resizeCurrentBuffer): force also the insets to resize themselfes.
11143 (moveCursorUpdate): fixed up for InsetText.
11145 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11148 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11149 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11150 value of Dialogs::tooltipsEnabled().
11151 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11153 2002-03-08 Juergen Vigna <jug@sad.it>
11155 * BufferView_pimpl.C (updateInset): update inset inside inset also
11156 if it isn't inside theLockingInset().
11158 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11160 * buffer.C (asciiParagraph): redo some of the word and line length
11162 (getLists): look for Caption instead of caption.
11164 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11166 * buffer.C (Buffer): initialize niceFile to true
11168 (makeLinuxDocFile):
11169 (makeDocBookFile): make sure niceFile is true on exit
11171 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11173 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11175 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11177 * LyXSendto.C: remove.
11178 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11179 * lyx_gui.C: remove now-redundant comment.
11180 * ColorHandler.h: remove forward declaration of class WorkArea.
11181 * lyxfunc.C: remove #include "WorkArea.h".
11183 2002-03-07 Juergen Vigna <jug@sad.it>
11185 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11186 got moved away with the DEPM and also set the inset_owner always
11187 right which before could have been omitted.
11189 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11191 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11192 wanted layout is not found.
11194 2002-03-07 Juergen Vigna <jug@sad.it>
11196 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11198 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11200 * paragraph.C (breakParagraph): use default layout not layout of
11202 (Paragraph): clear ParagraphParameters.
11204 2002-03-06 Juergen Vigna <jug@sad.it>
11206 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11207 otherwise it would not be a valid lenght. Fixed a special case in
11208 the minipage compatibility read where we end the document with a
11211 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11212 was set as it could be 0 for InsetTexts first entry.
11214 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11216 * paragraph.C (writeFile): if layout is empty write out
11217 defaultLayoutName().
11219 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11220 file without named layout we set layout to defaultLayoutName().
11222 2002-03-06 Juergen Vigna <jug@sad.it>
11224 * CutAndPaste.C (copySelection): set layout for new paragraph.
11226 * text.C (prepareToPrint): leave ERT inset left aligned
11227 (leftMargin): don't indent paragraphs inside ERT insets
11229 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11231 * paragraph.C (breakParagraph): dont call clear do the work manually
11233 * paragraph.[Ch] (clear): remove function
11235 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11237 * paragraph.C (Paragraph): dont call clear, the work has already
11240 * lyxtextclass.C (operator): assert if n is empty
11242 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11243 work manually instead.
11245 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11247 * BufferView_pimpl.C: protect selectionLost against text == 0
11249 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11251 * text.C (breakParagraph): fix a setting layout to '0' problem.
11253 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11255 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11256 final location of file, for the included files, and graphics.
11258 2002-03-05 Juergen Vigna <jug@sad.it>
11260 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11262 2002-03-04 Juergen Vigna <jug@sad.it>
11264 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11266 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11267 last column of multicolumn cells.
11268 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11270 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11272 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11273 file if it doesn't go to a temporary file.
11275 * buffer.C (sgmlOpenTag):
11276 (sgmlCloseTag): remove extra newline insertion.
11278 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11280 * text.C (getRowNearY): comment out debug msg
11282 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11284 * text2.C: first -> first_y
11286 * text.C (getRowNearY): add some attemts at a possible
11287 optimization, not working.
11289 * tabular.[Ch]: add BufferParams to several function so that newly
11290 created paragraph can be initialized to he default layotu for the
11293 * tabular-old.C (ReadOld): add buf->params to call of Init
11295 * screen.C: rename text->first to text->first_y
11297 * paragraph.C (breakParagraph): always set layout in the broken
11300 * lyxtextclass.C (Read): remove lowercase
11303 (delete_layout): ditto
11305 * lyxtext.h: rename first -> first_y
11307 * lyxlayout.C (Read): remove lowercase
11310 (obsoleted_by): ditto
11312 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11314 * buffer.C (insertErtContents): add params are to InsetERT
11315 (parseSingleLyXformat2Token): add code to check if a paragraphs
11316 layout really exist.
11317 (parseSingleLyXformat2Token): add params to several inset
11319 (asciiParagraph): remove lowercase, do the layout comparisons with
11322 * BufferView_pimpl.C (cursorNext): first -> first_y
11323 (resizeCurrentBuffer): first -> first_y
11324 (updateScrollbar): first -> first_y
11325 (scrollCB): first -> first_y
11326 (workAreaMotionNotify): first -> first_y
11327 (workAreaButtonPress): first -> first_y
11328 (checkInsetHit): first -> first_y
11329 (cursorPrevious): first -> first_y
11330 (cursorNext): first -> first_y
11331 (Dispatch): add buffer_->params to severl inset contructors
11333 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11335 * lyxlayout.C (Read): remove some debug info that I forgot.
11337 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11338 clean up the code slightly.
11339 (makeLinuxDocFile): ditto
11340 (makeDocBookFile): ditto
11342 * text2.C: layout as string
11344 * text.C: layout as string
11346 * paragraph_pimpl.C: layout as string
11348 * paragraph.[Ch]: layout as string
11350 * lyxtextclasslist.[Ch]: layout as string
11352 * lyxtextclass.[Ch]: layout as string
11354 * lyxtext.h: layout as string
11356 * lyxlayout.[Ch]: layout as string
11358 * lyx_cb.C: layout as string
11360 * bufferview_funcs.C: layout as string
11362 * bufferparams.C: layout as string
11364 * buffer.C: layout as string
11366 * LyXView.[Ch]: layout as string
11368 * LaTeXFeatures.[Ch]: layout as string
11370 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11372 * BufferView_pimpl.C: change current_layout to string, remove
11377 (workAreaButtonRelease): layout as string
11379 * BufferView2.C (unlockInset): adjust
11381 * vspace.C (asLatexCommand): use an explict temp variable.
11383 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11385 * Makefile.am: use FRONTEND_*
11387 2002-03-01 Juergen Vigna <jug@sad.it>
11389 * tabular.C (SetWidthOfMulticolCell): changed to something better
11390 I hope but still work in progress.
11391 (recalculateMulticolumnsOfColumn): renamed function from
11392 recalculateMulticolCells as it is more appropriate now.
11393 (SetWidthOfCell): calculate multicols better.
11395 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11397 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11399 * lyxfunc.C (processKeySym): print sequence also if it is
11400 `deleted' (complete)
11402 * kbsequence.C (print): print sequence even if it is deleted
11403 (complete would be a better word, actually).
11405 * lyxfunc.C (dispatch): print complete options after a prefix key
11407 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11409 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11411 * text2.C (setCharFont): eliminate setCharFont code duplication.
11413 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11415 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11416 LFUN_TABULAR_FEATURE (bug #177)
11418 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11420 * Makefile.am: remove figure.h
11422 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11424 * Bufferview_pimpl.C:
11436 * text2.C: remove #include "lyx_gui_misc.h".
11438 * LaTeX.C: added #include <cstdio>
11440 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11442 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11443 that the paragraph following this one can have.
11445 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11447 * vspace.C (asLatexCommand): fix bogus gcc warning
11449 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11451 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11453 * text2.C (setLayout): get rid of redundant code
11455 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11457 * text2.C (incDepth): make sure depth cannot be increased beyond
11460 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11462 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11463 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11465 * PainterBase.h (image):
11466 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11467 a LyXImage const *.
11469 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11473 * BufferView_pimpl.C:
11474 * BufferView_pimpl.h:
11494 * sp_spell.C: remove fig inset, and the crap house of
11495 cards that follows it
11497 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11502 * os2_errortable.h:
11503 * nt_defines.h: move .h into support/
11505 * vms_defines.h: remove
11507 * WorkArea.C: add space in debug output
11511 * buffer.C: add WITH_WARNINGS
11515 * bufferlist.C: s/retrive/retrieve/, add docs
11524 * chset.C: add docs
11526 * lyxgui.C: add ID to X error handler
11528 * lyxtestclass.c: fix typo
11530 2002-02-26 Juergen Vigna <jug@sad.it>
11532 * tabular_funcs.C (write_attribute): changed so that some default
11533 attributes are not written at all.
11534 (getTokenValue): set default values before trying to read the
11535 value so we have the return value always set as default if we don't
11536 find the token we search for.
11538 * tabular.C (Write): write bools as bools not as strings!
11540 2002-02-22 Juergen Vigna <jug@sad.it>
11542 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11543 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11545 * text.C (leftMargin): don't add an indent for paragraphs inside
11546 tabular cells (fix #208).
11548 2002-02-21 José Matos <jamatos@fep.up.pt>
11550 * tabular.C (docBook): fixed support for long tables.
11552 2002-02-20 Juergen Vigna <jug@sad.it>
11554 * text2.C (getFont): get the drawing font of the Inset if this
11555 paragraph is inside an inset (only important for InsetERT for now).
11557 * buffer.C (insertErtContents): use new lanugage params in ERT
11560 * CutAndPaste.C: commenting out seemingly uneeded code.
11562 2002-02-19 Allan Rae <rae@lyx.org>
11564 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11565 Iterators might be simple to use but they also get invalidated.
11566 (removeAutoInsets): renamed saved cursor tracking variables and added
11567 some comments to clarify what everything does.
11569 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11576 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11577 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11580 * vc-backend.h: remove #include "support/syscall.h"
11584 * converter.C: rearrange #includes in Lars' approved fashion.
11586 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11587 forward declare class Timeout in the header file.
11589 * XFormsView.C: changes due to the above.
11591 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11592 similar to LyXView.
11594 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11595 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11597 2002-02-18 José Matos <jamatos@fep.up.pt>
11599 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11602 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11604 * a lot of small ws changes
11605 * add a lot of using std::XXX
11606 * use std construcs some places where approp.
11607 * use some exisint stuff from lyxfunctional where approp.
11608 * Make file changes to use partial linking (lets test this now...)
11610 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11614 remove #include "support/syscontr.h" as it's redundant. Always has been.
11622 change Systemcalls::System to Systemcalls::Wait and
11623 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11624 No change of functionality, just reflects the stripped down Systemcalls
11627 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11629 * debug.[Ch]: add a GRAPHICS type to the enum.
11631 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11633 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11635 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11638 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11640 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11641 match the changes below.
11643 * text2.C (toggleInset): if there is not editable inset at cursor
11644 position, try to see if cursor is _inside_ a collapsable inset
11647 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11649 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11650 document menu has a nice checkbox
11652 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11654 * lyxlength.C (asLatexString): change PW to output as percent of
11657 * lengthcommon.C: change '%' to 't%'
11659 * lyxfunc.C (dispatch): a few comments from Martin
11661 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11665 * BufferView_pimpl.h:
11666 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11669 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11671 * vspace.C (inPixels): fix compiler warning
11673 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11675 * lyxfunc.C (getStatus): fix status message for disabled commands.
11677 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11679 * BufferView_pimpl.C: fix crash on close buffer
11680 during selection (#227)
11682 2002-01-27 Herbert Voss <voss@lyx.org>
11684 * buffer.C: link old Figure to new graphic inset
11686 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11688 * FontLoader.C (getFontinfo): Change the latex font names in order
11689 to match the names of type1inst.
11691 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11693 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11695 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11696 (extchanged): ditto
11698 (remove_files_with_extension): ditto
11699 (remove_file): ditto
11702 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11703 document is smaller than the work area height. Do not initialize
11704 static variables to 0.
11706 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11708 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11710 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11711 LFUN_LAYOUT_PARAGRAPHS.
11713 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11714 tabular. It is possible to provide a possible cell, which will
11715 typically be the actcell from the corresponding insettabular
11717 * lyxfunc.C (getStatus): small cleanup; disable
11718 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11721 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11723 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11725 * paragraph.C (startTeXParParams):
11726 (endTeXParParams): new methods. The LaTeX code to
11727 start/end paragraph formatting
11728 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11729 empty (fixes bug #200)
11731 * vspace.C (inPixels): adapt to the change below
11732 (inPixels): [later] more cleanups (remove unused variables)
11734 * lyxlength.C (inPixels): change to use a width and a height as
11737 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11739 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11740 Replaced with \paperwidth
11742 * DepTable.C (insert): add std:: qualifier
11744 2002-01-18 Allan Rae <rae@lyx.org>
11746 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11749 * text.C (drawInset): Turned out I didn't know enough about how
11750 rebreaking worked. This fixes most of the redraw problems. I see
11751 an occasional cursor trail when a line is broken now and the cursor
11752 placement can seem out by a few pixels also after a rebreak.
11754 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11756 * buffer.C (parseSingleLyXformat2Token): update because minipage
11757 width is now a LyXLength
11759 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11761 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11764 2002-01-17 Juergen Vigna <jug@sad.it>
11766 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11768 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11769 is set correctly and the inset is updated correctly.
11771 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11773 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11774 the beginning of the loop.
11776 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11778 * lyxrc.C: improve help for use_scalable_fonts
11780 2002-01-17 Allan Rae <rae@lyx.org>
11782 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11784 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11786 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11787 make sure to set their inset_owner to the right value (bug #171)
11789 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11792 * DepTable.C: Implement mtime checking to reduce time spent doing
11795 2002-01-16 Juergen Vigna <jug@sad.it>
11797 * tabular.C (GetAdditionalHeight): one of error fixed.
11799 * lyxrc.C (output): small fix in writing use_pspell.
11801 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11803 * sp_base.h: #include LString.h
11805 2002-01-16 Allan Rae <rae@lyx.org>
11807 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11808 Can someone check this please?
11810 * text.C (drawInset): It was possible that p.row would be removed by
11811 breakAgainOneRow upsetting a few other settings. There may be another
11812 small tweak possible by setting need_break_row = 0 when p.row has been
11813 removed but I don't know enough about the logic here.
11815 2002-01-15 Allan Rae <rae@lyx.org>
11817 * text.C (insertChar): removed conditional truism.
11819 * BufferView2.C (removeAutoInsets): More tweaks.
11820 cur_par_prev could be a stray pointer. Check for trailing empty line
11821 in case last line was cur_par and only had an error inset on it.
11823 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11825 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11828 * vc-backend.C (most methods):
11829 * exporter.C (Export):
11830 * converter.C (convert):
11832 * LyXSendto.C (SendtoApplyCB):
11833 * lyxfunc.C (dispatch):
11837 * lyx_cb.C (AutoSave):
11839 * BufferView_pimpl.C (MenuInsertLyXFile):
11840 * buffer.C (runChktex): use Buffer::filePath().
11842 * buffer.h: rename filename to filename_; rename filepath to
11843 filepath_ and make it private
11844 (filePath): new method
11846 * buffer.C (writeFile): use fileName()
11849 * lyx_main.C (init): fix starting of LyX when the binary is a
11850 link from so,ewhere else.
11852 * minibuffer.C: include <cctype> for isprint
11854 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11856 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11857 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11858 name clash with InsetCollapsable's width function.
11860 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11862 * lastfiles.C: include <iterator>
11864 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11866 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11869 * buffer.C (makeLaTeXFile): ditto.
11870 Also make loop operation more transparent.
11872 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11874 * ToolbarDefaults.C: remove trailing comma closing namespace.
11876 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11878 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11881 * trans.C (Load): comment out unused variable, allowed.
11883 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11885 * minibuffer.[Ch] (append_char): new method to recieve input from the
11886 drop-down completion browser. If a key was pressed, then recieve this
11887 char and append it to the existing string.
11888 (peek_event): modify the positioning data passed to the completion
11889 browser so that it can be placed above the minibuffer rather than below.
11890 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11892 * LyXAction.C (init): alloe error-next for readonly documents.
11894 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11897 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11899 * bufferlist.C (readFile): create the buffer _after_ checking that
11902 * lyxfunc.C (verboseDispatch): fix handling of arguments
11904 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11906 * lyxrc.C: use string::erase() instead of initializing to "".
11909 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11911 * BufferView_pimpl.h:
11912 * BufferView_pimpl.C:
11915 * text2.C: tell X when we have made a selection for copying
11917 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11919 * BufferView_pimpl.C (MenuInsertLyXFile):
11920 * lyxfunc.C (menuNew):
11922 (doImport): add shortcuts to directory buttons
11924 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11927 * lyxfunc.C (setStatusMessage):
11928 (getStatusMessage): new methods
11929 (getStatus):use setStatusMessage instead of setErrorMessage
11930 (dispatch): when function is disabled, set error message here
11931 [instead of in getStatus previously]
11933 * BufferView_pimpl.C (workAreaButtonRelease): update
11934 toolbar/menubar here too.
11936 2002-01-13 Allan Rae <rae@lyx.org>
11938 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11939 Now seems indestructible. Remaining task is to audit all other
11940 code affected by deleteEmptyParagraphMechanism. One small quirk
11941 left is that an empty document with an error in the preamble can
11942 be made to report an error but no error box appears. I don't know
11944 (removeAutoInsets): Improved comments.
11946 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11949 * Thesaurus.C: update for Aiksaurus 0.14
11951 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11953 * text2.C (firstParagraph): removed member function, all uses
11954 replaces with ownerParagraph
11955 (redoParagraphs): here
11956 (updateInset): here
11957 (toggleAppendix): here
11958 * BufferView2.C (insertErrors): here
11959 (setCursorFromRow): here
11961 2002-01-13 Allan Rae <rae@lyx.org>
11963 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11964 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11965 There is still a way to segfault this although you may have to do this
11966 multiple times: Have an InsetERT with an unknown command in it.
11967 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11968 <down-arrow>, <Enter> again, View->DVI, BANG!
11970 * text2.C (setCursor):
11971 (deleteEmptyParagraphMechanism):
11972 * lyxtext.h (setCursor):
11973 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11974 Making use of the return value may help fix other bugs.
11976 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11978 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11980 * LyXView.C (updateMenubar): call MenuBar::update here
11981 (updateToolbar): but not here
11982 (showState): do not update toolbar/menubar
11984 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11985 should need to care about that.
11987 * lyxfunc.C (verboseDispatch): simplify a bit
11988 (getStatus): have a version which takes a pseudoaction, and
11989 another which requires a (kb_action,string).
11991 * LyXAction.C (retrieveActionArg): make it work also when action
11992 is not a pseudo-action.
11993 (getActionName): simplify a bit
11996 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11998 * lyxfunc.C (verboseDispatch): new families of methods with
11999 several ways to specify a command and a bool to indicate whether
12000 the command name and shortcut should be displayed in minibuffer
12001 (eventually, we could extend that to a finer bitmask like
12002 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12003 (dispatch): the pristine dispatch command which just, well,
12004 dispatchs! Note it still sets its result to minibuffer; I'm not
12007 * lyxfunc.h: remove setHintMessage
12009 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12011 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12013 * BufferView_pimpl.C (specialChar): delete new inset if we have
12014 not been able to insert it.
12016 * kbmap.C: revert to using int instead of kb_action, since all we
12017 are dealing with is pseudo-actions.
12019 * LyXAction.C (searchActionArg): change to return int instead of
12020 kb_action, since the result is a pseudoaction.
12022 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12024 * buffer.C (insertErtContents): Fix (partially) the font bug.
12026 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12028 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12029 as the other one is broken on my machine!
12031 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12034 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12036 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12038 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12039 reflect their actual use. Provide compatibility code for older lyxrc
12042 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12044 change names of popup font variables in line with the changes to lyxrc.C
12046 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12048 * buffer.C (asciiParagraph): avoid outputing a word twice after
12051 * lyxrc.C (getDescription): document that document_path and
12052 template_path can be empty.
12054 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12056 * LaTeXFeatures.C (getMacros):
12057 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12059 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12061 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12063 (getPackages): rename feature "floats" to "float". Use an array to
12064 iterate over 'simple' features (i.e. just a \usepackage). Add
12065 handling of "amsmath" (renamed from "amsstyle").
12067 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12069 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12072 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12074 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12075 FuncStaus::FuncStatus & FuncStaus::some_method().
12077 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12079 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12080 of the func_satus stuff. Edited and massaged in various ways by
12083 * lyxfunc.C (getStatus): use FuncStatus
12085 2002-01-08 Juergen Vigna <jug@sad.it>
12087 * text.C (nextBreakPoint): use function Inset::isChar().
12089 * paragraph.C (TeXOnePar): use function
12090 Inset::forceDefaultParagraphs.
12092 * buffer.C (latexParagraphs): use function
12093 Inset::forceDefaultParagraphs.
12095 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12097 * lyx_gui.C (init): set the style of the menu popups to
12098 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12100 2002-01-07 Juergen Vigna <jug@sad.it>
12102 * text.C (setHeightOfRow): small fix
12103 (prepareToPrint): don't look at alignment if we don't have the place
12106 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12108 * box.C: New file. Move the Box methods and functions out of box.h,
12109 following Lars' suggestion.
12111 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12113 * box.h: #include "support/LOstream.h", needed for inlined function.
12116 * lyxtextclasslist.C: added some using std declarations.
12118 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12120 * box.h: make signed dimensions to allow insets wider than
12121 the screen (bug #162)
12123 * BufferView_pimpl.C: add some insetHit debug
12125 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12127 * vc-backend.C: add FIXME
12129 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12131 * lyxfunc.C (getStatus): enable code for showing math font status
12134 2002-01-07 Juergen Vigna <jug@sad.it>
12136 * text.C (nextBreakPoint): removed debug output not needed anymore.
12138 2002-01-06 Juergen Vigna <jug@sad.it>
12140 * text.C (nextBreakPoint): fixed up this function we had this bug
12141 since ever but now hopefully we break row better.
12142 (insertChar): we have to check if an inset is the next char as it
12143 could now happen that a large inset is causing a break.
12145 2002-01-05 Juergen Vigna <jug@sad.it>
12147 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12148 if it doesn't like to be drawed.
12150 2002-01-04 Juergen Vigna <jug@sad.it>
12152 * BufferView2.C (lockInset): forgot to set a cursor.
12154 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12156 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12158 * FormMathsPanel.C:
12161 * form_maths_panel.C:
12162 * form_maths_panel.h:
12163 * form_maths_panel.fd: implemented sub- and super- buttons in math
12166 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12167 (or ^ space) to be used as in TeX (req'd by André).
12169 * lyxfunc.C: Allow ^ and _ again to be used both as
12170 super/subscript (mathed) and as themselves (in text).
12172 2002-01-03 Allan Rae <rae@lyx.org>
12174 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12175 "LyX" or the filename of the current buffer if it has one. This is a
12176 modified form of John Levon's patch.
12178 * XFormsView.C (setWindowTitle): also set icon title.
12180 * LyXView.h (setWindowTitle): signature changed.
12181 * XFormsView.h (setWindowTitle): ditto.
12183 2002-01-02 Juergen Vigna <jug@sad.it>
12185 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12187 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12189 * screen.C (topCursorVisible): introduce a temp var for
12190 text->cursor.row(), handle the case where this row is null. (kindo
12193 * text2.C (setCursor): add a couple of asserts.
12195 * paragraph.h (inset_iterator): add -> operator
12197 * paragraph.[Ch] (autoDeleteInsets): remove member function
12199 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12200 cursor pos correctly and handle inset deletion by itself.
12201 (insertErrors): move iterator declaration out of for expression
12203 * lyxtextclass.C: add <algorithm>
12205 * Makefile.am: added the new files to sources, removed layout.C
12207 * layout.C: removed file
12209 * layout.h: remove LYX_DUMMY_LAYOUT
12211 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12215 * lyxtextclass.[Ch]:
12216 * lyxtextclasslist.[Ch]: new files
12218 * include order changes to a lot of files, also changes because of
12221 2001-12-27 Juergen Vigna <jug@sad.it>
12223 * buffer.C (asciiParagraph): more fixes.
12225 * tabular.C (ascii): make ascii export support export of only the
12226 data separated by a column-delimiter.
12227 (ascii): better support for ascii export.
12229 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12231 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12233 * tabular_funcs.C: use a "using std::getline" instead of the
12234 previous fix from Angus (necessary for cxx + lyxstring)
12236 2001-12-24 Juergen Vigna <jug@sad.it>
12238 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12240 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12241 problems. First check a minipage also if we have some ert-contents
12242 (not only on par->size(), second set the right depth of the paragraph
12243 on the relink to the root-paragraph-list!
12245 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12246 which then did not anymore update the main paragraphs on undo/redo!
12248 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12250 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12251 code. Support all font-changing funcs (even those which are not in
12252 menu currently). Support for reporting font settings in
12253 mathed (disabled until Andre provides a function on mathed's side).
12255 * func_status.h (toggle): small helper function to set toggle
12258 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12260 * tabular_funcs.C: getline -> std::getline
12262 2001-12-21 Juergen Vigna <jug@sad.it>
12264 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12265 accessed and could be 0 (I couldn't generate this but it seems
12268 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12270 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12271 * tabular_funcs.h: here and include iosfwd
12273 2001-12-20 Juergen Vigna <jug@sad.it>
12275 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12276 inside inset but undo_par was.
12278 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12280 * Thesaurus.C: always include <config.h> in sources.
12284 * box.h: do not include <config.h> in header files
12286 * text.C (paintLastRow): remove unused variable
12288 * text.C (transformChar):
12290 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12292 * Painter.C (text):
12293 * font.C (width): rewrite to use uppercase() instead of
12296 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12298 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12300 * lyxfind.C: clean up of find failure position change
12302 2001-12-20 Juergen Vigna <jug@sad.it>
12304 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12306 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12307 (TeXRow): added to LaTeX a single tabular row.
12308 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12309 (Latex): simplified and finally good LT-h/f support.
12310 (various_functions): just small adaptions for LT-h/f support.
12312 * tabular_funcs.[hC]: added and moved here all not classfunctions
12315 2001-12-19 Juergen Vigna <jug@sad.it>
12317 * tabular.[Ch]: better support for longtabular options (not finished
12320 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12322 * text.C (paintLastRow): use the label font instead of the font of
12323 the last character to compute the size of *_BOX. This makes more
12324 sense and avoids a crash with empty paragraphs.
12325 Use Painter::rectangle to draw EMPTY_BOX.
12327 2001-12-19 Juergen Vigna <jug@sad.it>
12329 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12330 the paragraphs if the replaced paragraph is not the first one!
12331 Tried to delete not used paragraphs but does not work yet so for
12332 now it's inside #ifdef's and by default off!
12334 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12336 * MenuBackend.C: include "lyx_main.h" instead of declaring
12337 lastfiles (actually was declared as LastFiles* instead of a
12340 2001-12-17 Juergen Vigna <jug@sad.it>
12342 * tabular.C (AppendColumn): applied John's fix
12344 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12348 * BufferView_pimpl.h:
12349 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12352 * box.h: new start of class for above
12354 * lyxfunc.C: ignore space-only minibuffer dispatches.
12355 Show the command name when it doesn't exist
12357 * minibuffer.C: don't add empty lines to the history
12359 * minibuffer.C: add a space on dropdown completion
12361 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12363 * text.C: fix line above/below drawing in insets
12365 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12367 * lyxlength.C (LyXLength): Initialize private variables.
12369 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12371 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12372 when inserting error insets.
12374 2001-12-13 Juergen Vigna <jug@sad.it>
12376 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12377 actually sometimes the before-paragraph.
12378 (setUndo): don't clear the redostack if we're not actually undoing!
12380 2001-12-06 Juergen Vigna <jug@sad.it>
12382 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12383 and fixed redoing of main paragraph, so we can use it now ;)
12385 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12387 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12389 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12392 2001-12-13 André Pönitz <poenitz@gmx.net>
12395 * undo_func.C: minor cleanup
12397 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12399 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12400 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12401 font in urw-fonts package which is marked as -urw-fontspecific and
12402 does not work (incidentally, changing the encoding in the
12403 fonts.dir of this package to -adobe-fontspecific fixes the
12406 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12407 is a crash when undoing first paragraph (Juergen, please take a
12408 look). THis does not mean the undo fix is wrong, just that it
12411 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12412 the (Paragraph*) version when needed instead of duplicating the
12415 * text.C (workWidth): use Inset::parOwner to find out where the
12416 inset has been inserted. This is a huge performance gain for large
12417 documents with lots of insets. If Inset::parOwner is not set, fall
12418 back on the brute force method
12420 * paragraph_pimpl.C (insertInset):
12421 * paragraph.C (Paragraph):
12422 (cutIntoMinibuffer): set parOwner of insets when
12423 inserting/removing them
12425 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12427 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12433 * mathed/formulabase.C:
12434 * mathed/math_cursor.[Ch]:
12435 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12438 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12440 * lyxlength.[Ch] (operator!=): new function
12442 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12444 * text.C (workWidth): use Inset::parOwner to find out where the
12445 inset has been inserted. This is a huge performance gain for large
12446 documents with lots of insets. If Inset::parOwner is not set, fall
12447 back on the brute force method
12449 * paragraph_pimpl.C (insertInset):
12450 * paragraph.C (Paragraph):
12451 (cutIntoMinibuffer): set parOwner of insets when
12452 inserting/removing them
12454 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12456 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12458 * tabular-old.C (getTokenValue):
12459 * tabular.C (getTokenValue):
12460 (write_attribute): new versions for LyXLength
12461 (everywhere): adjust the use of widths
12463 * tabular.h: change the type of widths from string to LyXLength
12465 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12467 * paragraph.C: fixed missing line number count when exporting
12468 Environments to LaTeX file
12470 * buffer.C: added informational message for checking line numbers.
12472 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12474 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12475 paragraph, do the 'double space' part, but not the 'empty
12478 * text.C (workWidth): small optimization
12479 (getLengthMarkerHeight): use minimal size for negative lengths.
12481 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12483 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12485 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12487 2001-12-11 André Pönitz <poenitz@gmx.net>
12490 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12492 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12494 * text2.C: keep selection on a setFont()
12496 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12498 * lyx_cb.C: another bv->text misuse, from insert label
12500 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12503 * kbsequence.C: re-instate nmodifier mask
12505 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12507 * lyx_main.h: make lyxGUI private.
12509 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12511 * lyxfind.C: place the cursor correctly on failed search
12513 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12515 * text.C (getLengthMarkerHeight): for small heights, the arrows
12516 are not always on top/bottom of the text
12517 (drawLengthMarker): smaller arrows; take the left margin in
12518 account; draw also vfills.
12520 (paintLastRow): remove special code for vfill and standard spaces,
12521 since everything is handled in drawLengthMarker now.
12523 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12525 * buffer.C (insertErtContents): try to handle font and language
12526 interaction a bit better.g
12528 * ColorHandler.C (updateColor): change the hash to cover the whole
12529 LColor enum, ws cleanup
12530 (getGCLinepars): ditto
12531 (getGCLinepars): only lookup in the linecache once.
12533 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12535 * iterators.C (operator++): Make the iterator more robust
12537 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12539 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12541 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12544 * text.C: better added space drawing
12546 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12549 * BufferView2.C: fix layout combo update on inset unlock
12551 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12553 * Makefile.am: don't compile unused files
12555 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12559 * LyXAction.C: remove old LFUN_LAYOUTNO
12561 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12563 * paragraph_pimpl.h:
12564 * paragraph_pimpl.C: isTextAt() doesn't need font param
12566 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12569 * lyxlex.C: little cleanup
12571 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12573 * BufferView_pimpl.C: fix insertAscii for insets
12575 2001-12-05 Juergen Vigna <jug@sad.it>
12577 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12578 set the right font on the "multi" paragraph paste!
12580 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12586 * lyxlength.C: remove out-commented code.
12588 * BufferView_pimpl:
12602 * vc-backend.C: change "while(" to "while ("
12604 * lyxlength.[Ch]: add zero function to check if length is zero or
12606 * lyxgluelength.C: use it
12608 2001-12-05 Allan Rae <rae@lyx.org>
12610 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12611 Works for 2.95.3, from what I understand of Garst's reports this should
12612 work for other g++ versions. We're screwed if the abs(int) definition
12613 changed between bugfix releases of gcc.
12615 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12617 * text.C: fix chapter label offset !
12619 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12622 * text.C: fix hfill at end of line, clean up
12624 2001-12-04 Juergen Vigna <jug@sad.it>
12626 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12627 that we force an update of the inset and it's owners if neccessary.
12629 2001-12-03 Juergen Vigna <jug@sad.it>
12631 * text.C (rowLast): simplified code
12633 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12635 * lyxfunc.C: fix show options on timeout
12637 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12639 * screen.C (topCursorVisible): scroll half a page when the cursor
12640 reached top of bottom of screen
12642 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12644 * minibuffer.C: deactivate on loss of focus
12646 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12648 * vspace.[Ch] (operator!=): add operator.
12650 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12652 * BufferView_pimpl.C: refuse to open an inset when
12653 there's a selection.
12655 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12657 * BufferView_pimpl.C: allow to click on RHS of full row insets
12659 2001-11-30 Juergen Vigna <jug@sad.it>
12661 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12662 insets for undo reasons.
12664 2001-11-28 André Pönitz <poenitz@gmx.net>
12666 * vspace.[Ch]: cosmetical changes
12668 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12678 * kbsequence.C: part re-write of old kb code
12681 * WorkArea.C: remove Lgb_bug_find_hack
12683 2001-11-30 José Matos <jamatos@fep.up.pt>
12685 * buffer.C (makeDocBookFile): add a comment to point a hack.
12686 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12687 Fixed a double write of labels.
12689 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12692 * LaTeX.h Fixed bug in LaTeX class where it would not
12693 re-run latex if no depfiles were changed, but the .dvi was removed.
12695 2001-11-28 André Pönitz <poenitz@gmx.net>
12697 * all the files from the change on 2001/11/26:
12698 use lyx::layout_type instead of LyXTextClass::size_type
12699 use lyx::textclass_type instead of LyXTextClassList::size_type
12701 2001-11-29 Juergen Vigna <jug@sad.it>
12703 * text.C: added support for paragraph::isFreeSpacing()
12705 * buffer.C: same as above
12707 * paragraph.h: inserted isFreeSpacing() function to enable
12708 FreeSpacing inside InsetERT.
12710 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12711 of the paragraph's in the cut/copy buffer to 0!
12713 * text2.C (removeRow): remove the assert as it can!
12715 * lyxtext.h: added helper function firstRow returning firstrow and
12716 made firstrow private again.
12718 * BufferView2.C (lockInset): don't relock if we're already locked!
12720 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12721 the only paragraph.
12722 (removeRow): added Assert::(firstrow)
12724 * debug.C: forgot to add INSETTEXT here.
12726 2001-11-28 Juergen Vigna <jug@sad.it>
12728 * sp_spell.C (initialize): changed error text to more general
12729 spellchecker command use (not only ispell!)
12731 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12733 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12735 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12737 * vspace.C: initialise lyxgluelength on failure
12739 2001-11-28 Allan Rae <rae@lyx.org>
12741 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12742 declaration & definition that looks like a function declaration.
12744 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12746 * BufferView2.C (copy):
12747 (copyEnvironment): do not clear the selection when doing a copy.
12749 * text.C (paintFirstRow): compilation fix
12751 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12753 * tabular.C (Latex): correct line count when writing latex.
12755 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12757 * paragraph_pimpl.h:
12758 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12761 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12765 * LColor.C: change vfillline->added_space
12767 * text.C: add markers and text for added space
12769 * vspace.C: fix comment
12771 2001-11-28 André Pönitz <poenitz@gmx.net>
12773 * paragraph.C: whitespace changes
12774 * all the other files from the change on 2001/11/26:
12775 change *::pos_type into lyx::pos_type
12777 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12779 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12780 language of the document when inserting error insets.
12782 2001-11-26 André Pönitz <poenitz@gmx.net>
12784 * BufferView_pimpl.[Ch]:
12792 * paragraph_pimpl.[Ch]:
12795 * text2.C: reduce header dependencies, introduce type for positions
12797 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12799 * <various>: change to use Alert.h
12801 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12803 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12804 when encountering an unknown token.
12805 (readLyXformat2): Show an error message if there were unknown tokens.
12807 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12810 * BufferView_pimpl.C:
12814 * text2.C: use par->isInset()
12816 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12818 * paragraph_pimpl.h:
12819 * paragraph_pimpl.C: cleanup
12821 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12823 * text2.C (removeRow):
12824 * text.C (setHeightOfRow): remove useless (and costly) call to
12827 2001-11-20 Allan Rae <rae@lyx.org>
12829 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12830 Now need Inset*::checkInsertChar() to return true for appropriate
12831 cases so that the characters in the minibuffer will actually be
12834 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12836 * text.C: change the order of the includes.
12837 (workWidth): initialize it at once.
12838 (workWidth): make maxw unsigned
12839 (setHeightOfRow): remove unused variable (inset)
12840 (selectSelectedWord): remove unused variable (inset)
12841 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12843 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12845 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12846 server is not running.
12848 (closeConnection): add debug info when server is disabled.
12850 * ColorHandler.C (getGCForeground): send debug message to GUI
12853 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12855 * kbmap.C (bind): modify because return conventions of
12856 kb_sequence::parse have changed.
12858 * kbsequence.C (parse): only ignore spaces and not any stupid
12859 control character. This avoids tests like s[i] <= ' ', which are
12860 guaranteed to fail with 8bit characters and signed chars.
12861 Change return code to string::npos when there have been no error
12862 (0 was a bad idea when error is at first character)
12864 2001-11-14 José Matos <jamatos@fep.up.pt>
12867 * buffer.C (simpleDocBookOnePar): removed unused argument.
12869 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12871 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12872 insets which are part of a word. Paragraph::isLetter takes care of
12873 that now. Use Paragraph::isInset to identify insets.
12874 (selectSelectedWord): do not test for hyphenation break.
12876 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12877 that protected spaces are considered as spaces.
12879 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12882 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12885 * lyxserver.C: fix it. and small cleanup.
12887 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12889 * BufferView_pimpl.C: use inline helpers
12892 * LaTeXFeatures.C: fix typos
12895 * Spacing.C: move spacing_string into class
12897 * ToolbarDefaults.C: move stuff into namespace anon
12899 * layout.h: update enum
12901 * lyxfunc.C: use better debug
12903 * minibuffer.h: fix typo
12907 * WorkArea.C: add and use Debug::WORKAREA
12911 * text2.C: code re-organisation, inline helpers
12913 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12915 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12916 std::vector.empty().
12918 2001-11-09 Allan Rae <rae@lyx.org>
12920 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12921 '\n's after tables. Tabular and ERT inset work now makes this no
12924 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12927 * minibuffer.C: fix crash, improve drop-down completion
12929 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12932 * lyxserver.C: invalidate fd's when doing endPipe()
12934 2001-11-08 José Matos <jamatos@fep.up.pt>
12936 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12937 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12940 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12942 2001-11-07 José Matos <jamatos@fep.up.pt>
12945 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12948 * buffer.C (sgmlOpenTag):
12949 * buffer.C (sgmlCloseTag): removed debug info.
12951 * buffer.h (sgmlOpenTag):
12952 * buffer.h (sgmlCloseTag): made public.
12954 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12956 * buffer.C (saveParamsAsDefaults):
12957 * lyx_cb.C (MenuLayoutSave): remove
12959 * LyXAction.C (init):
12961 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12963 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12965 * buffer.C (setPaperStuff): removed from here...
12967 * bufferparams.C (setPaperStuff): ... and moved there.
12969 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12973 * XFormsView.C: add support for drop-down completion
12975 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12977 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12980 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12982 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12985 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12987 * lyx_main.C: change ref to known bugs
12989 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12991 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12992 to work around older babel problems.
12994 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12996 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12998 2001-10-24 Juergen Vigna <jug@sad.it>
13000 * tabular-old.C (ReadOld): below variable changes reflected.
13002 * tabular.[Ch]: added ltType struct for longtable header/footer
13003 defines and changed all instances where they are used. Added
13004 future support for double top/bottom rows.
13006 2001-10-24 José Matos <jamatos@fep.up.pt>
13008 * buffer.h (docbookHandleCaption):
13009 * buffer.C (docbookHandleCaption): removed unused function.
13010 (makeDocBookFile): moved docbook supported version to v4.1.
13012 2001-10-24 José Matos <jamatos@fep.up.pt>
13015 * tabular.C (docbookRow): new function to export docbook code of a row.
13016 (DocBook): now honors the longtable flags.
13018 2001-10-23 José Matos <jamatos@fep.up.pt>
13021 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13022 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13024 * buffer.C (makeLinuxDocFile):
13025 (makeDocBookFile): reworked the preamble, more clean, and with
13026 support for lyx defined entities. Changed the document declaration
13027 to be more XML friendly.
13029 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13030 if we need to output XML that should be done with a filter.
13032 2001-10-22 Juergen Vigna <jug@sad.it>
13034 * sp_pspell.h (class PSpell): add alive function needed in the
13035 controller to see if the spellchecker could be started.
13037 2001-10-22 Juergen Vigna <jug@sad.it>
13039 * buffer.C (insertStringAsLines): modify the font for inserting
13040 chars in certain conditions by calling checkInsertChar(font).
13042 2001-10-19 Juergen Vigna <jug@sad.it>
13044 * text.C (workWidth): use getRow instead of wrong algorithm.
13045 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13047 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13052 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13054 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13056 * text.C (workWidth): do not search for the exact row when
13057 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13058 optimization for big documents.
13060 2001-10-18 Juergen Vigna <jug@sad.it>
13062 * text.C (workWidth): new function with added Inset * parameter.
13064 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13066 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13068 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13069 change return type of getColumnNearX.
13072 * text.C (changeRegionCase): use uppercase/lowercase instead of
13075 (rightMargin): simplify code by factoring out the uses of
13080 (appendParagraph): use Paragraph::size_type
13082 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13084 * vspace.C (asLatexString): add a missing break
13086 2001-10-15 Herbert Voss <voss@perce.de>
13088 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13090 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13092 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13095 2001-10-10 André Pönitz <poenitz@gmx.net>
13097 * lyxfunc.C: removed greek_kb_flag.
13099 2001-10-10 Herbert Voss <voss@perce.de>
13101 * lyx_main.C: delete global string help_lyxdir.
13103 2001-10-09 Herbert Voss <voss@perce.de>
13105 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13107 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13109 * lyx_main.C: added global string help_lyxdir.
13111 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13113 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13115 * lyxrc.C (set_font_norm_type): support iso8859-4
13117 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13119 * LaTeX.C (deplog): add another regex for MikTeX
13121 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13123 * lyxrc.C (set_font_norm_type): support iso8859-3
13125 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13127 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13129 * LaTeXFeatures.C: remove special case of french and index
13131 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13132 before \begin{document}). This solves several incompatibilities.
13134 2001-10-03 Garst Reese <reese@isn.net>
13136 * lyx_cb.C: change CheckTex error msg.
13138 2001-10-03 José Matos <jamatos@fep.up.pt>
13140 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13142 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13144 * .cvsignore: update
13146 * lyx_main.C (commandLineVersionInfo): use new style version info.
13148 * buffer.C (writeFile):
13150 (makeLinuxDocFile):
13151 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13153 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13155 * version.h: update to use stuff in version.C
13157 * version.C.in: new file. Contains version information determined
13158 at compile time. This is a merging of version.h and
13161 2001-10-03 Juergen Vigna <jug@sad.it>
13163 * BufferView_pimpl.C (update): don't change "dirty" status in
13166 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13168 * WorkArea.C (c-tor): re-position version string slightly.
13170 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13172 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13173 revert to previous code.
13175 WorkArea.[Ch]: (show, destroySplash): methods removed.
13177 WorkArea.C: rework code so that it's an amalgam of the codes before and
13178 after the splash screen was moved to WorkArea.
13180 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13183 * vspace.C (inPixels):
13186 * buffer.C (insertStringAsLines):
13187 (asciiParagraph): fix types to be large enough
13189 * lyxlex_pimpl.h: change member status from short to int
13191 * layout.h: fix type of endlabeltype
13194 * kbsequence.C (parse): change return type to string::size_type
13196 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13199 * Bullet.C (bulletSize):
13200 (bulletEntry): do not use short ints as parameters
13202 * BufferView2.C (insertLyXFile): change a char to an int.
13204 * WorkArea.C (WorkArea): remove unneeded floats in computation
13206 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13208 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13210 * paragraph.C (asString): Do not ignore newline/hfill chars when
13211 copying to the clipboard.
13213 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13215 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13216 after a multi-line inset.
13218 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13220 * paragraph.C (validate): Set NeedLyXFootnoteCode
13222 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13224 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13225 and decrease-error to decrease.
13227 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13229 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13230 it more readable (should be equivalent)
13232 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13234 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13236 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13238 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13239 of a cursor (row, etc.) after a character has been deleted
13240 (deleteEmptyParagraphMechanism): call the method above on _all_
13241 cursors held by the LyXText when a double space has been
13244 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13246 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13248 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13250 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13251 background. Use greyOut() and the new show() methods to toggle between
13252 the foreground and background. Add code to remove the splash after
13253 its initial showing.
13255 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13256 (create_forms): no longer call Dialogs::showSplash.
13258 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13260 * .cvsignore: add version_info.h
13262 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13264 * version_info.h.in: new file
13266 * Makefile.am: add version_info.h.in
13268 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13269 version_info.h instead of VERSION_INFO
13271 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13273 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13274 The ERT inset now returns string().
13276 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13278 * lyxtext.h, text.C (selectNextWord): renamed as
13279 selectNextWordToSpellcheck.
13281 * text.C (selectNextWordToSpellcheck): Modified to not select
13282 words inside an ERT inset.
13284 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13286 * lyx_cb.C (MenuLayoutSave): change a bit the question
13288 * sp_base.h: include <sys/types.h>
13290 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13292 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13294 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13296 * several files: fix typos in user-visible strings
13298 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13300 * text2.C (pasteSelection): do not set the selection, since it
13301 will be cleared later. Actually, the intent was to fix the way the
13302 selection was set, but I figured rmoving the code was just as good.
13304 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13306 * FontLoader.C (available): Check if font is available without
13309 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13311 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13313 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13315 * lyxrc.[Ch]: added display_graphics variable and associated code.
13317 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13319 * bufferparams.C (hasClassDefaults): new method. Returns true if
13320 the buffer parameters correspond to known class defaults
13322 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13324 * XFormsView.C (show): set minimum size to the main window.
13326 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13328 * text2.C (copySelection):
13330 * lyxfind.C (LyXReplace):
13331 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13332 LyXText::selectionAsString.
13334 * paragraph.C (asString): add "label" argument to the second form
13336 * text2.C (selectionAsString): add "label" argument and pass it to
13337 Paragraph::asString.
13339 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13341 * lyx_main.C (commandLineHelp): remove version information
13343 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13345 * lyx_main.C: add -version commandline option
13347 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13349 * paragraph.h: make the optional constructor arg required instead.
13350 some modifications to other files because of this.
13352 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13354 * lyxserver.C (C_LyXComm_callback): make it static
13356 * lyx_main.C (error_handler): make it static
13358 * lyx_gui.C (LyX_XErrHandler): make it static
13360 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13362 * WorkArea.C: make the extern "C" methods static.
13364 * Makefile.am (lyx_LDADD): simplify
13366 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13368 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13369 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13371 * LyXAction.C (init):
13372 * lyxfunc.C (dispatch): associated code removal.
13374 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13376 * lyxfont.h (isSymbolFont): shut off warning
13378 * text.C (setHeightOfRow):
13379 (getVisibleRow): fix crash with empty paragraphs which have a
13382 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13384 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13387 2001-09-04 José Matos <jamatos@fep.up.pt>
13390 * tabular.C (docbook): rename docBook method to docbook.
13392 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13394 * Makefile.am: add dependencies to main.o.
13396 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13398 * FontLoader.C (available): Return false if !lyxrc.use_gui
13400 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13402 * FontInfo.C (query):
13403 * converter.C (view):
13404 * importer.C (Import):
13405 * exporter.C (Export): Can not -> cannot.
13407 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13409 * BufferView_pimpl.C: allow to create index inset even if
13412 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13414 * buffer.C (getLists): replace boost::tie code with an explicit pair
13415 as boost::tie can break some compilers.
13417 * iterators.h: Added a std:: declaration to the return type of
13420 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13422 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13425 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13427 * iterators.[Ch]: New files. Provide paragraph iterators.
13429 * buffer.C (changeLanguage): Use paragraph iterators.
13430 (isMultiLingual): ditto
13432 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13434 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13436 * FontLoader.C: Support for cmr font.
13438 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13440 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13441 (available): New method.
13443 * FontInfo.C (getFontname): Use scalable fonts even when
13444 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13447 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13449 * converter.C (Formats::view): reverted! Incorrect fix.
13451 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13453 * converter.C (Formats::view): only output the -paper option
13454 if the dvi viewer is xdvi, thereby fixing bug #233429.
13456 2001-08-23 Herbert Voss <voss@perce>
13458 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13460 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13462 * Spacing.h (Spacing): Set space to Default on in the default
13465 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13467 * vc-backend.h (RCS::versionString): add RCS to version
13468 (CVS::versionString): add CVS to version
13470 * vc-backend.C (scanMaster): do not add CVS to version.
13471 (scanMaster): do not add RCS to version
13473 * lyxvc.C (versionString): new method
13475 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13477 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13479 * Spacing.C (set): initialize fval
13481 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13483 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13486 2001-08-16 Juergen Vigna <jug@sad.it>
13488 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13490 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13492 * BufferView_pimpl.C:
13495 * text2.C: setParagraph takes linespacing now
13497 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13499 * LyxAction.C: add internal LFUN_CITATION_INSERT
13501 * LyXView.C: actually apply fix
13503 * bufferlist.C: fix open non-existent file
13505 * lyxfind.C: fix indentation
13507 * lyxfunc.C: remove unneeded assert, fix typo
13509 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13511 * MenuBackend.C: use "Floatname List"
13513 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13515 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13516 when converting LaTeX layout to insetERT.
13517 Generate a non-collapsed float when reading old float
13519 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13521 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13524 2001-08-13 Juergen Vigna <jug@sad.it>
13526 * text.C (fill): return 0 instead of 20 as this seems to be the more
13529 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13531 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13534 2001-08-13 Juergen Vigna <jug@sad.it>
13536 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13538 (SearchBackward): comment out the unlocking of the inset_owner this
13539 should not be needed!
13541 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13543 * Many files: Remove inherit_language, and add latex_language
13545 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13546 collapsible insets.
13548 2001-08-10 Juergen Vigna <jug@sad.it>
13550 * text.C (prepareToPrint): fixed hfill-width in draw!
13552 * BufferView2.C (selectLastWord): save the selection cursor as this
13553 now is cleared in the function LyXText::clearSelection!
13555 2001-08-08 Juergen Vigna <jug@sad.it>
13557 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13558 BACKSPACE type functions.
13560 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13561 is only cutted from the document but not put in the cut-buffer, where
13562 still the old stuff should be.
13564 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13566 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13568 * tabular.C (SetWidthOfCell): fixed special case where the width
13570 (LeftLine): handle '|' in align_special.
13572 (LeftAlreadyDrawed): ditto
13573 (SetWidthOfCell): ditto
13575 2001-08-07 Juergen Vigna <jug@sad.it>
13577 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13579 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13581 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13582 * lyxlex.[hC]: ditto
13584 2001-08-06 Juergen Vigna <jug@sad.it>
13586 * text.C (getVisibleRow): fix up row clearing a bit.
13588 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13590 * minibuffer.C: make sure the X server sees the changes in the input.
13592 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13594 * paragraph.C (getFont): split into...
13595 (getLabelFont): this
13596 (getLayoutFont): and this
13597 * paragraph_pimpl.C (realizeFont): calling this
13599 * text2.C (getFont): split into...
13600 (getLayoutFont): this
13601 (getLabelFont): and this
13602 (realizeFont): all three calling this
13604 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13607 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13609 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13611 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13613 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13614 layouts from the Quote inset insertion.
13616 2001-08-03 Juergen Vigna <jug@sad.it>
13618 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13620 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13621 only if status not is already CHANGED_IN_DRAW (second level).
13623 * text.C (draw): don't set the need_break_row when inside an
13626 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13628 * buffer.C (parseSingleLyXformat2Token): handle more latex
13631 * bufferview_funcs.[hC]: change function names to
13632 begin with small char, adjust other files.
13634 2001-08-02 André Pönitz <poenitz@gmx.net>
13637 BufferView_pimpl.C: remove broken special code for math-greek
13639 2001-08-02 Juergen Vigna <jug@sad.it>
13641 * BufferView_pimpl.C (update): redone this function so that we
13642 update the text again if there was a CHANGE_IN_DRAW.
13644 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13645 (drawFromTo): added a new internal bool which is used by draw() and
13647 (general): some cursor drawing problems fixed.
13649 2001-08-01 Juergen Vigna <jug@sad.it>
13651 * lyxfind.C (LyXFind): fixed
13652 (SearchForward): ditto
13653 (SearchBackward): ditto
13655 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13656 spurius drawing of the cursor in the main area.
13658 * text2.C (status): small fix which could lead to a segfault!
13659 (clearSelection): remove unneeded BufferView param.
13661 2001-08-01 André Pönitz <poenitz@gmx.net>
13663 * lyxfunc.C: small change due to changed mathed interface
13665 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13667 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13669 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13671 * lyxfunc.c: fail gracefully if file doesn't exist
13676 * BufferView_pimpl.C: IsDirWriteable() proto changed
13678 * LyXView.C: fix updateWindowTitle() to store the last title
13680 2001-07-31 Juergen Vigna <jug@sad.it>
13682 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13683 the font (wrong since using of Paragraph::highestFontInRange).
13685 * paragraph.C (highestFontInRange): added a default_size parameter.
13687 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13688 (setHeightOfRow): reformat
13690 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13692 * converter.[hC] + affected files: move to (inital-char)lowercase
13695 * ParagraphParameters.C (ParagraphParameters): remove commented code
13697 * PainterBase.[Ch]: remove commented code
13699 * LaTeXFeatures.h: add "bool floats" for float.sty
13701 * LaTeXFeatures.C (LaTeXFeatures): init floats
13702 (require): handle float
13703 (getPackages): do it with floats
13705 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13707 * BufferView_pimpl.C (Dispatch): improve handling of
13708 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13710 * commandtags.h: #include lyxfont.h here temporarily to avoid
13713 * bufferlist.h: include LString.h here.
13715 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13717 * text2.C (getStringToIndex): new method.
13719 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13721 * *: Reduced header file dependencies all over.
13723 2001-07-30 Baruch Even <baruch@lyx.org>
13725 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13727 2001-07-29 Baruch Even <baruch@lyx.org>
13729 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13731 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13733 * ParameterStruct.h (endif): add a default constructor to make
13734 sure that all variables is initialized.
13736 * ParagraphParameters.C (ParagraphParameters): adjust
13738 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13740 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13741 index; also, check that there is something to index, and that it
13742 does not span over several paragraphs.
13743 (doubleClick): use WHOLE_WORD_STRICT for double click.
13745 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13747 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13750 2001-07-26 Baruch Even <baruch@lyx.org>
13752 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13753 an InsetFig figure, backwards compatible reading of old figure code.
13755 2001-07-27 Juergen Vigna <jug@sad.it>
13757 * text2.C: font.realize function adaption.
13759 * text.C (draw): add a warnings lyxerr text if needed.
13761 * layout.C: font.realize function adaption.
13763 * language.C: add inherit_language and implement it's handlings
13765 * bufferview_funcs.C (StyleReset): remove language parameter from
13766 font creation (should be language_inherit now).
13768 * bufferparams.C (writeFile): handle ignore_language.
13770 * paragraph.C (getFontSettings): the language has to be resolved
13771 otherwise we have problems in LyXFont!
13773 * lyxfont.C (lyxWriteChanges): added document_language parameter
13774 (update): removed unneeded language parameter
13776 * paragraph.C (validate): fixed wrong output of color-package when
13777 using interface colors for certain fonts in certain environments,
13778 which should not seen as that on the final output.
13780 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13782 * BufferView_pimpl.C:
13787 * LyXAction.C: add thesaurus support
13790 * lyxfind.C: add "once" parameter, for thesaurus, to not
13791 move to the next match
13793 2001-07-26 Juergen Vigna <jug@sad.it>
13795 * lyxfont.C (realize): honor ignore_language too!
13798 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13800 * text.C (draw): one place more for ignore_language to not draw
13803 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13805 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13807 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13809 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13810 the minipage conversion problem.
13812 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13814 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13817 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13819 * BufferView.h: don't forward declare WorkArea
13821 * BufferView.C: don't include WorkArea.h
13823 2001-07-25 André Pönitz <poenitz@gmx.net>
13827 * lyxfunc.C: new LFUN 'math-space'
13829 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13831 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13833 * text2.C (toggleInset): call open/close
13835 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13837 * lyxfunc.C (dispatch): add debug for the disabled case
13839 * font.C (buttonText): make similar to rectText
13841 * buffer.C (readInset): comment out parsing of insetlist and
13844 * PainterBase.C (rectText): small correction
13846 * BufferView_pimpl.C: comment out insettheorem and insetlist
13847 * LyXAction.C: ditto
13848 * commandtags.h: ditto
13850 2001-07-24 Juergen Vigna <jug@sad.it>
13852 * text.C (draw): honor the ignore_language.
13854 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13856 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13858 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13861 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13863 * lyxtext.h: remove unused (and unimplemented) methods
13865 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13867 * text.C (getVisibleRow): honor background color
13870 * Painter.h: remove default color argument for fillRectangle
13872 * text.C (backgroundColor): new method
13874 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13876 * text.C (getVisibleRow): adjust
13878 * font.[Ch] (rectText): new method, metrics
13879 (buttonText): new method, metrics
13881 * PainterBase.[hC]: make rectText and buttonText always draw and take
13884 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13886 * ToolbarDefaults.C (read):
13887 * MenuBackend.C (read): allow escaping in all strings
13889 * BufferView_pimpl.C (insertAndEditInset): new method.
13890 (Dispatch): use insertAndEditInset whenever appropriate.
13892 * BufferView_pimpl.C (insertNote): removed
13894 * BufferView_pimpl.C (smartQuote): new method, moved from
13895 BufferView; if an insetquote cannot be inserted, insert a '"'
13898 * BufferView2.C: remove insertCorrectQuote();
13900 * lyxfunc.C (getStatus): Add support for all remaingin
13901 inset-insert lfuns.
13903 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13905 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13906 command (necessary to pass " as parameter of self-insert.
13908 * text.C (selectWordWhenUnderCursor):
13909 (selectWord): add word_location parameter
13910 (selectWordWhenUnderCursor): same + remove special code for word
13912 (selectNextWord): use kind() to guess type of insetspecialchar,
13915 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13916 (insertErtContents): create ert insets as collapsed.
13917 (readInset): better compatibility code for Info inset.
13919 2001-07-20 Juergen Vigna <jug@sad.it>
13921 * lyxfunc.C (dispatch): use always LyXFind now!
13923 * text2.C (init): add a reinit flag so that the LyXText can be
13924 reinited instead of deleted and reallocated (used in InsetText).
13926 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13932 2001-07-18 Juergen Vigna <jug@sad.it>
13934 * text.C (selectNextWord): handle insets inside inset by calling
13935 always the bv->text functions so that we can go up the_locking_inset!
13937 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13938 in strange locations when inside an inset!
13940 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13941 handling to include insets.
13943 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13945 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13947 * LyXAction.C (init):
13949 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13950 LIGATURE_BREAK, since the name is so stupid.
13952 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13954 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13957 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13959 * sp_form.[Ch]: remove.
13961 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13963 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13966 * src/buffer.C (readInset): ditto.
13968 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13970 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13971 menuSeparator(), endOfSentenceDot(), ldots() and
13972 hyphenationPoint(), which are therefore removed.
13973 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13975 * LyXAction.C (init):
13976 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13978 * paragraph.C (getWord): removed.
13980 * BufferView_pimpl.C (Dispatch): use last word or selection for
13981 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13983 * lyx_main.C (queryUserLyXDir): do not ask before creating
13984 user_dir, except if it has been named explicitely.
13986 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13988 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13989 a document of zero size.
13991 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13993 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13994 approriately in the c-tor and in require().
13995 (getPackages): output the appropriate LaTeX for natbib support.
13997 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13998 variables "use_natbib" and "use_numerical_citations" when reading the
14000 (readInset): read the various natbib cite commands.
14001 (validate): white-space change.
14003 * bufferparams.[Ch]: new variables "bool use_natbib" and
14004 "bool use_numerical_citations".
14005 (writeFile): output them in the LyX file.
14007 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14009 * lyxfunc.C (getStatus): add support for all the inset insertion
14012 * text2.C (insertInset):
14013 * paragraph.C (insetAllowed):
14014 * BufferView_pimpl.C (insertInset): update to take in account the
14015 renaming of insertInsetAllowed
14017 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14019 * text2.C (getInset): new method. returns inset at cursor position.
14021 * BufferView_pimpl.C (Dispatch): changes because of this.
14023 * LyXAction.C (init): rename open-stuff to inset-toggle.
14025 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14027 * text2.C (toggleInset): renamed from openStuff; use
14030 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14032 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14034 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14036 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14038 * buffer.C (readLyXformat2): Add filename to the error dialog
14040 2001-07-18 Juergen Vigna <jug@sad.it>
14042 * tabular.C (GetCellNumber): put an assert here instead of the check!
14044 2001-07-17 Juergen Vigna <jug@sad.it>
14046 * BufferView_pimpl.C (toggleSelection): adapted too.
14048 * text.C (selectNextWord): adapted for use with insets.
14049 (selectSelectedWord): ditto
14051 2001-07-17 Juergen Vigna <jug@sad.it>
14053 * sp_spell.C (PSpell): fix initialitation order.
14055 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14057 * paragraph.C: spacing
14059 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14061 * sp_spell.C: repair language selection for pspell
14063 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14065 * lyxfunc.h: change more methods to begin with lower char.
14067 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14069 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14070 for unknown layouts.
14072 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14074 * buffer.C (readLyXformat2): Generate an error dialog if there are
14077 2001-07-16 Juergen Vigna <jug@sad.it>
14079 * sp_spell.C: always compile ISpell part.
14081 * lyxrc.C: added use_pspell entry and it's handling.
14083 2001-07-13 Juergen Vigna <jug@sad.it>
14085 * sp_spell.C: removed double includes.
14087 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14089 Consistent use of Lsstream.h:
14090 * Lsstream.h: added using std::stringstream for consistencies sake.
14092 * buffer.C: removed using std::stringstream
14094 * lyxfont.C (stateText):
14095 * paragraph.C (asString):
14096 * text.C (selectNextWord, selectSelectedWord):
14097 * text2.C (setCounter):
14098 * vspace.C (asString, asLatexString):
14099 std::ostringstream -> ostringstream.
14101 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14103 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14104 * commandtags.h: add LFUN_HELP_ABOUTLYX
14105 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14107 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14109 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14111 * lyx_gui_misc.C: remove spellchecker
14112 * lyxfunc.C: showSpellchecker
14114 * sp_ispell.h: added
14115 * sp_pspell.h: added
14116 * sp_spell.C: added
14117 * sp_form.[Ch]: removed
14118 * spellchecker.[Ch]: removed
14120 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14122 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14124 (simpleTeXSpecialChars): Simply print the input character without
14125 any special translation if pass_thru is set.
14127 * layout.h: Added bool pass_thru to layout class for being able to
14128 implement pass through of a paragraph for Literate Programming.
14130 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14131 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14132 * layout.C (Read): add "passthru" to list of layout tags and add
14133 code to set the pass_thru boolean when it is read.
14135 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14137 * trans_decl.h: remove allowed from KmodInfo
14139 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14140 remove allowed code
14143 * paragraph_pimpl.C (erase): use boost::prior
14145 * Painter.C (text): use data() instead of c_str() when length is
14147 * WorkArea.C (putClipboard): ditto
14148 * font.h (width): ditto
14150 * BufferView2.C: use it-> instead of (*it). for iterators
14152 * paragraph_pimpl.C: ditto
14153 * paragraph.C: ditto
14154 * minibuffer.C: ditto
14155 * language.C: ditto
14157 * encoding.C: ditto
14158 * counters.C: ditto
14159 * converter.C: ditto
14161 * Variables.C: ditto
14162 * TextCache.C: ditto
14163 * MenuBackend.C: ditto
14164 * LyXAction.C: ditto
14166 * FloatList.C: ditto
14167 * DepTable.C: ditto
14168 * ColorHandler.C (LyXColorHandler): ditto
14170 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14172 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14174 * text2.C (openStuff): reintroduce this method (which had been
14175 nuked in NEW_INSETS frenzy).
14177 * lyxfunc.C (Dispatch): when an action has not been handled, use
14178 its name in the error message, not its number.
14180 * paragraph.C (inInset): change method name to begin with lowercase.
14183 * text2.C: updates because of this.
14185 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14187 * ToolbarDefaults.C (add): add spaces in error message
14189 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14191 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14192 (readLyXformat2): rename return_par to first_par, use lyxlex's
14193 pushToken and remove the manual push handling.
14194 (parseSingleLyXformat2Token): add another ert comp. variable:
14195 in_tabular, rename return_par to first_par. handle newlines better
14197 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14199 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14201 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14203 * text2.C (getParFromID): removed
14205 * buffer.C (getParFromID): new method moved form lyxtext.
14206 * BufferView2.C (insertErrors): adjust
14207 (setCursorFromRow): adjust
14208 * BufferView_pimpl.C (restorePosition): adjust
14209 * lyxfunc.C (Dispatch): adjust
14210 * undo_funcs.C (textUndo): adjust
14212 (textHandleUndo): adjust
14213 (textHandleUndo): adjust
14215 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14217 * buffer.C: up' the LYX_FORMAT
14219 * lyxfont.h: turn NO_LATEX on as default
14221 * buffer.C (insertErtContents): new methods of tex style compability.
14222 (parseSingleLyXformat2Token): use it several places.
14223 * tabular.C (OldFormatRead): and here
14225 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14227 * text2.C: remove some commented code.
14230 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14231 * trans.C: changes because of the above.
14233 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14235 * text2.C (setCounter): Fix counters bug with bibliography layout.
14237 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14239 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14240 own member functions
14241 (simpleTeXSpecialChars): ditto
14243 2001-07-06 Juergen Vigna <jug@sad.it>
14245 * a lot of files: changed the access to LyXText::status and the
14246 call of undo-functions.
14248 * undo.[Ch]: added a inset_id to the undo informations.
14250 * undo_funcs.[Ch]: added and moved here all undo functions.
14252 * lyxtext.h: give the status enum a weight, made status_ a private
14253 variable and made accessor functions for it, removed the whole bunch
14254 of undo-functions as they are now in their own file, make some
14255 functions publically available. Added function ownerParagraph with
14258 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14259 made InInset() a const function, added getParFromID() function.
14261 * buffer.[Ch]: added const version for inset_iterator functions,
14262 added getInsetFromID() function.
14264 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14265 changed undo functions for new version.
14267 2001-07-05 Juergen Vigna <jug@sad.it>
14269 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14270 unknow mechanism does not call the proper constructor but only this
14271 one also if I request the other!?
14273 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14275 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14277 * text2.C (LyXText): use initialization lists.
14279 * lyxtext.h (Selection): initialize set_ and mark_
14280 (init): remove method
14282 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14284 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14286 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14288 * screen.[Ch]: change method names to begin with lowercase
14290 * BufferView_pimpl.C (updateScrollbar): simplify further and
14291 hopefully make it a bit faster.
14293 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14295 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14296 calling directly xforms functions.
14298 * Painter.C (Painter):
14299 * lyx_cb.C (MenuWrite):
14300 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14303 * lyx_gui.C: remove bogus guiruntime extern declaration.
14305 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14307 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14309 (redoDrawingOfParagraph): ditto
14310 (redoParagraphs): ditto
14311 (cutSelection): don't create a object for CutAndPaste use the
14312 static method directly
14313 (pasteSelection): ditto
14315 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14318 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14320 * modifications to some other files because of this.
14322 * Makefile.am (lyx_SOURCES): add XFormsView
14324 * XFormsView.[Ch]: new files
14326 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14327 the main window. Move the gui dependent stuff to XFormsView
14329 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * tabular.C (GetCellInset): update cur_cell also in the row/col
14332 version of this function.
14334 * lyxfunc.C: no need to include figure_form.h here.
14340 * lyxvc.C: no need to include forms.h here.
14342 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14344 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14346 * lyxfunc.C (Dispatch):
14348 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14349 constructor argument.
14351 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14353 * paragraph.C (Paragraph): dont't clear, and just set layout.
14354 (makeSameLayout): use params's copy contructor.
14356 * ParagraphParameters.[Ch] (makeSame): delete method
14358 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14360 * Variables.[Ch]: fix indentation, rename set to isSet
14362 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14364 * lyxfunc.C (Dispatch): fix typo
14366 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14368 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14371 * bufferlist.C: include assert.h for emergencyWrite().
14373 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14375 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14376 give up at last (bug #425202) !
14378 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14384 * spellchecker.C: strip spellchecker options and bring up
14385 preferences tab instead
14387 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14389 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14390 the istringstream constructor
14392 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14394 * paragraph.C (getLayout): fix return value
14396 * paragraph.h: do not declare getLayout as inline.
14398 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14400 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14402 * lyxcursor.h (operator<): new func
14403 (operator>): new func
14404 (operator>=): new func
14405 (operator<=): new func
14407 * text.C (changeCase): use selection.start and selection.end
14408 (changeRegionCase): require from to be <= to. Require par to be a
14411 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14413 2001-06-27 Juergen Vigna <jug@sad.it>
14415 * text.C (cursorLeftOneWord): changed to return the cursor and added
14416 overlay with BufferView * parameter which calls this one.
14418 (selectWord): use new getWord function.
14419 (changeCase): renamed from changeWordCase as and extended to work
14420 also on selections.
14422 * lyxtext.h: added enum word_location
14424 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14425 changeCase as this operates now also on selections.
14427 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14429 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14431 * many files: send debug output to Debug::INFO instead of
14434 * converter.C (View):
14436 (Move): send debug output to Debug::FILES instead of console.
14438 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14440 * lyxfunc.C (getStatus): use func_status
14442 * func_status.h: new header, describing the results of
14443 LyXFunc::getStatus;
14445 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14448 2001-06-25 The LyX Project <jug@sad.it>
14450 * buffer.C (sgmlOpenTag):
14452 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14454 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14456 * text2.C: remove some dead code
14458 * tabular.C (GetCellInset): store the last cell checked (gotten)
14460 * tabular.h: add the helper for the speedup
14462 * lyxtext.h: remove some dead code
14464 2001-06-26 The LyX Project <Asger>
14466 * paragraph.C: Change export to LaTeX of alignment to
14467 \begin{center} and family for better roundtrip work with reLyX.
14469 * Tune the math drawing a bit.
14471 2001-06-25 The LyX Project <Asger>
14473 * LColor.C (LColor): New color for math background. New color
14476 2001-06-25 The LyX Project <jug@sad.it>
14478 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14480 * lyxfunc.C (Open):
14481 * bufferlist.C (newFile): do not restrict to files ending with
14484 * BufferView_pimpl.C (MenuInsertLyXFile):
14486 2001-06-24 The LyX Project <jug@sad.it>
14488 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14491 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14493 * lyxtext.h: rename most methods to begin with a small char.
14494 Lots of changes because of this.
14496 * paragraph.C (Paragraph): do not call fitToSize
14497 (erase): call Pimpl::erase
14498 (insertChar): call Pimpl::insertChar
14499 (insertInset): call Pipl::insertInset
14500 (breakParagraph): do not call fitToSize
14501 (breakParagraphConservative): do not call fitToSize
14502 (fitToSize): remove method
14504 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14506 2001-06-24 The LyX Project <Asger>
14508 * Fix Qt compilation^2
14510 2001-06-24 The LyX Project <jug@sad.it>
14512 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14513 depthHook(getDepth()-1).
14516 * ParagraphParameters.h:
14517 * ParameterStruct.h: change type of depth to unsigned int ==
14518 depth_type. Many adaptations to other files before of that.
14520 2001-06-24 The LyX Project <Asger>
14522 * Fix Qt compilation.
14524 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14526 * paragraph.h: renamed several methods to begin with small letter.
14527 several changes to many parts of the code because of this.
14529 2001-06-23 The LyX Project <jug@sad.it>
14531 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14532 rewritten to discard all double spaces when KeepEmpty is off
14533 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14534 to only handle newlines but not fiddle with spaces and friends.
14536 * lyxfunc.C (MenuNew): when doing 'new from template', use
14537 template_path as default directory
14539 2001-06-23 The LyX Project <Asger>
14541 * Clean-up of header file includes all over
14542 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14544 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14546 * paragraph.h: renamed from lyxparagraph.h
14548 2001-06-23 Asger <lyx@violet.home.sad.it>
14550 * Buffer.h: Removed Buffer::resize
14551 * BufferList.h: Removed BufferList::resize
14552 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14553 the document lazily when we change the width, or the font settings.
14555 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14557 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14559 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14561 * buffer.h: remove out of date comment
14563 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14566 * screen.C: fix "theoretical" GC leak
14568 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14570 * LaTeX.C (scanAuxFile):
14571 (deplog): remove trailing \r when reading stream (useful under
14574 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14576 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14577 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14578 and BufferView::theLockingInset(Inset*), so should use them and not
14579 access bv_->text->the_locking_inset directly.
14581 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14583 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14586 * tex-defs.h: remove old unused file
14588 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14590 * BufferView_pimpl.C: fix typo, remove minibuffer message
14591 when buffer has loaded
14593 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14595 * lyxfunc.C (Dispatch): use stringstream
14596 (MenuNew): use stringstream
14597 (Open): use stringstream
14599 * importer.C (Import): use stringstream
14601 * bufferview_funcs.C (CurrentState): use stringstream
14603 * LaTeX.C (run): use stringstream
14605 * BufferView_pimpl.C (savePosition): use stringstream
14606 (restorePosition): use stringstream
14607 (MenuInsertLyXFile): use stringstream
14609 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14622 * vspace.C: removed // -*- C++ -*- as first line.
14625 * version.h: added // -*- C++ -*- as first line.
14627 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14629 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14631 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14634 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14636 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14639 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14641 * gettext.C: include LString.h even when --disable-nls is on.
14643 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14645 * converter.h (Get): changed argument type from int to
14646 FormatList::size_type to avoid unnecessary conversion.
14648 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14651 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14653 * gettext.h: include LString.h even when --disable-nls is on.
14655 2001-06-07 Juergen Vigna <jug@sad.it>
14657 * text.C (BreakAgain): subst spaces with tabs.
14659 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14660 (resizeInsetsLyXText): set force on resizeLyXText.
14662 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14664 * gettext.h (gettext_init):
14665 (locale_init): use a real definition instead of a macro
14667 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14669 * Bufferview_pimpl.C:
14671 * LColor.C: further lcolor tidies
14673 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14675 * BufferView_pimpl.C (updateScrollbar): simplify.
14677 * BufferView2.C: don't include insets/insetinfo.h, change
14678 prototype for insertInset and call the Pimpl version. let
14679 updateInset call Pimpl version.
14681 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14682 gotoInset to BufferView::Pimpl
14684 2001-06-01 Juergen Vigna <jug@sad.it>
14686 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14687 inside a LockingInset (is the update needed at all?).
14689 2001-05-31 Juergen Vigna <jug@sad.it>
14691 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14692 here not the old one otherwise how should we compare it afterwards
14695 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14700 * FontInfo.C: bring C functions into global namespace when
14703 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14705 * LString.h: make sure config.h has been loaded before LString.h.
14707 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14708 (one for each char read by EatLine!).
14710 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14713 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14715 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14716 to the same as the par we break from
14718 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14720 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14722 * MenuBackend.C (expand): also create menu entries for wide
14723 versions of the floats.
14725 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14727 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14729 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14730 frontends/Makefile.am
14736 * tabular.C (getTokenValue): add std::
14738 * tabular-old.C (getTokenValue): add std::
14739 (getTokenValue): ditto
14740 (getTokenValue): ditto
14742 * screen.C (ToggleSelection): adjust
14744 * lyxtext.h: put selection cursors inside a Selection struct.
14746 * lyxfunc.C (moveCursorUpdate): adjust
14748 * lyxfont.C (latexWriteStartChanges): add std::
14750 * lyxfind.C: adjust
14752 * font.h: delete with(char const *, LyXFont const &)
14754 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14756 * FontInfo.C (getFontname): add std::
14758 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14759 (workAreaButtonPress): adjust
14760 (tripleClick): adjust
14762 (moveCursorUpdate): adjust
14765 * BufferView2.C (gotoInset): adjust
14767 2001-05-30 Juergen Vigna <jug@sad.it>
14769 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14770 to check pspell I add this as default as I now have new pspell
14771 libraries and they seem to use this.
14773 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14775 * text2.C (CutSelection): make the cursor valid before the call to
14778 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14780 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14781 relied on 0 terminated strings and other horrors. Bug found due to
14782 the new assert in lyxstring!
14784 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14787 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14789 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14792 * lyxfunc.C (processKeySym): change method of getting to the
14795 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14796 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14797 * BufferView_pimpl.[Ch]: here as private methods.
14799 2001-05-28 Juergen Vigna <jug@sad.it>
14801 * text.C (SetHeightOfRow): added the update() call again as it is
14802 needed to initialize inset dimensions!
14804 2001-05-16 Juergen Vigna <jug@sad.it>
14806 * text2.C (SetCharFont): Add new function with BufferView * and
14807 bool toggleall parameters for setting insets internal fonts.
14808 (SetFont): Freeze the undo as we may change fonts in Insets and
14809 all this change should be inside only one Undo!
14811 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14812 setting font's in insets as for them we have the SetFont function!
14814 2001-05-15 Juergen Vigna <jug@sad.it>
14816 * text2.C (ClearSelection): to be sure we REALLY don't have any
14819 * tabular.C (TeXCellPreamble): fixed the left border problem for
14822 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14824 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14827 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14829 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14830 LFUN_BREAKPARAGRAPH.
14832 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14833 help test to "internal only", similar for LFUN_INSERT_URL
14835 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14836 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14837 auto_region_delete and deadkeys.
14839 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14842 * LColor.C: remove some dead entries, tidy a little
14844 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14846 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14848 (Dispatch): implement LFUN_ESCAPE
14850 * commandtags.h: add LFUN_ESCAPE
14852 * LyXAction.C (init): add entry for LFUN_ESCAPE
14854 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14855 Remove commented code.
14856 (insertNote): moved here
14857 (open_new_inset): moved here
14859 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14862 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14864 * kbmap.C (findbinding): clean it up and make it work correctly.
14866 * lyx_main.C (init): do not pass argc and argv as parameters
14868 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14870 * buffer.C: fix path for OS/2 & Win32
14874 * lyx_main.C: Added os:: class.
14876 * os2_defines.h: update
14878 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14880 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14881 better by trying again with reduced state.
14883 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14885 * lyxrc.C (read): print error about invalid key sequence only when
14886 debugging (because not all latinX keysyms are known to some X
14889 * kbsequence.C (getiso): add a few std:: qualifiers
14890 (getiso): comment out extra return statement.
14892 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14894 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14896 (Dispatch): enhance the accent inset a bit. (not perfect)
14898 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14900 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14902 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14904 * bufferlist.C (emergencyWrite): fix assert() call
14906 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14908 * text.C (InsertChar): Added trivial patch to only send the "you
14909 can not do multiple spaces this way" message once during a
14912 2001-05-08 Baruch Even <baruch@lyx.org>
14914 * Makefile.am: Changed order of libraries to get LyX to link properly
14915 with the gnome frontend.
14917 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14919 * LaTeXFeatures.h: add a std:: qualifier
14921 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14923 * paragraph.C (String): use stringstream
14925 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14927 * paragraph.C (writeFile): remove footflag arg
14929 * buffer.C (makeLaTeXFile): use stringstream
14930 (latexParagraphs): remove footnot gurba
14932 * LaTeXFeatures.C (getPackages): use stringstream
14933 (getMacros): likewise
14934 (getTClassPreamble): likewise
14935 (getFloatDefinitions): new method
14937 * paragraph.C (writeFile): reindent
14940 * WorkArea.h: revert the xpos + etc changes.
14942 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14944 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14946 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14947 (pasteSelection): likewise
14948 * text2.C (CreateUndo): likewise
14950 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14952 * minibuffer.C (peek_event): temporarily reduce the functionality
14953 of the minibuffer (to allow args on lfuns)
14955 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14956 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14958 * buffer.C (readInset): add compability reading of old float
14959 lists, add reading of new style float list.
14960 (readInset): avoid reevaluation of inscmd.getCmdName()
14961 (getLists): reindent
14963 * MenuBackend.C (MenuItem): implement parsing of
14964 md_floatlistinsert and md_floatinsert.
14965 (expand::LastFiles): move initalizaton of iterators out of loop,
14966 avoid reevaluation.
14967 (expand::Documents): introduce typdedef vector<string> Strings,
14969 (expand::ExportFormats): introduce typedef vector<Format const *>
14970 Formats, and use it.
14971 (expand): implement FloatListInsert and FloatInsert.
14973 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14974 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14975 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14977 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14979 (Dispatch::LFUN_FLOAT_LIST): implement
14981 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14983 * LaTeX.C (run): Fix problem with --export code.
14985 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14987 * BufferView.[Ch] (workarea): removed.
14988 (getClipboard) new method; wrapper for workarea()->getClipboard()
14990 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14993 * WorkArea.h (width, height, xpos, ypos): These methods all
14994 returned the dimensions of the work_area sub-area of WorkArea,
14995 resulting in a position error if the WorkArea were resized. Now
14996 return the dimensions of the entire WorkArea.
14998 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15000 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15002 * LaTeX.C (deplog): correct the syntax of regex reg1
15004 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15006 * undo.C: remove !NEW_INSETS cruft
15008 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15010 * text2.C: remove !NEW_INSETS cruft
15012 * text.C: remove !NEW_INSETS cruft
15014 * tabular.C: remove !NEW_INSETS cruft
15016 * spellchecker.C: remove !NEW_INSETS cruft
15018 * lyxtext.h: remove !NEW_INSETS cruft
15020 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15022 * lyxfunc.C: remove !NEW_INSETS cruft
15024 * lyxfind.C: remove !NEW_INSETS cruft
15026 * lyx_cb.C: remove !NEW_INSETS cruft
15028 * figureForm.C: remove !NEW_INSETS cruft
15030 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15032 * buffer.[Ch]: remove !NEW_INSETS cruft
15034 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15036 * CutAndPaste.C: remove !NEW_INSETS cruft
15038 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15040 * BufferView2.C: remove !NEW_INSETS cruft
15042 * BufferView.h: remove !NEW_INSETS cruft
15044 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15046 * Lsstream.h: include LString.h before the sstream headers to
15047 fix problem with gcc 2.95.3 and lyxstring
15049 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15051 * lyx_main.C: add using directives when needed for C functions
15052 declared in std:: namespace.
15054 2001-04-27 Juergen Vigna <jug@sad.it>
15056 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15057 (SetHeightOfRow): comment out the update call should not be needed!
15059 2001-04-13 Juergen Vigna <jug@sad.it>
15061 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15062 (LyXTabular): tried to minimize operator= operations (and realized
15063 hopfully Lars wish).
15065 2001-04-27 Juergen Vigna <jug@sad.it>
15067 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15069 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15071 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15073 * buffer.C (readInset): hack to make listof algorithm work
15075 * BufferView_pimpl.C: hack to make listof algorithm work
15077 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15079 * LyXAction.C: removed all !NEW_INSETS cruft
15080 (init): moved lfun_item in method
15082 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15084 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15086 * BufferView2.C (theLockingInset): white space.
15088 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15090 * minibuffer.C: include <iostream>
15092 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15094 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15096 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15098 * text.[Ch] (TransposeChars): new method
15100 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15102 * call message directly through LyXView instead of through LyXFunc
15103 * BufferView2.C: adjust
15104 * BufferView_pimpl.C: adjust
15105 * FontLoader.C: adjust
15107 * bufferview_funcs.C: adjust
15108 * converter.C: adjust
15109 * figureForm.C: adjust
15110 * importer.C: adjust
15112 * lyx_gui_misc.C: adjust
15113 * lyxfunc.C: adjust
15116 + more files in subdirs
15118 * lyxparagraph.h (size): move up int file
15121 * adjust all uses of Assert to lyx::Assert.
15123 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15124 lyxfunctional in namespace lyx
15125 * layout.C (hasLayout): ditto
15128 (delete_layout): ditto
15129 (NumberOfClass): ditto
15130 * converter.C (GetFormat): ditto
15135 * bufferlist.C (getFileNames): ditto
15136 (emergencyWriteAll): ditto
15139 * MenuBackend.C (hasSubmenu): ditto
15142 * BufferView_pimpl.C (getInsetByCode): ditto
15144 2001-04-18 Juergen Vigna <jug@sad.it>
15146 * vspace.C (asLatexString): fixed the 100% problem.
15148 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15150 * lyxfunc.C (Dispatch):
15152 * minibuffer.h: add a few std:: qualifiers
15154 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15156 * minibuffer.[Ch]: reimplement so that commands is initiated and
15157 run from lyxfunc, simplified som handling, and made the completion
15158 and history code for complete. wip.
15160 * lyxfunc.C (processKeySym): call message
15161 (miniDispatch): new temporary method
15162 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15163 (LFUN_MESSAGE): implement
15164 (LFUN_MESSAGE_PUSH): implement
15165 (LFUN_MESSAGE_POP): implement
15166 (initMiniBuffer): the initial/defualt minibuffer message.
15168 * lyxfont.[Ch]: inline some more getters
15170 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15172 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15174 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15175 (AutoSave): use LFUN_MESSAGE
15176 (Reconfigure): ditto
15178 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15180 * figureForm.C: use LFUN_MESSAGE
15182 * converter.C (runLaTeX): use LFUN_MESSAGE
15184 * bufferview_funcs.C: use LFUN_MESSAGE
15186 (changeDepth): ditto
15188 * bufferparams.h: use boost::
15190 * bufferlist.h: inherit privately from noncopyable
15192 * bufferlist.C (loadLyXFile): remove some commented code.
15194 * buffer.C (runChktex): use LFUN_MESSAGE
15196 * ShareContainer.h: inherit privately from noncopyable
15198 * ParagraphParameters.[hC] (depth): inline it.
15200 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15202 (message): new method
15203 (messagePush): ditto
15204 (messagePop): ditto
15205 (show): init minibuffer
15206 (showState): direct call
15208 * LaTeX.[Ch]: inherit privately from noncopyable
15209 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15210 instead of WriteStatus.
15212 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15214 * BufferView_pimpl.C (buffer): don't init minibuffer
15215 (workAreaButtonPress): use LFUN_MESSAGE
15216 (workAreaButtonRelease): ditto
15217 (savePosition): ditto
15218 (restorePosition): ditto
15219 (MenuInsertLyXFile): ditto
15220 (workAreaExpose): don't init minibuffer
15221 (update): remove commented code, simplify
15223 * BufferView2.C (openStuff): use LFUN_MESSAGE
15224 (toggleFloat): ditto
15227 (copyEnvironment): ditto
15228 (pasteEnvironment): ditto
15233 (updateInset): remove some commented code
15235 * lastfiles.h: inherit privately from noncopyable
15238 * lyx_main.h: ditto
15240 * lyxlex_pimpl.h: ditto
15242 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15243 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15244 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15246 * LyXAction.h: inherit privately from noncopyable, add methods
15247 func_begin, func_end, returning iterators to the func map.
15249 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15250 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15251 (func_begin): new method
15252 (func_end): new method
15254 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15256 (copySelection): ditto
15257 (pasteSelection): ditto
15259 * BufferView.C: whitespace change
15260 * BufferView.h: inherit privately from noncopyable
15262 2001-04-16 Allan Rae <rae@lyx.org>
15264 * tabular-old.C (l_getline):
15265 * spellchecker.C (sc_check_word):
15266 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15267 an unrecognised preprocessor directive. So ensure they're wrapped.
15269 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15271 * src/exporter.C (Export): Give an error message when path to file
15274 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15276 * LaTeX.C (deplog): Always check that foundfile exists.
15278 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15281 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15283 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15285 * tabular.[Ch] (getLabelList): implement new method
15287 * minibuffer.h: comment ouf setTiimer
15289 * minibuffer.C (ExecutingCB): constify res
15290 (peek_event): constify s
15291 (Set): constify ntext
15292 (Init): constify nicename
15294 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15296 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15297 (savePosition): use two params to Minibuffer::Set
15298 (restorePosition): ditto
15300 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15302 * lyx_main.C: include language.h
15304 * Makefile.am (lyx_main.o): add language.h
15306 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15312 * CutAndPaste.C: include gettext.h
15314 * lyxfont.h: remove old hack with ON and OFF.
15317 * lyxfont.h: do not include language.h...
15322 * bufferview_funcs.C:
15328 * paragraph.C: ... but do it here instead
15330 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15332 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15334 * tabular.C: small reformat
15336 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15339 (BreakParagraph): ditto
15340 (SetOnlyLayout): ditto
15343 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15346 * lastfiles.C: removed most using decl, add std:: where needed
15348 * buffer.C: ws changes
15350 * MenuBackend.C (class compare_format): put into anon namespace
15351 (expand): constify label, names, action, action2
15354 * text.C (SingleWidth): constify font
15355 (IsBoundary): constify rtl2
15356 (GetVisibleRow): constify ww
15358 * LaTeX.C (deplog): constify logfile
15360 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15362 (workAreaExpose): constify widthChange, heightChange
15364 * lyxrow.C (par): moved
15367 * lyxrow.h: as inlines here
15369 * lyxfont.h (shape): moved from lyxfont.C
15370 (emph): moved from lyxfont.C
15372 * lyxfont.C (LyXFont): use initialization list for all
15374 (shape): move to lyxfont.h as inline
15375 (emph): move to lyxfont.h as inline
15378 2001-04-04 Juergen Vigna <jug@sad.it>
15380 * vspace.C: had to include stdio.h for use of sscanf
15382 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15385 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15386 independent of xforms.
15388 2001-04-02 Juergen Vigna <jug@sad.it>
15390 * spellchecker.C: fixed namespace placing!
15392 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15394 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15395 the LyXParagraph * is 0.
15397 2001-03-29 Juergen Vigna <jug@sad.it>
15399 * vspace.C: added support for %, c%, p%, l%.
15400 (stringFromUnit): added helper function.
15401 (asLatexString): changed to give right results for the %-values.
15403 * buffer.C: convert the widthp in a width%.
15405 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15407 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15410 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15411 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15413 * lyx_cb.[Ch]: see above.
15415 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15419 * lyx.[Ch]: replaced by figure_form.[Ch].
15423 * lyxfunc.C: changed headers associated with above changes.
15425 2001-03-27 Juergen Vigna <jug@sad.it>
15427 * BufferView_pimpl.C: set the temporary cursor right!
15429 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15431 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15433 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15435 * LString.h: removed "using std::getline"!
15437 * BufferView_pimpl.C (Dispatch): changes due to changes in
15438 InsetInclude::Params.
15440 * buffer.C (tag_name): removed redundant break statements as they were
15441 producing lots of warnings with my compiler.
15443 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15445 * LString.h: add "using std::getline" when using the real <string>.
15447 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15449 * buffer.C: removed bitset usage.
15450 PAR_TAG moved to an anonymous name space.
15451 (tag_name): new funtion, also in the anonymous namespace.
15452 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15453 (makeDocBookFile): clean code. Completed transition from string arrays
15455 (SimpleDocBookOnePar): code clean.
15457 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15459 * tabular.C: add some comments.
15461 2001-03-22 Juergen Vigna <jug@sad.it>
15463 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15464 compatibility read a bit and fixed bug with minipage in different
15467 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15469 * buffer.C (pop_tag): removed.
15470 (push_tag): removed.
15471 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15472 array replaced with vector. Added support for CDATA sections.
15473 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15475 (makeDocBookFile): XML conformant declaration of CDATA section,
15476 fixed bug related to <emphasis> in the first paragraph char.
15477 (sgmlOpenTag): exclude empty tags.
15478 (sgmlCloseTag): ditto.
15480 * buffer.h (pop_tag): removed.
15481 (push_tag): removed.
15483 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15485 * language.h (Languages): added size_type and size().
15487 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15489 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15490 response on compability reading of minipages. One probliem is that
15491 the old usage of minipages was «flertydig»
15493 * several files here and in subdirs: don't use static at file
15494 scope use anon namespaces instead.
15496 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15498 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15499 LaTeX output. This is necessary for Literate document
15502 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15504 * buffer.C: insert hfill when needed.
15506 * tabular.C (l_getline): use string::erase, small whitespace change.
15508 * BufferView_pimpl.C: try the anon namespace.
15509 * WorkArea.C: ditto
15511 2001-03-16 Juergen Vigna <jug@sad.it>
15513 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15514 otherwise it won't open options-dialogs.
15516 * buffer.C: honor pextraWidth(p) on converting minipages.
15518 * tabular.C (l_getline): changed the functions to strip trailing \r.
15520 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15522 * BufferView_pimpl.C:
15523 * minibuffer..C: added "using SigC::slot" declaration.
15525 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15527 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15533 * paragraph.C: ditto
15535 * lyxtext.h: NO_PEXTRA
15537 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15539 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15540 * ParameterStruct.h: ditto
15541 * ParagraphParameters.h: ditto
15542 * lyxparagraph.h: ditto
15544 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15546 * buffer.C: add compability for minipage alignment.
15547 (latexParagraphs): remove unwanted pextra check.
15549 * several files: remove CXX_WORKING_NAMESPACES
15551 * buffer.C (pop_tag): tie is in namespace boost
15553 * BufferView.h: noncopyable is in namespace boost
15555 * lyx_main.h: ditto
15558 * lastfiles.h: ditto
15559 * bufferlist.h: ditto
15560 * ShareContainer.h: ditto
15562 * LyXAction.h: ditto
15565 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15567 * Merging changes from BRANCH_MVC back into HEAD.
15569 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15571 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15573 * BufferView_pimpl.C: change from intl.C
15577 * Makefile.am: move combox.*
15583 * intl.C: remove dialog (covered by prefs)
15585 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15587 * lyxfunc.C (Dispatch): removed redundant break statement.
15589 2001-03-14 Juergen Vigna <jug@sad.it>
15591 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15593 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15595 * buffer.C: add hack to fix compability reading of minipages.
15597 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15599 * buffer.C (getLists): Cleanup.
15601 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15603 * lyxfont.C (update): don't honor toggleall on font size.
15605 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15609 * Makefile.am: moved to frontends/xforms/
15613 * BufferView_pimpl.C: changes for moved mathpanel
15615 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15617 * gettext.h: fix gettext_init() in --disable-nls
15619 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15621 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15623 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15626 * lyx.h: strip external form
15628 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15630 * BufferView_pimpl.C: add comment, destroySplash()
15632 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15634 * BufferView_pimpl.C:
15638 * lyxfunc.C: use re-worked insetinclude
15640 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15642 * buffer.C: add using std::stringstream.
15644 * lyx_cb.C: readd using std::ios.
15646 * buffer.C: add using std::map.
15648 * BufferView_pimpl.C: add using std::vector.
15650 * ShareContainer.h: add std:: to swap.
15652 * buffer.h: add some typedefs
15653 * buffer.C (getLists): use them
15654 (getLists): renamed from getTocList.
15655 add a counter for the different float types and use it in the
15657 (getLists): use the same counter for the NEW_INSETS and the "non"
15660 * lyx_cb.h: remove unused items, includes, using etc.
15662 * ShareContainer.h: remove some commented code, add more comments
15663 and "documentation".
15665 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15667 * buffer.C (getTocList): make the list also when NEW_INSETS is
15670 * buffer.h: remove TocType
15672 * buffer.C (getTocList): change to return a map<string,
15673 vector<TocItem> >, implement for dynamic number of list.
15675 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15676 * text2.C (PasteSelection): adjust
15677 * CutAndPaste.C (pasteSelection): adjust
15679 * FloatList.C (FloatList): update from the new_insets branch.
15680 * Floating.[Ch]: ditto
15681 * LaTeXFeatures.C: ditto
15683 * lyxlex_pimpl.C: ditto
15685 * paragraph.C (Last): remove when NEW_INSETS is defined.
15687 * other file: changes because of the above.
15689 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15691 * lyxparagraph.h: rename next to next_, previous to previous_,
15692 make them private for NEW_INSETS. Rename Next() to next(),
15693 Previous() to previous().
15695 * other files: changes because of the above.
15697 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15700 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15703 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15705 * main.C (main): pass lyx_localedir to gettext_init().
15707 * gettext.h: remove locale_init and gettext_init macros
15709 * gettext.C (locale_init): new function
15710 (gettext_init): new function
15712 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15715 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15717 * Moved credits to frontends:
15718 * credits.[Ch]: removed
15719 * credits_form.[Ch]: removed
15720 * lyx_gui_misc.C: remove credits stuff
15723 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15725 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15727 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15728 unneeded destructor.
15730 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15731 a standalone pointer again.
15733 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15735 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15741 * ToolbarDefaults.C:
15750 * BufferView_pimpl.C: use new file dialog in GUII
15753 * lyx_cb.C: remove LayoutsCB to Toolbar
15755 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15757 * ShareContainer.h (get): add std:: qualifier
15759 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15761 * ShareContainer.h: define a proper ShareContainer::value_type
15762 type (and use typename to please compaq cxx)
15764 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15766 * lyxparagraph.h: move serveral local vars to
15767 ParameterStruct/ParagraphParameters., use ShareContainer in
15768 FontTable., make vars in FontTable private and add getter and
15771 * paragraph.C: changes because of the above.
15773 * lyxfont.h: remove copy constructor and copy assignment. (the
15774 default ones is ok), move number inside FontBits. move inlines to
15777 * lyxfont.C: add number to initializaton of statics, move several
15778 inlines here. constify several local vars. some whitespace
15779 cleanup. Dont hide outerscope variables.
15781 * Spacing.h: add two new constructors to match the set methods.
15783 * ShareContainer.h: new file, will perhaps be moved to support
15785 * ParameterStruct.h: new file
15787 * ParagraphParameters.h: new file
15789 * ParagraphParameters.C: new file
15791 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15792 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15794 * BufferView_pimpl.C: ParagraphParameter changes.
15795 * buffer.C: Likewise.
15796 * bufferview_funcs.C: Likewise.
15797 * text.C: Likewise.
15798 * text2.C: Likewise.
15800 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15802 * lyxfind.C (LyXReplace): do not redefine default argument in
15804 (IsStringInText): ditto
15805 (SearchForward): ditto
15806 (SearchBackward): ditto
15808 2001-03-06 Juergen Vigna <jug@sad.it>
15810 * lyxfind.C (IsStringInText): put parentes around expressions.
15812 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15814 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15816 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15818 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15820 * stl_string_fwd.h: add comment
15822 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15825 * tabular.C: remove unused DocBook methods
15831 killed DO_USE_DEFAULT_LANGUAGE
15833 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15835 * lyx_gui.C: do not include language.h.
15837 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15838 arguments in function implementation.
15840 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15842 * BufferView_pimpl.C: add <ctime>
15844 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15846 * BufferView_pimpl.C: add using std::find_if
15848 2001-02-27 José Matos <jamatos@fep.up.pt>
15850 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15853 2001-02-11 José Matos <jamatos@fep.up.pt>
15855 * buffer.C (makeDocBookFile): command styles now have a parameter as
15856 "title" by default.
15858 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15860 * layout_forms.[Ch]: removed
15861 * lyx_cb.[Ch]: out character
15862 * lyx_gui.C: out character
15863 * lyx_gui_misc.C: out character
15864 * bufferview_funcs.C: : out character,
15865 added toggleall as parameter in ToggleAndShow
15867 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15869 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15871 * text2.C (SetCurrentFont): Disable number property at boundary.
15873 2001-02-26 Juergen Vigna <jug@sad.it>
15875 * lyxfunc.C (getStatus): added a string argument override function so
15876 that this is correctly called from LyXFunc::Dispatch if it contains a
15877 do_not_use_argument which is used!
15878 (Dispatch): added check for "custom" export and call appropriate func.
15880 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15882 * lyxrc.C: Add language_command_local, language_use_babel and
15883 language_global_options.
15885 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15887 * buffer.C (makeLaTeXFile): Use language_use_babel and
15888 language_global_options.
15890 2001-02-23 Juergen Vigna <jug@sad.it>
15892 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15893 which works with LyXText and putted it inside BufferView. Here now we
15894 only call for that part the BufferView::Dispatch() function.
15896 * BufferView.C (Dispatch): added.
15898 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15899 functions which needs to use a LyXText over from LyXFunc.
15900 (MenuInsertLyXFile): added
15901 (getInsetByCode): added
15902 (moveCursorUpdate): added
15903 (static TEXT): added
15905 2001-02-22 Juergen Vigna <jug@sad.it>
15907 * BufferView_pimpl.C (update): call a status update to see if LyXText
15910 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15912 * vc-backend.C (revert): implement for CVS
15913 (getLog): implement for CVS
15915 2001-02-20 Juergen Vigna <jug@sad.it>
15917 * text2.C (ClearSelection): added BufferView param for inset_owner call
15919 * lyxfunc.C (TEXT): added this function and use it instead of
15920 directly owner->view()-text of getLyXText().
15922 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15924 * src/layout_forms.C: out preamble
15925 * src/layout_forms.h: out preamble
15926 * src/lyx_cb.C: out preamble
15927 * src/lyx_cb.h: out preamble
15928 * src/lyx_gui.C: out preamble
15929 * src/lyx_gui_misc.C: out preamble
15930 * src/lyxfunc.C: connect with guii preamble
15932 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15934 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15936 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15938 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15939 whether to run bibtex.
15941 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15943 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15945 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15947 * Makefile.am (lyx_SOURCES): removed bibforms.h
15949 * vspace.h: doxygen
15951 * text.C (GetVisibleRow): make several local vars const
15953 * tabular.C: small cleanup.
15955 * lyxserver.C (callback): use compare instead of strncmp
15957 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15958 inlines to after class or to paragraph.C
15960 * lyxfont.h: remove friend operator!=
15962 * converter.h: move friend bool operator< to non friend and after
15965 * combox.h: small cleanup
15967 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15968 to inlines after class def.
15970 * buffer.C (pop_tag): use string operations instead of strcmp
15972 * bmtable.c: doxygen, small cleanup
15974 * LaTeX.h: remove friend operator==
15976 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15988 * BufferView_pimpl.C:
15989 * BufferView.[Ch]: remove cruft
15991 2001-02-14 Juergen Vigna <jug@sad.it>
15993 * lyxfunc.C: removed #if 0 unused code
15995 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15997 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15999 * text2.C (SetSelection): added a BufferView * parameter
16001 2001-02-13 Juergen Vigna <jug@sad.it>
16003 * lyxfunc.C (Dispatch): fixed protected blank problem.
16004 * BufferView2.C (protectedBlank): added LyxText * parameter.
16006 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16007 (AppendColumn): same as above for column_info.
16009 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16010 (moveCursorUpdate): use a LyXText param for support of InsetText.
16012 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16013 (tripleClick): ditto
16015 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16017 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16019 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16021 * text2.C (SetSelection): set correct update status if inset_owner
16022 (ToggleFree): ditto
16024 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16026 * tabular.C: remove some commented code.
16028 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16030 * BufferView_pimpl.C: call hideSplash()
16032 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16035 * bibforms.h: remove
16038 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16039 add LFUN_CHILD_CREATE
16041 * counters.h: fix tiny typo
16046 * lyx.C: move splash to frontends/xforms/
16048 * lyx_gui_misc.C: move Include and Bibform to frontends
16050 * lyxvc.h: clarify comment
16052 * vspace.C: tiny housekeeping
16054 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16056 * text.C (PrepareToPrint): RTL Fix.
16058 * paragraph.C (GetUChar): New method.
16059 (String): Use GetUChar.
16061 * buffer.C (asciiParagraph): Use GetUChar.
16063 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16065 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16067 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16070 * buffer.C: rename to getLogName(), handle
16071 build log / latex log nicely
16073 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16076 * MenuBackend.h: remove support for reference menuitem type.
16078 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16080 * BufferView_pimpl.C: housekeeping
16081 * BufferView_pimpl.h:
16086 * minibuffer.h: move Timeout GUI-I
16088 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16090 * lyxrc.C (read): Update converters data-structures.
16092 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16094 * LaTeX.h (operator!=): add operator != for Aux_Info
16096 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16098 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16100 * LaTeXLog.C: deleted, useful code moved to Buffer
16103 * buffer.C: new function getLatexLogName()
16109 * lyxfunc.C: use frontends for LaTeX and VC logs
16111 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16113 * LaTeX.h: yet another std:: that Allan forgot.
16115 * Variables.C (set): renamed from isset(), because this clashes
16116 with some HP-UX macros (grr).
16118 2001-02-06 Allan Rae <rae@lyx.org>
16120 * LaTeX.h: Another bug fix. Missing std:: this time.
16122 2001-02-04 Allan Rae <rae@lyx.org>
16124 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16125 floats problem. I've left it commented out because it's not quite
16126 correct. It should also test that the current object is a table or
16127 figure inset. But I haven't gotten around to figuring out how to do
16128 that. I *think* it'll be something like: "table" == inset.type()
16130 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16133 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16135 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16136 all the citation/databases/styles in the auxilary file.
16137 (run): Rerun latex if there was a babel language error.
16139 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16141 * text.C (Backspace): Preserve the font when changing newline char
16143 (BreakParagraph): If the cursor is before a space, delete the space.
16145 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16147 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16149 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16150 new argument (code).
16151 (ChangeCitationsIfUnique): New method.
16153 * paragraph.C (GetPositionOfInset): Handle bibkey.
16155 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16157 * BufferView_pimpl.h: change type of Position::par_pos to
16158 LyXParagraph::size_type.
16160 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16162 * BufferView_pimpl.C (savePosition, restorePosition): Write
16163 messages to minibuffer.
16165 2001-01-28 José Matos <jamatos@fep.up.pt>
16167 * buffer.C (makeDocBookFile): adds support for document language.
16168 A silly restriction on the name of LatexCommand types where removed.
16169 Added support for CDATA sections, allows to chars unescaped, used
16170 among others in code, to avoid escape < and >.
16172 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16174 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16175 saved positions instrad of a stack. Furthermore, a position is
16176 stored using paragraph id/paragraph position.
16178 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16179 Remove LFUN_REF_BACK.
16181 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16183 * converter.C (dvipdfm_options): New method.
16185 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16187 * vspace.C (isValidLength): Fix for empty input string.
16189 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16191 * LyXAction.C (init): change description of LFUN_FIGURE to
16194 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16196 * LaTeX.C: add using directive
16198 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16200 * MenuBackend.C (expand): Fix the sorting of the formats.
16202 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16204 * lyx_main.C: tiny error message fix
16206 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16208 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16209 calling fl_initialize(). This fixes the problem with ',' as
16210 decimal separator in text files.
16212 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16214 * trans.C (process): Fix the keymap bug.
16216 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16218 * LaTeX.C (scanAuxFiles): New method. Provides support for
16219 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16220 (scanLogFile) Scan for "run BibTeX" messages.
16222 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16223 OT1 font encoding. Also, load the aecompl package if the ae
16226 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16228 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16230 * texrow.C (increasePos): turn two error messages into debug
16233 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16235 * LaTeX.C (scanAux): Handle the \@input macro.
16236 (runBibTeX): Use scanAux().
16238 * language.C (latex_options_): New field.
16240 * LaTeXFeatures.C (getMacros): Add language macros.
16242 * buffer.C (makeLaTeXFile): Small fix.
16244 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16246 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16248 * text2.C: add a using directive.
16250 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16255 * lyxfunc.C: kill LyXBell.
16257 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16259 * text.C (IsBoundary): Remove the error message
16261 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16263 * lyxrc.C (setDefaults): Correct initialization value for
16266 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16268 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16271 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16272 and GotoNextNote().
16274 * src/LyXAction.C: Added reference-next.
16276 * text.C (InsertChar): Use contains instead of strchr.
16278 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16280 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16282 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16283 alignment commands (when needed).
16285 * text.C (InsertChar): Add ':' to number separator chars.